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