@themarioga/grid-editor 4.1.0 → 5.0.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 (36) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +68 -8
  3. package/UPGRADING.md +55 -0
  4. package/dist/grideditor.css +461 -0
  5. package/dist/grideditor.min.css +1 -1
  6. package/dist/grideditor.min.css.map +1 -1
  7. package/dist/jquery.grideditor.bundle.min.js +2 -2
  8. package/dist/jquery.grideditor.js +634 -109
  9. package/dist/jquery.grideditor.min.js +1 -1
  10. package/dist/jquery.grideditor.min.js.map +1 -1
  11. package/dist/locales/grideditor.es.js +26 -0
  12. package/dist/locales/grideditor.es.min.js +1 -1
  13. package/dist/locales/grideditor.es.min.js.map +1 -1
  14. package/dist/plugins/grideditor.float.js +56 -0
  15. package/dist/plugins/grideditor.float.min.js +2 -0
  16. package/dist/plugins/grideditor.float.min.js.map +1 -0
  17. package/dist/plugins/grideditor.sections.js +199 -0
  18. package/dist/plugins/grideditor.sections.min.js +2 -0
  19. package/dist/plugins/grideditor.sections.min.js.map +1 -0
  20. package/dist/plugins/grideditor.textalign.js +60 -0
  21. package/dist/plugins/grideditor.textalign.min.js +2 -0
  22. package/dist/plugins/grideditor.textalign.min.js.map +1 -0
  23. package/docs/events.md +13 -2
  24. package/docs/locale-keys.md +36 -1
  25. package/docs/plugins.md +35 -2
  26. package/example/autocols.html +137 -0
  27. package/example/breakpoints.html +7 -5
  28. package/example/index.html +16 -2
  29. package/example/utilities.html +22 -1
  30. package/package.json +1 -1
  31. package/src/js/jquery.grideditor.js +635 -110
  32. package/src/js/locales/grideditor.es.js +26 -0
  33. package/src/js/plugins/grideditor.float.js +56 -0
  34. package/src/js/plugins/grideditor.sections.js +199 -0
  35. package/src/js/plugins/grideditor.textalign.js +60 -0
  36. package/src/less/grideditor.less +132 -0
@@ -28,7 +28,10 @@
28
28
  }
29
29
  .ge-mainControls .ge-addRowGroup .ge-row-icon {
30
30
  width: 48px;
31
+ /* A button shrinks to its content, and an equal column has none */
32
+ flex: 0 0 48px;
31
33
  margin: 0;
34
+ /* Nothing inside to be as wide as */
32
35
  }
33
36
  .ge-mainControls .ge-addRowGroup .ge-row-icon .column {
34
37
  height: 10px;
@@ -36,6 +39,9 @@
36
39
  padding: 0;
37
40
  border-left: 2px solid #f4f4f4;
38
41
  }
42
+ .ge-mainControls .ge-addRowGroup .ge-row-icon .col-auto {
43
+ min-width: 8px;
44
+ }
39
45
  .ge-mainControls .ge-layout-mode {
40
46
  margin-left: 5px;
41
47
  }
@@ -155,6 +161,8 @@
155
161
  margin: 0 -5px 5px;
156
162
  display: block;
157
163
  width: calc(100% + 2 * 5px);
164
+ /* Its node may align text, and the drawer's tools would follow */
165
+ text-align: left;
158
166
  }
159
167
  .ge-canvas.ge-editing .ge-tools-drawer.ge-picker-open {
160
168
  z-index: 200;
@@ -289,6 +297,9 @@
289
297
  position: relative;
290
298
  }
291
299
  .ge-canvas.ge-editing .column > .ge-tools-drawer {
300
+ /* The drawer is not content: an auto column is as wide as what
301
+ it holds, and its tools would make it as wide as a drawer */
302
+ contain: inline-size;
292
303
  background: #afd5ea;
293
304
  }
294
305
  .ge-canvas.ge-editing .column > .ge-tools-drawer a {
@@ -331,6 +342,7 @@
331
342
  background: rgba(47, 164, 231, 0.08);
332
343
  border: 1px solid rgba(47, 164, 231, 0.4);
333
344
  border-radius: 3px;
345
+ /* col and col-auto: a word, not a number */
334
346
  /* Wider than what is left of the row: allowed, but said so */
335
347
  }
336
348
  .ge-canvas.ge-editing .ge-size-picker > .ge-size:hover {
@@ -338,6 +350,11 @@
338
350
  border-color: #2FA4E7;
339
351
  color: #fff;
340
352
  }
353
+ .ge-canvas.ge-editing .ge-size-picker > .ge-size.ge-size-flex {
354
+ width: auto;
355
+ padding-left: 5px;
356
+ padding-right: 5px;
357
+ }
341
358
  .ge-canvas.ge-editing .ge-size-picker > .ge-size.ge-size-tight {
342
359
  color: #999;
343
360
  background: transparent;
@@ -520,6 +537,11 @@
520
537
  .ge-canvas.ge-layout-all {
521
538
  max-width: none;
522
539
  }
540
+ /*
541
+ * col and col-auto, in the order Bootstrap writes them: before the numbered
542
+ * sizes, so that of two classes for one tier the number wins, as it does on
543
+ * the real page.
544
+ */
523
545
  /*
524
546
  * Switching a tier off means giving the column back to bootstrap's default
525
547
  * for a row child - full width, stacked - which is what a browser really
@@ -539,6 +561,12 @@
539
561
  specificity, so the order they are written in is the rule. */
540
562
  /* this tier applies at the active one, so it is written by the pass below */
541
563
  }
564
+ .ge-canvas.ge-layout-xs .col-sm,
565
+ .ge-canvas.ge-layout-xs .col-sm-auto {
566
+ flex: 0 0 auto;
567
+ width: 100%;
568
+ max-width: 100%;
569
+ }
542
570
  .ge-canvas.ge-layout-xs .col-sm-1 {
543
571
  flex: 0 0 auto;
544
572
  width: 100%;
@@ -632,6 +660,12 @@
632
660
  .ge-canvas.ge-layout-xs .offset-sm-11 {
633
661
  margin-left: 0;
634
662
  }
663
+ .ge-canvas.ge-layout-xs .col-md,
664
+ .ge-canvas.ge-layout-xs .col-md-auto {
665
+ flex: 0 0 auto;
666
+ width: 100%;
667
+ max-width: 100%;
668
+ }
635
669
  .ge-canvas.ge-layout-xs .col-md-1 {
636
670
  flex: 0 0 auto;
637
671
  width: 100%;
@@ -725,6 +759,12 @@
725
759
  .ge-canvas.ge-layout-xs .offset-md-11 {
726
760
  margin-left: 0;
727
761
  }
762
+ .ge-canvas.ge-layout-xs .col-lg,
763
+ .ge-canvas.ge-layout-xs .col-lg-auto {
764
+ flex: 0 0 auto;
765
+ width: 100%;
766
+ max-width: 100%;
767
+ }
728
768
  .ge-canvas.ge-layout-xs .col-lg-1 {
729
769
  flex: 0 0 auto;
730
770
  width: 100%;
@@ -818,6 +858,12 @@
818
858
  .ge-canvas.ge-layout-xs .offset-lg-11 {
819
859
  margin-left: 0;
820
860
  }
861
+ .ge-canvas.ge-layout-xs .col-xl,
862
+ .ge-canvas.ge-layout-xs .col-xl-auto {
863
+ flex: 0 0 auto;
864
+ width: 100%;
865
+ max-width: 100%;
866
+ }
821
867
  .ge-canvas.ge-layout-xs .col-xl-1 {
822
868
  flex: 0 0 auto;
823
869
  width: 100%;
@@ -911,6 +957,12 @@
911
957
  .ge-canvas.ge-layout-xs .offset-xl-11 {
912
958
  margin-left: 0;
913
959
  }
960
+ .ge-canvas.ge-layout-xs .col-xxl,
961
+ .ge-canvas.ge-layout-xs .col-xxl-auto {
962
+ flex: 0 0 auto;
963
+ width: 100%;
964
+ max-width: 100%;
965
+ }
914
966
  .ge-canvas.ge-layout-xs .col-xxl-1 {
915
967
  flex: 0 0 auto;
916
968
  width: 100%;
@@ -1004,6 +1056,15 @@
1004
1056
  .ge-canvas.ge-layout-xs .offset-xxl-11 {
1005
1057
  margin-left: 0;
1006
1058
  }
1059
+ .ge-canvas.ge-layout-xs .col {
1060
+ flex: 1 0 0%;
1061
+ max-width: 100%;
1062
+ }
1063
+ .ge-canvas.ge-layout-xs .col-auto {
1064
+ flex: 0 0 auto;
1065
+ width: auto;
1066
+ max-width: 100%;
1067
+ }
1007
1068
  .ge-canvas.ge-layout-xs .col-1 {
1008
1069
  flex: 0 0 auto;
1009
1070
  width: 8.33333333%;
@@ -1110,6 +1171,12 @@
1110
1171
  /* this tier applies at the active one, so it is written by the pass below */
1111
1172
  /* this tier applies at the active one, so it is written by the pass below */
1112
1173
  }
1174
+ .ge-canvas.ge-layout-sm .col-md,
1175
+ .ge-canvas.ge-layout-sm .col-md-auto {
1176
+ flex: 0 0 auto;
1177
+ width: 100%;
1178
+ max-width: 100%;
1179
+ }
1113
1180
  .ge-canvas.ge-layout-sm .col-md-1 {
1114
1181
  flex: 0 0 auto;
1115
1182
  width: 100%;
@@ -1203,6 +1270,12 @@
1203
1270
  .ge-canvas.ge-layout-sm .offset-md-11 {
1204
1271
  margin-left: 0;
1205
1272
  }
1273
+ .ge-canvas.ge-layout-sm .col-lg,
1274
+ .ge-canvas.ge-layout-sm .col-lg-auto {
1275
+ flex: 0 0 auto;
1276
+ width: 100%;
1277
+ max-width: 100%;
1278
+ }
1206
1279
  .ge-canvas.ge-layout-sm .col-lg-1 {
1207
1280
  flex: 0 0 auto;
1208
1281
  width: 100%;
@@ -1296,6 +1369,12 @@
1296
1369
  .ge-canvas.ge-layout-sm .offset-lg-11 {
1297
1370
  margin-left: 0;
1298
1371
  }
1372
+ .ge-canvas.ge-layout-sm .col-xl,
1373
+ .ge-canvas.ge-layout-sm .col-xl-auto {
1374
+ flex: 0 0 auto;
1375
+ width: 100%;
1376
+ max-width: 100%;
1377
+ }
1299
1378
  .ge-canvas.ge-layout-sm .col-xl-1 {
1300
1379
  flex: 0 0 auto;
1301
1380
  width: 100%;
@@ -1389,6 +1468,12 @@
1389
1468
  .ge-canvas.ge-layout-sm .offset-xl-11 {
1390
1469
  margin-left: 0;
1391
1470
  }
1471
+ .ge-canvas.ge-layout-sm .col-xxl,
1472
+ .ge-canvas.ge-layout-sm .col-xxl-auto {
1473
+ flex: 0 0 auto;
1474
+ width: 100%;
1475
+ max-width: 100%;
1476
+ }
1392
1477
  .ge-canvas.ge-layout-sm .col-xxl-1 {
1393
1478
  flex: 0 0 auto;
1394
1479
  width: 100%;
@@ -1482,6 +1567,15 @@
1482
1567
  .ge-canvas.ge-layout-sm .offset-xxl-11 {
1483
1568
  margin-left: 0;
1484
1569
  }
1570
+ .ge-canvas.ge-layout-sm .col {
1571
+ flex: 1 0 0%;
1572
+ max-width: 100%;
1573
+ }
1574
+ .ge-canvas.ge-layout-sm .col-auto {
1575
+ flex: 0 0 auto;
1576
+ width: auto;
1577
+ max-width: 100%;
1578
+ }
1485
1579
  .ge-canvas.ge-layout-sm .col-1 {
1486
1580
  flex: 0 0 auto;
1487
1581
  width: 8.33333333%;
@@ -1575,6 +1669,15 @@
1575
1669
  .ge-canvas.ge-layout-sm .offset-11 {
1576
1670
  margin-left: 91.66666667%;
1577
1671
  }
1672
+ .ge-canvas.ge-layout-sm .col-sm {
1673
+ flex: 1 0 0%;
1674
+ max-width: 100%;
1675
+ }
1676
+ .ge-canvas.ge-layout-sm .col-sm-auto {
1677
+ flex: 0 0 auto;
1678
+ width: auto;
1679
+ max-width: 100%;
1680
+ }
1578
1681
  .ge-canvas.ge-layout-sm .col-sm-1 {
1579
1682
  flex: 0 0 auto;
1580
1683
  width: 8.33333333%;
@@ -1682,6 +1785,12 @@
1682
1785
  /* this tier applies at the active one, so it is written by the pass below */
1683
1786
  /* this tier applies at the active one, so it is written by the pass below */
1684
1787
  }
1788
+ .ge-canvas.ge-layout-md .col-lg,
1789
+ .ge-canvas.ge-layout-md .col-lg-auto {
1790
+ flex: 0 0 auto;
1791
+ width: 100%;
1792
+ max-width: 100%;
1793
+ }
1685
1794
  .ge-canvas.ge-layout-md .col-lg-1 {
1686
1795
  flex: 0 0 auto;
1687
1796
  width: 100%;
@@ -1775,6 +1884,12 @@
1775
1884
  .ge-canvas.ge-layout-md .offset-lg-11 {
1776
1885
  margin-left: 0;
1777
1886
  }
1887
+ .ge-canvas.ge-layout-md .col-xl,
1888
+ .ge-canvas.ge-layout-md .col-xl-auto {
1889
+ flex: 0 0 auto;
1890
+ width: 100%;
1891
+ max-width: 100%;
1892
+ }
1778
1893
  .ge-canvas.ge-layout-md .col-xl-1 {
1779
1894
  flex: 0 0 auto;
1780
1895
  width: 100%;
@@ -1868,6 +1983,12 @@
1868
1983
  .ge-canvas.ge-layout-md .offset-xl-11 {
1869
1984
  margin-left: 0;
1870
1985
  }
1986
+ .ge-canvas.ge-layout-md .col-xxl,
1987
+ .ge-canvas.ge-layout-md .col-xxl-auto {
1988
+ flex: 0 0 auto;
1989
+ width: 100%;
1990
+ max-width: 100%;
1991
+ }
1871
1992
  .ge-canvas.ge-layout-md .col-xxl-1 {
1872
1993
  flex: 0 0 auto;
1873
1994
  width: 100%;
@@ -1961,6 +2082,15 @@
1961
2082
  .ge-canvas.ge-layout-md .offset-xxl-11 {
1962
2083
  margin-left: 0;
1963
2084
  }
2085
+ .ge-canvas.ge-layout-md .col {
2086
+ flex: 1 0 0%;
2087
+ max-width: 100%;
2088
+ }
2089
+ .ge-canvas.ge-layout-md .col-auto {
2090
+ flex: 0 0 auto;
2091
+ width: auto;
2092
+ max-width: 100%;
2093
+ }
1964
2094
  .ge-canvas.ge-layout-md .col-1 {
1965
2095
  flex: 0 0 auto;
1966
2096
  width: 8.33333333%;
@@ -2054,6 +2184,15 @@
2054
2184
  .ge-canvas.ge-layout-md .offset-11 {
2055
2185
  margin-left: 91.66666667%;
2056
2186
  }
2187
+ .ge-canvas.ge-layout-md .col-sm {
2188
+ flex: 1 0 0%;
2189
+ max-width: 100%;
2190
+ }
2191
+ .ge-canvas.ge-layout-md .col-sm-auto {
2192
+ flex: 0 0 auto;
2193
+ width: auto;
2194
+ max-width: 100%;
2195
+ }
2057
2196
  .ge-canvas.ge-layout-md .col-sm-1 {
2058
2197
  flex: 0 0 auto;
2059
2198
  width: 8.33333333%;
@@ -2147,6 +2286,15 @@
2147
2286
  .ge-canvas.ge-layout-md .offset-sm-11 {
2148
2287
  margin-left: 91.66666667%;
2149
2288
  }
2289
+ .ge-canvas.ge-layout-md .col-md {
2290
+ flex: 1 0 0%;
2291
+ max-width: 100%;
2292
+ }
2293
+ .ge-canvas.ge-layout-md .col-md-auto {
2294
+ flex: 0 0 auto;
2295
+ width: auto;
2296
+ max-width: 100%;
2297
+ }
2150
2298
  .ge-canvas.ge-layout-md .col-md-1 {
2151
2299
  flex: 0 0 auto;
2152
2300
  width: 8.33333333%;
@@ -2255,6 +2403,12 @@
2255
2403
  /* this tier applies at the active one, so it is written by the pass below */
2256
2404
  /* this tier applies at the active one, so it is written by the pass below */
2257
2405
  }
2406
+ .ge-canvas.ge-layout-lg .col-xl,
2407
+ .ge-canvas.ge-layout-lg .col-xl-auto {
2408
+ flex: 0 0 auto;
2409
+ width: 100%;
2410
+ max-width: 100%;
2411
+ }
2258
2412
  .ge-canvas.ge-layout-lg .col-xl-1 {
2259
2413
  flex: 0 0 auto;
2260
2414
  width: 100%;
@@ -2348,6 +2502,12 @@
2348
2502
  .ge-canvas.ge-layout-lg .offset-xl-11 {
2349
2503
  margin-left: 0;
2350
2504
  }
2505
+ .ge-canvas.ge-layout-lg .col-xxl,
2506
+ .ge-canvas.ge-layout-lg .col-xxl-auto {
2507
+ flex: 0 0 auto;
2508
+ width: 100%;
2509
+ max-width: 100%;
2510
+ }
2351
2511
  .ge-canvas.ge-layout-lg .col-xxl-1 {
2352
2512
  flex: 0 0 auto;
2353
2513
  width: 100%;
@@ -2441,6 +2601,15 @@
2441
2601
  .ge-canvas.ge-layout-lg .offset-xxl-11 {
2442
2602
  margin-left: 0;
2443
2603
  }
2604
+ .ge-canvas.ge-layout-lg .col {
2605
+ flex: 1 0 0%;
2606
+ max-width: 100%;
2607
+ }
2608
+ .ge-canvas.ge-layout-lg .col-auto {
2609
+ flex: 0 0 auto;
2610
+ width: auto;
2611
+ max-width: 100%;
2612
+ }
2444
2613
  .ge-canvas.ge-layout-lg .col-1 {
2445
2614
  flex: 0 0 auto;
2446
2615
  width: 8.33333333%;
@@ -2534,6 +2703,15 @@
2534
2703
  .ge-canvas.ge-layout-lg .offset-11 {
2535
2704
  margin-left: 91.66666667%;
2536
2705
  }
2706
+ .ge-canvas.ge-layout-lg .col-sm {
2707
+ flex: 1 0 0%;
2708
+ max-width: 100%;
2709
+ }
2710
+ .ge-canvas.ge-layout-lg .col-sm-auto {
2711
+ flex: 0 0 auto;
2712
+ width: auto;
2713
+ max-width: 100%;
2714
+ }
2537
2715
  .ge-canvas.ge-layout-lg .col-sm-1 {
2538
2716
  flex: 0 0 auto;
2539
2717
  width: 8.33333333%;
@@ -2627,6 +2805,15 @@
2627
2805
  .ge-canvas.ge-layout-lg .offset-sm-11 {
2628
2806
  margin-left: 91.66666667%;
2629
2807
  }
2808
+ .ge-canvas.ge-layout-lg .col-md {
2809
+ flex: 1 0 0%;
2810
+ max-width: 100%;
2811
+ }
2812
+ .ge-canvas.ge-layout-lg .col-md-auto {
2813
+ flex: 0 0 auto;
2814
+ width: auto;
2815
+ max-width: 100%;
2816
+ }
2630
2817
  .ge-canvas.ge-layout-lg .col-md-1 {
2631
2818
  flex: 0 0 auto;
2632
2819
  width: 8.33333333%;
@@ -2720,6 +2907,15 @@
2720
2907
  .ge-canvas.ge-layout-lg .offset-md-11 {
2721
2908
  margin-left: 91.66666667%;
2722
2909
  }
2910
+ .ge-canvas.ge-layout-lg .col-lg {
2911
+ flex: 1 0 0%;
2912
+ max-width: 100%;
2913
+ }
2914
+ .ge-canvas.ge-layout-lg .col-lg-auto {
2915
+ flex: 0 0 auto;
2916
+ width: auto;
2917
+ max-width: 100%;
2918
+ }
2723
2919
  .ge-canvas.ge-layout-lg .col-lg-1 {
2724
2920
  flex: 0 0 auto;
2725
2921
  width: 8.33333333%;
@@ -2829,6 +3025,12 @@
2829
3025
  /* this tier applies at the active one, so it is written by the pass below */
2830
3026
  /* this tier applies at the active one, so it is written by the pass below */
2831
3027
  }
3028
+ .ge-canvas.ge-layout-xl .col-xxl,
3029
+ .ge-canvas.ge-layout-xl .col-xxl-auto {
3030
+ flex: 0 0 auto;
3031
+ width: 100%;
3032
+ max-width: 100%;
3033
+ }
2832
3034
  .ge-canvas.ge-layout-xl .col-xxl-1 {
2833
3035
  flex: 0 0 auto;
2834
3036
  width: 100%;
@@ -2922,6 +3124,15 @@
2922
3124
  .ge-canvas.ge-layout-xl .offset-xxl-11 {
2923
3125
  margin-left: 0;
2924
3126
  }
3127
+ .ge-canvas.ge-layout-xl .col {
3128
+ flex: 1 0 0%;
3129
+ max-width: 100%;
3130
+ }
3131
+ .ge-canvas.ge-layout-xl .col-auto {
3132
+ flex: 0 0 auto;
3133
+ width: auto;
3134
+ max-width: 100%;
3135
+ }
2925
3136
  .ge-canvas.ge-layout-xl .col-1 {
2926
3137
  flex: 0 0 auto;
2927
3138
  width: 8.33333333%;
@@ -3015,6 +3226,15 @@
3015
3226
  .ge-canvas.ge-layout-xl .offset-11 {
3016
3227
  margin-left: 91.66666667%;
3017
3228
  }
3229
+ .ge-canvas.ge-layout-xl .col-sm {
3230
+ flex: 1 0 0%;
3231
+ max-width: 100%;
3232
+ }
3233
+ .ge-canvas.ge-layout-xl .col-sm-auto {
3234
+ flex: 0 0 auto;
3235
+ width: auto;
3236
+ max-width: 100%;
3237
+ }
3018
3238
  .ge-canvas.ge-layout-xl .col-sm-1 {
3019
3239
  flex: 0 0 auto;
3020
3240
  width: 8.33333333%;
@@ -3108,6 +3328,15 @@
3108
3328
  .ge-canvas.ge-layout-xl .offset-sm-11 {
3109
3329
  margin-left: 91.66666667%;
3110
3330
  }
3331
+ .ge-canvas.ge-layout-xl .col-md {
3332
+ flex: 1 0 0%;
3333
+ max-width: 100%;
3334
+ }
3335
+ .ge-canvas.ge-layout-xl .col-md-auto {
3336
+ flex: 0 0 auto;
3337
+ width: auto;
3338
+ max-width: 100%;
3339
+ }
3111
3340
  .ge-canvas.ge-layout-xl .col-md-1 {
3112
3341
  flex: 0 0 auto;
3113
3342
  width: 8.33333333%;
@@ -3201,6 +3430,15 @@
3201
3430
  .ge-canvas.ge-layout-xl .offset-md-11 {
3202
3431
  margin-left: 91.66666667%;
3203
3432
  }
3433
+ .ge-canvas.ge-layout-xl .col-lg {
3434
+ flex: 1 0 0%;
3435
+ max-width: 100%;
3436
+ }
3437
+ .ge-canvas.ge-layout-xl .col-lg-auto {
3438
+ flex: 0 0 auto;
3439
+ width: auto;
3440
+ max-width: 100%;
3441
+ }
3204
3442
  .ge-canvas.ge-layout-xl .col-lg-1 {
3205
3443
  flex: 0 0 auto;
3206
3444
  width: 8.33333333%;
@@ -3294,6 +3532,15 @@
3294
3532
  .ge-canvas.ge-layout-xl .offset-lg-11 {
3295
3533
  margin-left: 91.66666667%;
3296
3534
  }
3535
+ .ge-canvas.ge-layout-xl .col-xl {
3536
+ flex: 1 0 0%;
3537
+ max-width: 100%;
3538
+ }
3539
+ .ge-canvas.ge-layout-xl .col-xl-auto {
3540
+ flex: 0 0 auto;
3541
+ width: auto;
3542
+ max-width: 100%;
3543
+ }
3297
3544
  .ge-canvas.ge-layout-xl .col-xl-1 {
3298
3545
  flex: 0 0 auto;
3299
3546
  width: 8.33333333%;
@@ -3404,6 +3651,15 @@
3404
3651
  /* this tier applies at the active one, so it is written by the pass below */
3405
3652
  /* this tier applies at the active one, so it is written by the pass below */
3406
3653
  }
3654
+ .ge-canvas.ge-layout-xxl .col {
3655
+ flex: 1 0 0%;
3656
+ max-width: 100%;
3657
+ }
3658
+ .ge-canvas.ge-layout-xxl .col-auto {
3659
+ flex: 0 0 auto;
3660
+ width: auto;
3661
+ max-width: 100%;
3662
+ }
3407
3663
  .ge-canvas.ge-layout-xxl .col-1 {
3408
3664
  flex: 0 0 auto;
3409
3665
  width: 8.33333333%;
@@ -3497,6 +3753,15 @@
3497
3753
  .ge-canvas.ge-layout-xxl .offset-11 {
3498
3754
  margin-left: 91.66666667%;
3499
3755
  }
3756
+ .ge-canvas.ge-layout-xxl .col-sm {
3757
+ flex: 1 0 0%;
3758
+ max-width: 100%;
3759
+ }
3760
+ .ge-canvas.ge-layout-xxl .col-sm-auto {
3761
+ flex: 0 0 auto;
3762
+ width: auto;
3763
+ max-width: 100%;
3764
+ }
3500
3765
  .ge-canvas.ge-layout-xxl .col-sm-1 {
3501
3766
  flex: 0 0 auto;
3502
3767
  width: 8.33333333%;
@@ -3590,6 +3855,15 @@
3590
3855
  .ge-canvas.ge-layout-xxl .offset-sm-11 {
3591
3856
  margin-left: 91.66666667%;
3592
3857
  }
3858
+ .ge-canvas.ge-layout-xxl .col-md {
3859
+ flex: 1 0 0%;
3860
+ max-width: 100%;
3861
+ }
3862
+ .ge-canvas.ge-layout-xxl .col-md-auto {
3863
+ flex: 0 0 auto;
3864
+ width: auto;
3865
+ max-width: 100%;
3866
+ }
3593
3867
  .ge-canvas.ge-layout-xxl .col-md-1 {
3594
3868
  flex: 0 0 auto;
3595
3869
  width: 8.33333333%;
@@ -3683,6 +3957,15 @@
3683
3957
  .ge-canvas.ge-layout-xxl .offset-md-11 {
3684
3958
  margin-left: 91.66666667%;
3685
3959
  }
3960
+ .ge-canvas.ge-layout-xxl .col-lg {
3961
+ flex: 1 0 0%;
3962
+ max-width: 100%;
3963
+ }
3964
+ .ge-canvas.ge-layout-xxl .col-lg-auto {
3965
+ flex: 0 0 auto;
3966
+ width: auto;
3967
+ max-width: 100%;
3968
+ }
3686
3969
  .ge-canvas.ge-layout-xxl .col-lg-1 {
3687
3970
  flex: 0 0 auto;
3688
3971
  width: 8.33333333%;
@@ -3776,6 +4059,15 @@
3776
4059
  .ge-canvas.ge-layout-xxl .offset-lg-11 {
3777
4060
  margin-left: 91.66666667%;
3778
4061
  }
4062
+ .ge-canvas.ge-layout-xxl .col-xl {
4063
+ flex: 1 0 0%;
4064
+ max-width: 100%;
4065
+ }
4066
+ .ge-canvas.ge-layout-xxl .col-xl-auto {
4067
+ flex: 0 0 auto;
4068
+ width: auto;
4069
+ max-width: 100%;
4070
+ }
3779
4071
  .ge-canvas.ge-layout-xxl .col-xl-1 {
3780
4072
  flex: 0 0 auto;
3781
4073
  width: 8.33333333%;
@@ -3869,6 +4161,15 @@
3869
4161
  .ge-canvas.ge-layout-xxl .offset-xl-11 {
3870
4162
  margin-left: 91.66666667%;
3871
4163
  }
4164
+ .ge-canvas.ge-layout-xxl .col-xxl {
4165
+ flex: 1 0 0%;
4166
+ max-width: 100%;
4167
+ }
4168
+ .ge-canvas.ge-layout-xxl .col-xxl-auto {
4169
+ flex: 0 0 auto;
4170
+ width: auto;
4171
+ max-width: 100%;
4172
+ }
3872
4173
  .ge-canvas.ge-layout-xxl .col-xxl-1 {
3873
4174
  flex: 0 0 auto;
3874
4175
  width: 8.33333333%;
@@ -4041,3 +4342,163 @@
4041
4342
  margin-right: calc(var(--bs-gutter-x) * -0.5);
4042
4343
  width: calc(100% + var(--bs-gutter-x));
4043
4344
  }
4345
+ /* A row whose row-cols sizes its columns in this view says how many */
4346
+ .ge-canvas.ge-editing .row[data-ge-row-cols] {
4347
+ position: relative;
4348
+ }
4349
+ .ge-canvas.ge-editing .row[data-ge-row-cols]::before {
4350
+ content: attr(data-ge-row-cols);
4351
+ position: absolute;
4352
+ left: 2px;
4353
+ bottom: 2px;
4354
+ z-index: 1;
4355
+ padding: 0 4px;
4356
+ border-radius: 3px;
4357
+ background: rgba(0, 0, 0, 0.55);
4358
+ color: #fff;
4359
+ font-size: 10px;
4360
+ line-height: 16px;
4361
+ pointer-events: none;
4362
+ }
4363
+ /*
4364
+ * The sections plugin: Bootstrap's containers on the canvas. A section is
4365
+ * framed while editing, and in a breakpoint view each container class gets
4366
+ * the max-width it has at that breakpoint - Bootstrap sets it for the
4367
+ * window, and the window is not what a breakpoint view narrows.
4368
+ */
4369
+ .ge-canvas.ge-editing > .ge-section {
4370
+ border: 1px dashed #8a6d3b;
4371
+ margin-bottom: 5px;
4372
+ padding-bottom: 5px;
4373
+ }
4374
+ .ge-canvas.ge-editing > .ge-section > .ge-section-drawer {
4375
+ background: rgba(138, 109, 59, 0.15);
4376
+ margin-left: 0;
4377
+ margin-right: 0;
4378
+ width: 100%;
4379
+ }
4380
+ .ge-canvas.ge-editing > .ge-section > .ge-section-drawer > a {
4381
+ color: #785f33;
4382
+ }
4383
+ /* The width field, in the section's settings panel beside id and classes */
4384
+ .ge-canvas.ge-editing .ge-details .ge-section-width {
4385
+ display: inline-flex;
4386
+ align-items: center;
4387
+ gap: 4px;
4388
+ margin: 0;
4389
+ font-size: 11px;
4390
+ }
4391
+ .ge-canvas.ge-editing .ge-details .ge-section-width select {
4392
+ border: 1px solid #7F7F7F;
4393
+ border-radius: 4px;
4394
+ font-size: 11px;
4395
+ padding: 1px 2px;
4396
+ }
4397
+ .ge-canvas.ge-layout-xs > .container {
4398
+ max-width: 100%;
4399
+ }
4400
+ .ge-canvas.ge-layout-xs > .container-sm {
4401
+ max-width: 100%;
4402
+ }
4403
+ .ge-canvas.ge-layout-xs > .container-md {
4404
+ max-width: 100%;
4405
+ }
4406
+ .ge-canvas.ge-layout-xs > .container-lg {
4407
+ max-width: 100%;
4408
+ }
4409
+ .ge-canvas.ge-layout-xs > .container-xl {
4410
+ max-width: 100%;
4411
+ }
4412
+ .ge-canvas.ge-layout-xs > .container-xxl {
4413
+ max-width: 100%;
4414
+ }
4415
+ .ge-canvas.ge-layout-sm > .container {
4416
+ max-width: 540px;
4417
+ }
4418
+ .ge-canvas.ge-layout-sm > .container-sm {
4419
+ max-width: 540px;
4420
+ }
4421
+ .ge-canvas.ge-layout-sm > .container-md {
4422
+ max-width: 100%;
4423
+ }
4424
+ .ge-canvas.ge-layout-sm > .container-lg {
4425
+ max-width: 100%;
4426
+ }
4427
+ .ge-canvas.ge-layout-sm > .container-xl {
4428
+ max-width: 100%;
4429
+ }
4430
+ .ge-canvas.ge-layout-sm > .container-xxl {
4431
+ max-width: 100%;
4432
+ }
4433
+ .ge-canvas.ge-layout-md > .container {
4434
+ max-width: 720px;
4435
+ }
4436
+ .ge-canvas.ge-layout-md > .container-sm {
4437
+ max-width: 720px;
4438
+ }
4439
+ .ge-canvas.ge-layout-md > .container-md {
4440
+ max-width: 720px;
4441
+ }
4442
+ .ge-canvas.ge-layout-md > .container-lg {
4443
+ max-width: 100%;
4444
+ }
4445
+ .ge-canvas.ge-layout-md > .container-xl {
4446
+ max-width: 100%;
4447
+ }
4448
+ .ge-canvas.ge-layout-md > .container-xxl {
4449
+ max-width: 100%;
4450
+ }
4451
+ .ge-canvas.ge-layout-lg > .container {
4452
+ max-width: 960px;
4453
+ }
4454
+ .ge-canvas.ge-layout-lg > .container-sm {
4455
+ max-width: 960px;
4456
+ }
4457
+ .ge-canvas.ge-layout-lg > .container-md {
4458
+ max-width: 960px;
4459
+ }
4460
+ .ge-canvas.ge-layout-lg > .container-lg {
4461
+ max-width: 960px;
4462
+ }
4463
+ .ge-canvas.ge-layout-lg > .container-xl {
4464
+ max-width: 100%;
4465
+ }
4466
+ .ge-canvas.ge-layout-lg > .container-xxl {
4467
+ max-width: 100%;
4468
+ }
4469
+ .ge-canvas.ge-layout-xl > .container {
4470
+ max-width: 1140px;
4471
+ }
4472
+ .ge-canvas.ge-layout-xl > .container-sm {
4473
+ max-width: 1140px;
4474
+ }
4475
+ .ge-canvas.ge-layout-xl > .container-md {
4476
+ max-width: 1140px;
4477
+ }
4478
+ .ge-canvas.ge-layout-xl > .container-lg {
4479
+ max-width: 1140px;
4480
+ }
4481
+ .ge-canvas.ge-layout-xl > .container-xl {
4482
+ max-width: 1140px;
4483
+ }
4484
+ .ge-canvas.ge-layout-xl > .container-xxl {
4485
+ max-width: 100%;
4486
+ }
4487
+ .ge-canvas.ge-layout-xxl > .container {
4488
+ max-width: 1320px;
4489
+ }
4490
+ .ge-canvas.ge-layout-xxl > .container-sm {
4491
+ max-width: 1320px;
4492
+ }
4493
+ .ge-canvas.ge-layout-xxl > .container-md {
4494
+ max-width: 1320px;
4495
+ }
4496
+ .ge-canvas.ge-layout-xxl > .container-lg {
4497
+ max-width: 1320px;
4498
+ }
4499
+ .ge-canvas.ge-layout-xxl > .container-xl {
4500
+ max-width: 1320px;
4501
+ }
4502
+ .ge-canvas.ge-layout-xxl > .container-xxl {
4503
+ max-width: 1320px;
4504
+ }