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.
|
2021-02-08 04:37:09 +01:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-28 03:04:13 +01:00
|
|
|
*/
|
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:39:31 +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.
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
#start-resizable-editor-section {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.wp-block-audio figcaption {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #555;
|
2019-09-19 17:19:18 +02:00
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-audio figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.wp-block-code {
|
|
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
2020-07-07 16:43:35 +02:00
|
|
|
color: #1e1e1e;
|
2018-12-18 04:17:48 +01:00
|
|
|
padding: 0.8em 1em;
|
2020-07-07 16:43:35 +02:00
|
|
|
border: 1px solid #ddd;
|
2021-01-28 03:04:13 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.wp-block-embed figcaption {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #555;
|
2019-09-19 17:19:18 +02:00
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-embed figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.blocks-gallery-caption {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #555;
|
2019-09-19 17:19:18 +02:00
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .blocks-gallery-caption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.wp-block-image figcaption {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #555;
|
2019-09-19 17:19:18 +02:00
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-image figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.wp-block-pullquote {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-top: 4px solid currentColor;
|
|
|
|
border-bottom: 4px solid currentColor;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin-bottom: 1.75em;
|
2021-01-28 03:04:13 +01:00
|
|
|
color: currentColor;
|
|
|
|
}
|
|
|
|
.wp-block-pullquote cite,
|
|
|
|
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
|
|
|
color: currentColor;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 0.8125em;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
.wp-block-quote {
|
2021-01-28 03:04:13 +01:00
|
|
|
border-left: 0.25em solid currentColor;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin: 0 0 1.75em 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
.wp-block-quote cite,
|
2021-04-15 17:19:43 +02:00
|
|
|
.wp-block-quote footer {
|
2021-01-28 03:04:13 +01:00
|
|
|
color: currentColor;
|
|
|
|
font-size: 0.8125em;
|
|
|
|
position: relative;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
.wp-block-quote.has-text-align-right {
|
|
|
|
border-left: none;
|
|
|
|
border-right: 0.25em solid currentColor;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
.wp-block-quote.has-text-align-center {
|
|
|
|
border: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
|
|
|
border: none;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-03-07 10:09:59 +01:00
|
|
|
.wp-block-search .wp-block-search__label {
|
2021-01-28 03:04:13 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
.wp-block-group.has-background {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 1.25em 2.375em;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
.wp-block-separator {
|
|
|
|
border: none;
|
2020-10-13 15:10:30 +02:00
|
|
|
border-bottom: 2px solid currentColor;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-left: auto;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin-right: auto;
|
2021-01-28 03:04:13 +01:00
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
2021-04-15 17:19:43 +02:00
|
|
|
width: 100px;
|
2021-01-28 03:04:13 +01:00
|
|
|
}
|
|
|
|
.wp-block-separator.has-background:not(.is-style-dots) {
|
|
|
|
border-bottom: none;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
|
|
|
|
height: 2px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
.wp-block-table thead {
|
|
|
|
border-bottom: 3px solid;
|
|
|
|
}
|
|
|
|
.wp-block-table tfoot {
|
|
|
|
border-top: 3px solid;
|
|
|
|
}
|
|
|
|
.wp-block-table td,
|
|
|
|
.wp-block-table th {
|
|
|
|
padding: 0.5em;
|
|
|
|
border: 1px solid;
|
|
|
|
word-break: normal;
|
|
|
|
}
|
|
|
|
.wp-block-table figcaption {
|
|
|
|
color: #555;
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-table figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
.wp-block-video figcaption {
|
2020-10-13 15:10:30 +02:00
|
|
|
color: #555;
|
2019-09-19 17:19:18 +02:00
|
|
|
font-size: 13px;
|
2021-01-28 03:04:13 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-video figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
2020-10-13 15:10:30 +02:00
|
|
|
.wp-block-template-part.has-background {
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 1.25em 2.375em;
|
2020-10-13 15:10:30 +02:00
|
|
|
margin-top: 0;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-10-13 15:10:30 +02:00
|
|
|
|
2020-06-26 15:33:47 +02:00
|
|
|
#end-resizable-editor-section {
|
2021-01-28 03:04:13 +01:00
|
|
|
display: none;
|
|
|
|
}
|