| 1 |
/** |
| 2 |
* Breakpoints & Media Queries |
| 3 |
*/ |
| 4 |
/** |
| 5 |
* Typography |
| 6 |
*/ |
| 7 |
/** |
| 8 |
* SCSS Variables. |
| 9 |
* |
| 10 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 11 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 12 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 13 |
*/ |
| 14 |
/** |
| 15 |
* Colors |
| 16 |
*/ |
| 17 |
/** |
| 18 |
* Fonts & basic variables. |
| 19 |
*/ |
| 20 |
/** |
| 21 |
* Typography |
| 22 |
*/ |
| 23 |
/** |
| 24 |
* Grid System. |
| 25 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 26 |
*/ |
| 27 |
/** |
| 28 |
* Radius scale. |
| 29 |
*/ |
| 30 |
/** |
| 31 |
* Elevation scale. |
| 32 |
*/ |
| 33 |
/** |
| 34 |
* Dimensions. |
| 35 |
*/ |
| 36 |
/** |
| 37 |
* Mobile specific styles |
| 38 |
*/ |
| 39 |
/** |
| 40 |
* Editor styles. |
| 41 |
*/ |
| 42 |
/** |
| 43 |
* Block & Editor UI. |
| 44 |
*/ |
| 45 |
/** |
| 46 |
* Block paddings. |
| 47 |
*/ |
| 48 |
/** |
| 49 |
* React Native specific. |
| 50 |
* These variables do not appear to be used anywhere else. |
| 51 |
*/ |
| 52 |
/** |
| 53 |
* Converts a hex value into the rgb equivalent. |
| 54 |
* |
| 55 |
* @param {string} hex - the hexadecimal value to convert |
| 56 |
* @return {string} comma separated rgb values |
| 57 |
*/ |
| 58 |
/** |
| 59 |
* Long content fade mixin |
| 60 |
* |
| 61 |
* Creates a fading overlay to signify that the content is longer |
| 62 |
* than the space allows. |
| 63 |
*/ |
| 64 |
/** |
| 65 |
* Breakpoint mixins |
| 66 |
*/ |
| 67 |
/** |
| 68 |
* Focus styles. |
| 69 |
*/ |
| 70 |
/** |
| 71 |
* Applies editor left position to the selector passed as argument |
| 72 |
*/ |
| 73 |
/** |
| 74 |
* Styles that are reused verbatim in a few places |
| 75 |
*/ |
| 76 |
/** |
| 77 |
* Allows users to opt-out of animations via OS-level preferences. |
| 78 |
*/ |
| 79 |
/** |
| 80 |
* Reset default styles for JavaScript UI based pages. |
| 81 |
* This is a WP-admin agnostic reset |
| 82 |
*/ |
| 83 |
/** |
| 84 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
| 85 |
*/ |
| 86 |
/** |
| 87 |
* Creates a checkerboard pattern background to indicate transparency. |
| 88 |
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 89 |
*/ |
| 90 |
.wp-block-navigation.items-justified-space-between .wp-block-page-list > div, |
| 91 |
.wp-block-navigation.items-justified-space-between .wp-block-page-list { |
| 92 |
display: contents; |
| 93 |
flex: 1; |
| 94 |
} |
| 95 |
.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list > div, .wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list, .wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list > div, .wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list { |
| 96 |
flex: inherit; |
| 97 |
} |
| 98 |
|
| 99 |
.wp-block-navigation .wp-block-navigation__submenu-container > .wp-block-page-list { |
| 100 |
display: block; |
| 101 |
} |
| 102 |
|
| 103 |
.wp-block-pages-list__item__link { |
| 104 |
pointer-events: none; |
| 105 |
} |
| 106 |
|
| 107 |
@media (min-width: 600px) { |
| 108 |
.wp-block-page-list-modal { |
| 109 |
max-width: 480px; |
| 110 |
} |
| 111 |
} |
| 112 |
|
| 113 |
.wp-block-page-list-modal-buttons { |
| 114 |
display: flex; |
| 115 |
justify-content: flex-end; |
| 116 |
gap: 12px; |
| 117 |
} |
| 118 |
|
| 119 |
.wp-block-page-list .open-on-click:focus-within > .wp-block-navigation__submenu-container { |
| 120 |
visibility: visible; |
| 121 |
opacity: 1; |
| 122 |
width: auto; |
| 123 |
height: auto; |
| 124 |
min-width: 200px; |
| 125 |
} |
| 126 |
|
| 127 |
.wp-block-page-list__loading-indicator-container { |
| 128 |
padding: 8px 12px; |
| 129 |
} |