2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2020-07-07 16:43:35 +02:00
|
|
|
/**
|
|
|
|
* Deprecated colors.
|
|
|
|
* Please avoid using these.
|
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2020-01-22 23:06:21 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2020-07-07 16:43:35 +02:00
|
|
|
/**
|
|
|
|
* Deprecated colors.
|
|
|
|
* Please avoid using these.
|
|
|
|
*/
|
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.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Block UI.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Border radii.
|
|
|
|
*/
|
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.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
:root {
|
|
|
|
--wp-admin-theme-color: #007cba;
|
|
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
|
|
|
--wp-admin-theme-color-darker-20: #005a87; }
|
|
|
|
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__image-container-content {
|
2019-03-07 10:09:59 +01:00
|
|
|
display: flex; }
|
2020-01-22 23:06:21 +01:00
|
|
|
.block-editor-format-toolbar__image-container-content .components-button {
|
2020-01-08 12:57:23 +01:00
|
|
|
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;
|
|
|
|
max-width: 500px; }
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
|
2019-03-07 10:09:59 +01:00
|
|
|
margin-bottom: 0; }
|
2020-01-08 12:57:23 +01:00
|
|
|
.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 {
|
2018-12-18 04:17:48 +01:00
|
|
|
display: flex; }
|
|
|
|
|
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;
|
|
|
|
max-width: 500px; }
|
2019-03-21 13:48:00 +01:00
|
|
|
.block-editor-format-toolbar__link-container-value.has-invalid-link {
|
2018-12-18 04:17:48 +01:00
|
|
|
color: #d94f4f; }
|
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;
|
|
|
|
margin: 0 5px; }
|
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
.components-inline-color-popover .components-popover__content > div {
|
2020-02-10 23:33:27 +01:00
|
|
|
padding: 20px 18px; }
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.components-inline-color-popover .components-popover__content .components-color-palette {
|
|
|
|
margin-top: 0.6rem; }
|
|
|
|
|
|
|
|
.components-inline-color-popover .components-popover__content .components-base-control__title {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #191e23; }
|
|
|
|
|
|
|
|
.components-inline-color-popover .components-popover__content .component-color-indicator {
|
|
|
|
vertical-align: text-bottom; }
|
2020-02-10 23:33:27 +01:00
|
|
|
|
|
|
|
.format-library-text-color-button {
|
|
|
|
position: relative; }
|
|
|
|
|
|
|
|
.format-library-text-color-button__indicator {
|
|
|
|
height: 4px;
|
|
|
|
width: 20px;
|
|
|
|
position: absolute;
|
2020-06-26 15:33:47 +02:00
|
|
|
bottom: 10px;
|
2020-02-10 23:33:27 +01:00
|
|
|
left: 8px; }
|