9
|
1 |
/** |
|
2 |
* Colors |
|
3 |
*/ |
|
4 |
/** |
16
|
5 |
* Deprecated colors. |
|
6 |
* Please avoid using these. |
|
7 |
*/ |
|
8 |
/** |
9
|
9 |
* Breakpoints & Media Queries |
|
10 |
*/ |
|
11 |
/** |
16
|
12 |
* Colors |
|
13 |
*/ |
|
14 |
/** |
|
15 |
* Deprecated colors. |
|
16 |
* Please avoid using these. |
|
17 |
*/ |
|
18 |
/** |
|
19 |
* Fonts & basic variables. |
|
20 |
*/ |
|
21 |
/** |
|
22 |
* Grid System. |
|
23 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
24 |
*/ |
|
25 |
/** |
|
26 |
* Dimensions. |
|
27 |
*/ |
|
28 |
/** |
|
29 |
* Shadows. |
|
30 |
*/ |
|
31 |
/** |
|
32 |
* Editor widths. |
|
33 |
*/ |
|
34 |
/** |
|
35 |
* Block UI. |
|
36 |
*/ |
|
37 |
/** |
|
38 |
* Border radii. |
9
|
39 |
*/ |
|
40 |
/** |
|
41 |
* Breakpoint mixins |
|
42 |
*/ |
|
43 |
/** |
|
44 |
* Long content fade mixin |
|
45 |
* |
|
46 |
* Creates a fading overlay to signify that the content is longer |
|
47 |
* than the space allows. |
|
48 |
*/ |
|
49 |
/** |
16
|
50 |
* Focus styles. |
9
|
51 |
*/ |
|
52 |
/** |
|
53 |
* Applies editor left position to the selector passed as argument |
|
54 |
*/ |
|
55 |
/** |
|
56 |
* Styles that are reused verbatim in a few places |
|
57 |
*/ |
|
58 |
/** |
|
59 |
* Allows users to opt-out of animations via OS-level preferences. |
|
60 |
*/ |
16
|
61 |
/** |
|
62 |
* Reset default styles for JavaScript UI based pages. |
|
63 |
* This is a WP-admin agnostic reset |
|
64 |
*/ |
|
65 |
/** |
|
66 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
67 |
*/ |
|
68 |
:root { |
|
69 |
--wp-admin-theme-color: #007cba; |
|
70 |
--wp-admin-theme-color-darker-10: #006ba1; |
|
71 |
--wp-admin-theme-color-darker-20: #005a87; } |
|
72 |
|
9
|
73 |
.block-editor-format-toolbar__image-container-content { |
|
74 |
display: flex; } |
16
|
75 |
.block-editor-format-toolbar__image-container-content .components-button { |
|
76 |
align-self: flex-end; |
|
77 |
height: 30px; |
|
78 |
margin-bottom: 8px; |
|
79 |
margin-left: 8px; |
|
80 |
padding: 0 6px; } |
9
|
81 |
|
|
82 |
.block-editor-format-toolbar__image-container-value { |
|
83 |
margin: 7px; |
|
84 |
flex-grow: 1; |
|
85 |
flex-shrink: 1; |
|
86 |
white-space: nowrap; |
|
87 |
min-width: 150px; |
|
88 |
max-width: 500px; } |
|
89 |
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field { |
|
90 |
margin-bottom: 0; } |
16
|
91 |
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label { |
|
92 |
display: block; } |
9
|
93 |
|
|
94 |
.block-editor-format-toolbar__link-container-content { |
|
95 |
display: flex; } |
|
96 |
|
|
97 |
.block-editor-format-toolbar__link-container-value { |
|
98 |
margin: 7px; |
|
99 |
flex-grow: 1; |
|
100 |
flex-shrink: 1; |
|
101 |
overflow: hidden; |
|
102 |
text-overflow: ellipsis; |
|
103 |
white-space: nowrap; |
|
104 |
min-width: 150px; |
|
105 |
max-width: 500px; } |
|
106 |
.block-editor-format-toolbar__link-container-value.has-invalid-link { |
|
107 |
color: #d94f4f; } |
16
|
108 |
|
|
109 |
.components-inline-color__indicator { |
|
110 |
position: absolute; |
|
111 |
background: #000; |
|
112 |
height: 3px; |
|
113 |
width: 20px; |
|
114 |
bottom: 6px; |
|
115 |
right: auto; |
|
116 |
left: auto; |
|
117 |
margin: 0 5px; } |
|
118 |
|
|
119 |
.components-inline-color-popover .components-popover__content > div { |
|
120 |
padding: 20px 18px; } |
|
121 |
|
|
122 |
.components-inline-color-popover .components-popover__content .components-color-palette { |
|
123 |
margin-top: 0.6rem; } |
|
124 |
|
|
125 |
.components-inline-color-popover .components-popover__content .components-base-control__title { |
|
126 |
display: block; |
|
127 |
margin-bottom: 16px; |
|
128 |
font-weight: 600; |
|
129 |
color: #191e23; } |
|
130 |
|
|
131 |
.components-inline-color-popover .components-popover__content .component-color-indicator { |
|
132 |
vertical-align: text-bottom; } |
|
133 |
|
|
134 |
.format-library-text-color-button { |
|
135 |
position: relative; } |
|
136 |
|
|
137 |
.format-library-text-color-button__indicator { |
|
138 |
height: 4px; |
|
139 |
width: 20px; |
|
140 |
position: absolute; |
|
141 |
bottom: 10px; |
|
142 |
right: 8px; } |