PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
gutenberg / build / styles / block-directory / style-rtl.css

style-rtl.css in Gutenberg trunk, at build/styles/block-directory/style-rtl.css

287 lines 6.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 * Standard focus rings for the WordPress Design System.
72 *
73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 * e.g. `&:focus { @include outset-ring__focus(); }`.
75 */
76 /**
77 * Applies editor left position to the selector passed as argument
78 */
79 /**
80 * Styles that are reused verbatim in a few places
81 */
82 /**
83 * Allows users to opt-out of animations via OS-level preferences.
84 */
85 /**
86 * Reset default styles for JavaScript UI based pages.
87 * This is a WP-admin agnostic reset
88 */
89 /**
90 * Reset the WP Admin page styles for Gutenberg-like pages.
91 */
92 /**
93 * Creates a checkerboard pattern background to indicate transparency.
94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
95 */
96 :root {
97 --wp-block-synced-color: #7a00df;
98 --wp-block-synced-color--rgb: 122, 0, 223;
99 --wp-bound-block-color: var(--wp-block-synced-color);
100 --wp-editor-canvas-background: #ddd;
101 --wp-admin-theme-color: #007cba;
102 --wp-admin-theme-color--rgb: 0, 124, 186;
103 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
104 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
105 --wp-admin-theme-color-darker-20: #005a87;
106 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
107 --wp-admin-border-width-focus: 2px;
108 }
109 @media (min-resolution: 192dpi) {
110 :root {
111 --wp-admin-border-width-focus: 1.5px;
112 }
113 }
114
115 .block-directory-block-ratings > span {
116 display: flex;
117 }
118 .block-directory-block-ratings svg {
119 color: #1e1e1e;
120 margin-right: -4px;
121 }
122 .block-directory-block-ratings .block-directory-block-ratings__star-empty {
123 color: #ccc;
124 }
125
126 .block-directory-compact-list {
127 margin: 0;
128 list-style: none;
129 }
130
131 .block-directory-compact-list__item {
132 display: flex;
133 flex-direction: row;
134 align-items: center;
135 margin-bottom: 16px;
136 }
137 .block-directory-compact-list__item:last-child {
138 margin-bottom: 0;
139 }
140
141 .block-directory-compact-list__item-details {
142 margin-right: 8px;
143 }
144
145 .block-directory-compact-list__item-title {
146 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
147 }
148
149 .block-directory-compact-list__item-author {
150 color: #757575;
151 font-size: 11px;
152 }
153
154 .block-directory-downloadable-block-icon {
155 min-width: 54px;
156 width: 54px;
157 height: 54px;
158 vertical-align: middle;
159 border: 1px solid #ddd;
160 }
161
162 .block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
163 margin-top: 4px;
164 }
165 .block-directory-downloadable-block-list-item {
166 display: grid;
167 grid-template-columns: auto 1fr;
168 width: 100%;
169 height: auto;
170 padding: 12px;
171 margin: 0;
172 appearance: none;
173 background: none;
174 border: 0;
175 text-align: right;
176 }
177 @media not (prefers-reduced-motion) {
178 .block-directory-downloadable-block-list-item {
179 transition: box-shadow 0.1s linear;
180 }
181 }
182 .block-directory-downloadable-block-list-item {
183 position: relative;
184 }
185 .block-directory-downloadable-block-list-item:not([aria-disabled=true]) {
186 cursor: var(--wpds-cursor-control, pointer);
187 }
188 .block-directory-downloadable-block-list-item:hover {
189 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
190 outline: 2px solid transparent;
191 }
192 .block-directory-downloadable-block-list-item[data-focus-visible] {
193 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
194 outline: 2px solid transparent;
195 }
196 .block-directory-downloadable-block-list-item.is-installing .block-directory-downloadable-block-list-item__author {
197 display: none;
198 }
199
200 .block-directory-downloadable-block-list-item__icon {
201 position: relative;
202 margin-left: 16px;
203 align-self: flex-start;
204 }
205 .block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner {
206 position: absolute;
207 top: 0;
208 left: 0;
209 bottom: 0;
210 right: 0;
211 background: rgba(255, 255, 255, 0.75);
212 display: flex;
213 align-items: center;
214 justify-content: center;
215 }
216 .is-installing .block-directory-downloadable-block-list-item__icon {
217 margin-left: 22px;
218 }
219
220 .block-directory-block-ratings {
221 display: block;
222 margin-top: 4px;
223 }
224
225 .block-directory-downloadable-block-list-item__details {
226 color: #1e1e1e;
227 }
228
229 .block-directory-downloadable-block-list-item__title {
230 display: block;
231 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
232 }
233
234 .block-directory-downloadable-block-list-item__author {
235 display: block;
236 margin-top: 4px;
237 font-weight: 400;
238 }
239
240 .block-directory-downloadable-block-list-item__desc {
241 display: block;
242 margin-top: 8px;
243 }
244
245 .block-directory-downloadable-block-notice {
246 margin: 8px 0 0;
247 color: #cc1818;
248 }
249
250 .block-directory-downloadable-block-notice__content {
251 padding-left: 12px;
252 margin-bottom: 8px;
253 }
254
255 .block-directory-downloadable-blocks-panel {
256 padding: 16px;
257 }
258 .block-directory-downloadable-blocks-panel.has-blocks-loading {
259 font-style: normal;
260 padding: 0;
261 margin: 112px 0;
262 text-align: center;
263 color: #757575;
264 }
265 .block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner {
266 float: inherit;
267 }
268
269 .block-directory-downloadable-blocks-panel__no-local {
270 margin: 48px 0;
271 padding: 0 64px;
272 color: #757575;
273 text-align: center;
274 }
275
276 .block-directory-downloadable-blocks-panel__title {
277 margin: 0 0 4px;
278 font-size: 14px;
279 }
280
281 .block-directory-downloadable-blocks-panel__description {
282 margin-top: 0;
283 }
284
285 .installed-blocks-pre-publish-panel__copy {
286 margin-top: 0;
287 }