2018-12-17 22:17:48 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* SCSS Variables.
|
|
|
|
*
|
|
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
|
|
*/
|
2020-01-22 17:06:21 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-17 22:17:48 -05:00
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Fonts & basic variables.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block & Editor UI.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block paddings.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
2020-10-13 09:10:30 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 09:10:30 -04:00
|
|
|
*/
|
2018-12-17 22:17:48 -05:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Focus styles.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 08:48:00 -04:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 11:19:18 -04:00
|
|
|
/**
|
|
|
|
* Reset default styles for JavaScript UI based pages.
|
|
|
|
* This is a WP-admin agnostic reset
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
|
|
*/
|
2021-01-27 21:04:13 -05:00
|
|
|
/**
|
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
:root {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.list-reusable-blocks-import-dropdown__content .components-popover__content > div {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 10px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.list-reusable-blocks-import-form__label {
|
|
|
|
display: block;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.list-reusable-blocks-import-form__button {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
float: right;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.list-reusable-blocks-import-form .components-notice__content {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.list-reusable-blocks-import-form .components-notice.is-dismissible {
|
|
|
|
padding-right: 0;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
.list-reusable-blocks__container {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2020-02-24 19:18:15 -05:00
|
|
|
position: relative;
|
2021-01-27 21:04:13 -05:00
|
|
|
top: -3px;
|
|
|
|
}
|
|
|
|
.list-reusable-blocks__container .components-button {
|
|
|
|
height: 26px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-light {
|
|
|
|
--wp-admin-theme-color: #0085ba;
|
|
|
|
--wp-admin-theme-color-darker-10: #0073a1;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #006187;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-light {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-07-07 10:43:35 -04:00
|
|
|
body.admin-color-modern {
|
|
|
|
--wp-admin-theme-color: #3858e9;
|
|
|
|
--wp-admin-theme-color-darker-10: #2145e6;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #183ad6;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-modern {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
body.admin-color-blue {
|
|
|
|
--wp-admin-theme-color: #096484;
|
|
|
|
--wp-admin-theme-color-darker-10: #07526c;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #064054;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-blue {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-coffee {
|
|
|
|
--wp-admin-theme-color: #46403c;
|
|
|
|
--wp-admin-theme-color-darker-10: #383330;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #2b2724;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-coffee {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-ectoplasm {
|
|
|
|
--wp-admin-theme-color: #523f6d;
|
|
|
|
--wp-admin-theme-color-darker-10: #46365d;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #3a2c4d;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-ectoplasm {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-midnight {
|
|
|
|
--wp-admin-theme-color: #e14d43;
|
|
|
|
--wp-admin-theme-color-darker-10: #dd382d;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #d02c21;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-midnight {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-ocean {
|
|
|
|
--wp-admin-theme-color: #627c83;
|
|
|
|
--wp-admin-theme-color-darker-10: #576e74;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #4c6066;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-ocean {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
body.admin-color-sunrise {
|
|
|
|
--wp-admin-theme-color: #dd823b;
|
|
|
|
--wp-admin-theme-color-darker-10: #d97426;
|
2021-01-27 21:04:13 -05:00
|
|
|
--wp-admin-theme-color-darker-20: #c36922;
|
|
|
|
--wp-admin-border-width-focus: 2px;
|
|
|
|
}
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
body.admin-color-sunrise {
|
|
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
|
|
}
|
|
|
|
}
|