- Timestamp:
- 02/26/2024 04:25:28 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/inc/color-patterns.php
r57637 r57712 213 213 * - blockquote 214 214 * - pullquote (solid color) 215 * - buttons 215 * - buttons, including buttons in the file and search blocks. 216 216 */ 217 217 .editor-styles-wrapper .wp-block a, 218 .editor-styles-wrapper .wp-block .wp-block- button.is-style-outline .wp-block-button__link:not(.has-text-color),219 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline :hover .wp-block-button__link:not(.has-text-color),220 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline:focus.wp-block-button__link:not(.has-text-color),221 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color),222 .editor-styles-wrapper .wp-block .wp-block- file .wp-block-file__textlink{218 .editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__textlink, /* Before 5.8 */ 219 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color), /* Before 5.8 */ 220 .editor-styles-wrapper .wp-block.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color), 221 /* Before 5.8, the following hover style is needed to override the default color when the block is selected. */ 222 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color) { 223 223 color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */ 224 224 } 225 225 226 226 .editor-styles-wrapper .wp-block.wp-block-quote:not(.is-large):not(.is-style-large), 227 .editor-styles-wrapper .wp-block .wp-block-freeform blockquote { 227 .editor-styles-wrapper .wp-block .wp-block-freeform blockquote, /* Before 5.8 */ 228 .editor-styles-wrapper .wp-block.wp-block-freeform blockquote { 228 229 border-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */ 229 230 } 230 231 231 .editor-styles-wrapper .wp-block.wp-block-pullquote.is-style-solid-color:not(.has-background-color) {232 background-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8;*/233 }234 232 /* Pullquote: The solid color variation was removed in 5.9, the CSS is kept for backwards compatibility. */ 233 .editor-styles-wrapper .wp-block .wp-block-pullquote.is-style-solid-color:not(.has-background-color), /* Before 5.8 */ 234 .editor-styles-wrapper .wp-block.wp-block-pullquote.is-style-solid-color:not(.has-background-color), 235 .editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__button, /* Before 5.8, and when the block is aligned. */ 235 236 .editor-styles-wrapper .wp-block.wp-block-file .wp-block-file__button, 236 237 .editor-styles-wrapper .wp-block .wp-block-button:not(.is-style-outline) .wp-block-button__link, 237 .editor-styles-wrapper .wp-block .wp-block-button:not(.is-style-outline) .wp-block-button__link:active, 238 .editor-styles-wrapper .wp-block .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus, 239 .editor-styles-wrapper .wp-block .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { 238 .editor-styles-wrapper .wp-block .wp-block-search .wp-block-search__button, /* Before 5.8, and when the block is aligned. */ 239 .editor-styles-wrapper .wp-block.wp-block-search .wp-block-search__button { 240 240 background-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */ 241 241 } 242 242 243 /* Hover colors */243 /* Link hover colors */ 244 244 .editor-styles-wrapper .wp-block a:hover, 245 245 .editor-styles-wrapper .wp-block a:active, … … 249 249 250 250 /* Do not overwrite solid color pullquote or cover links */ 251 .editor-styles-wrapper .wp-block .wp-block-pullquote.is-style-solid-color a, /* Before 5.8 */ 251 252 .editor-styles-wrapper .wp-block.wp-block-pullquote.is-style-solid-color a, 252 253 .editor-styles-wrapper .wp-block.wp-block-cover a {
Note: See TracChangeset
for help on using the changeset viewer.