Issue #3079738 by lauriii, saschaeggi, webchick, xjm, andrewmacpherson, shimpy, effulgentsia, Wim Leers, DyanneNova, svettes, rainbreaw, fhaeberle, ckrina, AaronMcHale, justafish, catch, charlieweb82, AntoineH, lot007, pzajacz, kostyashupenko, jasonbarrie, antonellasevero, finnsky, worldlinemine, bnjmnm, RobLoach, Dennis Cohn, huzooka, Archita Arora, joachim, jrockowitz, benjifisher, shaal, Gábor Hojtsy, quiron, L2G2, ccasals, hampercm, if-jds, abhisekmazumdar, Kami Amiga, pivica, zrpnr, BrightBold, imalabya, jhedstrom, Neslee Canil Pinto, maliknaik, junaidmasoodi, Maithri Shetty, pranav73, mandclu, modulist, nod_, philosurfer, phenaproxima, mherchel, mlncn, rafuel92, leymannx, kiboman, Swapnil_Kotwal, anevins, evankay, rfmarcelino, thamas, brianperry, idebr, joelpittet, boulaffasae, alexpott, volkerk, DuneBL, Eli-T, Mahenkvyas22: Add Claro administration theme to core
2019-10-13 20:42:58 +00:00
|
|
|
/*
|
|
|
|
* DO NOT EDIT THIS FILE.
|
|
|
|
* See the following change record for more information,
|
2020-07-30 00:51:14 +00:00
|
|
|
* https://www.drupal.org/node/3084859
|
Issue #3079738 by lauriii, saschaeggi, webchick, xjm, andrewmacpherson, shimpy, effulgentsia, Wim Leers, DyanneNova, svettes, rainbreaw, fhaeberle, ckrina, AaronMcHale, justafish, catch, charlieweb82, AntoineH, lot007, pzajacz, kostyashupenko, jasonbarrie, antonellasevero, finnsky, worldlinemine, bnjmnm, RobLoach, Dennis Cohn, huzooka, Archita Arora, joachim, jrockowitz, benjifisher, shaal, Gábor Hojtsy, quiron, L2G2, ccasals, hampercm, if-jds, abhisekmazumdar, Kami Amiga, pivica, zrpnr, BrightBold, imalabya, jhedstrom, Neslee Canil Pinto, maliknaik, junaidmasoodi, Maithri Shetty, pranav73, mandclu, modulist, nod_, philosurfer, phenaproxima, mherchel, mlncn, rafuel92, leymannx, kiboman, Swapnil_Kotwal, anevins, evankay, rfmarcelino, thamas, brianperry, idebr, joelpittet, boulaffasae, alexpott, volkerk, DuneBL, Eli-T, Mahenkvyas22: Add Claro administration theme to core
2019-10-13 20:42:58 +00:00
|
|
|
* @preserve
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Override Quick Edit's entity toolbar style on the Drupal front-end.
|
|
|
|
*
|
|
|
|
* I.e. loaded by Quick Edit on the front-end, despite this being a back-end theme.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The Claro style guide prescribes softer corners.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.quickedit-toolbar-container > .quickedit-toolbar-content,
|
|
|
|
.quickedit-toolbar-container > .quickedit-toolbar-lining {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quickedit-button {
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Entity toolbar's "save" button must be styled like a Claro primary button.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.quickedit-button.action-save,
|
|
|
|
.quickedit-button.action-saving {
|
|
|
|
margin-top: 2px;
|
|
|
|
color: #fff;
|
|
|
|
border-color: #1e5c90;
|
|
|
|
background-image: linear-gradient(to bottom, #007bc6, #0071b8);
|
|
|
|
text-shadow: 0 1px hsla(0, 0%, 0%, 0.5);
|
|
|
|
font-weight: 700;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quickedit-button.action-save:hover,
|
|
|
|
.quickedit-button.action-save:focus,
|
|
|
|
.quickedit-button.action-saving:hover,
|
|
|
|
.quickedit-button.action-saving:focus {
|
|
|
|
color: #fff;
|
|
|
|
border-color: #1e5c90;
|
|
|
|
background-color: #2369a6;
|
|
|
|
background-image: linear-gradient(to bottom, #0c97ed, #1f86c7);
|
|
|
|
}
|
|
|
|
|
|
|
|
.quickedit-button.action-save:hover,
|
|
|
|
.quickedit-button.action-save:focus,
|
|
|
|
.quickedit-button.action-saving:hover,
|
|
|
|
.quickedit-button.action-saving:focus {
|
|
|
|
box-shadow: 0 1px 2px hsla(203, 10%, 10%, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.quickedit-button.action-save:active,
|
|
|
|
.quickedit-button.action-saving:active {
|
|
|
|
border-color: #144b78;
|
|
|
|
background-image: linear-gradient(to bottom, #08639b, #0071b8);
|
|
|
|
box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The entity toolbar's "save" button's top margin shifts both buttons 2px down,
|
|
|
|
* so we must compensate for that to achieve vertically centered positioning.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.quickedit .icon-close:before {
|
|
|
|
top: 8px;
|
|
|
|
}
|