build/styles/patterns
style-rtl.css
3.3 KB
7 months ago
style-rtl.min.css
1.4 KB
7 months ago
style.css
3.3 KB
7 months ago
style.min.css
1.4 KB
7 months ago
| 1 | /** |
| 2 | * Typography |
| 3 | */ |
| 4 | /** |
| 5 | * SCSS Variables. |
| 6 | * |
| 7 | * Please use variables from this sheet to ensure consistency across the UI. |
| 8 | * Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 9 | * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 10 | */ |
| 11 | /** |
| 12 | * Colors |
| 13 | */ |
| 14 | /** |
| 15 | * Fonts & basic variables. |
| 16 | */ |
| 17 | /** |
| 18 | * Typography |
| 19 | */ |
| 20 | /** |
| 21 | * Grid System. |
| 22 | * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 23 | */ |
| 24 | /** |
| 25 | * Radius scale. |
| 26 | */ |
| 27 | /** |
| 28 | * Elevation scale. |
| 29 | */ |
| 30 | /** |
| 31 | * Dimensions. |
| 32 | */ |
| 33 | /** |
| 34 | * Mobile specific styles |
| 35 | */ |
| 36 | /** |
| 37 | * Editor styles. |
| 38 | */ |
| 39 | /** |
| 40 | * Block & Editor UI. |
| 41 | */ |
| 42 | /** |
| 43 | * Block paddings. |
| 44 | */ |
| 45 | /** |
| 46 | * React Native specific. |
| 47 | * These variables do not appear to be used anywhere else. |
| 48 | */ |
| 49 | /** |
| 50 | * Breakpoints & Media Queries |
| 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 | :root { |
| 91 | --wp-block-synced-color: #7a00df; |
| 92 | --wp-block-synced-color--rgb: 122, 0, 223; |
| 93 | --wp-bound-block-color: var(--wp-block-synced-color); |
| 94 | --wp-editor-canvas-background: #ddd; |
| 95 | --wp-admin-theme-color: #007cba; |
| 96 | --wp-admin-theme-color--rgb: 0, 124, 186; |
| 97 | --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); |
| 98 | --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; |
| 99 | --wp-admin-theme-color-darker-20: #005a87; |
| 100 | --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
| 101 | --wp-admin-border-width-focus: 2px; |
| 102 | } |
| 103 | @media (min-resolution: 192dpi) { |
| 104 | :root { |
| 105 | --wp-admin-border-width-focus: 1.5px; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | .patterns-menu-items__convert-modal { |
| 110 | z-index: 1000001; |
| 111 | } |
| 112 | .patterns-menu-items__convert-modal [role=dialog] > [role=document] { |
| 113 | width: 350px; |
| 114 | } |
| 115 | .patterns-menu-items__convert-modal .patterns-menu-items__convert-modal-categories { |
| 116 | position: relative; |
| 117 | } |
| 118 | .patterns-menu-items__convert-modal .components-form-token-field__suggestions-list:not(:empty) { |
| 119 | position: absolute; |
| 120 | border: 1px solid var(--wp-admin-theme-color); |
| 121 | border-bottom-left-radius: 2px; |
| 122 | border-bottom-right-radius: 2px; |
| 123 | box-shadow: 0 0 0.5px 0.5px var(--wp-admin-theme-color); |
| 124 | box-sizing: border-box; |
| 125 | z-index: 1; |
| 126 | background-color: #fff; |
| 127 | width: calc(100% + 2px); |
| 128 | left: -1px; |
| 129 | min-width: initial; |
| 130 | max-height: 96px; |
| 131 | } |
| 132 | |
| 133 | .patterns-create-modal__name-input input[type=text] { |
| 134 | margin: 0; |
| 135 | } |
| 136 | |
| 137 | .patterns-rename-pattern-category-modal__validation-message { |
| 138 | color: #cc1818; |
| 139 | } |
| 140 | @media (min-width: 782px) { |
| 141 | .patterns-rename-pattern-category-modal__validation-message { |
| 142 | width: 320px; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | .pattern-overrides-control__allow-overrides-button { |
| 147 | width: 100%; |
| 148 | justify-content: center; |
| 149 | } |