PluginProbe ʕ •ᴥ•ʔ
VK Blocks / 1.123.0
VK Blocks v1.123.0
1.123.0 1.122.0 1.121.0 1.120.0 1.119.2 1.119.1 1.119.0 1.118.7 1.82.0.0 1.82.0.1 1.83.0.0 1.83.0.1 1.84.0.0 1.84.0.1 1.85.0.2 1.85.0.3 1.85.1.0 1.85.1.1 1.86.0.0 1.86.0.1 1.86.1.0 1.87.0.0 1.87.0.1 1.88.0.1 1.88.0.2 1.89.0.0 1.9.2 1.90.0.0 1.90.0.1 1.90.1.1 1.91.0.0 1.91.1.1 1.92.0.0 1.92.0.1 1.92.1.0 1.92.1.1 1.93.0.0 trunk 1.93.0.1 0.1.1 1.93.1.0 0.10.3 1.93.1.1 0.11.0 1.94.0.0 0.12.6 1.94.0.1 0.15.1 1.94.1.0 0.16.2 1.94.2.1 0.17.6 1.94.2.2 0.2.2 1.95.0.3 0.22.4 1.95.0.4 0.26.7 1.96.2.0 0.3.2 1.96.2.1 0.31.0 1.97.0.1 0.35.5 1.97.0.2 0.37.5 1.99.0.0 0.38.8 1.99.0.1 0.39.4 0.4.7 0.41.0 0.42.0 0.44.13 0.45.2 0.46.1 0.47.0 0.48.0 0.49.8 0.5.2 0.50.3 0.51.0 0.52.2 0.53.2 0.54.0 0.55.0 0.56.2 0.56.3 0.57.6 0.58.10 0.59.0 0.6.0 0.60.1 0.61.2 0.7.1 0.8.2 1.0.16 1.10.0 1.100.0.0 1.100.0.1 1.102.0.0 1.102.0.1 1.103.0.0 1.104.0.0 1.104.0.1 1.105.1.0 1.105.1.1 1.106.0.0 1.106.0.1 1.107.0.0 1.107.0.1 1.107.0.2 1.108.0.0 1.108.0.1 1.109.0.0 1.109.0.1 1.11.4 1.110.0.0 1.110.0.1 1.111.0.0 1.111.0.1 1.111.0.2 1.112.0.0 1.112.0.1 1.113.0.0 1.113.0.1 1.114.0.0 1.114.0.1 1.114.2.0 1.114.2.1 1.115.0.0 1.115.0.1 1.115.1.0 1.115.1.1 1.115.2.0 1.115.2.1 1.116.0.0 1.116.0.1 1.116.1.0 1.116.1.1 1.116.2.0 1.117.0.0 1.117.0.1 1.117.1.0 1.118.2 1.118.5 1.12.0 1.13.2 1.14.1 1.15.1 1.16.11 1.17.0 1.18.6 1.19.0 1.19.1 1.2.3 1.20.7 1.21.0 1.22.4 1.23.0 1.24.5 1.25.1 1.26.2 1.27.7.2 1.28.0.1 1.29.2.0 1.3.9 1.30.0.1 1.31.0.1 1.32.0.2 1.33.2.1 1.36.1.5 1.37.0.0 1.39.2.1 1.4.6 1.40.0.1 1.40.1.0 1.40.1.1 1.41.0.0 1.41.0.1 1.41.2.2 1.41.2.3 1.43.0.0 1.43.0.1 1.43.0.2 1.44.0.0 1.44.0.1 1.45.0.0 1.45.0.1 1.46.0.0 1.46.0.1 1.47.0.0 1.47.0.1 1.47.1.0 1.48.0.0 1.48.0.1 1.48.0.2 1.48.1.0 1.48.1.1 1.5.0 1.50.0.0 1.50.0.1 1.51.0.0 1.51.0.1 1.52.0.0 1.52.0.1 1.53.0.0 1.53.0.1 1.54.0.0 1.54.0.1 1.55.0.0 1.55.0.1 1.56.0.0 1.56.0.1 1.57.0.0 1.57.0.2 1.57.0.3 1.57.0.4 1.57.0.5 1.57.1.0 1.57.1.1 1.57.1.2 1.58.0.0 1.58.0.1 1.59.0.0 1.59.0.1 1.6.0 1.60.0.0 1.60.0.1 1.63.0.0 1.63.0.1 1.64.0.0 1.64.0.1 1.64.1.0 1.64.1.2 1.67.0.0 1.67.0.1 1.68.0.0 1.68.0.1 1.69.0.0 1.69.0.1 1.69.1.1 1.69.1.2 1.7.1 1.70.0.0 1.70.0.1 1.71.0.0 1.71.0.1 1.72.0.0 1.72.1.0 1.72.1.1 1.73.0.0 1.73.0.1 1.74.0.0 1.74.0.1 1.75.0.0 1.75.1.0 1.75.1.1 1.76.0.0 1.76.0.1 1.76.1.0 1.76.1.1 1.76.2.0 1.76.2.1 1.77.0.0 1.77.0.1 1.78.0.0 1.78.0.1 1.79.0.0 1.79.0.1 1.79.0.2 1.79.0.3 1.79.1.0 1.79.1.1 1.8.2 1.80.1.0 1.80.1.1 1.80.1.2 1.81.0.1 1.81.0.2
vk-blocks / src / extensions / core / heading / style.scss
vk-blocks / src / extensions / core / heading Last commit date
style.scss 2 months ago
style.scss
515 lines
1 //管理画面側の見出しブロックのスタイルのcssになります。
2 //cssを修正する場合はfunctions-color.phpのdynamic_css部分とこちらのscssを修正してください。
3
4 :root {
5 --vk-heading-has-background-padding: 0.6em 0.7em 0.5em;
6 }
7
8 $color_key: #337ab7;
9
10 @mixin title_unset {
11 position: relative;
12 outline: unset;
13 outline-offset: unset;
14 box-shadow: unset;
15 border-radius: unset;
16 overflow: unset;
17 color: inherit;
18 }
19
20 @mixin title_no_bg {
21 background-color: transparent;
22 border: none;
23 padding: 0.6em 0 0.5em;
24 margin-bottom: 1.2em;
25 }
26
27 @mixin title_brackets {
28 border: none;
29 background-color: transparent !important;
30 padding: 0.7em;
31 margin-bottom: 1.2em;
32 text-align: center;
33 border-bottom: unset !important;
34 }
35
36 @mixin title_brackets_before_after {
37 content: "";
38 position: absolute;
39 top: 0;
40 width: 12px;
41 height: 100%;
42 display: inline-block;
43 margin-left: 0;
44 }
45
46 .is-style-vk-heading {
47 &,
48 .editor-styles-wrapper .block-editor-block-list__layout & {
49 h3.is-style-vk-heading:after {
50 border-bottom: none !important;
51 }
52 &-plain,
53 &-background_fill_lightgray,
54 &-double_black,
55 &-double_bottomborder_black,
56 &-solid_black,
57 &-solid_bottomborder_black,
58 &-dotted_bottomborder_black{
59 &:not(.has-text-align-center,.has-text-align-right){
60 text-align: left;
61 }
62 }
63 &-plain {
64 @include title_unset;
65
66 background-color: transparent;
67 border: none;
68 padding: unset;
69 display: block; // これがないと 左右線のflaxをリセットできない
70
71 &::before,
72 &::after {
73 content: none;
74 }
75 //コア側の見出し背景色の余白が優�
76 �されるので上書き用
77 &[class*=has-background]*=has-background]{
78 padding: var(--vk-heading-has-background-padding);
79 }
80
81 }
82
83 // &-speech_balloon_fill {
84 // @include title_unset;
85
86 // overflow: unset;
87 // border: none;
88 // padding: 0.6em 0.8em 0.5em;
89 // margin-bottom: 1.2em;
90 // color: #fff;
91 // border-radius: 4px;
92 // text-align: left;
93 // background-color: $color_key;
94
95 // &::before {
96 // content: "";
97 // position: absolute;
98 // top: auto;
99 // left: 40px;
100 // bottom: -20px;
101 // width: auto;
102 // margin-left: -10px;
103 // border: 10px solid transparent;
104 // border-top: 10px solid $color_key;
105 // z-index: 2;
106 // height: auto;
107 // background-color: transparent !important;
108 // }
109
110 // &::after {
111 // content: none;
112 // }
113 // }
114
115 // &-background_fill {
116 // @include title_unset;
117
118 // border: none;
119 // margin-bottom: 1.2em;
120 // color: #fff;
121 // border-radius: 4px;
122 // background-color: $color_key;
123
124 // &::before, &::after {
125 // content: none;
126 // }
127 // }
128
129 // &-background_fill_stitch {
130 // position: relative;
131 // margin-left: unset;
132 // margin-right: unset;
133 // background-color: $color_key;
134 // padding: 0.6em 0.7em 0.5em;
135 // margin-bottom: 1.2em;
136 // color: #fff;
137 // border-radius: 4px;
138 // border: none;
139 // outline: dashed 1px #fff;
140 // outline-offset: -4px;
141
142 // &::before, &::after {
143 // content: none;
144 // }
145 // }
146
147 &-background_fill_lightgray {
148 @include title_unset;
149
150 border: none;
151 background-color: var(--wp--preset--color--bg-secondary,#efefef );
152 padding: 0.6em 0.7em 0.5em;
153 margin-bottom: 1.2em;
154 border-radius: 4px;
155
156 &::before,
157 &::after {
158 content: none;
159 }
160 //コア側の見出し背景色の余白が優�
161 �されるので上書き用
162 &[class*=has-background]*=has-background]{
163 padding: var(--vk-heading-has-background-padding);
164 }
165 }
166
167 // &-topborder_background_fill_none {
168 // @include title_unset;
169 // @include title_no_bg;
170
171 // border-left: unset;
172 // border-right: unset;
173 // border-top: 2px solid $color_key;
174 // border-bottom: 1px solid #ccc;
175
176 // &::before, &::after {
177 // content: none;
178 // }
179 // }
180
181 // &-topborder_background_fill_black {
182 // @include title_unset;
183
184 // border-left: unset;
185 // border-right: unset;
186 // background-color: #191919;
187 // padding: 0.6em 0.7em 0.5em;
188 // margin-bottom: 1.2em;
189 // color: #fff;
190 // border-top: 2px solid $color_key;
191 // border-bottom: 1px solid #999;
192
193 // &::before, &::after {
194 // content: none;
195 // }
196 // }
197
198 // &-double {
199 // @include title_unset;
200 // @include title_no_bg;
201
202 // border-top: double 3px $color_key;
203 // border-bottom: double 3px $color_key;
204
205 // &::before, &::after {
206 // content: none;
207 // }
208 // }
209
210 &-double_black {
211 @include title_unset;
212 @include title_no_bg;
213
214 border-top: double 3px #333;
215 border-bottom: double 3px #333;
216
217 &::before,
218 &::after {
219 content: none;
220 }
221 //コア側の見出し背景色の余白が優�
222 �されるので上書き用
223 &[class*=has-background]*=has-background]{
224 padding: var(--vk-heading-has-background-padding);
225 }
226 }
227
228 // &-double_bottomborder {
229 // @include title_unset;
230 // @include title_no_bg;
231
232 // border-bottom: double 3px $color_key;
233
234 // &::before, &::after {
235 // content: none;
236 // }
237 // }
238
239 &-double_bottomborder_black {
240 @include title_unset;
241 @include title_no_bg;
242
243 border-bottom: double 3px #333;
244
245 &::before,
246 &::after {
247 content: none;
248 }
249 //コア側の見出し背景色の余白が優�
250 �されるので上書き用
251 &[class*=has-background]*=has-background]{
252 padding: var(--vk-heading-has-background-padding);
253 }
254 }
255
256 // &-solid {
257 // @include title_unset;
258 // @include title_no_bg;
259
260 // border-top: solid 1px $color_key;
261 // border-bottom: solid 1px $color_key;
262
263 // &::before, &::after {
264 // content: none;
265 // }
266 // }
267
268 &-solid_black {
269 @include title_unset;
270 @include title_no_bg;
271
272 border-top: solid 1px #333;
273 border-bottom: solid 1px #333;
274
275 &::before,
276 &::after {
277 content: none;
278 }
279 //コア側の見出し背景色の余白が優�
280 �されるので上書き用
281 &[class*=has-background]*=has-background]{
282 padding: var(--vk-heading-has-background-padding);
283 }
284 }
285
286 // &-solid_bottomborder {
287 // @include title_unset;
288 // @include title_no_bg;
289
290 // border-bottom: solid 1px $color_key;
291
292 // &::before, &::after {
293 // content: none;
294 // }
295 // }
296
297 &-solid_bottomborder_black {
298 @include title_unset;
299 @include title_no_bg;
300
301 border-bottom: solid 1px #333;
302
303 &::before,
304 &::after {
305 content: none;
306 }
307 //コア側の見出し背景色の余白が優�
308 �されるので上書き用
309 &[class*=has-background]*=has-background]{
310 padding: var(--vk-heading-has-background-padding);
311 }
312 }
313
314 // &-solid_bottomborder_leftkeycolor {
315 // @include title_unset;
316 // @include title_no_bg;
317
318 // border-bottom: 1px solid #ccc;
319 // text-align: left;
320
321 // &:before {
322 // content: none;
323 // }
324
325 // &:after {
326 // content: ".";
327 // line-height: 0;
328 // display: block;
329 // overflow: hidden;
330 // position: absolute;
331 // left: 0;
332 // bottom: -1px;
333 // width: 30%;
334 // border: unset;
335 // border-top: none !important;
336 // border-bottom: 1px solid $color_key;
337 // margin-left: 0;
338 // }
339 // }
340
341 &-dotted_bottomborder_black {
342 @include title_unset;
343 @include title_no_bg;
344
345 border-bottom: 1px dotted #111;
346
347 &::before,
348 &::after {
349 content: none;
350 }
351 //コア側の見出し背景色の余白が優�
352 �されるので上書き用
353 &[class*=has-background]*=has-background]{
354 padding: var(--vk-heading-has-background-padding);
355 }
356 }
357
358 &-both_ends {
359 @include title_unset;
360
361 background-color: transparent;
362 border: none;
363 display: flex;
364 align-items: center;
365 text-align: center;
366 margin-bottom: 1.2em;
367 padding: 0;
368
369 &::before,
370 &::after {
371 content: "";
372 flex-grow: 1;
373 border-bottom: 1px solid currentColor;
374 position: unset;
375 width: unset;
376 border-left: unset;
377 border-right: unset;
378 border-top: none;
379 background: unset;
380 }
381
382 &::before {
383 margin-right: 1em;
384 top: unset;
385 }
386
387 &::after {
388 margin-left: 1em;
389 bottom: unset;
390 }
391 }
392
393 // &-leftborder {
394 // @include title_unset;
395
396 // border: none;
397 // color: #333;
398 // padding: 0.6em 0.7em 0.5em;
399 // margin-bottom: 1.2em;
400 // border-left: solid 2px $color_key;
401 // background-color: #efefef;
402 // text-align: left;
403
404 // &::before, &::after {
405 // content: none;
406 // }
407 // }
408
409 // &-leftborder_nobackground {
410 // @include title_unset;
411 // @include title_no_bg;
412
413 // padding: 0.6em 0.7em 0.5em;
414 // border-left: solid 2px $color_key;
415 // text-align: left;
416
417 // &::before, &::after {
418 // content: none;
419 // }
420 // }
421
422 // &-diagonal_stripe_bottomborder{
423 // @include title_unset;
424 // @include title_no_bg;
425 // &:before{
426 // content: none;
427 // }
428 // &::after{
429 // content:"";
430 // position: absolute;
431 // left: 0;
432 // bottom: 0;
433 // width: 100%;
434 // height: 7px;
435 // border: none !important;
436 // background: linear-gradient(
437 // -45deg,
438 // rgba(255,255,255,0.1) 25%, $color_key 25%,
439 // #222 50%, rgba(255,255,255,0.1) 50%,
440 // rgba(255,255,255,0.1) 75%, $color_key 75%,
441 // #222
442 // );
443 // background-size: 5px 5px;
444 // margin-left: 0;
445 // }
446 // }
447
448 // &-brackets{
449 // @include title_unset;
450 // @include title_brackets;
451 // &::before,
452 // &::after{
453 // @include title_brackets_before_after;
454 // border-top: solid 1px $color_key;
455 // border-bottom: solid 1px $color_key;
456 // }
457 // &::before{
458 // border-left: solid 1px $color_key;
459 // left: 0;
460 // }
461 // &::after{
462 // border-right: solid 1px $color_key;
463 // right: 0;
464 // left: auto;
465 // }
466 // }
467 &-brackets_black {
468 @include title_unset;
469 @include title_brackets;
470 &::before,
471 &::after {
472 @include title_brackets_before_after;
473 border-top: solid 1px currentColor;
474 border-bottom: solid 1px currentColor;
475 background: unset;
476 }
477
478 &::before {
479 border-left: solid 1px currentColor;
480 left: 0;
481 }
482
483 &::after {
484 border-right: solid 1px currentColor !important;
485 right: 0;
486 left: auto;
487 }
488 }
489
490 // &-small_bottomborder{
491 // @include title_unset;
492 // border:none;
493 // color:#333;
494 // background-color:transparent !important;
495 // overflow: unset;
496 // padding: 0;
497 // text-align: center;
498 // margin-bottom: 3em;
499 // &:before{
500 // content: none;
501 // }
502 // &::after{
503 // content: "";
504 // display: inline-block;
505 // position: absolute;
506 // left: 50%;
507 // margin-left: -19px;
508 // bottom: -24px;
509 // width: 38px;
510 // border-top: solid 2px $color_key;
511 // }
512 // }
513 } //.is-style-vk-heading
514 } //.editor-block-list__block
515