9
|
1 |
/** |
|
2 |
* Colors |
|
3 |
*/ |
|
4 |
/** |
|
5 |
* Breakpoints & Media Queries |
|
6 |
*/ |
|
7 |
/** |
18
|
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. |
16
|
13 |
*/ |
|
14 |
/** |
18
|
15 |
* Colors |
16
|
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 |
/** |
18
|
34 |
* Block & Editor UI. |
16
|
35 |
*/ |
|
36 |
/** |
18
|
37 |
* Block paddings. |
|
38 |
*/ |
|
39 |
/** |
|
40 |
* React Native specific. |
|
41 |
* These variables do not appear to be used anywhere else. |
9
|
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 |
/** |
16
|
53 |
* Focus styles. |
9
|
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 |
*/ |
16
|
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 |
#start-resizable-editor-section { |
18
|
72 |
display: none; |
|
73 |
} |
16
|
74 |
|
|
75 |
.wp-block-audio figcaption { |
18
|
76 |
color: #555; |
16
|
77 |
font-size: 13px; |
18
|
78 |
text-align: center; |
|
79 |
} |
|
80 |
.is-dark-theme .wp-block-audio figcaption { |
|
81 |
color: rgba(255, 255, 255, 0.65); |
|
82 |
} |
16
|
83 |
|
9
|
84 |
.wp-block-code { |
|
85 |
font-family: Menlo, Consolas, monaco, monospace; |
16
|
86 |
color: #1e1e1e; |
9
|
87 |
padding: 0.8em 1em; |
16
|
88 |
border: 1px solid #ddd; |
18
|
89 |
border-radius: 4px; |
|
90 |
} |
9
|
91 |
|
16
|
92 |
.wp-block-embed figcaption { |
18
|
93 |
color: #555; |
16
|
94 |
font-size: 13px; |
18
|
95 |
text-align: center; |
|
96 |
} |
|
97 |
.is-dark-theme .wp-block-embed figcaption { |
|
98 |
color: rgba(255, 255, 255, 0.65); |
|
99 |
} |
16
|
100 |
|
|
101 |
.blocks-gallery-caption { |
18
|
102 |
color: #555; |
16
|
103 |
font-size: 13px; |
18
|
104 |
text-align: center; |
|
105 |
} |
|
106 |
.is-dark-theme .blocks-gallery-caption { |
|
107 |
color: rgba(255, 255, 255, 0.65); |
|
108 |
} |
16
|
109 |
|
|
110 |
.wp-block-image figcaption { |
18
|
111 |
color: #555; |
16
|
112 |
font-size: 13px; |
18
|
113 |
text-align: center; |
|
114 |
} |
|
115 |
.is-dark-theme .wp-block-image figcaption { |
|
116 |
color: rgba(255, 255, 255, 0.65); |
|
117 |
} |
9
|
118 |
|
|
119 |
.wp-block-pullquote { |
18
|
120 |
border-top: 4px solid currentColor; |
|
121 |
border-bottom: 4px solid currentColor; |
|
122 |
margin-bottom: 1.75em; |
|
123 |
color: currentColor; |
|
124 |
} |
|
125 |
.wp-block-pullquote cite, |
|
126 |
.wp-block-pullquote footer, .wp-block-pullquote__citation { |
|
127 |
color: currentColor; |
|
128 |
text-transform: uppercase; |
|
129 |
font-size: 0.8125em; |
|
130 |
font-style: normal; |
|
131 |
} |
16
|
132 |
|
9
|
133 |
.wp-block-quote { |
18
|
134 |
border-right: 0.25em solid currentColor; |
|
135 |
margin: 0 0 1.75em 0; |
|
136 |
padding-right: 1em; |
|
137 |
} |
|
138 |
.wp-block-quote cite, |
|
139 |
.wp-block-quote footer { |
|
140 |
color: currentColor; |
|
141 |
font-size: 0.8125em; |
|
142 |
position: relative; |
|
143 |
font-style: normal; |
|
144 |
} |
|
145 |
.wp-block-quote.has-text-align-right { |
|
146 |
border-right: none; |
|
147 |
border-left: 0.25em solid currentColor; |
|
148 |
padding-right: 0; |
|
149 |
padding-left: 1em; |
|
150 |
} |
|
151 |
.wp-block-quote.has-text-align-center { |
|
152 |
border: none; |
|
153 |
padding-right: 0; |
|
154 |
} |
|
155 |
.wp-block-quote.is-style-large, .wp-block-quote.is-large { |
|
156 |
border: none; |
|
157 |
} |
9
|
158 |
|
|
159 |
.wp-block-search .wp-block-search__label { |
18
|
160 |
font-weight: bold; |
|
161 |
} |
9
|
162 |
|
16
|
163 |
.wp-block-group.has-background { |
18
|
164 |
padding: 1.25em 2.375em; |
16
|
165 |
margin-top: 0; |
18
|
166 |
margin-bottom: 0; |
|
167 |
} |
16
|
168 |
|
9
|
169 |
.wp-block-separator { |
|
170 |
border: none; |
18
|
171 |
border-bottom: 2px solid currentColor; |
16
|
172 |
margin-right: auto; |
18
|
173 |
margin-left: auto; |
|
174 |
opacity: 0.4; |
|
175 |
} |
|
176 |
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { |
|
177 |
width: 100px; |
|
178 |
} |
|
179 |
.wp-block-separator.has-background:not(.is-style-dots) { |
|
180 |
border-bottom: none; |
|
181 |
height: 1px; |
|
182 |
} |
|
183 |
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) { |
|
184 |
height: 2px; |
|
185 |
} |
9
|
186 |
|
18
|
187 |
.wp-block-table thead { |
|
188 |
border-bottom: 3px solid; |
|
189 |
} |
|
190 |
.wp-block-table tfoot { |
|
191 |
border-top: 3px solid; |
|
192 |
} |
|
193 |
.wp-block-table td, |
|
194 |
.wp-block-table th { |
|
195 |
padding: 0.5em; |
|
196 |
border: 1px solid; |
|
197 |
word-break: normal; |
|
198 |
} |
|
199 |
.wp-block-table figcaption { |
|
200 |
color: #555; |
|
201 |
font-size: 13px; |
|
202 |
text-align: center; |
|
203 |
} |
|
204 |
.is-dark-theme .wp-block-table figcaption { |
|
205 |
color: rgba(255, 255, 255, 0.65); |
|
206 |
} |
16
|
207 |
|
|
208 |
.wp-block-video figcaption { |
18
|
209 |
color: #555; |
16
|
210 |
font-size: 13px; |
18
|
211 |
text-align: center; |
|
212 |
} |
|
213 |
.is-dark-theme .wp-block-video figcaption { |
|
214 |
color: rgba(255, 255, 255, 0.65); |
|
215 |
} |
|
216 |
|
|
217 |
.wp-block-template-part.has-background { |
|
218 |
padding: 1.25em 2.375em; |
|
219 |
margin-top: 0; |
|
220 |
margin-bottom: 0; |
|
221 |
} |
16
|
222 |
|
|
223 |
#end-resizable-editor-section { |
18
|
224 |
display: none; |
|
225 |
} |