style.css (3679B)
1 /** 2 * Colors 3 */ 4 /** 5 * Breakpoints & Media Queries 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 * Grid System. 22 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ 23 */ 24 /** 25 * Dimensions. 26 */ 27 /** 28 * Shadows. 29 */ 30 /** 31 * Editor widths. 32 */ 33 /** 34 * Block & Editor UI. 35 */ 36 /** 37 * Block paddings. 38 */ 39 /** 40 * React Native specific. 41 * These variables do not appear to be used anywhere else. 42 */ 43 /** 44 * Breakpoint mixins 45 */ 46 /** 47 * Long content fade mixin 48 * 49 * Creates a fading overlay to signify that the content is longer 50 * than the space allows. 51 */ 52 /** 53 * Focus styles. 54 */ 55 /** 56 * Applies editor left position to the selector passed as argument 57 */ 58 /** 59 * Styles that are reused verbatim in a few places 60 */ 61 /** 62 * Allows users to opt-out of animations via OS-level preferences. 63 */ 64 /** 65 * Reset default styles for JavaScript UI based pages. 66 * This is a WP-admin agnostic reset 67 */ 68 /** 69 * Reset the WP Admin page styles for Gutenberg-like pages. 70 */ 71 .wp-block-buttons { 72 display: flex; 73 flex-direction: row; 74 flex-wrap: wrap; 75 column-gap: 0.5em; 76 /* stylelint-disable indentation */ 77 } 78 .wp-block-buttons.is-vertical { 79 flex-direction: column; 80 } 81 .wp-block-buttons.is-vertical > .wp-block-button { 82 /*rtl:ignore*/ 83 margin-right: 0; 84 } 85 .wp-block-buttons.is-vertical > .wp-block-button:last-child { 86 margin-bottom: 0; 87 } 88 .wp-block-buttons > .wp-block-button { 89 display: inline-block; 90 /*rtl:ignore*/ 91 margin-left: 0; 92 /*rtl:ignore*/ 93 margin-right: 0.5em; 94 margin-bottom: 0.5em; 95 } 96 .wp-block-buttons > .wp-block-button:last-child { 97 /*rtl:ignore*/ 98 margin-right: 0; 99 } 100 .wp-block-buttons.is-content-justification-left { 101 justify-content: flex-start; 102 } 103 .wp-block-buttons.is-content-justification-left.is-vertical { 104 align-items: flex-start; 105 } 106 .wp-block-buttons.is-content-justification-center { 107 justify-content: center; 108 } 109 .wp-block-buttons.is-content-justification-center.is-vertical { 110 align-items: center; 111 } 112 .wp-block-buttons.is-content-justification-right { 113 justify-content: flex-end; 114 } 115 .wp-block-buttons.is-content-justification-right > .wp-block-button { 116 /*rtl:ignore*/ 117 margin-left: 0.5em; 118 /*rtl:ignore*/ 119 margin-right: 0; 120 } 121 .wp-block-buttons.is-content-justification-right > .wp-block-button:first-child { 122 /*rtl:ignore*/ 123 margin-left: 0; 124 } 125 .wp-block-buttons.is-content-justification-right.is-vertical { 126 align-items: flex-end; 127 } 128 .wp-block-buttons.is-content-justification-space-between { 129 justify-content: space-between; 130 } 131 .wp-block-buttons.aligncenter { 132 text-align: center; 133 } 134 .wp-block-buttons.alignleft .wp-block-button { 135 /*rtl:ignore*/ 136 margin-left: 0; 137 /*rtl:ignore*/ 138 margin-right: 0.5em; 139 } 140 .wp-block-buttons.alignleft .wp-block-button:last-child { 141 /*rtl:ignore*/ 142 margin-right: 0; 143 } 144 .wp-block-buttons.alignright .wp-block-button { 145 /*rtl:ignore*/ 146 margin-right: 0; 147 /*rtl:ignore*/ 148 margin-left: 0.5em; 149 } 150 .wp-block-buttons.alignright .wp-block-button:first-child { 151 /*rtl:ignore*/ 152 margin-left: 0; 153 } 154 .wp-block-buttons:not(.is-content-justification-space-between, 155 .is-content-justification-right, 156 .is-content-justification-left, 157 .is-content-justification-center) .wp-block-button.aligncenter { 158 /* stylelint-enable indentation */ 159 margin-left: auto; 160 margin-right: auto; 161 margin-bottom: 0.5em; 162 width: 100%; 163 } 164 165 .wp-block-button.aligncenter { 166 text-align: center; 167 }