PluginProbe
Extendify / 0.3.0
Extendify v0.3.0
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / utility-framework / extendify-utilities.css

extendify-utilities.css in Extendify 0.3.0, at utility-framework/extendify-utilities.css

137 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "tailwindcss/base";
2 @import "tailwindcss/components";
3 @import "tailwindcss/utilities";
4
5 @import "./classes/clip-path";
6 @import "./classes/columns";
7 @import "./classes/direction";
8 @import "./classes/inline-list";
9 @import "./classes/misc";
10 @import "./classes/text-stroke";
11
12 @import "./classes/editor/no-caption";
13 @import "./classes/editor/no-inserter";
14 @import "./classes/editor/no-resize";
15 @import "./classes/editor/pointer-events";
16
17 @import "./block-styles/cover-angled";
18
19 @import "./fallback/colors";
20 @import "./fallback/font-sizes";
21 @import "./fallback/grid";
22 @import "./fallback/group";
23 @import "./fallback/image";
24
25 body {
26 /* no suggestion */
27 /* We need to abstract this out of tailwind.config because clamp doesnt translate with negative margins */
28 --extendify--spacing--large: var(
29 --wp--custom--spacing--large,
30 clamp(2em, 8vw, 8em)
31 );
32
33 /* Add pattern preset font sizes */
34 --wp--preset--font-size--ext-small: 1rem;
35 --wp--preset--font-size--ext-medium: 1.125rem;
36 --wp--preset--font-size--ext-large: clamp(1.65rem, 3.5vw, 2.15rem);
37 --wp--preset--font-size--ext-x-large: clamp(3rem, 6vw, 4.75rem);
38 --wp--preset--font-size--ext-xx-large: clamp(3.25rem, 7.5vw, 5.75rem);
39
40 /* Fallbacks for pre 5.9 themes */
41 --wp--preset--color--black: #000;
42 --wp--preset--color--white: #fff;
43 }
44
45 .ext * {
46 box-sizing: border-box;
47 }
48
49 /* Astra: Remove spacer block visuals in the library */
50 .block-editor-block-preview__content-iframe
51 .ext
52 [data-type="core/spacer"]
53 .components-resizable-box__container {
54 /* no suggestion */
55 background: transparent !important;
56 }
57
58 .block-editor-block-preview__content-iframe
59 .ext
60 [data-type="core/spacer"]
61 .block-library-spacer__resize-container::before {
62 /* no suggestion */
63 display: none !important;
64 }
65
66 /* Twenty Twenty adds a lot of margin automatically to blocks. We only want our own margin added to our patterns. */
67 .ext .wp-block-group__inner-container figure.wp-block-gallery.alignfull {
68 /* no suggestion */
69 margin-top: unset;
70 margin-bottom: unset;
71 }
72
73 /* Ensure no funky business is assigned to alignwide */
74 .ext .alignwide {
75 /* no suggestion */
76 @apply ext-mx-auto !important;
77 }
78
79 /* Negate blockGap being inappropriately assigned in the editor */
80 .is-root-container.block-editor-block-list__layout
81 > [data-align="full"]:not(:first-of-type)
82 > .ext-my-0,
83 .is-root-container.block-editor-block-list__layout
84 > [data-align="wide"]
85 > .ext-my-0 {
86 /* no suggestion */
87 margin-top: calc(-1 * var(--wp--style--block-gap, 28px)) !important;
88 }
89
90 /* Ensure vh content in previews looks taller */
91 .block-editor-block-preview__content-iframe .preview\:min-h-50 {
92 /* no suggestion */
93 min-height: 50vw !important;
94 }
95
96 .block-editor-block-preview__content-iframe .preview\:min-h-60 {
97 /* no suggestion */
98 min-height: 60vw !important;
99 }
100
101 .block-editor-block-preview__content-iframe .preview\:min-h-70 {
102 /* no suggestion */
103 min-height: 70vw !important;
104 }
105
106 .block-editor-block-preview__content-iframe .preview\:min-h-80 {
107 /* no suggestion */
108 min-height: 80vw !important;
109 }
110
111 .block-editor-block-preview__content-iframe .preview\:min-h-100 {
112 /* no suggestion */
113 min-height: 100vw !important;
114 }
115
116 /* Removes excess margin when applied to the alignfull parent div in Block Themes */
117 .ext-mr-0.alignfull:not([style*="margin"]) {
118 /* no suggestion */
119 margin-right: 0 !important;
120 }
121
122 .ext-ml-0:not([style*="margin"]) {
123 /* no suggestion */
124 margin-left: 0 !important;
125 }
126
127 /* Ensures fullwidth blocks display properly in the editor when margin is zeroed out */
128 .is-root-container
129 .wp-block[data-align="full"]
130 > .ext-mx-0:not([style*="margin"]) {
131 /* no suggestion */
132 margin-right: calc(1 * var(--wp--custom--spacing--outer, 0)) !important;
133 margin-left: calc(1 * var(--wp--custom--spacing--outer, 0)) !important;
134 overflow: hidden;
135 width: unset;
136 }
137