PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.8
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.8
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / components / typography2 / editor.scss

editor.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/components/typography2/editor.scss

344 lines 7.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-typography-fonts {
2 width: 360px;
3 padding: 0px 20px 10px;
4 position: relative;
5
6 .sp-smart-post-toggle-button-group {
7 border-color: #d7dade;
8
9 &::before {
10 background: var(--sp-smart-primary-2-400);
11 }
12 }
13
14 #font-picker {
15 width: 100%;
16 margin-bottom: 15px;
17 box-shadow: 0px 0px 3px rgb(0 0 0 / 20%);
18 }
19
20 .sp-smart-post-typography-header {
21 margin-bottom: 10px;
22 // border-bottom: 1px solid #ccc;
23 border-radius: 6px 6px 0px 0px;
24 padding: 15px 0;
25 margin-right: -20px;
26 margin-left: -20px;
27 box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
28 position: sticky;
29 top: 0;
30 left: 0;
31 background-color: #f2f2f2;
32 z-index: 999;
33
34 h4 {
35 font-size: 13px;
36 font-weight: 500;
37 color: #2f2f2f;
38 margin: 0 16px;
39 }
40 }
41
42 div[id^="font-picker"]^="font-picker""] .dropdown-button,
43 div[id^="font-picker"]^="font-picker""] .dropdown-button:hover,
44 div[id^="font-picker"]^="font-picker""] ul,
45 div[id^="font-picker"]^="font-picker""] .dropdown-button:focus {
46 background: #fff;
47 }
48
49 div[id^="font-picker"]^="font-picker""] ul li button:hover,
50 div[id^="font-picker"]^="font-picker""] ul li button:focus,
51 div[id^="font-picker"]^="font-picker""] ul li button.active-font {
52 background: #f3f3f3;
53 }
54
55 .sp-smart-post-select-field .sp-smart-post-component-title {
56 margin-bottom: 4px;
57 display: inline-block;
58 }
59
60 .css-19bb58m {
61 margin: 0;
62 padding: 0;
63 }
64
65 .css-t3ipsp-control:hover,
66 .css-t3ipsp-control {
67 box-shadow: none;
68 border-color: #ccc;
69 }
70
71 .css-tr4s17-option {
72 background-color: #f0f0f0;
73 color: #2f2f2f;
74 }
75
76 .sp-smart-post-typography-family {
77 width: 50%;
78 }
79
80 .sp-smart-post-typography-fields>.sp-smart-post-select-field {
81 width: 50%;
82
83 .css-t3ipsp-control {
84 min-height: 32px;
85 height: 32px;
86 }
87 }
88
89 .sp-smart-post-select-field {
90
91 .css-t3ipsp-control,
92 .css-13cymwt-control,
93 .components-select-control__input {
94 min-height: 32px !important;
95 height: 32px !important;
96 align-content: center;
97 }
98 }
99
100 .components-input-control__backdrop {
101 border-color: #ccc !important;
102 }
103
104 .components-select-control__input {
105 height: 32px !important;
106 min-height: 32px;
107 }
108
109 input[type="text"]="text""]:focus {
110 box-shadow: none;
111 outline: none;
112 }
113
114 .css-1u9des2-indicatorSeparator {
115 display: none;
116 }
117
118 .components-range-control__thumb-wrapper span {
119 background-color: var(--sp-smart-primary-2-400);
120 }
121
122 .components-range-control__thumb-wrapper span::after,
123 .components-range-control__thumb-wrapper span::before {
124 background-color: var(--sp-smart-primary-2-400);
125 }
126
127 .sp-smart-post-toggle-button-group {
128 border-color: #d7dade;
129
130 &-list {
131 display: flex;
132 width: 100%;
133
134 button.active {
135
136 // color: #fff;
137 svg {
138 fill: #fff;
139
140 path {
141 stroke: #fff;
142 }
143 }
144 }
145
146 button.active+div div {
147 background: var(--sp-smart-primary-2-400);
148 }
149 }
150
151 &:focus-within {
152 box-shadow: none;
153 border-color: #d7dade;
154 }
155
156 .components-range-control__thumb-wrapper span {
157 background-color: var(--sp-smart-primary-2-400);
158 }
159 .components-range-control__thumb-wrapper span::after,
160 .components-range-control__thumb-wrapper span::before {
161 background-color: var(--sp-smart-primary-2-400);
162 }
163
164 .sp-smart-post-toggle-button-group {
165 border-color: #d7dade;
166
167 &-list {
168 display: flex;
169 width: 100%;
170 button.active {
171 // color: #fff;
172 svg {
173 fill: #fff;
174 path {
175 stroke: #fff;
176 }
177 }
178 }
179 button.active + div div {
180 background: var(--sp-smart-primary-2-400);
181 }
182 }
183 &:focus-within {
184 box-shadow: none;
185 border-color: #d7dade;
186 }
187 &:hover {
188 border-color: #d7dade;
189 }
190 button {
191 svg {
192 fill: #777;
193 }
194 }
195 }
196 }
197 }
198
199 .components-popover__content:has(.sp-smart-post-typography-fonts) {
200 box-shadow: -4px 4px 12px 2px rgba(0, 0, 0, 0.1);
201 border: 1px solid #dddddd;
202 border-radius: 6px;
203 }
204
205 div[role="option"]="option""] {
206 background-color: transparent;
207 }
208
209 div[role="option"]="option""]:hover {
210 background-color: #f0f0f0;
211 }
212
213 div[aria-selected="true"]="true""] {
214 background-color: var(--sp-smart-primary-2-400);
215 }
216
217 .sp-smart-post-typography-btn {
218 display: flex;
219 justify-content: space-between;
220 align-items: center;
221
222 button.components-button {
223 border-radius: 4px;
224 // transition: 0.3s;
225 padding: 1px;
226 height: 26px;
227
228 &:focus:not(:disabled) {
229 box-shadow: none;
230 }
231 &.active button.components-button:focus,
232 &.active button.components-button {
233 box-shadow: none;
234 outline: 2px solid var(--sp-smart-primary-2-400) !important;
235 padding: 1px;
236 }
237 }
238
239 &.active button.components-button:focus,
240 &.active button.components-button {
241 box-shadow: none;
242 outline: 2px solid var(--sp-smart-primary-2-400) !important;
243 padding: 1px;
244 }
245 }
246
247 .sp-smart-post-typography-btn.active {
248 button {
249 // background-color: var(--sp-smart-primary-2-400);
250 color: #fff;
251 border-color: var(--sp-smart-primary-2-400);
252 svg path,
253 svg rect {
254 stroke: var(--sp-smart-primary-2-400);
255 }
256 }
257 button:hover {
258 color: #fff !important;
259 }
260 }
261
262 .sp-smart-post-typography-btn button:hover {
263 border-color: var(--sp-smart-primary-2-400);
264 color: var(--sp-smart-primary-2-400) !important;
265 }
266
267 .sp-smart-post-typography-multiple-button-group button:not(:last-child) span {
268 border-right: 1px solid #ddd;
269 width: 100%;
270 height: 70%;
271 align-content: center;
272 }
273 .sp-smart-post-typography-multiple-button-group
274 button.active:not(:last-child)
275 span {
276 border-right-color: var(--sp-smart-primary-2-400);
277 }
278
279 .sp-smart-post-typography-multiple-button-group button:has(+ button.active) span {
280 border-right-color: transparent;
281 }
282
283 .sp-smart-post-typography-fields {
284 display: flex;
285 // justify-content: space-between;
286 gap: 8px;
287
288 .css-1nmdiq5-menu {
289 width: 200px;
290 z-index: 999;
291 }
292 }
293
294 .sp-smart-post-typography-fields .sp-smart-post-select-field {
295 flex-direction: column;
296 }
297
298 .sp-smart-post-typography-fields {
299 flex-direction: row;
300
301 .css-1u9des2-indicatorSeparator {
302 display: none;
303 }
304 }
305
306 .sp-smart-post-typography-fonts {
307
308 .sp-smart-post-typography-font-size-presets {
309 display: flex;
310 align-items: center;
311 justify-content: space-between;
312 gap: 8px;
313 button.components-button {
314 border-radius: 4px;
315 // transition: 0.3s;
316 padding: 1px;
317 height: 26px;
318 &:focus:not(:disabled) {
319 box-shadow: none;
320 }
321 svg {
322 fill: #fff;
323 }
324 }
325 &.active button.components-button:focus,
326 &.active button.components-button {
327 box-shadow: none;
328 outline: 2px solid var(--sp-smart-primary-2-400) !important;
329 padding: 1px;
330 }
331 .components-base-control {
332 flex: 1;
333 .components-range-control__wrapper {
334 flex: auto;
335 }
336 }
337 }
338
339 .sp-smart-post-typography-multiple-button-group {
340 .components-toggle-group-control::before {
341 background: var(--sp-smart-primary-2-400) !important;
342 }
343 }
344 }