@innovastudio/contentbuilder 1.5.199 → 1.5.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--focus-outline-color: #3e93f7;
|
|
3
|
+
--rangeslider-thumb-color: #0e75de;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
body {
|
|
2
7
|
overflow-x: hidden !important;
|
|
3
8
|
}
|
|
@@ -28,7 +33,7 @@ button:focus {
|
|
|
28
33
|
|
|
29
34
|
a:focus-visible,
|
|
30
35
|
button:focus-visible {
|
|
31
|
-
outline:
|
|
36
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
32
37
|
outline-offset: 2px;
|
|
33
38
|
}
|
|
34
39
|
|
|
@@ -37,7 +42,7 @@ button:focus-visible {
|
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
.focus-outline {
|
|
40
|
-
outline:
|
|
45
|
+
outline: var(--focus-outline-color) 2px solid !important;
|
|
41
46
|
outline-offset: 2px !important;
|
|
42
47
|
}
|
|
43
48
|
|
|
@@ -464,7 +469,7 @@ button:focus-visible {
|
|
|
464
469
|
}
|
|
465
470
|
#_cbhtml .style-helper.outline-color,
|
|
466
471
|
.is-ui .style-helper.outline-color {
|
|
467
|
-
background:
|
|
472
|
+
background: var(--focus-outline-color);
|
|
468
473
|
}
|
|
469
474
|
#_cbhtml .style-helper-button-classic,
|
|
470
475
|
.is-ui .style-helper-button-classic {
|
|
@@ -1292,7 +1297,7 @@ button:focus-visible {
|
|
|
1292
1297
|
}
|
|
1293
1298
|
#_cbhtml .is-rte-pop.rte-color-picker input[type=text]:focus,
|
|
1294
1299
|
.is-ui .is-rte-pop.rte-color-picker input[type=text]:focus {
|
|
1295
|
-
outline:
|
|
1300
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
1296
1301
|
outline-offset: -2px;
|
|
1297
1302
|
}
|
|
1298
1303
|
#_cbhtml .is-rte-pop.rte-color-picker .color-default button,
|
|
@@ -2257,7 +2262,7 @@ button:focus-visible {
|
|
|
2257
2262
|
}
|
|
2258
2263
|
#_cbhtml .is-modal a:focus,
|
|
2259
2264
|
.is-ui .is-modal a:focus {
|
|
2260
|
-
outline:
|
|
2265
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
2261
2266
|
outline-offset: 0;
|
|
2262
2267
|
}
|
|
2263
2268
|
#_cbhtml .is-modal.active,
|
|
@@ -2330,7 +2335,7 @@ button:focus-visible {
|
|
|
2330
2335
|
}
|
|
2331
2336
|
#_cbhtml .is-modal .form-upload-larger:focus-within,
|
|
2332
2337
|
.is-ui .is-modal .form-upload-larger:focus-within {
|
|
2333
|
-
outline:
|
|
2338
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
2334
2339
|
outline-offset: 0;
|
|
2335
2340
|
border-radius: 6px;
|
|
2336
2341
|
}
|
|
@@ -3288,7 +3293,7 @@ button:focus-visible {
|
|
|
3288
3293
|
}
|
|
3289
3294
|
#_cbhtml .is-modal.insertimage .is-drop-area:focus-within,
|
|
3290
3295
|
.is-ui .is-modal.insertimage .is-drop-area:focus-within {
|
|
3291
|
-
border-color:
|
|
3296
|
+
border-color: var(--focus-outline-color);
|
|
3292
3297
|
}
|
|
3293
3298
|
#_cbhtml .is-modal.insertimage .is-drop-area.image-dropping,
|
|
3294
3299
|
.is-ui .is-modal.insertimage .is-drop-area.image-dropping {
|
|
@@ -3924,7 +3929,7 @@ button:focus-visible {
|
|
|
3924
3929
|
}
|
|
3925
3930
|
#_cbhtml textarea:not(.monaco-mouse-cursor-text):focus,
|
|
3926
3931
|
.is-ui textarea:not(.monaco-mouse-cursor-text):focus {
|
|
3927
|
-
outline:
|
|
3932
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
3928
3933
|
outline-offset: 0;
|
|
3929
3934
|
box-shadow: none;
|
|
3930
3935
|
}
|
|
@@ -3959,7 +3964,7 @@ button:focus-visible {
|
|
|
3959
3964
|
}
|
|
3960
3965
|
#_cbhtml select:focus,
|
|
3961
3966
|
.is-ui select:focus {
|
|
3962
|
-
outline:
|
|
3967
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
3963
3968
|
outline-offset: -2px;
|
|
3964
3969
|
box-shadow: none;
|
|
3965
3970
|
}
|
|
@@ -3987,7 +3992,7 @@ button:focus-visible {
|
|
|
3987
3992
|
#_cbhtml input[type=number]:focus,
|
|
3988
3993
|
.is-ui input[type=text]:focus,
|
|
3989
3994
|
.is-ui input[type=number]:focus {
|
|
3990
|
-
outline:
|
|
3995
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
3991
3996
|
outline-offset: -2px;
|
|
3992
3997
|
box-shadow: none;
|
|
3993
3998
|
}
|
|
@@ -4005,7 +4010,7 @@ button:focus-visible {
|
|
|
4005
4010
|
}
|
|
4006
4011
|
#_cbhtml input[type=radio]:focus,
|
|
4007
4012
|
.is-ui input[type=radio]:focus {
|
|
4008
|
-
outline:
|
|
4013
|
+
outline: var(--focus-outline-color) 1px solid;
|
|
4009
4014
|
}
|
|
4010
4015
|
#_cbhtml label,
|
|
4011
4016
|
.is-ui label {
|
|
@@ -4045,7 +4050,7 @@ button:focus-visible {
|
|
|
4045
4050
|
}
|
|
4046
4051
|
#_cbhtml .is-rangeslider:focus,
|
|
4047
4052
|
.is-ui .is-rangeslider:focus {
|
|
4048
|
-
outline:
|
|
4053
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
4049
4054
|
outline-offset: 2px;
|
|
4050
4055
|
}
|
|
4051
4056
|
#_cbhtml .is-rangeslider::-webkit-slider-thumb,
|
|
@@ -4055,7 +4060,7 @@ button:focus-visible {
|
|
|
4055
4060
|
width: 25px !important;
|
|
4056
4061
|
height: 24px !important;
|
|
4057
4062
|
border-radius: 3px !important;
|
|
4058
|
-
background:
|
|
4063
|
+
background: var(--rangeslider-thumb-color);
|
|
4059
4064
|
cursor: pointer;
|
|
4060
4065
|
margin: 0 !important;
|
|
4061
4066
|
}
|
|
@@ -4064,7 +4069,7 @@ button:focus-visible {
|
|
|
4064
4069
|
width: 25px !important;
|
|
4065
4070
|
height: 24px !important;
|
|
4066
4071
|
border-radius: 3px !important;
|
|
4067
|
-
background:
|
|
4072
|
+
background: var(--rangeslider-thumb-color);
|
|
4068
4073
|
cursor: pointer;
|
|
4069
4074
|
margin: 0 !important;
|
|
4070
4075
|
}
|
|
@@ -5069,7 +5074,7 @@ button:focus-visible {
|
|
|
5069
5074
|
}
|
|
5070
5075
|
#_cbhtml .pickcolor input[type=text]:focus,
|
|
5071
5076
|
.is-ui .pickcolor input[type=text]:focus {
|
|
5072
|
-
outline:
|
|
5077
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
5073
5078
|
outline-offset: -2px;
|
|
5074
5079
|
}
|
|
5075
5080
|
#_cbhtml .pickcolor .color-default button,
|
|
@@ -6596,7 +6601,7 @@ div[data-html] {
|
|
|
6596
6601
|
margin-top: 3px;
|
|
6597
6602
|
}
|
|
6598
6603
|
.custom-select .select-styled:focus-visible {
|
|
6599
|
-
outline:
|
|
6604
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
6600
6605
|
outline-offset: -1px;
|
|
6601
6606
|
}
|
|
6602
6607
|
.custom-select .select-styled > span:first-child {
|
|
@@ -8532,7 +8537,7 @@ iframe.wait-autoplay {
|
|
|
8532
8537
|
align-items: center;
|
|
8533
8538
|
}
|
|
8534
8539
|
#_cbhtml .is-modal.pluginsettings div[contenteditable=true]:focus-visible {
|
|
8535
|
-
outline:
|
|
8540
|
+
outline: var(--focus-outline-color) 2px solid;
|
|
8536
8541
|
}
|
|
8537
8542
|
|
|
8538
8543
|
.dark #_cbhtml .is-accordion > div {
|
|
@@ -94406,6 +94406,7 @@ class ContentBuilder {
|
|
|
94406
94406
|
this.doDocumentClick = e => {
|
|
94407
94407
|
let target = e.target;
|
|
94408
94408
|
if (!target) return;
|
|
94409
|
+
if (target.closest('[data-top-locked], [data-bottom-locked]')) return;
|
|
94409
94410
|
rteClick(e);
|
|
94410
94411
|
let rowClicked;
|
|
94411
94412
|
if (target.parentNode && target.parentNode.classList) rowClicked = target.parentNode.classList.contains('is-builder');
|
|
@@ -95197,6 +95198,7 @@ class ContentBuilder {
|
|
|
95197
95198
|
if (this.opts.useCssClasses) this.dom.contentReformat(builder, this.opts.cssClasses);
|
|
95198
95199
|
}
|
|
95199
95200
|
applyBehaviorOn(builder) {
|
|
95201
|
+
if (builder.closest('[data-top-locked], [data-bottom-locked]')) return;
|
|
95200
95202
|
const util = this.util;
|
|
95201
95203
|
if (builder.closest('[data-cb-type]')) {
|
|
95202
95204
|
// Fix buttons not wrapped in <div style="white-space: nowrap;">
|