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.
|
2021-02-07 22:37:09 -05:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-27 21:04:13 -05:00
|
|
|
*/
|
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.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
2020-05-05 19:39:31 -04:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* 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.
|
2020-06-26 09:33:47 -04: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
|
|
|
#start-resizable-editor-section {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.wp-block-audio figcaption {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #555;
|
2019-09-19 11:19:18 -04:00
|
|
|
font-size: 13px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-audio figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.wp-block-code {
|
|
|
|
font-family: Menlo, Consolas, monaco, monospace;
|
2020-07-07 10:43:35 -04:00
|
|
|
color: #1e1e1e;
|
2018-12-17 22:17:48 -05:00
|
|
|
padding: 0.8em 1em;
|
2020-07-07 10:43:35 -04:00
|
|
|
border: 1px solid #ddd;
|
2021-01-27 21:04:13 -05:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.wp-block-embed figcaption {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #555;
|
2019-09-19 11:19:18 -04:00
|
|
|
font-size: 13px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-embed figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.blocks-gallery-caption {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #555;
|
2019-09-19 11:19:18 -04:00
|
|
|
font-size: 13px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .blocks-gallery-caption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
.wp-block-image figcaption {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #555;
|
2019-09-19 11:19:18 -04:00
|
|
|
font-size: 13px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-image figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.wp-block-pullquote {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-top: 4px solid currentColor;
|
|
|
|
border-bottom: 4px solid currentColor;
|
2020-10-13 09:10:30 -04:00
|
|
|
margin-bottom: 1.75em;
|
2021-01-27 21:04:13 -05: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-17 22:17:48 -05:00
|
|
|
|
2020-01-08 06:57:23 -05:00
|
|
|
.wp-block-navigation ul,
|
|
|
|
.wp-block-navigation ul li {
|
2021-01-27 21:04:13 -05:00
|
|
|
list-style: none;
|
|
|
|
}
|
2020-01-08 06:57:23 -05:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
.wp-block-navigation-link.wp-block-navigation-link {
|
2021-01-27 21:04:13 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.wp-block-quote {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-right: 0.25em solid currentColor;
|
2020-10-13 09:10:30 -04:00
|
|
|
margin: 0 0 1.75em 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
.wp-block-quote cite,
|
|
|
|
.wp-block-quote footer, .wp-block-quote__citation {
|
|
|
|
color: currentColor;
|
|
|
|
font-size: 0.8125em;
|
|
|
|
margin-top: 1em;
|
|
|
|
position: relative;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
.wp-block-quote.has-text-align-right {
|
|
|
|
border-right: none;
|
|
|
|
border-left: 0.25em solid currentColor;
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
.wp-block-quote.has-text-align-center {
|
|
|
|
border: none;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
|
|
|
border: none;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-03-07 04:09:59 -05:00
|
|
|
.wp-block-search .wp-block-search__label {
|
2021-01-27 21:04:13 -05:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
.wp-block-group.has-background {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 1.25em 2.375em;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
.wp-block-separator {
|
|
|
|
border: none;
|
2020-10-13 09:10:30 -04:00
|
|
|
border-bottom: 2px solid currentColor;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-right: auto;
|
2020-10-13 09:10:30 -04:00
|
|
|
margin-left: auto;
|
2021-01-27 21:04:13 -05:00
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
.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-17 22:17:48 -05:00
|
|
|
|
|
|
|
.wp-block-table {
|
2021-01-27 21:04:13 -05:00
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
.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 11:19:18 -04:00
|
|
|
|
|
|
|
.wp-block-video figcaption {
|
2020-10-13 09:10:30 -04:00
|
|
|
color: #555;
|
2019-09-19 11:19:18 -04:00
|
|
|
font-size: 13px;
|
2021-01-27 21:04:13 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.is-dark-theme .wp-block-video figcaption {
|
|
|
|
color: rgba(255, 255, 255, 0.65);
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2020-10-13 09:10:30 -04:00
|
|
|
.wp-block-template-part.has-background {
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 1.25em 2.375em;
|
2020-10-13 09:10:30 -04:00
|
|
|
margin-top: 0;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-10-13 09:10:30 -04:00
|
|
|
|
2020-06-26 09:33:47 -04:00
|
|
|
#end-resizable-editor-section {
|
2021-01-27 21:04:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|