@innovastudio/contentbuilder 1.4.149 → 1.5.0

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.
Files changed (64) hide show
  1. package/package.json +4 -1
  2. package/public/contentbuilder/contentbuilder.css +651 -33
  3. package/public/contentbuilder/contentbuilder.esm.js +18446 -11080
  4. package/public/contentbuilder/contentbuilder.min.js +11 -11
  5. package/public/contentbuilder/lang/en.js +9 -1
  6. package/public/contentbuilder/lang/fr.js +9 -1
  7. package/public/contentbuilder/themes/colored-blue.css +64 -53
  8. package/public/contentbuilder/themes/colored-blue2.css +64 -53
  9. package/public/contentbuilder/themes/colored-blue3.css +64 -53
  10. package/public/contentbuilder/themes/colored-blue4.css +64 -53
  11. package/public/contentbuilder/themes/colored-blue5.css +64 -53
  12. package/public/contentbuilder/themes/colored-blue6.css +64 -53
  13. package/public/contentbuilder/themes/colored-blue7.css +64 -53
  14. package/public/contentbuilder/themes/colored-blue8.css +64 -53
  15. package/public/contentbuilder/themes/colored-dark.css +60 -53
  16. package/public/contentbuilder/themes/colored-darkblue.css +64 -53
  17. package/public/contentbuilder/themes/colored-gray.css +64 -53
  18. package/public/contentbuilder/themes/colored-green.css +64 -53
  19. package/public/contentbuilder/themes/colored-green2.css +64 -53
  20. package/public/contentbuilder/themes/colored-green3.css +64 -53
  21. package/public/contentbuilder/themes/colored-green4.css +64 -53
  22. package/public/contentbuilder/themes/colored-green5.css +64 -53
  23. package/public/contentbuilder/themes/colored-magenta.css +64 -53
  24. package/public/contentbuilder/themes/colored-orange.css +64 -53
  25. package/public/contentbuilder/themes/colored-orange2.css +64 -53
  26. package/public/contentbuilder/themes/colored-orange3.css +64 -53
  27. package/public/contentbuilder/themes/colored-pink.css +64 -53
  28. package/public/contentbuilder/themes/colored-pink2.css +64 -53
  29. package/public/contentbuilder/themes/colored-pink3.css +64 -53
  30. package/public/contentbuilder/themes/colored-pink4.css +64 -53
  31. package/public/contentbuilder/themes/colored-purple.css +64 -53
  32. package/public/contentbuilder/themes/colored-purple2.css +64 -53
  33. package/public/contentbuilder/themes/colored-red.css +64 -53
  34. package/public/contentbuilder/themes/colored-red2.css +64 -53
  35. package/public/contentbuilder/themes/colored-red3.css +64 -53
  36. package/public/contentbuilder/themes/colored-red4.css +64 -53
  37. package/public/contentbuilder/themes/colored-red5.css +64 -53
  38. package/public/contentbuilder/themes/colored-yellow.css +64 -53
  39. package/public/contentbuilder/themes/colored-yellow2.css +64 -53
  40. package/public/contentbuilder/themes/dark-blue.css +78 -57
  41. package/public/contentbuilder/themes/dark-blue2.css +78 -57
  42. package/public/contentbuilder/themes/dark-blue3.css +78 -57
  43. package/public/contentbuilder/themes/dark-gray.css +78 -57
  44. package/public/contentbuilder/themes/dark-pink.css +78 -57
  45. package/public/contentbuilder/themes/dark-purple.css +78 -57
  46. package/public/contentbuilder/themes/dark-red.css +78 -57
  47. package/public/contentbuilder/themes/dark.css +74 -55
  48. package/public/contentbuilder/themes/light-blue.css +64 -53
  49. package/public/contentbuilder/themes/light-blue2.css +64 -53
  50. package/public/contentbuilder/themes/light-blue3.css +64 -53
  51. package/public/contentbuilder/themes/light-cyan.css +64 -53
  52. package/public/contentbuilder/themes/light-gray.css +64 -53
  53. package/public/contentbuilder/themes/light-gray2.css +64 -53
  54. package/public/contentbuilder/themes/light-gray3.css +64 -53
  55. package/public/contentbuilder/themes/light-green.css +64 -53
  56. package/public/contentbuilder/themes/light-pink.css +64 -53
  57. package/public/contentbuilder/themes/light-pink2.css +64 -53
  58. package/public/contentbuilder/themes/light-purple.css +64 -53
  59. package/public/contentbuilder/themes/light-purple2.css +64 -53
  60. package/public/contentbuilder/themes/light-red.css +64 -53
  61. package/public/contentbuilder/themes/light-yellow.css +64 -53
  62. package/public/contentbuilder/themes/light-yellow2.css +64 -53
  63. package/readme.txt +95 -10
  64. package/README.md +0 -2252
@@ -8,6 +8,10 @@ svg {
8
8
  pointer-events: none;
9
9
  }
10
10
 
11
+ .is-container > div > div svg {
12
+ pointer-events: initial;
13
+ }
14
+
11
15
  [contenteditable] svg {
12
16
  pointer-events: initial;
13
17
  }
@@ -91,7 +95,8 @@ button:focus-visible {
91
95
  .is-builder .cell-active[data-html] {
92
96
  background-color: rgba(200, 200, 201, 0.11);
93
97
  }
94
- .is-builder .cell-active .icon-active {
98
+ .is-builder .cell-active .icon-active,
99
+ .is-builder .cell-active .svg-active {
95
100
  background-color: rgba(200, 200, 201, 0.4);
96
101
  }
97
102
  .is-builder .elm-inspected {
@@ -991,10 +996,13 @@ button:focus-visible {
991
996
  margin: 0 !important;
992
997
  line-height: 1.45 !important;
993
998
  text-align: center;
994
- transform: scale(0.7);
995
999
  white-space: nowrap;
996
1000
  pointer-events: none;
997
1001
  }
1002
+ #_cbhtml .is-rte-pop.rte-paragraph-options > ul > li > *:not(p),
1003
+ .is-ui .is-rte-pop.rte-paragraph-options > ul > li > *:not(p) {
1004
+ transform: scale(0.8);
1005
+ }
998
1006
  #_cbhtml .is-rte-pop.rte-textsetting-options > div,
999
1007
  .is-ui .is-rte-pop.rte-textsetting-options > div {
1000
1008
  width: 233px;
@@ -1201,15 +1209,35 @@ button:focus-visible {
1201
1209
  }
1202
1210
  #_cbhtml .is-rte-pop.rte-icon-options,
1203
1211
  .is-ui .is-rte-pop.rte-icon-options {
1204
- width: 280px;
1212
+ width: 270px;
1205
1213
  }
1206
- #_cbhtml .is-rte-pop.rte-icon-options iframe,
1207
- .is-ui .is-rte-pop.rte-icon-options iframe {
1208
- margin: 1px 0 0;
1214
+ #_cbhtml .is-rte-pop.rte-icon-options #inpRteIconSearch,
1215
+ .is-ui .is-rte-pop.rte-icon-options #inpRteIconSearch {
1216
+ height: 40px;
1217
+ flex: none;
1218
+ }
1219
+ #_cbhtml .is-rte-pop.rte-icon-options > div,
1220
+ .is-ui .is-rte-pop.rte-icon-options > div {
1221
+ flex-direction: column;
1222
+ width: 100%;
1223
+ padding: 0;
1224
+ }
1225
+ #_cbhtml .is-rte-pop.rte-icon-options > div .div-icon-list,
1226
+ .is-ui .is-rte-pop.rte-icon-options > div .div-icon-list {
1209
1227
  width: 100%;
1210
- max-width: 300px;
1211
1228
  height: 100%;
1212
- border: none;
1229
+ display: flex;
1230
+ align-content: flex-start;
1231
+ flex-wrap: wrap;
1232
+ overflow-y: auto;
1233
+ overflow-x: hidden;
1234
+ }
1235
+ #_cbhtml .is-rte-pop.rte-icon-options > div .div-icon-list button,
1236
+ .is-ui .is-rte-pop.rte-icon-options > div .div-icon-list button {
1237
+ font-size: 16px;
1238
+ width: 50px;
1239
+ height: 40px;
1240
+ outline-offset: -2px;
1213
1241
  }
1214
1242
  #_cbhtml .is-rte-pop.rte-icon-options.active,
1215
1243
  .is-ui .is-rte-pop.rte-icon-options.active {
@@ -1220,7 +1248,7 @@ button:focus-visible {
1220
1248
  height: 0;
1221
1249
  }
1222
1250
  to {
1223
- height: 240px;
1251
+ height: 280px;
1224
1252
  }
1225
1253
  }
1226
1254
  #_cbhtml .is-rte-pop.rte-icon-options.deactive,
@@ -1229,12 +1257,54 @@ button:focus-visible {
1229
1257
  }
1230
1258
  @keyframes icon-slide-in {
1231
1259
  from {
1232
- height: 240px;
1260
+ height: 280px;
1233
1261
  }
1234
1262
  to {
1235
1263
  height: 0;
1236
1264
  }
1237
1265
  }
1266
+ #_cbhtml .is-rte-pop.rte-fontfamily-options,
1267
+ .is-ui .is-rte-pop.rte-fontfamily-options {
1268
+ width: 260px;
1269
+ }
1270
+ #_cbhtml .is-rte-pop.rte-fontfamily-options #inpRteFontSearch,
1271
+ .is-ui .is-rte-pop.rte-fontfamily-options #inpRteFontSearch {
1272
+ height: 40px;
1273
+ flex: none;
1274
+ text-align: center;
1275
+ }
1276
+ #_cbhtml .is-rte-pop.rte-fontfamily-options > div,
1277
+ .is-ui .is-rte-pop.rte-fontfamily-options > div {
1278
+ flex-direction: column;
1279
+ width: 100%;
1280
+ padding: 0;
1281
+ }
1282
+ #_cbhtml .is-rte-pop.rte-fontfamily-options > div .div-font-list,
1283
+ .is-ui .is-rte-pop.rte-fontfamily-options > div .div-font-list {
1284
+ width: 100%;
1285
+ height: 100%;
1286
+ display: flex;
1287
+ flex-direction: column;
1288
+ overflow-y: auto;
1289
+ overflow-x: hidden;
1290
+ }
1291
+ #_cbhtml .is-rte-pop.rte-fontfamily-options > div .div-font-list button,
1292
+ .is-ui .is-rte-pop.rte-fontfamily-options > div .div-font-list button {
1293
+ font-size: 16px;
1294
+ width: 100%;
1295
+ height: 40px;
1296
+ outline-offset: -2px;
1297
+ flex: none;
1298
+ }
1299
+ #_cbhtml .is-rte-pop.rte-fontfamily-options > div .div-font-list button img,
1300
+ .is-ui .is-rte-pop.rte-fontfamily-options > div .div-font-list button img {
1301
+ height: 24px;
1302
+ pointer-events: none;
1303
+ }
1304
+ #_cbhtml .is-rte-pop.rte-fontfamily-options > div .div-font-list button.hidden,
1305
+ .is-ui .is-rte-pop.rte-fontfamily-options > div .div-font-list button.hidden {
1306
+ display: none;
1307
+ }
1238
1308
  #_cbhtml .is-rte-pop.rte-fontfamily-options iframe,
1239
1309
  .is-ui .is-rte-pop.rte-fontfamily-options iframe {
1240
1310
  margin: 1px 0 0;
@@ -1444,6 +1514,45 @@ button:focus-visible {
1444
1514
  .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options {
1445
1515
  height: 260px;
1446
1516
  }
1517
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options #inpRteFontSearch,
1518
+ .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options #inpRteFontSearch {
1519
+ height: 40px;
1520
+ flex: none;
1521
+ text-align: center;
1522
+ }
1523
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options > div,
1524
+ .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options > div {
1525
+ flex-direction: column;
1526
+ width: 100%;
1527
+ height: 320px;
1528
+ padding: 0;
1529
+ }
1530
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list,
1531
+ .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list {
1532
+ width: 100%;
1533
+ height: 220px;
1534
+ display: flex;
1535
+ flex-direction: column;
1536
+ overflow-y: auto;
1537
+ overflow-x: hidden;
1538
+ }
1539
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list button,
1540
+ .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list button {
1541
+ font-size: 16px;
1542
+ width: 100%;
1543
+ height: 40px;
1544
+ outline-offset: -2px;
1545
+ flex: none;
1546
+ }
1547
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list button img,
1548
+ .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list button img {
1549
+ height: 24px;
1550
+ pointer-events: none;
1551
+ }
1552
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list button.hidden,
1553
+ .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options > div .div-font-list button.hidden {
1554
+ display: none;
1555
+ }
1447
1556
  #_cbhtml[toolbarleft] .is-rte-pop.rte-fontfamily-options iframe,
1448
1557
  .is-ui[toolbarleft] .is-rte-pop.rte-fontfamily-options iframe {
1449
1558
  margin: 9px 0 9px 0;
@@ -1543,6 +1652,35 @@ button:focus-visible {
1543
1652
  .is-ui[toolbarleft] .is-rte-pop.rte-icon-options {
1544
1653
  height: 320px;
1545
1654
  }
1655
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-icon-options #inpRteIconSearch,
1656
+ .is-ui[toolbarleft] .is-rte-pop.rte-icon-options #inpRteIconSearch {
1657
+ height: 40px;
1658
+ flex: none;
1659
+ }
1660
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-icon-options > div,
1661
+ .is-ui[toolbarleft] .is-rte-pop.rte-icon-options > div {
1662
+ flex-direction: column;
1663
+ width: 100%;
1664
+ height: 320px;
1665
+ padding: 0;
1666
+ }
1667
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-icon-options > div .div-icon-list,
1668
+ .is-ui[toolbarleft] .is-rte-pop.rte-icon-options > div .div-icon-list {
1669
+ width: 100%;
1670
+ height: 100%;
1671
+ display: flex;
1672
+ align-content: flex-start;
1673
+ flex-wrap: wrap;
1674
+ overflow-y: auto;
1675
+ overflow-x: hidden;
1676
+ }
1677
+ #_cbhtml[toolbarleft] .is-rte-pop.rte-icon-options > div .div-icon-list button,
1678
+ .is-ui[toolbarleft] .is-rte-pop.rte-icon-options > div .div-icon-list button {
1679
+ font-size: 16px;
1680
+ width: 50px;
1681
+ height: 40px;
1682
+ outline-offset: -2px;
1683
+ }
1546
1684
  #_cbhtml[toolbarleft] .is-rte-pop.rte-icon-options iframe,
1547
1685
  .is-ui[toolbarleft] .is-rte-pop.rte-icon-options iframe {
1548
1686
  margin: 9px 0 9px 0;
@@ -1699,6 +1837,45 @@ button:focus-visible {
1699
1837
  .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options {
1700
1838
  height: 260px;
1701
1839
  }
1840
+ #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options #inpRteFontSearch,
1841
+ .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options #inpRteFontSearch {
1842
+ height: 40px;
1843
+ flex: none;
1844
+ text-align: center;
1845
+ }
1846
+ #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options > div,
1847
+ .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options > div {
1848
+ flex-direction: column;
1849
+ width: 100%;
1850
+ height: 320px;
1851
+ padding: 0;
1852
+ }
1853
+ #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list,
1854
+ .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list {
1855
+ width: 100%;
1856
+ height: 220px;
1857
+ display: flex;
1858
+ flex-direction: column;
1859
+ overflow-y: auto;
1860
+ overflow-x: hidden;
1861
+ }
1862
+ #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list button,
1863
+ .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list button {
1864
+ font-size: 16px;
1865
+ width: 100%;
1866
+ height: 40px;
1867
+ outline-offset: -2px;
1868
+ flex: none;
1869
+ }
1870
+ #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list button img,
1871
+ .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list button img {
1872
+ height: 24px;
1873
+ pointer-events: none;
1874
+ }
1875
+ #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list button.hidden,
1876
+ .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options > div .div-font-list button.hidden {
1877
+ display: none;
1878
+ }
1702
1879
  #_cbhtml[toolbarright] .is-rte-pop.rte-fontfamily-options iframe,
1703
1880
  .is-ui[toolbarright] .is-rte-pop.rte-fontfamily-options iframe {
1704
1881
  margin: 9px 0 9px 0;
@@ -1761,6 +1938,30 @@ button:focus-visible {
1761
1938
  .is-ui[toolbarright] .is-rte-pop.rte-icon-options {
1762
1939
  height: 320px;
1763
1940
  }
1941
+ #_cbhtml[toolbarright] .is-rte-pop.rte-icon-options > div,
1942
+ .is-ui[toolbarright] .is-rte-pop.rte-icon-options > div {
1943
+ flex-direction: column;
1944
+ width: 100%;
1945
+ height: 320px;
1946
+ padding: 0;
1947
+ }
1948
+ #_cbhtml[toolbarright] .is-rte-pop.rte-icon-options > div .div-icon-list,
1949
+ .is-ui[toolbarright] .is-rte-pop.rte-icon-options > div .div-icon-list {
1950
+ width: 100%;
1951
+ height: 100%;
1952
+ display: flex;
1953
+ align-content: flex-start;
1954
+ flex-wrap: wrap;
1955
+ overflow-y: auto;
1956
+ overflow-x: hidden;
1957
+ }
1958
+ #_cbhtml[toolbarright] .is-rte-pop.rte-icon-options > div .div-icon-list button,
1959
+ .is-ui[toolbarright] .is-rte-pop.rte-icon-options > div .div-icon-list button {
1960
+ font-size: 16px;
1961
+ width: 50px;
1962
+ height: 40px;
1963
+ outline-offset: -2px;
1964
+ }
1764
1965
  #_cbhtml[toolbarright] .is-rte-pop.rte-icon-options iframe,
1765
1966
  .is-ui[toolbarright] .is-rte-pop.rte-icon-options iframe {
1766
1967
  margin: 9px 0 9px 0;
@@ -1874,8 +2075,9 @@ button:focus-visible {
1874
2075
  font-weight: 300;
1875
2076
  outline: none;
1876
2077
  }
1877
- #_cbhtml .is-modal .pickcolorclass, #_cbhtml .is-modal .imagesource, #_cbhtml .is-modal .imageadjust, #_cbhtml .is-modal .imageadjust2,
2078
+ #_cbhtml .is-modal .pickcolor, #_cbhtml .is-modal .pickcolorclass, #_cbhtml .is-modal .imagesource, #_cbhtml .is-modal .imageadjust, #_cbhtml .is-modal .imageadjust2,
1878
2079
  #_cbhtml .is-modal .audioselect, #_cbhtml .is-modal .imageselect, #_cbhtml .is-modal .mediaselect, #_cbhtml .is-modal .videoselect, #_cbhtml .is-modal .mediasource,
2080
+ .is-ui .is-modal .pickcolor,
1879
2081
  .is-ui .is-modal .pickcolorclass,
1880
2082
  .is-ui .is-modal .imagesource,
1881
2083
  .is-ui .is-modal .imageadjust,
@@ -1983,7 +2185,7 @@ button:focus-visible {
1983
2185
  .is-ui .is-modal.is-modal-content,
1984
2186
  .is-ui .is-modal .is-modal-content {
1985
2187
  background: #fff;
1986
- border: 1px solid rgba(212, 217, 226, 0.75);
2188
+ border: 1px solid #e3e3e3;
1987
2189
  box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.08);
1988
2190
  border-radius: 5px;
1989
2191
  overflow: hidden;
@@ -1999,7 +2201,7 @@ button:focus-visible {
1999
2201
  #_cbhtml .is-modal:not(.is-modal-content) > div:not(.is-modal-overlay),
2000
2202
  .is-ui .is-modal:not(.is-modal-content) > div:not(.is-modal-overlay) {
2001
2203
  background: #fff;
2002
- border: 1px solid rgba(212, 217, 226, 0.75);
2204
+ border: 1px solid #e3e3e3;
2003
2205
  box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.08);
2004
2206
  position: relative;
2005
2207
  width: 100%;
@@ -2072,12 +2274,13 @@ button:focus-visible {
2072
2274
  .is-ui .is-modal div.is-modal-footer button {
2073
2275
  margin-left: 2px;
2074
2276
  }
2075
- #_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect, #_cbhtml .is-modal.otherselect, #_cbhtml .is-modal.pickcolorclass, #_cbhtml .is-modal.imagesource, #_cbhtml .is-modal.imageadjust, #_cbhtml .is-modal.imageadjust2, #_cbhtml .is-modal.audioselect, #_cbhtml .is-modal.mediasource,
2277
+ #_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect, #_cbhtml .is-modal.otherselect, #_cbhtml .is-modal.pickcolor, #_cbhtml .is-modal.pickcolorclass, #_cbhtml .is-modal.imagesource, #_cbhtml .is-modal.imageadjust, #_cbhtml .is-modal.imageadjust2, #_cbhtml .is-modal.audioselect, #_cbhtml .is-modal.mediasource,
2076
2278
  .is-ui .is-modal.fileselect,
2077
2279
  .is-ui .is-modal.mediaselect,
2078
2280
  .is-ui .is-modal.imageselect,
2079
2281
  .is-ui .is-modal.videoselect,
2080
2282
  .is-ui .is-modal.otherselect,
2283
+ .is-ui .is-modal.pickcolor,
2081
2284
  .is-ui .is-modal.pickcolorclass,
2082
2285
  .is-ui .is-modal.imagesource,
2083
2286
  .is-ui .is-modal.imageadjust,
@@ -2351,6 +2554,121 @@ button:focus-visible {
2351
2554
  background: rgba(255, 255, 255, 0.2);
2352
2555
  border: rgba(0, 0, 0, 0.09) 1px solid;
2353
2556
  }
2557
+ #_cbhtml .is-modal.editblock,
2558
+ .is-ui .is-modal.editblock {
2559
+ z-index: 10002;
2560
+ position: fixed;
2561
+ overflow: hidden;
2562
+ width: 300px;
2563
+ height: auto;
2564
+ top: calc(50vh - 400px);
2565
+ left: auto;
2566
+ right: 40px;
2567
+ box-sizing: content-box;
2568
+ flex-direction: row;
2569
+ align-items: flex-start;
2570
+ }
2571
+ #_cbhtml .is-modal.editblock .is-modal-bar,
2572
+ .is-ui .is-modal.editblock .is-modal-bar {
2573
+ line-height: 30px;
2574
+ height: 30px;
2575
+ }
2576
+ #_cbhtml .is-modal.editblock .is-modal-bar .is-modal-close,
2577
+ .is-ui .is-modal.editblock .is-modal-bar .is-modal-close {
2578
+ width: 20px;
2579
+ height: 20px;
2580
+ line-height: 20px;
2581
+ font-size: 10px;
2582
+ }
2583
+ #_cbhtml .is-modal.editblock.active,
2584
+ .is-ui .is-modal.editblock.active {
2585
+ display: flex;
2586
+ }
2587
+ #_cbhtml .is-modal.editblock > div:not(.is-draggable),
2588
+ .is-ui .is-modal.editblock > div:not(.is-draggable) {
2589
+ width: 100%;
2590
+ margin-top: 30px;
2591
+ padding: 25px;
2592
+ box-sizing: border-box;
2593
+ }
2594
+ #_cbhtml .is-modal.editblock .is-modal-overlay,
2595
+ .is-ui .is-modal.editblock .is-modal-overlay {
2596
+ display: none !important;
2597
+ }
2598
+ #_cbhtml .is-modal.editblock button,
2599
+ .is-ui .is-modal.editblock button {
2600
+ width: auto;
2601
+ height: 35px;
2602
+ font-size: 10px;
2603
+ line-height: 1;
2604
+ text-transform: uppercase;
2605
+ padding: 1px 20px;
2606
+ box-sizing: border-box;
2607
+ border: none;
2608
+ outline-offset: -2px;
2609
+ }
2610
+ #_cbhtml .is-modal.editblock button:focus,
2611
+ .is-ui .is-modal.editblock button:focus {
2612
+ border-radius: 2px;
2613
+ }
2614
+ #_cbhtml .is-modal.editblock button.is-btn-color,
2615
+ .is-ui .is-modal.editblock button.is-btn-color {
2616
+ width: 35px;
2617
+ height: 35px;
2618
+ padding: 0;
2619
+ background: rgba(255, 255, 255, 0.2);
2620
+ border: rgba(0, 0, 0, 0.09) 1px solid;
2621
+ }
2622
+ #_cbhtml .is-modal.editblock button span,
2623
+ .is-ui .is-modal.editblock button span {
2624
+ margin-left: 5px;
2625
+ }
2626
+ #_cbhtml .is-modal.editblock button svg,
2627
+ .is-ui .is-modal.editblock button svg {
2628
+ width: 12px;
2629
+ height: 12px;
2630
+ flex: none;
2631
+ }
2632
+ #_cbhtml .is-modal.editblock button.input-cell-bgimage,
2633
+ .is-ui .is-modal.editblock button.input-cell-bgimage {
2634
+ margin-right: 1px;
2635
+ }
2636
+ #_cbhtml .is-modal.editblock button.input-cell-bgimage svg,
2637
+ .is-ui .is-modal.editblock button.input-cell-bgimage svg {
2638
+ width: 14px;
2639
+ height: 14px;
2640
+ }
2641
+ #_cbhtml .is-modal.editblock .asset-preview,
2642
+ .is-ui .is-modal.editblock .asset-preview {
2643
+ max-width: 120px;
2644
+ height: 100px;
2645
+ }
2646
+ #_cbhtml .is-modal.editblock .asset-preview img,
2647
+ .is-ui .is-modal.editblock .asset-preview img {
2648
+ max-width: 100%;
2649
+ max-height: 100%;
2650
+ }
2651
+ #_cbhtml .is-modal.editblock .div-content-textcolor,
2652
+ .is-ui .is-modal.editblock .div-content-textcolor {
2653
+ display: flex;
2654
+ }
2655
+ #_cbhtml .is-modal.editblock .div-content-textcolor button,
2656
+ .is-ui .is-modal.editblock .div-content-textcolor button {
2657
+ width: 40px;
2658
+ border: transparent 1px solid;
2659
+ }
2660
+ #_cbhtml .is-modal.editblock .div-content-textcolor button[data-textcolor=dark],
2661
+ .is-ui .is-modal.editblock .div-content-textcolor button[data-textcolor=dark] {
2662
+ width: auto;
2663
+ background-color: #f7f7f7;
2664
+ color: #111;
2665
+ }
2666
+ #_cbhtml .is-modal.editblock .div-content-textcolor button[data-textcolor=light],
2667
+ .is-ui .is-modal.editblock .div-content-textcolor button[data-textcolor=light] {
2668
+ width: auto;
2669
+ background-color: #333;
2670
+ color: #f7f7f7;
2671
+ }
2354
2672
  #_cbhtml .is-modal.shortcuts div.is-modal-content,
2355
2673
  .is-ui .is-modal.shortcuts div.is-modal-content {
2356
2674
  max-width: 600px;
@@ -2382,6 +2700,70 @@ button:focus-visible {
2382
2700
  .is-ui .is-modal.pickcolor .is-modal-overlay {
2383
2701
  background: rgba(255, 255, 255, 0);
2384
2702
  }
2703
+ #_cbhtml .is-modal.snippetwindow,
2704
+ .is-ui .is-modal.snippetwindow {
2705
+ z-index: 10002;
2706
+ position: fixed;
2707
+ overflow: hidden;
2708
+ width: 228px;
2709
+ height: 78vh;
2710
+ min-height: 560px;
2711
+ top: calc(50% - 42.5vh);
2712
+ left: auto;
2713
+ right: 40px;
2714
+ box-sizing: content-box;
2715
+ flex-direction: row;
2716
+ align-items: flex-start;
2717
+ border-radius: 6px;
2718
+ box-shadow: 9px 14px 30px 1px rgba(0, 0, 0, 0.12);
2719
+ background-color: #fff;
2720
+ }
2721
+ #_cbhtml .is-modal.snippetwindow.left,
2722
+ .is-ui .is-modal.snippetwindow.left {
2723
+ right: auto;
2724
+ left: 40px;
2725
+ }
2726
+ #_cbhtml .is-modal.snippetwindow #divSnippetWindow,
2727
+ .is-ui .is-modal.snippetwindow #divSnippetWindow {
2728
+ height: 100%;
2729
+ position: absolute;
2730
+ top: 0;
2731
+ border-top: transparent 20px solid;
2732
+ box-sizing: border-box;
2733
+ margin-top: 0;
2734
+ }
2735
+ #_cbhtml .is-modal.snippetwindow .is-modal-overlay,
2736
+ .is-ui .is-modal.snippetwindow .is-modal-overlay {
2737
+ display: none !important;
2738
+ }
2739
+ #_cbhtml .is-modal.snippetwindow .is-modal-bar,
2740
+ .is-ui .is-modal.snippetwindow .is-modal-bar {
2741
+ line-height: 30px;
2742
+ height: 20px;
2743
+ background-color: transparent;
2744
+ transition: none !important;
2745
+ }
2746
+ #_cbhtml .is-modal.snippetwindow .is-modal-bar .is-modal-close,
2747
+ .is-ui .is-modal.snippetwindow .is-modal-bar .is-modal-close {
2748
+ width: 20px;
2749
+ height: 20px;
2750
+ line-height: 20px;
2751
+ font-size: 10px;
2752
+ top: 0px;
2753
+ }
2754
+ #_cbhtml .is-modal.snippetwindow.active,
2755
+ .is-ui .is-modal.snippetwindow.active {
2756
+ display: flex;
2757
+ }
2758
+ #_cbhtml .is-modal.snippetwindow > div:not(.is-draggable),
2759
+ .is-ui .is-modal.snippetwindow > div:not(.is-draggable) {
2760
+ width: 100%;
2761
+ margin-top: 20px;
2762
+ }
2763
+ #_cbhtml .is-modal.snippetwindow #divSnippetHandle,
2764
+ .is-ui .is-modal.snippetwindow #divSnippetHandle {
2765
+ display: none !important;
2766
+ }
2385
2767
  #_cbhtml .is-modal.buttoneditor,
2386
2768
  .is-ui .is-modal.buttoneditor {
2387
2769
  z-index: 10002;
@@ -2935,6 +3317,19 @@ button:focus-visible {
2935
3317
  width: 50px;
2936
3318
  height: 43px;
2937
3319
  }
3320
+ #_cbhtml .is-modal.svgsettings div.is-modal-content,
3321
+ .is-ui .is-modal.svgsettings div.is-modal-content {
3322
+ max-width: 550px;
3323
+ }
3324
+ #_cbhtml .is-modal.svgsettings div.is-modal-content #inpSvgCode,
3325
+ .is-ui .is-modal.svgsettings div.is-modal-content #inpSvgCode {
3326
+ width: 100%;
3327
+ height: 300px;
3328
+ line-height: 1.4;
3329
+ font-size: 16px;
3330
+ font-family: "Courier New", monospace;
3331
+ resize: none;
3332
+ }
2938
3333
  #_cbhtml .is-modal.audiolink div.is-modal-content,
2939
3334
  .is-ui .is-modal.audiolink div.is-modal-content {
2940
3335
  max-width: 550px;
@@ -3099,43 +3494,49 @@ button:focus-visible {
3099
3494
  .is-ui .is-tool.is-table-tool > button svg {
3100
3495
  fill: #121212;
3101
3496
  }
3102
- #_cbhtml .is-tool.is-code-tool, #_cbhtml .is-tool.is-module-tool,
3497
+ #_cbhtml .is-tool.is-code-tool, #_cbhtml .is-tool.is-module-tool, #_cbhtml .is-tool.is-svg-tool,
3103
3498
  .is-ui .is-tool.is-code-tool,
3104
- .is-ui .is-tool.is-module-tool {
3499
+ .is-ui .is-tool.is-module-tool,
3500
+ .is-ui .is-tool.is-svg-tool {
3105
3501
  border: none;
3106
3502
  background: none;
3503
+ border-radius: 3px;
3504
+ overflow: hidden;
3107
3505
  }
3108
- #_cbhtml .is-tool.is-code-tool > button, #_cbhtml .is-tool.is-module-tool > button,
3506
+ #_cbhtml .is-tool.is-code-tool > button, #_cbhtml .is-tool.is-module-tool > button, #_cbhtml .is-tool.is-svg-tool > button,
3109
3507
  .is-ui .is-tool.is-code-tool > button,
3110
- .is-ui .is-tool.is-module-tool > button {
3111
- width: 30px;
3112
- height: 30px;
3508
+ .is-ui .is-tool.is-module-tool > button,
3509
+ .is-ui .is-tool.is-svg-tool > button {
3510
+ width: 35px !important;
3511
+ height: 35px !important;
3113
3512
  background: rgba(240, 240, 240, 0.9);
3114
3513
  }
3115
- #_cbhtml .is-tool.is-code-tool > button svg, #_cbhtml .is-tool.is-module-tool > button svg,
3514
+ #_cbhtml .is-tool.is-code-tool > button svg, #_cbhtml .is-tool.is-module-tool > button svg, #_cbhtml .is-tool.is-svg-tool > button svg,
3116
3515
  .is-ui .is-tool.is-code-tool > button svg,
3117
- .is-ui .is-tool.is-module-tool > button svg {
3516
+ .is-ui .is-tool.is-module-tool > button svg,
3517
+ .is-ui .is-tool.is-svg-tool > button svg {
3518
+ width: 14px !important;
3519
+ height: 14px !important;
3118
3520
  fill: #121212;
3119
3521
  }
3120
- #_cbhtml .is-tool#divLinkTool, #_cbhtml .is-tool#divButtonTool, #_cbhtml .is-tool#divSvgTool,
3522
+ #_cbhtml .is-tool#divLinkTool, #_cbhtml .is-tool#divButtonTool,
3121
3523
  .is-ui .is-tool#divLinkTool,
3122
- .is-ui .is-tool#divButtonTool,
3123
- .is-ui .is-tool#divSvgTool {
3524
+ .is-ui .is-tool#divButtonTool {
3124
3525
  background: rgba(243, 243, 243, 0.9);
3125
3526
  box-shadow: none;
3527
+ border-radius: 3px;
3528
+ overflow: hidden;
3126
3529
  }
3127
- #_cbhtml .is-tool#divLinkTool button, #_cbhtml .is-tool#divButtonTool button, #_cbhtml .is-tool#divSvgTool button,
3530
+ #_cbhtml .is-tool#divLinkTool button, #_cbhtml .is-tool#divButtonTool button,
3128
3531
  .is-ui .is-tool#divLinkTool button,
3129
- .is-ui .is-tool#divButtonTool button,
3130
- .is-ui .is-tool#divSvgTool button {
3532
+ .is-ui .is-tool#divButtonTool button {
3131
3533
  width: 30px;
3132
3534
  height: 30px;
3133
3535
  background: transparent;
3134
3536
  }
3135
- #_cbhtml .is-tool#divLinkTool button svg, #_cbhtml .is-tool#divButtonTool button svg, #_cbhtml .is-tool#divSvgTool button svg,
3537
+ #_cbhtml .is-tool#divLinkTool button svg, #_cbhtml .is-tool#divButtonTool button svg,
3136
3538
  .is-ui .is-tool#divLinkTool button svg,
3137
- .is-ui .is-tool#divButtonTool button svg,
3138
- .is-ui .is-tool#divSvgTool button svg {
3539
+ .is-ui .is-tool#divButtonTool button svg {
3139
3540
  fill: #121212;
3140
3541
  }
3141
3542
  #_cbhtml .dot,
@@ -3411,7 +3812,8 @@ button:focus-visible {
3411
3812
  }
3412
3813
  #_cbhtml select:focus,
3413
3814
  .is-ui select:focus {
3414
- outline-offset: 0;
3815
+ outline: #3e93f7 2px solid;
3816
+ outline-offset: -2px;
3415
3817
  box-shadow: none;
3416
3818
  }
3417
3819
  #_cbhtml input[type=text],
@@ -3461,6 +3863,7 @@ button:focus-visible {
3461
3863
  display: flex;
3462
3864
  align-items: center;
3463
3865
  line-height: 1;
3866
+ cursor: pointer;
3464
3867
  }
3465
3868
  #_cbhtml label.label-checkbox input,
3466
3869
  .is-ui label.label-checkbox input {
@@ -3718,6 +4121,28 @@ button:focus-visible {
3718
4121
  .is-ui .is-tabs-more li.active {
3719
4122
  background: whitesmoke;
3720
4123
  }
4124
+ #_cbhtml .inp-snippets.custom-select,
4125
+ .is-ui .inp-snippets.custom-select {
4126
+ width: 100%;
4127
+ }
4128
+ #_cbhtml .inp-snippets.custom-select .select-styled,
4129
+ .is-ui .inp-snippets.custom-select .select-styled {
4130
+ border: none;
4131
+ border-bottom: 1px solid #bababa38;
4132
+ padding: 0 6px 0 14px;
4133
+ outline-offset: -2px;
4134
+ box-shadow: none;
4135
+ }
4136
+ #_cbhtml .inp-snippets.custom-select .select-options,
4137
+ .is-ui .inp-snippets.custom-select .select-options {
4138
+ max-height: 300px;
4139
+ top: 46px;
4140
+ }
4141
+ #_cbhtml .inp-snippets.custom-select .select-options li,
4142
+ .is-ui .inp-snippets.custom-select .select-options li {
4143
+ font-size: 14px !important;
4144
+ padding: 0 8px 0 14px;
4145
+ }
3721
4146
  #_cbhtml #divSnippetList,
3722
4147
  .is-ui #divSnippetList {
3723
4148
  right: -230px;
@@ -3795,7 +4220,7 @@ button:focus-visible {
3795
4220
  overflow-y: auto;
3796
4221
  overflow-x: hidden;
3797
4222
  text-align: center;
3798
- border-top: transparent 40px solid !important;
4223
+ border-top: transparent 46px solid !important;
3799
4224
  outline: none;
3800
4225
  }
3801
4226
  #_cbhtml .is-design-list > div,
@@ -5602,3 +6027,196 @@ div[data-html] {
5602
6027
  transform: scale(0.62);
5603
6028
  }
5604
6029
  }
6030
+ .custom-select {
6031
+ --cs-height: 46px;
6032
+ --cs-border: 1px solid #ddd;
6033
+ --cs-background: #fff;
6034
+ --cs-hover-background: #f2f2f2;
6035
+ --cs-selected-background: #eee;
6036
+ position: relative;
6037
+ display: inline-block;
6038
+ font-size: 15px;
6039
+ height: var(--cs-height);
6040
+ width: 100%;
6041
+ }
6042
+ .custom-select .select-styled {
6043
+ display: flex;
6044
+ align-items: center;
6045
+ justify-content: space-between;
6046
+ padding: 0 6px 0 14px;
6047
+ border: var(--cs-border);
6048
+ cursor: pointer;
6049
+ position: relative;
6050
+ user-select: none;
6051
+ box-sizing: border-box;
6052
+ height: var(--cs-height);
6053
+ overflow: hidden;
6054
+ border-radius: 3px;
6055
+ box-shadow: -2px 5px 10px -6px rgba(0, 0, 0, 0.08);
6056
+ outline: none;
6057
+ }
6058
+ .custom-select .select-styled span {
6059
+ display: flex;
6060
+ }
6061
+ .custom-select .select-styled span img {
6062
+ height: 25px;
6063
+ margin-top: 3px;
6064
+ }
6065
+ .custom-select .select-styled:focus-visible {
6066
+ outline: #3e93f7 2px solid;
6067
+ outline-offset: -1px;
6068
+ }
6069
+ .custom-select .select-styled > span:first-child {
6070
+ position: absolute;
6071
+ margin-right: 23px;
6072
+ }
6073
+ .custom-select .select-styled > span:nth-child(2) {
6074
+ position: absolute;
6075
+ height: 15px;
6076
+ top: calc(50% - 7.5px);
6077
+ right: 6px;
6078
+ display: flex;
6079
+ }
6080
+ .custom-select .select-styled svg {
6081
+ width: 15px;
6082
+ height: 15px;
6083
+ }
6084
+ .custom-select .select-styled[aria-expanded=true] > span:nth-child(2) {
6085
+ -webkit-transform: rotate(-180deg);
6086
+ transform: rotate(-180deg);
6087
+ top: calc(50% - 7.5px);
6088
+ }
6089
+ .custom-select input {
6090
+ display: none;
6091
+ width: 100%;
6092
+ height: 40px;
6093
+ border: var(--cs-border);
6094
+ border-top: none;
6095
+ padding: 0 3px 0 8px;
6096
+ box-sizing: border-box;
6097
+ margin: 0;
6098
+ position: absolute;
6099
+ top: var(--cs-height);
6100
+ left: 0;
6101
+ font-size: 15px;
6102
+ z-index: 2;
6103
+ outline-offset: 0;
6104
+ background: var(--cs-background);
6105
+ }
6106
+ .custom-select input:focus {
6107
+ outline: none;
6108
+ }
6109
+ .custom-select .select-options {
6110
+ display: none;
6111
+ position: absolute;
6112
+ top: calc(var(--cs-height) + 1px);
6113
+ left: 0;
6114
+ border: var(--cs-border);
6115
+ box-sizing: border-box;
6116
+ border-top: none;
6117
+ z-index: 1;
6118
+ list-style: none;
6119
+ margin: 0;
6120
+ padding: 0;
6121
+ width: 100%;
6122
+ background-color: var(--cs-background);
6123
+ z-index: 1;
6124
+ max-height: 200px;
6125
+ overflow-y: auto;
6126
+ }
6127
+ .custom-select.has-search .select-options {
6128
+ top: calc(var(--cs-height) + 40px);
6129
+ }
6130
+ .custom-select .select-options.active {
6131
+ display: block;
6132
+ }
6133
+ .custom-select .select-options li {
6134
+ padding: 0 8px 0 14px;
6135
+ cursor: pointer;
6136
+ white-space: nowrap;
6137
+ min-height: 36px;
6138
+ align-items: center;
6139
+ }
6140
+ .custom-select .select-options li img {
6141
+ margin: 8px 0;
6142
+ height: 25px;
6143
+ }
6144
+ .custom-select .select-options li:hover {
6145
+ background-color: var(--cs-hover-background);
6146
+ }
6147
+ .custom-select .select-options li.selected {
6148
+ background-color: var(--cs-selected-background);
6149
+ }
6150
+
6151
+ /* Switch */
6152
+ .is-ui .switch, .builder-ui .switch {
6153
+ position: relative;
6154
+ display: inline-block;
6155
+ width: 60px;
6156
+ height: 34px;
6157
+ }
6158
+ .is-ui .switch input, .builder-ui .switch input {
6159
+ opacity: 0;
6160
+ width: 0;
6161
+ height: 0;
6162
+ }
6163
+ .is-ui .switch .slider, .builder-ui .switch .slider {
6164
+ position: absolute;
6165
+ cursor: pointer;
6166
+ top: 0;
6167
+ left: 0;
6168
+ right: 0;
6169
+ bottom: 0;
6170
+ background-color: #ccc;
6171
+ -webkit-transition: 0.4s;
6172
+ transition: 0.4s;
6173
+ border-radius: 34px;
6174
+ }
6175
+ .is-ui .switch .slider:before, .builder-ui .switch .slider:before {
6176
+ position: absolute;
6177
+ content: "";
6178
+ height: 26px;
6179
+ width: 26px;
6180
+ left: 4px;
6181
+ bottom: 4px;
6182
+ background-color: #fff;
6183
+ -webkit-transition: 0.4s;
6184
+ transition: 0.4s;
6185
+ border-radius: 50%;
6186
+ }
6187
+ .is-ui .switch input:checked + .slider, .builder-ui .switch input:checked + .slider {
6188
+ background-color: #0e75de;
6189
+ border-radius: 34px;
6190
+ }
6191
+ .is-ui .switch input:focus + .slider, .builder-ui .switch input:focus + .slider {
6192
+ box-shadow: 0 0 1px #0e75de;
6193
+ }
6194
+ .is-ui .switch input:checked + .slider:before, .builder-ui .switch input:checked + .slider:before {
6195
+ -webkit-transform: translateX(26px);
6196
+ -ms-transform: translateX(26px);
6197
+ transform: translateX(26px);
6198
+ }
6199
+
6200
+ .dark .is-ui .switch .slider,
6201
+ .dark .builder-ui .switch .slider {
6202
+ background-color: #7c7c7c;
6203
+ }
6204
+ .dark .is-ui .switch .slider:before,
6205
+ .dark .builder-ui .switch .slider:before {
6206
+ background-color: rgba(255, 255, 255, 0.82);
6207
+ }
6208
+ .dark .is-ui .switch input:checked + .slider,
6209
+ .dark .builder-ui .switch input:checked + .slider {
6210
+ background-color: #0e75de;
6211
+ }
6212
+ .dark .is-ui .switch input:focus + .slider,
6213
+ .dark .builder-ui .switch input:focus + .slider {
6214
+ box-shadow: 0 0 1px #0e75de;
6215
+ }
6216
+
6217
+ .dark .div-font-list > button img,
6218
+ .colored-dark .div-font-list > button img,
6219
+ .colored .div-font-list > button img {
6220
+ mix-blend-mode: screen;
6221
+ filter: invert(1);
6222
+ }