2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-28 03:04:13 +01: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 23:06:21 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Fonts & basic variables.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
2020-05-06 01:56:33 +02:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block & Editor UI.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block paddings.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
2020-10-13 15:10:30 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 15:10:30 +02:00
|
|
|
*/
|
2018-12-18 04:17:48 +01: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 15:33:47 +02:00
|
|
|
* Focus styles.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 13:48:00 +01:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 17:19:18 +02: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-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
2021-01-28 03:04:13 +01: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 15:33:47 +02:00
|
|
|
|
2021-02-02 06:17:13 +01:00
|
|
|
.block-editor-format-toolbar__image-popover {
|
|
|
|
z-index: 159990;
|
|
|
|
}
|
|
|
|
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__image-container-content {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.block-editor-format-toolbar__image-container-content .components-button {
|
|
|
|
align-self: flex-end;
|
|
|
|
height: 30px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
margin-right: 8px;
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__image-container-value {
|
2019-03-07 10:09:59 +01:00
|
|
|
margin: 7px;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
white-space: nowrap;
|
|
|
|
min-width: 150px;
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-03-07 10:09:59 +01:00
|
|
|
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__link-container-content {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__link-container-value {
|
2018-12-18 04:17:48 +01:00
|
|
|
margin: 7px;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
min-width: 150px;
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
.block-editor-format-toolbar__link-container-value.has-invalid-link {
|
|
|
|
color: #cc1818;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
|
|
|
.components-inline-color__indicator {
|
|
|
|
position: absolute;
|
|
|
|
background: #000;
|
|
|
|
height: 3px;
|
|
|
|
width: 20px;
|
|
|
|
bottom: 6px;
|
|
|
|
left: auto;
|
|
|
|
right: auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin: 0 5px;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-inline-color-popover .components-popover__content > div {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 20px 18px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-inline-color-popover .components-popover__content .components-color-palette {
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-top: 0.6rem;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
font-weight: 600;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: #191e23;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
2021-01-28 03:04:13 +01:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
|
|
|
.format-library-text-color-button {
|
2021-01-28 03:04:13 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-02-10 23:33:27 +01:00
|
|
|
|
|
|
|
.format-library-text-color-button__indicator {
|
|
|
|
height: 4px;
|
|
|
|
width: 20px;
|
|
|
|
position: absolute;
|
2020-06-26 15:33:47 +02:00
|
|
|
bottom: 10px;
|
2021-01-28 03:04:13 +01:00
|
|
|
left: 8px;
|
|
|
|
}
|