@public-ui/themes 2.0.0-rc.2 → 2.0.0-rc.3

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 (3) hide show
  1. package/dist/index.cjs +124 -599
  2. package/dist/index.mjs +124 -599
  3. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -1519,14 +1519,14 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
1519
1519
  line-height: 24px;
1520
1520
  font-size: 16px;
1521
1521
  }
1522
- :host fieldset div input[type="radio"]:hover {
1522
+ .radio-input-wrapper input[type="radio"]:hover {
1523
1523
  border-color: var(--color-midnight);
1524
1524
  box-shadow: 0px 2px 8px 2px rgba(8, 35, 48, 0.24);
1525
1525
  }
1526
- :host fieldset div input[type="radio"]:focus:hover {
1526
+ .radio-input-wrapper input[type="radio"]:focus:hover {
1527
1527
  box-shadow: none;
1528
1528
  }
1529
- :host fieldset div input[type="radio"]:active {
1529
+ .radio-input-wrapper input[type="radio"]:active {
1530
1530
  box-shadow: none;
1531
1531
  }
1532
1532
  kol-alert {
@@ -1545,7 +1545,7 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
1545
1545
  display: grid;
1546
1546
  gap: 0.25em;
1547
1547
  }
1548
- :host fieldset div {
1548
+ .radio-input-wrapper {
1549
1549
  cursor: pointer;
1550
1550
  display: flex;
1551
1551
  flex-direction: row;
@@ -1553,16 +1553,16 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
1553
1553
  position: relative;
1554
1554
  min-height: 44px;
1555
1555
  }
1556
- :host fieldset div label {
1556
+ .radio-input-wrapper label {
1557
1557
  cursor: pointer;
1558
1558
  display: flex;
1559
1559
  padding-left: 0.25em;
1560
1560
  width: 100%;
1561
1561
  }
1562
- :host fieldset div label span {
1562
+ .radio-input-wrapper label span {
1563
1563
  margin-top: 0.125em;
1564
1564
  }
1565
- :host fieldset div input[type="radio"] {
1565
+ .radio-input-wrapper input[type="radio"] {
1566
1566
  appearance: none;
1567
1567
  transition: 0.5s;
1568
1568
  border-radius: 100%;
@@ -1570,7 +1570,7 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
1570
1570
  min-width: 1rem;
1571
1571
  width: 1rem;
1572
1572
  }
1573
- :host fieldset div input[type="radio"]:before {
1573
+ .radio-input-wrapper input[type="radio"]:before {
1574
1574
  content: "";
1575
1575
  cursor: pointer;
1576
1576
  left: calc(1 * var(--spacing) - 1px);
@@ -1581,10 +1581,10 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
1581
1581
  height: calc(2 * var(--spacing));
1582
1582
  width: calc(2 * var(--spacing));
1583
1583
  }
1584
- :host fieldset div input[type="radio"]:checked:before {
1584
+ .radio-input-wrapper input[type="radio"]:checked:before {
1585
1585
  background-color: var(--color-primary-20);
1586
1586
  }
1587
- :host fieldset div input[type="radio"]:disabled {
1587
+ .radio-input-wrapper input[type="radio"]:disabled {
1588
1588
  cursor: not-allowed;
1589
1589
  border-color: var(--border-default);
1590
1590
  background-color: var(--background-light-grey);
@@ -1749,13 +1749,15 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
1749
1749
  }
1750
1750
  select option {
1751
1751
  margin: 1px 0;
1752
- padding: 0.5em;
1753
1752
  border-radius: 0.25em;
1754
1753
  cursor: pointer;
1755
1754
  }
1756
1755
  select option:disabled {
1757
1756
  cursor: not-allowed;
1758
1757
  }
1758
+ select:not([multiple]) option {
1759
+ padding: 0.5em;
1760
+ }
1759
1761
  option:active:not(:disabled),
1760
1762
  option:checked:not(:disabled),
1761
1763
  option:focus:not(:disabled),
@@ -4601,13 +4603,15 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
4601
4603
  }
4602
4604
  select option {
4603
4605
  margin: 1px 0;
4604
- padding: 0.5em;
4605
4606
  border-radius: 0.25em;
4606
4607
  cursor: pointer;
4607
4608
  }
4608
4609
  select option:disabled {
4609
4610
  cursor: not-allowed;
4610
4611
  }
4612
+ select:not([multiple]) option {
4613
+ padding: 0.5em;
4614
+ }
4611
4615
  option:active:not(:disabled),
4612
4616
  option:checked:not(:disabled),
4613
4617
  option:focus:not(:disabled),
@@ -6228,14 +6232,15 @@ const BZSt = KoliBri.createTheme("bzst", {
6228
6232
  input,
6229
6233
  option,
6230
6234
  select,
6231
- summary,
6232
6235
  textarea {
6233
- -ms-hyphens: auto;
6234
- -webkit-hyphens: auto;
6235
6236
  hyphens: auto;
6236
6237
  letter-spacing: inherit;
6237
6238
  display: block;
6238
6239
  } /* a,button,caption,input,option,select,summary,table,textarea {font-size: 1rem;} */
6240
+ summary {
6241
+ hyphens: auto;
6242
+ letter-spacing: inherit;
6243
+ }
6239
6244
  *[tabindex]:focus,
6240
6245
  kol-input:not(.checkbox, .radio) .input:focus-within,
6241
6246
  kol-input:is(.checkbox, .radio) input:focus,
@@ -7244,8 +7249,6 @@ const BZSt = KoliBri.createTheme("bzst", {
7244
7249
  width: 100%;
7245
7250
  }
7246
7251
  summary {
7247
- cursor: pointer;
7248
- display: flow-root;
7249
7252
  margin: 0;
7250
7253
  padding: 0;
7251
7254
  }
@@ -7259,68 +7262,11 @@ const BZSt = KoliBri.createTheme("bzst", {
7259
7262
  details > kol-indented-text {
7260
7263
  margin: 0.25em 0 0 0.6em;
7261
7264
  }`,
7262
- "KOL-SPIN": `.spin {
7263
- display: inline-block;
7264
- height: 1rem;
7265
- position: relative;
7266
- width: 3rem;
7267
- }
7268
- .spin span {
7269
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
7270
- border: 0.1rem solid rgb(255, 255, 255);
7271
- border-radius: 50%;
7272
- height: 0.8rem;
7273
- width: 0.8rem;
7274
- top: 0.1rem;
7275
- position: absolute;
7276
- }
7277
- .spin span:nth-child(1) {
7278
- background-color: #fc0;
7279
- z-index: 0;
7280
- animation: 2s ease 0s infinite normal none running spin1;
7281
- left: 0.1rem;
7282
- }
7283
- .spin span:nth-child(2) {
7284
- background-color: #f00;
7285
- z-index: 1;
7286
- animation: 2s ease 0s infinite normal none running spin2;
7287
- left: 0.1rem;
7288
- }
7289
- .spin span:nth-child(3) {
7290
- background-color: #000;
7291
- z-index: 1;
7292
- animation: 2s ease 0s infinite normal none running spin2;
7293
- left: 1.1rem;
7294
- }
7295
- .spin span:nth-child(4) {
7296
- background-color: #666;
7297
- z-index: 0;
7298
- animation: 2s ease 0s infinite normal none running spin3;
7299
- left: 2.1rem;
7300
- }
7301
- @keyframes spin1 {
7302
- 0% {
7303
- transform: scale(0);
7304
- }
7305
- 100% {
7306
- transform: scale(1);
7307
- }
7308
- }
7309
- @keyframes spin2 {
7310
- 0% {
7311
- transform: translate(0px, 0px);
7312
- }
7313
- 100% {
7314
- transform: translate(1rem, 0px);
7315
- }
7316
- }
7317
- @keyframes spin3 {
7318
- 0% {
7319
- transform: scale(1);
7320
- }
7321
- 100% {
7322
- transform: scale(0);
7323
- }
7265
+ "KOL-SPIN": `.cycle {
7266
+ padding: 0.125rem;
7267
+ & span {
7268
+ background-color: #fc0;
7269
+ }
7324
7270
  }`,
7325
7271
  "KOL-PROGRESS": `:host progress,
7326
7272
  :host span {
@@ -7380,12 +7326,14 @@ const BZSt = KoliBri.createTheme("bzst", {
7380
7326
  }
7381
7327
  select option {
7382
7328
  margin: 1px 0;
7383
- padding: 0.5em;
7384
7329
  cursor: pointer;
7385
7330
  }
7386
7331
  select option:disabled {
7387
7332
  cursor: not-allowed;
7388
7333
  }
7334
+ select:not([multiple]) option {
7335
+ padding: 0.5em;
7336
+ }
7389
7337
  .required label > span::after {
7390
7338
  content: "*";
7391
7339
  padding-left: 0.125em;
@@ -9929,70 +9877,12 @@ const BMF = KoliBri.createTheme("bmf", {
9929
9877
  }
9930
9878
  details kol-icon::part(icon):before {
9931
9879
  content: "\\f054";
9932
- }
9933
- `,
9934
- "KOL-SPIN": `.spin {
9935
- display: inline-block;
9936
- height: 1rem;
9937
- position: relative;
9938
- width: 3rem;
9939
- }
9940
- .spin span {
9941
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
9942
- border: 0.1rem solid rgb(255, 255, 255);
9943
- border-radius: 50%;
9944
- height: 0.8rem;
9945
- width: 0.8rem;
9946
- top: 0.1rem;
9947
- position: absolute;
9948
- }
9949
- .spin span:nth-child(1) {
9950
- background-color: #fc0;
9951
- z-index: 0;
9952
- animation: 2s ease 0s infinite normal none running spin1;
9953
- left: 0.1rem;
9954
- }
9955
- .spin span:nth-child(2) {
9956
- background-color: #f00;
9957
- z-index: 1;
9958
- animation: 2s ease 0s infinite normal none running spin2;
9959
- left: 0.1rem;
9960
- }
9961
- .spin span:nth-child(3) {
9962
- background-color: #000;
9963
- z-index: 1;
9964
- animation: 2s ease 0s infinite normal none running spin2;
9965
- left: 1.1rem;
9966
- }
9967
- .spin span:nth-child(4) {
9968
- background-color: #666;
9969
- z-index: 0;
9970
- animation: 2s ease 0s infinite normal none running spin3;
9971
- left: 2.1rem;
9972
- }
9973
- @keyframes spin1 {
9974
- 0% {
9975
- transform: scale(0);
9976
- }
9977
- 100% {
9978
- transform: scale(1);
9979
- }
9980
- }
9981
- @keyframes spin2 {
9982
- 0% {
9983
- transform: translate(0px, 0px);
9984
- }
9985
- 100% {
9986
- transform: translate(1rem, 0px);
9987
- }
9988
- }
9989
- @keyframes spin3 {
9990
- 0% {
9991
- transform: scale(1);
9992
- }
9993
- 100% {
9994
- transform: scale(0);
9995
- }
9880
+ }`,
9881
+ "KOL-SPIN": `.cycle {
9882
+ padding: 0.125rem;
9883
+ & span {
9884
+ background-color: #fc0;
9885
+ }
9996
9886
  }`,
9997
9887
  "KOL-PROGRESS": `.bar > div {
9998
9888
  flex-direction: column;
@@ -10128,10 +10018,12 @@ const BMF = KoliBri.createTheme("bmf", {
10128
10018
  }
10129
10019
  select option {
10130
10020
  margin: 1px 0;
10131
- padding: 0.5em;
10132
10021
  border-radius: 0.25em;
10133
10022
  cursor: pointer;
10134
10023
  }
10024
+ select:not([multiple]) option {
10025
+ padding: 0.5em;
10026
+ }
10135
10027
  select option:disabled {
10136
10028
  cursor: not-allowed;
10137
10029
  }
@@ -10811,7 +10703,7 @@ const BMF = KoliBri.createTheme("bmf", {
10811
10703
  display: grid;
10812
10704
  gap: 0.25em;
10813
10705
  }
10814
- fieldset div {
10706
+ .radio-input-wrapper {
10815
10707
  cursor: pointer;
10816
10708
  display: flex;
10817
10709
  flex-direction: row;
@@ -10821,16 +10713,16 @@ const BMF = KoliBri.createTheme("bmf", {
10821
10713
  margin: 0;
10822
10714
  gap: 0.5rem;
10823
10715
  }
10824
- fieldset div label {
10716
+ .radio-input-wrapper label {
10825
10717
  cursor: pointer;
10826
10718
  display: flex;
10827
10719
  padding-left: 0.25em;
10828
10720
  width: 100%;
10829
10721
  }
10830
- fieldset div label span {
10722
+ .radio-input-wrapper label span {
10831
10723
  margin-top: 0.125em;
10832
10724
  }
10833
- fieldset div input[type="radio"] {
10725
+ .radio-input-wrapper input[type="radio"] {
10834
10726
  appearance: none;
10835
10727
  transition: 0.5s;
10836
10728
  border-radius: 100%;
@@ -10838,16 +10730,16 @@ const BMF = KoliBri.createTheme("bmf", {
10838
10730
  min-width: calc(6 * var(--spacing));
10839
10731
  width: calc(6 * var(--spacing));
10840
10732
  }
10841
- fieldset div input[type="radio"]:before {
10733
+ .radio-input-wrapper input[type="radio"]:before {
10842
10734
  content: "";
10843
10735
  cursor: pointer;
10844
10736
  border-radius: 100%;
10845
10737
  display: block;
10846
10738
  }
10847
- fieldset div input[type="radio"]:checked:before {
10739
+ .radio-input-wrapper input[type="radio"]:checked:before {
10848
10740
  background-color: var(--color-midnight);
10849
10741
  }
10850
- fieldset div input[type="radio"]:disabled {
10742
+ .radio-input-wrapper input[type="radio"]:disabled {
10851
10743
  cursor: not-allowed;
10852
10744
  border-color: var(--border-default);
10853
10745
  background-color: var(--background-light-grey);
@@ -10895,7 +10787,7 @@ const BMF = KoliBri.createTheme("bmf", {
10895
10787
  fieldset .input-slot {
10896
10788
  gap: 0.5rem;
10897
10789
  }
10898
- fieldset div label {
10790
+ .radio-input-wrapper label {
10899
10791
  padding-left: 0;
10900
10792
  }`,
10901
10793
  "KOL-TOAST-CONTAINER": `:host {
@@ -18475,9 +18367,10 @@ const BMF = KoliBri.createTheme("bmf", {
18475
18367
  }`
18476
18368
  });
18477
18369
 
18478
- const css$2 = (input) => input.join(``);
18370
+ const cssWithCustomLayerName = (layerName) => (input) => `@layer ${layerName} { ${input.join(``)} }`;
18371
+ const css$2 = (input) => cssWithCustomLayerName("kol-theme-component")(input);
18479
18372
  const DEFAULT = KoliBri.createTheme("default", {
18480
- GLOBAL: css$2`
18373
+ GLOBAL: cssWithCustomLayerName("kol-theme-global")`
18481
18374
  :host {
18482
18375
  --border-radius: var(--kolibri-border-radius, 5px);
18483
18376
  --font-family: var(--kolibri-font-family, BundesSans Web, Calibri, Verdana, Arial, Helvetica, sans-serif);
@@ -19578,71 +19471,6 @@ const DEFAULT = KoliBri.createTheme("default", {
19578
19471
  font-size: 1.2rem;
19579
19472
  }
19580
19473
  `,
19581
- "KOL-SPIN": css$2`
19582
- .spin {
19583
- display: inline-block;
19584
- height: 1rem;
19585
- position: relative;
19586
- width: 3rem;
19587
- }
19588
- .spin span {
19589
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
19590
- border: 0.1rem solid rgb(255, 255, 255);
19591
- border-radius: 50%;
19592
- height: 0.8rem;
19593
- width: 0.8rem;
19594
- top: 0.1rem;
19595
- position: absolute;
19596
- }
19597
- .spin span:nth-child(1) {
19598
- background-color: #fc0;
19599
- z-index: 0;
19600
- animation: 2s ease 0s infinite normal none running spin1;
19601
- left: 0.1rem;
19602
- }
19603
- .spin span:nth-child(2) {
19604
- background-color: #f00;
19605
- z-index: 1;
19606
- animation: 2s ease 0s infinite normal none running spin2;
19607
- left: 0.1rem;
19608
- }
19609
- .spin span:nth-child(3) {
19610
- background-color: #000;
19611
- z-index: 1;
19612
- animation: 2s ease 0s infinite normal none running spin2;
19613
- left: 1.1rem;
19614
- }
19615
- .spin span:nth-child(4) {
19616
- background-color: #666;
19617
- z-index: 0;
19618
- animation: 2s ease 0s infinite normal none running spin3;
19619
- left: 2.1rem;
19620
- }
19621
- @keyframes spin1 {
19622
- 0% {
19623
- transform: scale(0);
19624
- }
19625
- 100% {
19626
- transform: scale(1);
19627
- }
19628
- }
19629
- @keyframes spin2 {
19630
- 0% {
19631
- transform: translate(0px, 0px);
19632
- }
19633
- 100% {
19634
- transform: translate(1rem, 0px);
19635
- }
19636
- }
19637
- @keyframes spin3 {
19638
- 0% {
19639
- transform: scale(1);
19640
- }
19641
- 100% {
19642
- transform: scale(0);
19643
- }
19644
- }
19645
- `,
19646
19474
  "KOL-PROGRESS": css$2`
19647
19475
  :host progress,
19648
19476
  :host span {
@@ -19748,13 +19576,15 @@ const DEFAULT = KoliBri.createTheme("default", {
19748
19576
  }
19749
19577
  select option {
19750
19578
  margin: 1px 0;
19751
- padding: 0.5em;
19752
19579
  border-radius: var(--border-radius);
19753
19580
  cursor: pointer;
19754
19581
  }
19755
19582
  select option:disabled {
19756
19583
  cursor: not-allowed;
19757
19584
  }
19585
+ select:not([multiple]) option {
19586
+ padding: 0.5em;
19587
+ }
19758
19588
  option:active:not(:disabled),
19759
19589
  option:checked:not(:disabled),
19760
19590
  option:focus:not(:disabled),
@@ -20329,7 +20159,7 @@ const DEFAULT = KoliBri.createTheme("default", {
20329
20159
  display: grid;
20330
20160
  gap: 0.25em;
20331
20161
  }
20332
- fieldset div {
20162
+ .radio-input-wrapper {
20333
20163
  align-items: center;
20334
20164
  cursor: pointer;
20335
20165
  display: flex;
@@ -20339,16 +20169,16 @@ const DEFAULT = KoliBri.createTheme("default", {
20339
20169
  min-height: var(--a11y-min-size);
20340
20170
  position: relative;
20341
20171
  }
20342
- fieldset div label {
20172
+ .radio-input-wrapper label {
20343
20173
  cursor: pointer;
20344
20174
  display: flex;
20345
20175
  padding-left: calc(var(--spacing) / 2);
20346
20176
  width: 100%;
20347
20177
  }
20348
- fieldset div label span {
20178
+ .radio-input-wrapper label span {
20349
20179
  margin-top: 0.125em;
20350
20180
  }
20351
- fieldset div input[type='radio'] {
20181
+ .radio-input-wrapper input[type='radio'] {
20352
20182
  appearance: none;
20353
20183
  transition: 0.5s;
20354
20184
  border-radius: 100%;
@@ -20356,16 +20186,16 @@ const DEFAULT = KoliBri.createTheme("default", {
20356
20186
  min-width: calc(6 * 0.25rem);
20357
20187
  width: calc(6 * 0.25rem);
20358
20188
  }
20359
- fieldset div input[type='radio']:before {
20189
+ .radio-input-wrapper input[type='radio']:before {
20360
20190
  content: '';
20361
20191
  cursor: pointer;
20362
20192
  border-radius: 100%;
20363
20193
  display: block;
20364
20194
  }
20365
- fieldset div input[type='radio']:checked:before {
20195
+ .radio-input-wrapper input[type='radio']:checked:before {
20366
20196
  background-color: var(--color-primary);
20367
20197
  }
20368
- fieldset div input[type='radio']:disabled {
20198
+ .radio-input-wrapper input[type='radio']:disabled {
20369
20199
  cursor: not-allowed;
20370
20200
  background-color: var(--color-mute-variant);
20371
20201
  }
@@ -20412,7 +20242,7 @@ const DEFAULT = KoliBri.createTheme("default", {
20412
20242
  fieldset .input-slot {
20413
20243
  gap: var(--spacing);
20414
20244
  }
20415
- fieldset div label {
20245
+ .radio-input-wrapper label {
20416
20246
  padding-left: 0;
20417
20247
  }
20418
20248
  `,
@@ -20887,9 +20717,11 @@ const DEFAULT = KoliBri.createTheme("default", {
20887
20717
  cursor: pointer;
20888
20718
  }
20889
20719
  `,
20890
- "KOL-SPLIT-BUTTON": `.popover {
20891
- background: #fff;
20892
- }`
20720
+ "KOL-SPLIT-BUTTON": css$2`
20721
+ .popover {
20722
+ background: #fff;
20723
+ }
20724
+ `
20893
20725
  });
20894
20726
 
20895
20727
  const ECL_EC = KoliBri.createTheme("ecl-ec", {
@@ -21408,17 +21240,11 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
21408
21240
  progress {
21409
21241
  display: none;
21410
21242
  }`,
21411
- "KOL-SPIN": `.spin span:nth-child(1) {
21412
- background-color: var(--color-blue-75);
21413
- }
21414
- .spin span:nth-child(2) {
21415
- background-color: var(--color-blue);
21416
- }
21417
- .spin span:nth-child(3) {
21418
- background-color: var(--color-blue-130);
21419
- }
21420
- .spin span:nth-child(4) {
21421
- background-color: var(--color-grey-25);
21243
+ "KOL-SPIN": `.cycle {
21244
+ padding: 0.125rem;
21245
+ & span {
21246
+ background-color: var(--color-blue-75);
21247
+ }
21422
21248
  }`,
21423
21249
  "KOL-PAGINATION": `:host {
21424
21250
  display: grid;
@@ -21535,21 +21361,13 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
21535
21361
  "hint hint"
21536
21362
  "error error";
21537
21363
  }
21538
- kol-input > .input {
21539
- order: 2;
21540
- }
21541
- kol-input > label {
21542
- order: 3;
21543
- }
21544
21364
  kol-alert {
21545
21365
  color: var(--color-red);
21546
21366
  font-size: 0.875em;
21547
21367
  margin-left: calc(-1 * var(--spacing-2xs));
21548
- order: 1;
21549
21368
  }
21550
21369
  .hint {
21551
21370
  font-size: 0.875rem;
21552
- order: 4;
21553
21371
  }`,
21554
21372
  "KOL-INPUT-COLOR": `kol-input {
21555
21373
  color: var(--color-grey);
@@ -23137,21 +22955,13 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
23137
22955
  "hint hint"
23138
22956
  "error error";
23139
22957
  }
23140
- kol-input > .input {
23141
- order: 2;
23142
- }
23143
- kol-input > label {
23144
- order: 3;
23145
- }
23146
22958
  kol-alert {
23147
22959
  color: var(--color-red);
23148
22960
  font-size: 0.875em;
23149
22961
  margin-left: calc(-1 * var(--spacing-2xs));
23150
- order: 1;
23151
22962
  }
23152
22963
  .hint {
23153
22964
  font-size: 0.875rem;
23154
- order: 4;
23155
22965
  }`,
23156
22966
  "KOL-INPUT-COLOR": `kol-input {
23157
22967
  color: var(--color-grey);
@@ -23763,17 +23573,11 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
23763
23573
  button:hover {
23764
23574
  color: var(--color-blue-130);
23765
23575
  }`,
23766
- "KOL-SPIN": `.spin span:nth-child(1) {
23767
- background-color: var(--color-blue-80);
23768
- }
23769
- .spin span:nth-child(2) {
23770
- background-color: var(--color-blue);
23771
- }
23772
- .spin span:nth-child(3) {
23773
- background-color: var(--color-blue-130);
23774
- }
23775
- .spin span:nth-child(4) {
23776
- background-color: var(--color-grey-20);
23576
+ "KOL-SPIN": `.cycle {
23577
+ padding: 0.125rem;
23578
+ & span {
23579
+ background-color: var(--color-blue-80);
23580
+ }
23777
23581
  }`,
23778
23582
  "KOL-INPUT-RADIO": `fieldset {
23779
23583
  border: 0;
@@ -24762,68 +24566,11 @@ const ITZBund = KoliBri.createTheme("itzbund", {
24762
24566
  font-weight: bold;
24763
24567
  /* text-transform: uppercase; */
24764
24568
  }`,
24765
- "KOL-SPIN": `.spin {
24766
- display: inline-block;
24767
- height: 1rem;
24768
- position: relative;
24769
- width: 3rem;
24770
- }
24771
- .spin span {
24772
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
24773
- border: 0.1rem solid rgb(255, 255, 255);
24774
- border-radius: 50%;
24775
- height: 0.8rem;
24776
- width: 0.8rem;
24777
- top: 0.1rem;
24778
- position: absolute;
24779
- }
24780
- .spin span:nth-child(1) {
24781
- background-color: #fc0;
24782
- z-index: 0;
24783
- animation: 2s ease 0s infinite normal none running spin1;
24784
- left: 0.1rem;
24785
- }
24786
- .spin span:nth-child(2) {
24787
- background-color: #f00;
24788
- z-index: 1;
24789
- animation: 2s ease 0s infinite normal none running spin2;
24790
- left: 0.1rem;
24791
- }
24792
- .spin span:nth-child(3) {
24793
- background-color: #000;
24794
- z-index: 1;
24795
- animation: 2s ease 0s infinite normal none running spin2;
24796
- left: 1.1rem;
24797
- }
24798
- .spin span:nth-child(4) {
24799
- background-color: #666;
24800
- z-index: 0;
24801
- animation: 2s ease 0s infinite normal none running spin3;
24802
- left: 2.1rem;
24803
- }
24804
- @keyframes spin1 {
24805
- 0% {
24806
- transform: scale(0);
24807
- }
24808
- 100% {
24809
- transform: scale(1);
24810
- }
24811
- }
24812
- @keyframes spin2 {
24813
- 0% {
24814
- transform: translate(0px, 0px);
24815
- }
24816
- 100% {
24817
- transform: translate(1rem, 0px);
24818
- }
24819
- }
24820
- @keyframes spin3 {
24821
- 0% {
24822
- transform: scale(1);
24823
- }
24824
- 100% {
24825
- transform: scale(0);
24826
- }
24569
+ "KOL-SPIN": `.cycle {
24570
+ padding: 0.125rem;
24571
+ & span {
24572
+ background-color: #fc0;
24573
+ }
24827
24574
  }`,
24828
24575
  "KOL-PROGRESS": `:host progress,
24829
24576
  :host span {
@@ -24883,6 +24630,8 @@ const ITZBund = KoliBri.createTheme("itzbund", {
24883
24630
  }
24884
24631
  option {
24885
24632
  height: 2em;
24633
+ }
24634
+ select:not([multiple]) option {
24886
24635
  padding: 0.5em;
24887
24636
  }
24888
24637
  kol-alert {
@@ -25387,7 +25136,7 @@ const ITZBund = KoliBri.createTheme("itzbund", {
25387
25136
  width: 100%;
25388
25137
  line-height: 1.5em;
25389
25138
  }
25390
- fieldset div {
25139
+ .radio-input-wrapper, .input {
25391
25140
  cursor: pointer;
25392
25141
  display: flex;
25393
25142
  flex-direction: row;
@@ -25397,15 +25146,15 @@ const ITZBund = KoliBri.createTheme("itzbund", {
25397
25146
  align-items: center;
25398
25147
  position: relative;
25399
25148
  }
25400
- fieldset div label {
25149
+ .radio-label {
25401
25150
  cursor: pointer;
25402
25151
  display: flex;
25403
25152
  width: 100%;
25404
25153
  }
25405
- fieldset div label span {
25154
+ .radio-label span {
25406
25155
  margin-top: 0.125em;
25407
25156
  }
25408
- fieldset div input[type="radio"] {
25157
+ .radio-input-wrapper input[type="radio"] {
25409
25158
  appearance: none;
25410
25159
  transition: 0.5s;
25411
25160
  border-radius: 100%;
@@ -25413,11 +25162,11 @@ const ITZBund = KoliBri.createTheme("itzbund", {
25413
25162
  min-width: calc(6 * 2 * var(--spacing));
25414
25163
  width: calc(6 * 2 * var(--spacing));
25415
25164
  }
25416
- fieldset div input[type="radio"]:checked:before {
25165
+ .radio-input-wrapper input[type="radio"]:checked:before {
25417
25166
  box-shadow: 0 0 0.1rem black;
25418
25167
  background-color: var(--color-petrol);
25419
25168
  }
25420
- fieldset div input[type="radio"]:disabled {
25169
+ .radio-input-wrapper input[type="radio"]:disabled {
25421
25170
  background-color: var(--color-input-bg-default);
25422
25171
  border-color: #999;
25423
25172
  cursor: not-allowed;
@@ -26766,69 +26515,12 @@ const MFM = KoliBri.createTheme("mfm", {
26766
26515
  details:not([open]) kol-icon::part(icon):before {
26767
26516
  content: "\\f054";
26768
26517
  }`,
26769
- "KOL-SPIN": `.spin {
26770
- display: inline-block;
26771
- height: 1rem;
26772
- position: relative;
26773
- width: 3rem;
26774
- }
26775
- .spin span {
26776
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
26777
- border: 0.1rem solid rgb(255, 255, 255);
26778
- border-radius: 50%;
26779
- height: 0.8rem;
26780
- width: 0.8rem;
26781
- top: 0.1rem;
26782
- position: absolute;
26783
- }
26784
- .spin span:nth-child(1) {
26785
- background-color: #fc0;
26786
- z-index: 0;
26787
- animation: 2s ease 0s infinite normal none running spin1;
26788
- left: 0.1rem;
26789
- }
26790
- .spin span:nth-child(2) {
26791
- background-color: #f00;
26792
- z-index: 1;
26793
- animation: 2s ease 0s infinite normal none running spin2;
26794
- left: 0.1rem;
26795
- }
26796
- .spin span:nth-child(3) {
26797
- background-color: #000;
26798
- z-index: 1;
26799
- animation: 2s ease 0s infinite normal none running spin2;
26800
- left: 1.1rem;
26801
- }
26802
- .spin span:nth-child(4) {
26803
- background-color: #666;
26804
- z-index: 0;
26805
- animation: 2s ease 0s infinite normal none running spin3;
26806
- left: 2.1rem;
26807
- }
26808
- @keyframes spin1 {
26809
- 0% {
26810
- transform: scale(0);
26811
- }
26812
- 100% {
26813
- transform: scale(1);
26518
+ "KOL-SPIN": `.cycle {
26519
+ padding: 0.125rem;
26520
+ & span {
26521
+ background-color: #fc0;
26814
26522
  }
26815
- }
26816
- @keyframes spin2 {
26817
- 0% {
26818
- transform: translate(0px, 0px);
26819
- }
26820
- 100% {
26821
- transform: translate(1rem, 0px);
26822
- }
26823
- }
26824
- @keyframes spin3 {
26825
- 0% {
26826
- transform: scale(1);
26827
- }
26828
- 100% {
26829
- transform: scale(0);
26830
- }
26831
- }`,
26523
+ }`,
26832
26524
  "KOL-PROGRESS": `:host progress,
26833
26525
  :host span {
26834
26526
  display: block;
@@ -26929,13 +26621,15 @@ const MFM = KoliBri.createTheme("mfm", {
26929
26621
  }
26930
26622
  select option {
26931
26623
  margin: 1px 0;
26932
- padding: 0.5em;
26933
26624
  border-radius: 0.25em;
26934
26625
  cursor: pointer;
26935
26626
  }
26936
26627
  select option:disabled {
26937
26628
  cursor: not-allowed;
26938
26629
  }
26630
+ select:not([multiple]) option {
26631
+ padding: 0.5em;
26632
+ }
26939
26633
  option:active:not(:disabled),
26940
26634
  option:checked:not(:disabled),
26941
26635
  option:focus:not(:disabled),
@@ -27518,7 +27212,7 @@ const MFM = KoliBri.createTheme("mfm", {
27518
27212
  display: grid;
27519
27213
  gap: 0.25em;
27520
27214
  }
27521
- fieldset div {
27215
+ .radio-input-wrapper {
27522
27216
  cursor: pointer;
27523
27217
  display: flex;
27524
27218
  flex-direction: row;
@@ -27527,16 +27221,16 @@ const MFM = KoliBri.createTheme("mfm", {
27527
27221
  min-height: 44px;
27528
27222
  margin: 0;
27529
27223
  }
27530
- fieldset div label {
27224
+ .radio-input-wrapper label {
27531
27225
  cursor: pointer;
27532
27226
  display: flex;
27533
27227
  padding-left: 0.25em;
27534
27228
  width: 100%;
27535
27229
  }
27536
- fieldset div label span {
27230
+ .radio-input-wrapper label span {
27537
27231
  margin-top: 0.125em;
27538
27232
  }
27539
- fieldset div input[type="radio"] {
27233
+ .radio-input-wrapper input[type="radio"] {
27540
27234
  appearance: none;
27541
27235
  transition: 0.5s;
27542
27236
  border-radius: 100%;
@@ -27544,16 +27238,16 @@ const MFM = KoliBri.createTheme("mfm", {
27544
27238
  min-width: calc(6 * var(--spacing));
27545
27239
  width: calc(6 * var(--spacing));
27546
27240
  }
27547
- fieldset div input[type="radio"]:before {
27241
+ .radio-input-wrapper input[type="radio"]:before {
27548
27242
  content: "";
27549
27243
  cursor: pointer;
27550
27244
  border-radius: 100%;
27551
27245
  display: block;
27552
27246
  }
27553
- fieldset div input[type="radio"]:checked:before {
27247
+ .radio-input-wrapper input[type="radio"]:checked:before {
27554
27248
  background-color: var(--color-midnight);
27555
27249
  }
27556
- fieldset div input[type="radio"]:disabled {
27250
+ .radio-input-wrapper input[type="radio"]:disabled {
27557
27251
  cursor: not-allowed;
27558
27252
  border-color: var(--border-default);
27559
27253
  background-color: var(--background-light-grey);
@@ -27601,7 +27295,7 @@ const MFM = KoliBri.createTheme("mfm", {
27601
27295
  fieldset .input-slot {
27602
27296
  gap: 0.5rem;
27603
27297
  }
27604
- fieldset div label {
27298
+ .radio-input-wrapper label {
27605
27299
  padding-left: 0;
27606
27300
  }`,
27607
27301
  "KOL-TOAST": `:host > div {
@@ -36225,7 +35919,7 @@ const MAPZ = KoliBri.createTheme("mapz", {
36225
35919
  display: grid;
36226
35920
  gap: 0.25em;
36227
35921
  }
36228
- fieldset div {
35922
+ .radio-input-wrapper, .input {
36229
35923
  cursor: pointer;
36230
35924
  display: flex;
36231
35925
  flex-direction: row;
@@ -36234,16 +35928,16 @@ const MAPZ = KoliBri.createTheme("mapz", {
36234
35928
  align-items: center;
36235
35929
  position: relative;
36236
35930
  }
36237
- fieldset div label {
35931
+ .radio-label {
36238
35932
  cursor: pointer;
36239
35933
  display: flex;
36240
35934
  padding-left: 0.25em;
36241
35935
  width: 100%;
36242
35936
  }
36243
- fieldset div label span {
35937
+ .radio-label span {
36244
35938
  margin-top: 0.125em;
36245
35939
  }
36246
- fieldset div input[type="radio"] {
35940
+ .radio-input-wrapper input[type="radio"] {
36247
35941
  appearance: none;
36248
35942
  transition: 0.5s;
36249
35943
  border-radius: 100%;
@@ -36251,7 +35945,7 @@ const MAPZ = KoliBri.createTheme("mapz", {
36251
35945
  min-width: calc(6 * var(--spacing));
36252
35946
  width: calc(6 * var(--spacing));
36253
35947
  } /* fieldset div input[type="radio"]:before {content: "";cursor: pointer;left: calc(1.5 * var(--spacing) - 2px);top: calc(1.5 * var(--spacing) - 2px);position: relative;border-radius: 100%;display: block;height: calc(3 * var(--spacing));width: calc(3 * var(--spacing));}*/
36254
- fieldset div input[type="radio"]:checked:before {
35948
+ .radio-input-wrapper input[type="radio"]:checked:before {
36255
35949
  box-shadow: 0 0 0.1rem black;
36256
35950
  background-color: var(--kolibri-color-primary);
36257
35951
  }
@@ -36340,68 +36034,11 @@ const MAPZ = KoliBri.createTheme("mapz", {
36340
36034
  left: unset;
36341
36035
  position: unset;
36342
36036
  }`,
36343
- "KOL-SPIN": `.spin {
36344
- display: inline-block;
36345
- height: 1rem;
36346
- position: relative;
36347
- width: 3rem;
36348
- }
36349
- .spin span {
36350
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
36351
- border: 0.1rem solid rgb(255, 255, 255);
36352
- border-radius: 50%;
36353
- height: 0.8rem;
36354
- width: 0.8rem;
36355
- top: 0.1rem;
36356
- position: absolute;
36357
- }
36358
- .spin span:nth-child(1) {
36359
- background-color: #fc0;
36360
- z-index: 0;
36361
- animation: 2s ease 0s infinite normal none running spin1;
36362
- left: 0.1rem;
36363
- }
36364
- .spin span:nth-child(2) {
36365
- background-color: #f00;
36366
- z-index: 1;
36367
- animation: 2s ease 0s infinite normal none running spin2;
36368
- left: 0.1rem;
36369
- }
36370
- .spin span:nth-child(3) {
36371
- background-color: #000;
36372
- z-index: 1;
36373
- animation: 2s ease 0s infinite normal none running spin2;
36374
- left: 1.1rem;
36375
- }
36376
- .spin span:nth-child(4) {
36377
- background-color: #666;
36378
- z-index: 0;
36379
- animation: 2s ease 0s infinite normal none running spin3;
36380
- left: 2.1rem;
36381
- }
36382
- @keyframes spin1 {
36383
- 0% {
36384
- transform: scale(0);
36385
- }
36386
- 100% {
36387
- transform: scale(1);
36388
- }
36389
- }
36390
- @keyframes spin2 {
36391
- 0% {
36392
- transform: translate(0px, 0px);
36393
- }
36394
- 100% {
36395
- transform: translate(1rem, 0px);
36396
- }
36397
- }
36398
- @keyframes spin3 {
36399
- 0% {
36400
- transform: scale(1);
36401
- }
36402
- 100% {
36403
- transform: scale(0);
36404
- }
36037
+ "KOL-SPIN": `.cycle {
36038
+ padding: 0.125rem;
36039
+ & span {
36040
+ background-color: #fc0;
36041
+ }
36405
36042
  }`,
36406
36043
  "KOL-PROGRESS": `:host progress,
36407
36044
  :host span {
@@ -36488,13 +36125,15 @@ const MAPZ = KoliBri.createTheme("mapz", {
36488
36125
  }
36489
36126
  select option {
36490
36127
  margin: 1px 0;
36491
- padding: 0.5em;
36492
36128
  border-radius: 0.25em;
36493
36129
  cursor: pointer;
36494
36130
  }
36495
36131
  select option:disabled {
36496
36132
  cursor: not-allowed;
36497
36133
  }
36134
+ select:not([multiple]) option {
36135
+ padding: 0.5em;
36136
+ }
36498
36137
  option:active:not(:disabled),
36499
36138
  option:checked:not(:disabled),
36500
36139
  option:focus:not(:disabled),
@@ -53034,67 +52673,10 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
53034
52673
  }
53035
52674
  `,
53036
52675
  "KOL-SPIN": css$1`
53037
- .spin {
53038
- display: inline-block;
53039
- height: 1rem;
53040
- position: relative;
53041
- width: 3rem;
53042
- }
53043
- .spin span {
53044
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
53045
- border: 0.1rem solid rgb(255, 255, 255);
53046
- border-radius: 50%;
53047
- height: 0.8rem;
53048
- width: 0.8rem;
53049
- top: 0.1rem;
53050
- position: absolute;
53051
- }
53052
- .spin span:nth-child(1) {
53053
- background-color: #fc0;
53054
- z-index: 0;
53055
- animation: 2s ease 0s infinite normal none running spin1;
53056
- left: 0.1rem;
53057
- }
53058
- .spin span:nth-child(2) {
53059
- background-color: #f00;
53060
- z-index: 1;
53061
- animation: 2s ease 0s infinite normal none running spin2;
53062
- left: 0.1rem;
53063
- }
53064
- .spin span:nth-child(3) {
53065
- background-color: #000;
53066
- z-index: 1;
53067
- animation: 2s ease 0s infinite normal none running spin2;
53068
- left: 1.1rem;
53069
- }
53070
- .spin span:nth-child(4) {
53071
- background-color: #666;
53072
- z-index: 0;
53073
- animation: 2s ease 0s infinite normal none running spin3;
53074
- left: 2.1rem;
53075
- }
53076
- @keyframes spin1 {
53077
- 0% {
53078
- transform: scale(0);
53079
- }
53080
- 100% {
53081
- transform: scale(1);
53082
- }
53083
- }
53084
- @keyframes spin2 {
53085
- 0% {
53086
- transform: translate(0px, 0px);
53087
- }
53088
- 100% {
53089
- transform: translate(1rem, 0px);
53090
- }
53091
- }
53092
- @keyframes spin3 {
53093
- 0% {
53094
- transform: scale(1);
53095
- }
53096
- 100% {
53097
- transform: scale(0);
52676
+ .cycle {
52677
+ padding: 0.125rem;
52678
+ & span {
52679
+ background-color: #fc0;
53098
52680
  }
53099
52681
  }
53100
52682
  `,
@@ -62314,67 +61896,10 @@ const ZOLLv3 = KoliBri.createTheme("zoll-v3", {
62314
61896
  }
62315
61897
  `,
62316
61898
  "KOL-SPIN": css`
62317
- .spin {
62318
- display: inline-block;
62319
- height: 1rem;
62320
- position: relative;
62321
- width: 3rem;
62322
- }
62323
- .spin span {
62324
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
62325
- border: 0.1rem solid rgb(255, 255, 255);
62326
- border-radius: 50%;
62327
- height: 0.8rem;
62328
- width: 0.8rem;
62329
- top: 0.1rem;
62330
- position: absolute;
62331
- }
62332
- .spin span:nth-child(1) {
62333
- background-color: #fc0;
62334
- z-index: 0;
62335
- animation: 2s ease 0s infinite normal none running spin1;
62336
- left: 0.1rem;
62337
- }
62338
- .spin span:nth-child(2) {
62339
- background-color: #f00;
62340
- z-index: 1;
62341
- animation: 2s ease 0s infinite normal none running spin2;
62342
- left: 0.1rem;
62343
- }
62344
- .spin span:nth-child(3) {
62345
- background-color: #000;
62346
- z-index: 1;
62347
- animation: 2s ease 0s infinite normal none running spin2;
62348
- left: 1.1rem;
62349
- }
62350
- .spin span:nth-child(4) {
62351
- background-color: #666;
62352
- z-index: 0;
62353
- animation: 2s ease 0s infinite normal none running spin3;
62354
- left: 2.1rem;
62355
- }
62356
- @keyframes spin1 {
62357
- 0% {
62358
- transform: scale(0);
62359
- }
62360
- 100% {
62361
- transform: scale(1);
62362
- }
62363
- }
62364
- @keyframes spin2 {
62365
- 0% {
62366
- transform: translate(0px, 0px);
62367
- }
62368
- 100% {
62369
- transform: translate(1rem, 0px);
62370
- }
62371
- }
62372
- @keyframes spin3 {
62373
- 0% {
62374
- transform: scale(1);
62375
- }
62376
- 100% {
62377
- transform: scale(0);
61899
+ .cycle {
61900
+ padding: 0.125rem;
61901
+ & span {
61902
+ background-color: #fc0;
62378
61903
  }
62379
61904
  }
62380
61905
  `,