PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.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 12.6.0 All 403 releases
gutenberg / build / styles / edit-post / classic.css

classic.css in Gutenberg 22.7.0, at build/styles/edit-post/classic.css

169 lines 3.5 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 * 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 .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block {
91 margin-left: auto;
92 margin-right: auto;
93 }
94
95 html :where(.editor-styles-wrapper) {
96 padding: 8px;
97 }
98 html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
99 margin-left: -8px;
100 margin-right: -8px;
101 }
102
103 html :where(.wp-block) {
104 max-width: 840px;
105 margin-top: 28px;
106 margin-bottom: 28px;
107 }
108 html :where(.wp-block)[data-align=wide] {
109 max-width: 1100px;
110 }
111 html :where(.wp-block)[data-align=full] {
112 max-width: none;
113 }
114 html :where(.wp-block)[data-align=left], html :where(.wp-block)[data-align=right] {
115 width: 100%;
116 height: 0;
117 }
118 html :where(.wp-block)[data-align=left]::before, html :where(.wp-block)[data-align=right]::before {
119 content: none;
120 }
121 html :where(.wp-block)[data-align=left] > * {
122 /*!rtl:begin:ignore*/
123 float: left;
124 margin-right: 2em;
125 /*!rtl:end:ignore*/
126 }
127 html :where(.wp-block)[data-align=right] > * {
128 /*!rtl:begin:ignore*/
129 float: right;
130 margin-left: 2em;
131 /*!rtl:end:ignore*/
132 }
133 html :where(.wp-block)[data-align=full], html :where(.wp-block)[data-align=wide] {
134 clear: both;
135 }
136
137 .wp-block-group > [data-align=full] {
138 margin-left: auto;
139 margin-right: auto;
140 }
141
142 .wp-block-group.has-background > [data-align=full] {
143 margin-left: -30px;
144 width: calc(100% + 60px);
145 }
146
147 /**
148 * Group: Full Width Alignment
149 */
150 [data-align=full] .wp-block-group > .wp-block {
151 padding-left: 14px;
152 padding-right: 14px;
153 }
154 @media (min-width: 600px) {
155 [data-align=full] .wp-block-group > .wp-block {
156 padding-left: 0;
157 padding-right: 0;
158 }
159 }
160 [data-align=full] .wp-block-group > [data-align=full] {
161 padding-right: 0;
162 padding-left: 0;
163 left: 0;
164 width: 100%;
165 max-width: none;
166 }
167 [data-align=full] .wp-block-group.has-background > [data-align=full] {
168 width: calc(100% + 60px);
169 }