@public-ui/themes 1.7.6-rc.2 → 1.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +209 -242
- package/dist/index.d.ts +36 -12
- package/dist/index.mjs +209 -242
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -299,7 +299,7 @@ var loglevel = {exports: {}};
|
|
|
299
299
|
}));
|
|
300
300
|
} (loglevel));
|
|
301
301
|
|
|
302
|
-
const
|
|
302
|
+
const N=(e,t)=>s=>s(e,t),P=(e,t)=>s=>s(e,t,{append:!1}),o=typeof window=="object"?window:typeof global=="object"?global:typeof self=="object"?self:{};const c=new Map,C=[],v=new Set,h=new Map,B=/--[^;]+/g,G=/:/;(typeof o.A11yUi!="object"||o.A11yUi===null)&&(o.A11yUi={CSS_STYLE_CACHE:h,HYDRATED_HISTORY:C,STYLING_TASK_QUEUE:c});const K=(e,t)=>{let s=t.match(B);if(Array.isArray(s)){s=s.filter(r=>G.test(r));const a=document.createElement("style");a.innerHTML=`.${e} {${s.join(";")}}`,document.querySelector("head")?.appendChild(a);}v.add(e);},d=(e,t)=>typeof o.A11yUi=="object"&&o.A11yUi!==null&&typeof o.A11yUi.Themes=="object"&&o.A11yUi.Themes!==null&&typeof o.A11yUi.Themes[e]=="object"&&o.A11yUi.Themes[e]!==null&&typeof o.A11yUi.Themes[e][t]=="string"?o.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",q=e=>{for(const t of Array.from(e.childNodes))if(t instanceof HTMLStyleElement&&t.tagName==="STYLE")e.removeChild(t);else break},F=(e,t)=>{try{const s=[];t.forEach(a=>{const r=new CSSStyleSheet;r.replaceSync(a),s.push(r);}),e.adoptedStyleSheets=s;}catch{t.reverse().forEach(s=>{const a=document.createElement("style");a.innerHTML=s,e.insertBefore(a,e.firstChild);});}},Q=(e,t,s)=>{if(s!==!1){const a=[...Array.from(e.childNodes).filter(n=>n instanceof HTMLStyleElement&&n.tagName==="STYLE")];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch{r=[];}s?.mode==="before"?(a.reverse().forEach(n=>t.unshift(n.innerHTML)),r.reverse().forEach(n=>t.unshift(Array.from(n.cssRules).map(i=>i.cssText).join("")))):s?.mode==="after"&&(a.forEach(n=>t.push(n.innerHTML)),r.forEach(n=>t.push(Array.from(n.cssRules).map(i=>i.cssText).join(""))));}},L=(e,t,s)=>{const a=t.name||"default";let r;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch{r=e;}if(h.get(a)?.has(e.tagName))M(e,r,h.get(a)?.get(e.tagName),s);else {const n=d(a,"PROPERTIES"),i=d(a,"GLOBAL"),H=d(a,e.tagName);v.has(a)===!1&&K(a,i);const m=[n,i,H];Q(r,m,t.encroachCss),t.loglevel==="debug"&&console.log(e.tagName,m),t.cache===!0&&(h.has(a)===!1&&h.set(a,new Map),h.get(a)?.set(e.tagName,m)),M(e,r,m,s);}},M=(e,t,s,a)=>{q(t),F(t,s),e.style.display=a;},$=e=>{e.loglevel==="debug"&&C.push({timestamp:Date.now(),numberOfTasks:c.size});},W=e=>{c.delete(e);},O=(e,t)=>{W(e),$(t);},X=e=>{for(const t of e)if(c.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:s,themeDetails:a}=c.get(t.target);L(t.target,a,s),O(t.target,a);}};let f;try{f=new MutationObserver(X);}catch{f=null;}class te{constructor(t,s,a){this.createTheme=(r,n)=>P(r,n),this.createTranslation=(r,n)=>N(r,n),this.Prefix=t,this.Key=Object.getOwnPropertyNames(s),this.Tag=Object.getOwnPropertyNames(a);}}
|
|
303
303
|
|
|
304
304
|
var KeyEnum = /* @__PURE__ */ ((KeyEnum2) => {
|
|
305
305
|
KeyEnum2[KeyEnum2["error"] = 0] = "error";
|
|
@@ -383,7 +383,7 @@ var TagEnum = /* @__PURE__ */ ((TagEnum2) => {
|
|
|
383
383
|
return TagEnum2;
|
|
384
384
|
})(TagEnum || {});
|
|
385
385
|
|
|
386
|
-
const KoliBri = new
|
|
386
|
+
const KoliBri = new te("kol", KeyEnum, TagEnum);
|
|
387
387
|
|
|
388
388
|
const BAMF = KoliBri.createTheme("bamf", {});
|
|
389
389
|
|
|
@@ -411,7 +411,7 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
|
|
|
411
411
|
--spacing: 0.25em;
|
|
412
412
|
}
|
|
413
413
|
:host {
|
|
414
|
-
color:
|
|
414
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
415
415
|
}
|
|
416
416
|
:host * {
|
|
417
417
|
box-sizing: border-box;
|
|
@@ -1590,7 +1590,7 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
|
|
|
1590
1590
|
border-color: var(--border-default);
|
|
1591
1591
|
background-color: var(--background-light-grey);
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1593
|
+
kol-alert.error {
|
|
1594
1594
|
order: 3;
|
|
1595
1595
|
}
|
|
1596
1596
|
:host fieldset legend {
|
|
@@ -1600,7 +1600,7 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
|
|
|
1600
1600
|
:host fieldset kol-input {
|
|
1601
1601
|
order: 2;
|
|
1602
1602
|
}
|
|
1603
|
-
|
|
1603
|
+
kol-alert.error {
|
|
1604
1604
|
padding-left: 0.5em;
|
|
1605
1605
|
color: var(--color-warning);
|
|
1606
1606
|
}
|
|
@@ -3250,7 +3250,7 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
|
|
|
3250
3250
|
--spacing: 0.25em;
|
|
3251
3251
|
}
|
|
3252
3252
|
:host {
|
|
3253
|
-
color:
|
|
3253
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
3254
3254
|
}
|
|
3255
3255
|
:host * {
|
|
3256
3256
|
box-sizing: border-box;
|
|
@@ -4344,10 +4344,10 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
|
|
|
4344
4344
|
height: 1.25em;
|
|
4345
4345
|
left: 2px;
|
|
4346
4346
|
}
|
|
4347
|
-
|
|
4347
|
+
&.checked .icon {
|
|
4348
4348
|
transform: translate(2em, -50%);
|
|
4349
4349
|
}
|
|
4350
|
-
|
|
4350
|
+
&.indeterminate .icon {
|
|
4351
4351
|
transform: translate(1em, -50%);
|
|
4352
4352
|
}
|
|
4353
4353
|
}
|
|
@@ -4442,7 +4442,7 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
|
|
|
4442
4442
|
border-color: var(--border-default);
|
|
4443
4443
|
background-color: var(--background-light-grey);
|
|
4444
4444
|
}
|
|
4445
|
-
|
|
4445
|
+
kol-alert.error {
|
|
4446
4446
|
order: 3;
|
|
4447
4447
|
}
|
|
4448
4448
|
:host fieldset legend {
|
|
@@ -4452,7 +4452,7 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
|
|
|
4452
4452
|
:host fieldset kol-input {
|
|
4453
4453
|
order: 2;
|
|
4454
4454
|
}
|
|
4455
|
-
|
|
4455
|
+
kol-alert.error {
|
|
4456
4456
|
padding-left: 0.5em;
|
|
4457
4457
|
color: var(--color-warning);
|
|
4458
4458
|
}
|
|
@@ -7875,6 +7875,10 @@ const BZSt = KoliBri.createTheme("bzst", {
|
|
|
7875
7875
|
}
|
|
7876
7876
|
.disabled {
|
|
7877
7877
|
opacity: 0.33;
|
|
7878
|
+
}
|
|
7879
|
+
.button:focus-within {
|
|
7880
|
+
outline: var(--focusOutline);
|
|
7881
|
+
outline-offset: 2px;
|
|
7878
7882
|
}`,
|
|
7879
7883
|
"KOL-INPUT-RADIO": `:host {
|
|
7880
7884
|
--border-width: 1px;
|
|
@@ -8791,6 +8795,7 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
8791
8795
|
--spacing: 0.25em;
|
|
8792
8796
|
}
|
|
8793
8797
|
:host {
|
|
8798
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
8794
8799
|
font-family: var(--font-family); /* font-size: var(--font-size); */
|
|
8795
8800
|
}
|
|
8796
8801
|
* {
|
|
@@ -8841,7 +8846,7 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
8841
8846
|
}
|
|
8842
8847
|
kol-tooltip-wc .tooltip-area {
|
|
8843
8848
|
background-color: var(--color-white);
|
|
8844
|
-
color: var(--color-
|
|
8849
|
+
color: var(--color-black);
|
|
8845
8850
|
}
|
|
8846
8851
|
kol-tooltip-wc .tooltip-content {
|
|
8847
8852
|
border-radius: var(--border-radius);
|
|
@@ -8901,6 +8906,12 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
8901
8906
|
border-color: var(--color-red);
|
|
8902
8907
|
color: var(--color-white);
|
|
8903
8908
|
}
|
|
8909
|
+
.success :is(a, button) > kol-span-wc,
|
|
8910
|
+
.success :is(a, button):disabled:hover > kol-span-wc {
|
|
8911
|
+
background-color: var(--color-green);
|
|
8912
|
+
border-color: var(--color-green);
|
|
8913
|
+
color: var(--color-white);
|
|
8914
|
+
}
|
|
8904
8915
|
.ghost :is(a, button) > kol-span-wc,
|
|
8905
8916
|
.ghost :is(a, button):disabled:hover > kol-span-wc {
|
|
8906
8917
|
border-color: var(--color-white);
|
|
@@ -8916,6 +8927,8 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
8916
8927
|
.normal :is(a, button):hover > kol-span-wc,
|
|
8917
8928
|
.danger :is(a, button):active > kol-span-wc,
|
|
8918
8929
|
.danger :is(a, button):hover > kol-span-wc,
|
|
8930
|
+
.success :is(a, button):active > kol-span-wc,
|
|
8931
|
+
.success :is(a, button):hover > kol-span-wc,
|
|
8919
8932
|
.ghost :is(a, button):active > kol-span-wc,
|
|
8920
8933
|
.ghost :is(a, button):hover > kol-span-wc {
|
|
8921
8934
|
background-color: var(--color-ocean);
|
|
@@ -8936,6 +8949,7 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
8936
8949
|
.secondary :is(a, button):active > kol-span-wc,
|
|
8937
8950
|
.normal :is(a, button):active > kol-span-wc,
|
|
8938
8951
|
.danger :is(a, button):active > kol-span-wc,
|
|
8952
|
+
.success :is(a, button):active > kol-span-wc,
|
|
8939
8953
|
.ghost :is(a, button):active > kol-span-wc {
|
|
8940
8954
|
border-color: var(--color-white);
|
|
8941
8955
|
box-shadow: none;
|
|
@@ -8961,6 +8975,14 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
8961
8975
|
:is(a, button).transparent > kol-span-wc {
|
|
8962
8976
|
background-color: transparent;
|
|
8963
8977
|
border-color: transparent;
|
|
8978
|
+
}
|
|
8979
|
+
/** CUSTOM_CLASS */
|
|
8980
|
+
:is(a, button).icon-only > kol-span-wc {
|
|
8981
|
+
padding: 8px;
|
|
8982
|
+
width: unset;
|
|
8983
|
+
}
|
|
8984
|
+
:is(a, button).icon-only > kol-span-wc > span > span {
|
|
8985
|
+
display: block;
|
|
8964
8986
|
}`,
|
|
8965
8987
|
"KOL-INPUT-TEXT": `kol-input {
|
|
8966
8988
|
gap: 0.25em;
|
|
@@ -10538,11 +10560,11 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10538
10560
|
width: 100%;
|
|
10539
10561
|
min-height: 44px;
|
|
10540
10562
|
}
|
|
10541
|
-
:host kol-input.default {
|
|
10563
|
+
:host kol-input.default:not(.hide-label) {
|
|
10542
10564
|
grid-template-columns: 1.5rem auto;
|
|
10543
10565
|
gap: 0.4em;
|
|
10544
10566
|
}
|
|
10545
|
-
:host kol-input.switch {
|
|
10567
|
+
:host kol-input.switch:not(.hide-label) {
|
|
10546
10568
|
grid-template-columns: 3.5rem auto;
|
|
10547
10569
|
gap: 0.4em;
|
|
10548
10570
|
}
|
|
@@ -10591,6 +10613,17 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10591
10613
|
line-height: 24px;
|
|
10592
10614
|
font-size: 1rem;
|
|
10593
10615
|
}
|
|
10616
|
+
:host kol-input.default .checkbox-container {
|
|
10617
|
+
justify-content: flex-start;
|
|
10618
|
+
}
|
|
10619
|
+
:host kol-input.default input[type='checkbox']:indeterminate {
|
|
10620
|
+
background-color: var(--color-midnight);
|
|
10621
|
+
border-color: var(--color-midnight);
|
|
10622
|
+
}
|
|
10623
|
+
:host kol-input.default .icon {
|
|
10624
|
+
color: var(--color-white);
|
|
10625
|
+
margin: -0.125rem 0 0 0.25rem; /* visually align */
|
|
10626
|
+
}
|
|
10594
10627
|
:host input:hover {
|
|
10595
10628
|
border-color: var(--color-midnight);
|
|
10596
10629
|
box-shadow: 0px 2px 8px 2px rgba(8, 35, 48, 0.24);
|
|
@@ -10630,42 +10663,17 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10630
10663
|
min-width: calc(6 * var(--spacing));
|
|
10631
10664
|
width: calc(6 * var(--spacing));
|
|
10632
10665
|
}
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
left: calc(1.5 * var(--spacing) - 2px);
|
|
10645
|
-
top: calc(2.85 * var(--spacing) - 2px);
|
|
10646
|
-
transform: rotate(40deg) translate(-50%, -50%);
|
|
10647
|
-
background-color: transparent;
|
|
10648
|
-
border-width: 0px 3px 3px 0px;
|
|
10649
|
-
border-color: white;
|
|
10650
|
-
border-radius: 1px;
|
|
10651
|
-
border-style: solid;
|
|
10652
|
-
height: calc(3 * var(--spacing));
|
|
10653
|
-
width: calc(1.5 * var(--spacing));
|
|
10654
|
-
}
|
|
10655
|
-
:host kol-input.default input[type="checkbox"]:indeterminate {
|
|
10656
|
-
--tw-bg-opacity: 1;
|
|
10657
|
-
background-color: var(--color-midnight);
|
|
10658
|
-
}
|
|
10659
|
-
:host kol-input.default input[type="checkbox"]:indeterminate:before {
|
|
10660
|
-
background-color: var(--color-white);
|
|
10661
|
-
height: 0.125rem;
|
|
10662
|
-
top: 0.6rem;
|
|
10663
|
-
left: 0.25rem;
|
|
10664
|
-
width: calc(3 * var(--spacing));
|
|
10665
|
-
transform: inherit;
|
|
10666
|
-
}
|
|
10667
|
-
:host kol-input.default input[type="checkbox"]:checked:indeterminate:before {
|
|
10668
|
-
border-width: 0px 1px 1px 0px;
|
|
10666
|
+
.default {
|
|
10667
|
+
.icon::part(icon) {
|
|
10668
|
+
font-family: 'Font Awesome 6 Free';
|
|
10669
|
+
font-weight: 900;
|
|
10670
|
+
}
|
|
10671
|
+
&.checked .icon::part(icon)::before {
|
|
10672
|
+
content: '\\f00c';
|
|
10673
|
+
}
|
|
10674
|
+
&.indeterminate .icon::part(icon)::before {
|
|
10675
|
+
content: '\\f068';
|
|
10676
|
+
}
|
|
10669
10677
|
}
|
|
10670
10678
|
:host kol-input.switch input[type="checkbox"] {
|
|
10671
10679
|
min-width: 3.5em;
|
|
@@ -10674,7 +10682,6 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10674
10682
|
border-width: 0;
|
|
10675
10683
|
height: 1.5em;
|
|
10676
10684
|
border-radius: 1.25em;
|
|
10677
|
-
display: inline-block;
|
|
10678
10685
|
position: relative;
|
|
10679
10686
|
}
|
|
10680
10687
|
:host kol-input.switch input[type="checkbox"]:before {
|
|
@@ -10710,6 +10717,9 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10710
10717
|
transform: translateX(1em);
|
|
10711
10718
|
}
|
|
10712
10719
|
.switch {
|
|
10720
|
+
& .checkbox-input-element {
|
|
10721
|
+
display: block;
|
|
10722
|
+
}
|
|
10713
10723
|
& .icon {
|
|
10714
10724
|
width: 1.25em;
|
|
10715
10725
|
height: 1.25em;
|
|
@@ -10723,13 +10733,13 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10723
10733
|
content: "\\2b";
|
|
10724
10734
|
}
|
|
10725
10735
|
}
|
|
10726
|
-
|
|
10736
|
+
&.checked .icon {
|
|
10727
10737
|
transform: translate(2em, -50%);
|
|
10728
10738
|
&::part(icon)::before {
|
|
10729
10739
|
content: "\\f00c";
|
|
10730
10740
|
}
|
|
10731
10741
|
}
|
|
10732
|
-
|
|
10742
|
+
&.indeterminate .icon {
|
|
10733
10743
|
transform: translate(1em, -50%);
|
|
10734
10744
|
&::part(icon)::before {
|
|
10735
10745
|
content: "\\f068";
|
|
@@ -10764,11 +10774,22 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10764
10774
|
min-width: 32px;
|
|
10765
10775
|
place-content: center;
|
|
10766
10776
|
}
|
|
10777
|
+
:host kol-input.button.hide-label > .input {
|
|
10778
|
+
border-top-right-radius: var(--border-radius);
|
|
10779
|
+
border-bottom-right-radius: var(--border-radius);
|
|
10780
|
+
}
|
|
10767
10781
|
:host kol-input.button > .input > div {
|
|
10768
10782
|
display: flex;
|
|
10769
10783
|
}
|
|
10770
10784
|
:host kol-input.button .icon {
|
|
10771
10785
|
height: auto;
|
|
10786
|
+
}
|
|
10787
|
+
.button:focus-within {
|
|
10788
|
+
border-radius: var(--a11y-min-size);
|
|
10789
|
+
outline-color: var(--color-ocean);
|
|
10790
|
+
outline-offset: 2px;
|
|
10791
|
+
outline-style: solid;
|
|
10792
|
+
outline-width: 3px;
|
|
10772
10793
|
}`,
|
|
10773
10794
|
"KOL-INPUT-RADIO": `/* INPUT */
|
|
10774
10795
|
kol-input {
|
|
@@ -10858,7 +10879,7 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10858
10879
|
border-color: var(--border-default);
|
|
10859
10880
|
background-color: var(--background-light-grey);
|
|
10860
10881
|
}
|
|
10861
|
-
|
|
10882
|
+
kol-alert.error {
|
|
10862
10883
|
order: 1;
|
|
10863
10884
|
}
|
|
10864
10885
|
fieldset legend {
|
|
@@ -10872,7 +10893,7 @@ const BMF = KoliBri.createTheme("bmf", {
|
|
|
10872
10893
|
padding-left: 1em;
|
|
10873
10894
|
border-left: 3px solid var(--color-red);
|
|
10874
10895
|
}
|
|
10875
|
-
|
|
10896
|
+
kol-alert.error {
|
|
10876
10897
|
color: var(--color-red);
|
|
10877
10898
|
font-weight: 700;
|
|
10878
10899
|
}
|
|
@@ -18505,6 +18526,7 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
18505
18526
|
--color-mute-variant: var(--kolibri-color-mute-variant, #bec5c9);
|
|
18506
18527
|
}
|
|
18507
18528
|
:host {
|
|
18529
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
18508
18530
|
font-family: var(--font-family);
|
|
18509
18531
|
font-size: var(--font-size);
|
|
18510
18532
|
}
|
|
@@ -20128,6 +20150,9 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
20128
20150
|
:host kol-input.button {
|
|
20129
20151
|
gap: 0.4rem 0;
|
|
20130
20152
|
}
|
|
20153
|
+
.checkbox-container {
|
|
20154
|
+
justify-content: flex-start;
|
|
20155
|
+
}
|
|
20131
20156
|
:host kol-input > div.input {
|
|
20132
20157
|
display: inherit;
|
|
20133
20158
|
min-height: var(--a11y-min-size);
|
|
@@ -20196,13 +20221,6 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
20196
20221
|
cursor: pointer;
|
|
20197
20222
|
transition: 0.5s;
|
|
20198
20223
|
}
|
|
20199
|
-
:host kol-input input[type='checkbox'].kol-disabled:before {
|
|
20200
|
-
cursor: not-allowed;
|
|
20201
|
-
}
|
|
20202
|
-
:host kol-input input[type='checkbox']:before {
|
|
20203
|
-
content: '';
|
|
20204
|
-
cursor: pointer;
|
|
20205
|
-
}
|
|
20206
20224
|
:host kol-input input[type='checkbox']:checked {
|
|
20207
20225
|
background-color: var(--color-primary);
|
|
20208
20226
|
border-color: var(--color-primary);
|
|
@@ -20213,51 +20231,22 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
20213
20231
|
min-width: calc(6 * 0.25rem);
|
|
20214
20232
|
width: calc(6 * 0.25rem);
|
|
20215
20233
|
}
|
|
20216
|
-
:host kol-input.default input[type='checkbox']:before {
|
|
20217
|
-
border-radius: 1.5em;
|
|
20218
|
-
background-color: transparent;
|
|
20219
|
-
display: block;
|
|
20220
|
-
height: calc(6 * 0.25rem);
|
|
20221
|
-
position: relative;
|
|
20222
|
-
width: calc(6 * 0.25rem);
|
|
20223
|
-
}
|
|
20224
|
-
:host kol-input.default input[type='checkbox']:checked:before {
|
|
20225
|
-
border-right-width: 3px;
|
|
20226
|
-
border-bottom-width: 3px;
|
|
20227
|
-
left: calc(1.5 * 0.25rem - 2px);
|
|
20228
|
-
top: calc(2.85 * 0.25rem - 2px);
|
|
20229
|
-
transform: rotate(40deg) translate(-50%, -50%);
|
|
20230
|
-
background-color: transparent;
|
|
20231
|
-
border-width: 0px 3px 3px 0px;
|
|
20232
|
-
border-color: white;
|
|
20233
|
-
border-radius: 1px;
|
|
20234
|
-
border-style: solid;
|
|
20235
|
-
height: calc(3 * 0.25rem);
|
|
20236
|
-
width: calc(1.5 * 0.25rem);
|
|
20237
|
-
}
|
|
20238
20234
|
:host kol-input.default input[type='checkbox']:indeterminate {
|
|
20239
20235
|
background-color: var(--color-primary);
|
|
20240
20236
|
}
|
|
20241
|
-
:host kol-input.default
|
|
20242
|
-
|
|
20243
|
-
|
|
20244
|
-
top: 0.6rem;
|
|
20245
|
-
left: 0.25rem;
|
|
20246
|
-
width: calc(3 * 0.25rem);
|
|
20247
|
-
transform: inherit;
|
|
20248
|
-
}
|
|
20249
|
-
:host kol-input.default input[type='checkbox']:checked:indeterminate:before {
|
|
20250
|
-
border-width: 0px 1px 1px 0px;
|
|
20237
|
+
:host kol-input.default .icon {
|
|
20238
|
+
color: var(--color-light);
|
|
20239
|
+
margin-left: 0.25rem;
|
|
20251
20240
|
}
|
|
20252
20241
|
:host kol-input.switch input[type='checkbox'] {
|
|
20253
|
-
min-width: 3.5em;
|
|
20254
|
-
width: 3.5em;
|
|
20255
20242
|
background-color: var(--color-subtle);
|
|
20243
|
+
border-radius: 1.25em;
|
|
20256
20244
|
border-width: 0;
|
|
20245
|
+
display: block;
|
|
20257
20246
|
height: 1.5em;
|
|
20258
|
-
|
|
20259
|
-
display: inline-block;
|
|
20247
|
+
min-width: 3.5em;
|
|
20260
20248
|
position: relative;
|
|
20249
|
+
width: 3.5em;
|
|
20261
20250
|
}
|
|
20262
20251
|
:host kol-input.switch input[type='checkbox']:before {
|
|
20263
20252
|
width: 1.25em;
|
|
@@ -20284,17 +20273,24 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
20284
20273
|
left: 2px;
|
|
20285
20274
|
}
|
|
20286
20275
|
|
|
20287
|
-
|
|
20276
|
+
&.checked .icon {
|
|
20288
20277
|
transform: translate(2em, -50%);
|
|
20289
20278
|
}
|
|
20290
20279
|
|
|
20291
|
-
|
|
20280
|
+
&.indeterminate .icon {
|
|
20292
20281
|
transform: translate(1em, -50%);
|
|
20293
20282
|
}
|
|
20294
20283
|
}
|
|
20295
20284
|
:host .disabled {
|
|
20296
20285
|
opacity: 0.33;
|
|
20297
20286
|
}
|
|
20287
|
+
.button:focus-within {
|
|
20288
|
+
border-radius: var(--border-radius);
|
|
20289
|
+
outline-color: var(--color-primary-variant);
|
|
20290
|
+
outline-offset: 2px;
|
|
20291
|
+
outline-style: solid;
|
|
20292
|
+
outline-width: calc(var(--border-width) * 2);
|
|
20293
|
+
}
|
|
20298
20294
|
`,
|
|
20299
20295
|
"KOL-INPUT-RADIO": css$1`
|
|
20300
20296
|
label {
|
|
@@ -20378,7 +20374,7 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
20378
20374
|
cursor: not-allowed;
|
|
20379
20375
|
background-color: var(--color-mute-variant);
|
|
20380
20376
|
}
|
|
20381
|
-
|
|
20377
|
+
kol-alert.error {
|
|
20382
20378
|
order: 1;
|
|
20383
20379
|
}
|
|
20384
20380
|
fieldset legend {
|
|
@@ -20392,7 +20388,7 @@ const DEFAULT = KoliBri.createTheme("default", {
|
|
|
20392
20388
|
padding-left: 1rem;
|
|
20393
20389
|
border-left: 3px solid var(--color-danger);
|
|
20394
20390
|
}
|
|
20395
|
-
|
|
20391
|
+
kol-alert.error {
|
|
20396
20392
|
color: var(--color-danger);
|
|
20397
20393
|
font-weight: 700;
|
|
20398
20394
|
}
|
|
@@ -20966,6 +20962,7 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
|
|
|
20966
20962
|
--spacing-2xs: 4px; /* ?! */
|
|
20967
20963
|
}
|
|
20968
20964
|
:host {
|
|
20965
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
20969
20966
|
display: inline-block;
|
|
20970
20967
|
font-family: var(--font-family);
|
|
20971
20968
|
}
|
|
@@ -21459,7 +21456,11 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
|
|
|
21459
21456
|
background-color: var(--color-blue);
|
|
21460
21457
|
border-color: var(--color-blue);
|
|
21461
21458
|
}`,
|
|
21462
|
-
"KOL-INPUT-CHECKBOX": `
|
|
21459
|
+
"KOL-INPUT-CHECKBOX": `
|
|
21460
|
+
.checkbox-container {
|
|
21461
|
+
justify-content: flex-start;
|
|
21462
|
+
}
|
|
21463
|
+
input[type="checkbox"] {
|
|
21463
21464
|
background-color: var(--color-white);
|
|
21464
21465
|
border-width: 2px;
|
|
21465
21466
|
border-style: solid;
|
|
@@ -21487,12 +21488,6 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
|
|
|
21487
21488
|
background-color: var(--color-blue-130);
|
|
21488
21489
|
border-color: var(--color-blue-130);
|
|
21489
21490
|
}
|
|
21490
|
-
input[type="checkbox"]:checked::before {
|
|
21491
|
-
border-color: var(--color-white);
|
|
21492
|
-
}
|
|
21493
|
-
input[type="checkbox"]:indeterminate:hover::before {
|
|
21494
|
-
background-color: var(--color-blue-130);
|
|
21495
|
-
}
|
|
21496
21491
|
.error input[type="checkbox"] {
|
|
21497
21492
|
border-color: var(--color-red);
|
|
21498
21493
|
}
|
|
@@ -21507,12 +21502,18 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
|
|
|
21507
21502
|
background-color: var(--color-red-1xx);
|
|
21508
21503
|
border-color: var(--color-red-1xx);
|
|
21509
21504
|
}
|
|
21510
|
-
.error input[type="checkbox"]:indeterminate:hover::before {
|
|
21511
|
-
background-color: var(--color-red-1xx);
|
|
21512
|
-
}
|
|
21513
21505
|
.error.required label > span::after {
|
|
21514
21506
|
color: var(--color-red);
|
|
21515
21507
|
}
|
|
21508
|
+
.default .icon {
|
|
21509
|
+
margin-left: 0.2rem;
|
|
21510
|
+
}
|
|
21511
|
+
.default.checked .icon {
|
|
21512
|
+
color: var(--color-white);
|
|
21513
|
+
}
|
|
21514
|
+
.switch input[type='checkbox'] {
|
|
21515
|
+
display: block;
|
|
21516
|
+
}
|
|
21516
21517
|
.switch input[type="checkbox"]::before,
|
|
21517
21518
|
.switch input[type="checkbox"]:indeterminate::before {
|
|
21518
21519
|
background-color: var(--color-grey-75);
|
|
@@ -21559,6 +21560,12 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
|
|
|
21559
21560
|
.hint {
|
|
21560
21561
|
font-size: 0.875rem;
|
|
21561
21562
|
order: 4;
|
|
21563
|
+
}
|
|
21564
|
+
.button:focus-within {
|
|
21565
|
+
outline-color: var(--color-blue);
|
|
21566
|
+
outline-offset: 2px;
|
|
21567
|
+
outline-style: solid;
|
|
21568
|
+
outline-width: 2px;
|
|
21562
21569
|
}`,
|
|
21563
21570
|
"KOL-INPUT-COLOR": `kol-input {
|
|
21564
21571
|
color: var(--color-grey);
|
|
@@ -22498,6 +22505,7 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
|
|
|
22498
22505
|
--spacing-2xs: 4px; /* ?! */
|
|
22499
22506
|
}
|
|
22500
22507
|
:host {
|
|
22508
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
22501
22509
|
display: inline-block;
|
|
22502
22510
|
font-family: var(--font-family);
|
|
22503
22511
|
}
|
|
@@ -23061,7 +23069,10 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
|
|
|
23061
23069
|
:host > div > div.content + div.footer {
|
|
23062
23070
|
border-top: 2px solid var(--color-blue);
|
|
23063
23071
|
}`,
|
|
23064
|
-
"KOL-INPUT-CHECKBOX":
|
|
23072
|
+
"KOL-INPUT-CHECKBOX": `.checkbox-container {
|
|
23073
|
+
justify-content: flex-start;
|
|
23074
|
+
}
|
|
23075
|
+
input[type="checkbox"] {
|
|
23065
23076
|
background-color: var(--color-white);
|
|
23066
23077
|
border-width: 2px;
|
|
23067
23078
|
border-style: solid;
|
|
@@ -23089,12 +23100,6 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
|
|
|
23089
23100
|
background-color: var(--color-blue-130);
|
|
23090
23101
|
border-color: var(--color-blue-130);
|
|
23091
23102
|
}
|
|
23092
|
-
input[type="checkbox"]:checked::before {
|
|
23093
|
-
border-color: var(--color-white);
|
|
23094
|
-
}
|
|
23095
|
-
input[type="checkbox"]:indeterminate:hover::before {
|
|
23096
|
-
background-color: var(--color-blue-130);
|
|
23097
|
-
}
|
|
23098
23103
|
.error input[type="checkbox"] {
|
|
23099
23104
|
border-color: var(--color-red);
|
|
23100
23105
|
}
|
|
@@ -23109,12 +23114,18 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
|
|
|
23109
23114
|
background-color: var(--color-red-1xx);
|
|
23110
23115
|
border-color: var(--color-red-1xx);
|
|
23111
23116
|
}
|
|
23112
|
-
.error input[type="checkbox"]:indeterminate:hover::before {
|
|
23113
|
-
background-color: var(--color-red-1xx);
|
|
23114
|
-
}
|
|
23115
23117
|
.error.required label > span::after {
|
|
23116
23118
|
color: var(--color-red);
|
|
23117
23119
|
}
|
|
23120
|
+
.default .icon {
|
|
23121
|
+
margin-left: 0.2rem;
|
|
23122
|
+
}
|
|
23123
|
+
.default.checked .icon {
|
|
23124
|
+
color: var(--color-white);
|
|
23125
|
+
}
|
|
23126
|
+
.switch input[type='checkbox'] {
|
|
23127
|
+
display: block;
|
|
23128
|
+
}
|
|
23118
23129
|
.switch input[type="checkbox"]::before,
|
|
23119
23130
|
.switch input[type="checkbox"]:indeterminate::before {
|
|
23120
23131
|
background-color: var(--color-grey-75);
|
|
@@ -23213,6 +23224,11 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
|
|
|
23213
23224
|
}
|
|
23214
23225
|
.error .input {
|
|
23215
23226
|
border-color: var(--color-red);
|
|
23227
|
+
}
|
|
23228
|
+
.button:focus-within {
|
|
23229
|
+
outline-color: var(--color-blue-130);
|
|
23230
|
+
outline-style: solid;
|
|
23231
|
+
outline-width: 2px;
|
|
23216
23232
|
}`,
|
|
23217
23233
|
"KOL-INPUT-FILE": `kol-input {
|
|
23218
23234
|
color: var(--color-grey);
|
|
@@ -23926,6 +23942,7 @@ const ITZBund = KoliBri.createTheme("itzbund", {
|
|
|
23926
23942
|
--kolibri-spacing: calc(2 * var(--spacing));
|
|
23927
23943
|
}
|
|
23928
23944
|
:host {
|
|
23945
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
23929
23946
|
font-family: var(--font-family); /* font-size: var(--font-size); */
|
|
23930
23947
|
}
|
|
23931
23948
|
* {
|
|
@@ -25190,7 +25207,11 @@ const ITZBund = KoliBri.createTheme("itzbund", {
|
|
|
25190
25207
|
border-top-color: var(--color-achat);
|
|
25191
25208
|
border-top-width: 1px;
|
|
25192
25209
|
}`,
|
|
25193
|
-
"KOL-INPUT-CHECKBOX":
|
|
25210
|
+
"KOL-INPUT-CHECKBOX": `
|
|
25211
|
+
.checkbox-container {
|
|
25212
|
+
justify-content: flex-start;
|
|
25213
|
+
}
|
|
25214
|
+
/* ALL INPUT, SELECT, TEXTAREA */
|
|
25194
25215
|
label {
|
|
25195
25216
|
cursor: pointer;
|
|
25196
25217
|
}
|
|
@@ -25250,13 +25271,6 @@ const ITZBund = KoliBri.createTheme("itzbund", {
|
|
|
25250
25271
|
cursor: pointer;
|
|
25251
25272
|
transition: 0.5s;
|
|
25252
25273
|
}
|
|
25253
|
-
input[type="checkbox"].kol-disabled:before {
|
|
25254
|
-
cursor: not-allowed;
|
|
25255
|
-
}
|
|
25256
|
-
input[type="checkbox"]:before {
|
|
25257
|
-
content: "";
|
|
25258
|
-
cursor: pointer;
|
|
25259
|
-
}
|
|
25260
25274
|
input[type="checkbox"]:checked {
|
|
25261
25275
|
background-color: var(--color-petrol);
|
|
25262
25276
|
border-color: var(--color-petrol);
|
|
@@ -25267,41 +25281,17 @@ const ITZBund = KoliBri.createTheme("itzbund", {
|
|
|
25267
25281
|
min-width: calc(6 * 2 * var(--spacing));
|
|
25268
25282
|
width: calc(6 * 2 * var(--spacing));
|
|
25269
25283
|
}
|
|
25270
|
-
.default
|
|
25271
|
-
|
|
25272
|
-
background-color: transparent;
|
|
25273
|
-
display: block;
|
|
25274
|
-
height: calc(6 * 2 * var(--spacing));
|
|
25275
|
-
position: relative;
|
|
25276
|
-
width: calc(6 * 2 * var(--spacing));
|
|
25277
|
-
}
|
|
25278
|
-
.default input[type="checkbox"]:checked:before {
|
|
25279
|
-
border-right-width: 3px;
|
|
25280
|
-
border-bottom-width: 3px;
|
|
25281
|
-
left: calc(1.5 * 2 * var(--spacing) - 2px);
|
|
25282
|
-
top: calc(2.85 * 2 * var(--spacing) - 2px);
|
|
25283
|
-
transform: rotate(40deg) translate(-50%, -50%);
|
|
25284
|
-
background-color: transparent;
|
|
25285
|
-
border-width: 0px 3px 3px 0px;
|
|
25286
|
-
border-color: white;
|
|
25287
|
-
border-radius: 1px;
|
|
25288
|
-
border-style: solid;
|
|
25289
|
-
height: calc(3 * 2 * var(--spacing));
|
|
25290
|
-
width: calc(1.5 * 2 * var(--spacing));
|
|
25284
|
+
.default .icon {
|
|
25285
|
+
margin-left: 0.25rem;
|
|
25291
25286
|
}
|
|
25292
|
-
.default
|
|
25293
|
-
|
|
25294
|
-
height: 0.375rem;
|
|
25295
|
-
top: 0.45rem;
|
|
25296
|
-
left: 0.15rem;
|
|
25297
|
-
width: calc(4 * 2 * var(--spacing));
|
|
25287
|
+
.default.checked .icon {
|
|
25288
|
+
color: var(--color-weiss);
|
|
25298
25289
|
}
|
|
25299
25290
|
.switch input[type="checkbox"] {
|
|
25300
|
-
|
|
25291
|
+
display: block;
|
|
25301
25292
|
min-width: 3.2em;
|
|
25302
25293
|
width: 3.2em;
|
|
25303
25294
|
height: 1.7em;
|
|
25304
|
-
display: inline-block;
|
|
25305
25295
|
position: relative;
|
|
25306
25296
|
}
|
|
25307
25297
|
.switch input[type="checkbox"]:before {
|
|
@@ -25331,15 +25321,12 @@ const ITZBund = KoliBri.createTheme("itzbund", {
|
|
|
25331
25321
|
transform: translateX(0.75em);
|
|
25332
25322
|
background-color: var(--color-petrol);
|
|
25333
25323
|
}
|
|
25334
|
-
.switch:
|
|
25324
|
+
.switch:is(:not(.checked), .indeterminate) .icon {
|
|
25335
25325
|
color: #fff;
|
|
25336
25326
|
}
|
|
25337
25327
|
.disabled {
|
|
25338
25328
|
opacity: 0.33;
|
|
25339
25329
|
}
|
|
25340
|
-
.default kol-icon {
|
|
25341
|
-
display: none;
|
|
25342
|
-
}
|
|
25343
25330
|
kol-input span.hint {
|
|
25344
25331
|
grid-column: span 2;
|
|
25345
25332
|
font-style: italic;
|
|
@@ -25347,6 +25334,13 @@ const ITZBund = KoliBri.createTheme("itzbund", {
|
|
|
25347
25334
|
display: block;
|
|
25348
25335
|
order: 3;
|
|
25349
25336
|
padding: 0 var(--spacing);
|
|
25337
|
+
}
|
|
25338
|
+
.button:focus-within {
|
|
25339
|
+
border-radius: 2rem;
|
|
25340
|
+
outline-color: var(--color-achat) !important;
|
|
25341
|
+
outline-offset: 2px;
|
|
25342
|
+
outline-style: solid;
|
|
25343
|
+
outline-width: 3px;
|
|
25350
25344
|
}`,
|
|
25351
25345
|
"KOL-INPUT-RADIO": `/* INPUT */
|
|
25352
25346
|
:host input:focus {
|
|
@@ -25662,6 +25656,7 @@ const MFM = KoliBri.createTheme("mfm", {
|
|
|
25662
25656
|
--spacing: 0.25em;
|
|
25663
25657
|
}
|
|
25664
25658
|
:host {
|
|
25659
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
25665
25660
|
font-family: var(--font-family); /* font-size: var(--font-size); */
|
|
25666
25661
|
}
|
|
25667
25662
|
* {
|
|
@@ -27479,6 +27474,13 @@ const MFM = KoliBri.createTheme("mfm", {
|
|
|
27479
27474
|
}
|
|
27480
27475
|
:host .disabled {
|
|
27481
27476
|
opacity: 0.33;
|
|
27477
|
+
}
|
|
27478
|
+
.button:focus-within {
|
|
27479
|
+
border-radius: 0.25rem;
|
|
27480
|
+
outline-color: var(--color-ocean);
|
|
27481
|
+
outline-offset: 2px;
|
|
27482
|
+
outline-style: solid;
|
|
27483
|
+
outline-width: 3px;
|
|
27482
27484
|
}`,
|
|
27483
27485
|
"KOL-INPUT-RADIO": `/* INPUT */
|
|
27484
27486
|
kol-input {
|
|
@@ -27567,7 +27569,7 @@ const MFM = KoliBri.createTheme("mfm", {
|
|
|
27567
27569
|
border-color: var(--border-default);
|
|
27568
27570
|
background-color: var(--background-light-grey);
|
|
27569
27571
|
}
|
|
27570
|
-
|
|
27572
|
+
kol-alert.error {
|
|
27571
27573
|
order: 1;
|
|
27572
27574
|
}
|
|
27573
27575
|
fieldset legend {
|
|
@@ -27581,7 +27583,7 @@ const MFM = KoliBri.createTheme("mfm", {
|
|
|
27581
27583
|
padding-left: 1em;
|
|
27582
27584
|
border-left: 3px solid var(--color-red);
|
|
27583
27585
|
}
|
|
27584
|
-
|
|
27586
|
+
kol-alert.error {
|
|
27585
27587
|
color: var(--color-red);
|
|
27586
27588
|
font-weight: 700;
|
|
27587
27589
|
}
|
|
@@ -35237,6 +35239,7 @@ const MAPZ = KoliBri.createTheme("mapz", {
|
|
|
35237
35239
|
--font-size: 16px;
|
|
35238
35240
|
}
|
|
35239
35241
|
:host {
|
|
35242
|
+
background-color: transparent; /* Reset global background-color defined by components */1
|
|
35240
35243
|
font-family: var(--font-family); /* font-size: var(--font-size); */
|
|
35241
35244
|
}
|
|
35242
35245
|
* {
|
|
@@ -36070,6 +36073,9 @@ const MAPZ = KoliBri.createTheme("mapz", {
|
|
|
36070
36073
|
content: "*";
|
|
36071
36074
|
padding-left: 0.125em;
|
|
36072
36075
|
}
|
|
36076
|
+
.checkbox-container {
|
|
36077
|
+
justify-content: flex-start;
|
|
36078
|
+
}
|
|
36073
36079
|
input:hover {
|
|
36074
36080
|
border-color: var(--kolibri-color-primary);
|
|
36075
36081
|
} /* NEU */
|
|
@@ -36110,13 +36116,6 @@ const MAPZ = KoliBri.createTheme("mapz", {
|
|
|
36110
36116
|
cursor: pointer;
|
|
36111
36117
|
transition: 0.5s;
|
|
36112
36118
|
}
|
|
36113
|
-
input[type="checkbox"].kol-disabled:before {
|
|
36114
|
-
cursor: not-allowed;
|
|
36115
|
-
}
|
|
36116
|
-
input[type="checkbox"]:before {
|
|
36117
|
-
content: "";
|
|
36118
|
-
cursor: pointer;
|
|
36119
|
-
}
|
|
36120
36119
|
input[type="checkbox"]:checked {
|
|
36121
36120
|
background-color: var(--kolibri-color-primary);
|
|
36122
36121
|
border-color: var(--kolibri-color-primary);
|
|
@@ -36127,41 +36126,21 @@ const MAPZ = KoliBri.createTheme("mapz", {
|
|
|
36127
36126
|
min-width: calc(6 * var(--kolibri-spacing));
|
|
36128
36127
|
width: calc(6 * var(--kolibri-spacing));
|
|
36129
36128
|
}
|
|
36130
|
-
.default
|
|
36131
|
-
|
|
36132
|
-
background-color: transparent;
|
|
36133
|
-
display: block;
|
|
36134
|
-
height: calc(6 * var(--kolibri-spacing));
|
|
36135
|
-
position: relative;
|
|
36136
|
-
width: calc(6 * var(--kolibri-spacing));
|
|
36129
|
+
.default .icon {
|
|
36130
|
+
margin-left: 0.25rem;
|
|
36137
36131
|
}
|
|
36138
|
-
.default
|
|
36139
|
-
|
|
36140
|
-
border-bottom-width: 3px;
|
|
36141
|
-
left: calc(1.5 * var(--kolibri-spacing) - 2px);
|
|
36142
|
-
top: calc(2.85 * var(--kolibri-spacing) - 2px);
|
|
36143
|
-
transform: rotate(40deg) translate(-50%, -50%);
|
|
36144
|
-
background-color: transparent;
|
|
36145
|
-
border-width: 0px 3px 3px 0px;
|
|
36146
|
-
border-color: white;
|
|
36147
|
-
border-radius: 1px;
|
|
36148
|
-
border-style: solid;
|
|
36149
|
-
height: calc(3 * var(--kolibri-spacing));
|
|
36150
|
-
width: calc(1.5 * var(--kolibri-spacing));
|
|
36132
|
+
.default.checked .icon {
|
|
36133
|
+
color: #fff;
|
|
36151
36134
|
}
|
|
36152
|
-
.default
|
|
36153
|
-
|
|
36154
|
-
height: 0.375rem;
|
|
36155
|
-
top: 0.45rem;
|
|
36156
|
-
left: 0.15rem;
|
|
36157
|
-
width: calc(4 * var(--kolibri-spacing));
|
|
36135
|
+
.default.indeterminate .icon {
|
|
36136
|
+
color: var(--kolibri-color-normal);
|
|
36158
36137
|
}
|
|
36159
36138
|
.switch input[type="checkbox"] {
|
|
36139
|
+
display: block;
|
|
36160
36140
|
min-width: 3.2em;
|
|
36161
36141
|
width: 3.2em;
|
|
36162
36142
|
height: 1.7em;
|
|
36163
36143
|
border-radius: 0.25em;
|
|
36164
|
-
display: inline-block;
|
|
36165
36144
|
position: relative;
|
|
36166
36145
|
}
|
|
36167
36146
|
.switch input[type="checkbox"]:before {
|
|
@@ -36191,11 +36170,18 @@ const MAPZ = KoliBri.createTheme("mapz", {
|
|
|
36191
36170
|
transform: translateX(0.75em);
|
|
36192
36171
|
background-color: var(--kolibri-color-primary);
|
|
36193
36172
|
}
|
|
36194
|
-
.switch:
|
|
36173
|
+
.switch:is(.checked, .indeterminate) .icon {
|
|
36195
36174
|
color: #fff;
|
|
36196
36175
|
}
|
|
36197
36176
|
.disabled {
|
|
36198
36177
|
opacity: 0.33;
|
|
36178
|
+
}
|
|
36179
|
+
.button:focus-within {
|
|
36180
|
+
border-radius: var(--kolibri-border-radius);
|
|
36181
|
+
outline-color: var(--kolibri-color-outline);
|
|
36182
|
+
outline-offset: 2px;
|
|
36183
|
+
outline-style: solid;
|
|
36184
|
+
outline-width: 3px;
|
|
36199
36185
|
}`,
|
|
36200
36186
|
"KOL-INPUT-RADIO": `label {
|
|
36201
36187
|
cursor: pointer;
|
|
@@ -36264,7 +36250,7 @@ const MAPZ = KoliBri.createTheme("mapz", {
|
|
|
36264
36250
|
box-shadow: 0 0 0.1rem black;
|
|
36265
36251
|
background-color: var(--kolibri-color-primary);
|
|
36266
36252
|
}
|
|
36267
|
-
|
|
36253
|
+
kol-alert.error {
|
|
36268
36254
|
margin: 0.4em 0;
|
|
36269
36255
|
order: 3;
|
|
36270
36256
|
}
|
|
@@ -52801,6 +52787,7 @@ const css = (input) => input.join(``);
|
|
|
52801
52787
|
const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
52802
52788
|
GLOBAL: css`
|
|
52803
52789
|
:host {
|
|
52790
|
+
background-color: transparent; /* Reset global background-color defined by components */
|
|
52804
52791
|
--border-color: var(--color-neutral);
|
|
52805
52792
|
--border-radius: 0.25rem;
|
|
52806
52793
|
--box-shadow: rgba(0, 0, 0, 0.12) 0 12px 12px -4px, rgba(0, 0, 0, 0.04) 0 4px 4px -4px;
|
|
@@ -53617,12 +53604,16 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53617
53604
|
:host {
|
|
53618
53605
|
--spacing: 0.25rem;
|
|
53619
53606
|
}
|
|
53607
|
+
|
|
53608
|
+
.checkbox-container {
|
|
53609
|
+
justify-content: flex-start;
|
|
53610
|
+
}
|
|
53620
53611
|
input {
|
|
53621
53612
|
border-color: var(--color-neutral-dark);
|
|
53622
53613
|
border-width: 2px;
|
|
53623
53614
|
border-style: solid;
|
|
53624
53615
|
}
|
|
53625
|
-
label {
|
|
53616
|
+
.input-label {
|
|
53626
53617
|
padding-left: 0.75rem;
|
|
53627
53618
|
}
|
|
53628
53619
|
kol-input:not(.disabled):hover label,
|
|
@@ -53635,10 +53626,6 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53635
53626
|
:host kol-input:not(.disabled) :is(.input, label) {
|
|
53636
53627
|
cursor: pointer;
|
|
53637
53628
|
}
|
|
53638
|
-
:host kol-input.disabled :is(.input, label),
|
|
53639
|
-
:host kol-input.disabled input[type='checkbox']::before {
|
|
53640
|
-
cursor: not-allowed;
|
|
53641
|
-
}
|
|
53642
53629
|
.required label > span::after {
|
|
53643
53630
|
content: '*';
|
|
53644
53631
|
padding-left: 0.125em;
|
|
@@ -53682,9 +53669,6 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53682
53669
|
background-color: white;
|
|
53683
53670
|
transition: 0.5s;
|
|
53684
53671
|
}
|
|
53685
|
-
input[type='checkbox']:before {
|
|
53686
|
-
content: '';
|
|
53687
|
-
}
|
|
53688
53672
|
input[type='checkbox']:checked,
|
|
53689
53673
|
input[type='checkbox']:indeterminate {
|
|
53690
53674
|
background-color: var(--color-blau);
|
|
@@ -53696,44 +53680,19 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53696
53680
|
min-width: calc(6 * var(--spacing));
|
|
53697
53681
|
width: calc(6 * var(--spacing));
|
|
53698
53682
|
}
|
|
53699
|
-
.default input[type='checkbox']:before {
|
|
53700
|
-
border-radius: 0.25em;
|
|
53701
|
-
background-color: transparent;
|
|
53702
|
-
display: block;
|
|
53703
|
-
height: calc(6 * var(--spacing));
|
|
53704
|
-
position: relative;
|
|
53705
|
-
width: calc(6 * var(--spacing));
|
|
53706
|
-
}
|
|
53707
|
-
.default input[type='checkbox']:checked:before {
|
|
53708
|
-
border-right-width: 3px;
|
|
53709
|
-
border-bottom-width: 3px;
|
|
53710
|
-
left: calc(1.5 * var(--spacing) - 2px);
|
|
53711
|
-
top: calc(2.85 * var(--spacing) - 2px);
|
|
53712
|
-
transform: rotate(40deg) translate(-50%, -50%);
|
|
53713
|
-
background-color: transparent;
|
|
53714
|
-
border-width: 0px 3px 3px 0px;
|
|
53715
|
-
border-color: white;
|
|
53716
|
-
border-radius: 1px;
|
|
53717
|
-
border-style: solid;
|
|
53718
|
-
height: calc(3 * var(--spacing));
|
|
53719
|
-
width: calc(1.5 * var(--spacing));
|
|
53720
|
-
}
|
|
53721
53683
|
.default input[type='checkbox']:indeterminate {
|
|
53722
53684
|
background-color: var(--color-blau);
|
|
53723
53685
|
}
|
|
53724
|
-
.default
|
|
53725
|
-
|
|
53726
|
-
|
|
53727
|
-
top: 0.5rem;
|
|
53728
|
-
left: 0.25rem;
|
|
53729
|
-
width: 0.75rem;
|
|
53686
|
+
.default .icon {
|
|
53687
|
+
color: #fff;
|
|
53688
|
+
margin-left: 0.25rem;
|
|
53730
53689
|
}
|
|
53731
53690
|
.switch input[type='checkbox'] {
|
|
53691
|
+
display: block;
|
|
53732
53692
|
min-width: 3.2em;
|
|
53733
53693
|
width: 3.2em;
|
|
53734
53694
|
height: 1.7em;
|
|
53735
53695
|
border-radius: 0.25em;
|
|
53736
|
-
display: inline-block;
|
|
53737
53696
|
position: relative;
|
|
53738
53697
|
}
|
|
53739
53698
|
.switch input[type='checkbox']:before {
|
|
@@ -53766,12 +53725,19 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53766
53725
|
transform: translateX(0.75em);
|
|
53767
53726
|
background-color: white;
|
|
53768
53727
|
}
|
|
53769
|
-
.switch:
|
|
53728
|
+
.switch:not(.checked):not(.indeterminate) .icon {
|
|
53770
53729
|
color: #fff;
|
|
53771
53730
|
}
|
|
53772
53731
|
.disabled {
|
|
53773
53732
|
opacity: 0.33;
|
|
53774
53733
|
}
|
|
53734
|
+
.button:focus-within {
|
|
53735
|
+
border-radius: var(--border-radius);
|
|
53736
|
+
outline-color: var(--color-blau-dark);
|
|
53737
|
+
outline-offset: 0.125rem;
|
|
53738
|
+
outline-style: solid;
|
|
53739
|
+
outline-width: 0.125rem;
|
|
53740
|
+
}
|
|
53775
53741
|
`,
|
|
53776
53742
|
"KOL-INPUT-RADIO": css`
|
|
53777
53743
|
/* ALL INPUT, SELECT, TEXTAREA */
|
|
@@ -53787,12 +53753,13 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53787
53753
|
border-width: 2px;
|
|
53788
53754
|
border-style: solid;
|
|
53789
53755
|
}
|
|
53790
|
-
|
|
53791
|
-
kol-input
|
|
53756
|
+
|
|
53757
|
+
kol-input.disabled input,
|
|
53758
|
+
kol-input.disabled label {
|
|
53792
53759
|
cursor: not-allowed !important;
|
|
53793
53760
|
opacity: 0.5;
|
|
53794
53761
|
}
|
|
53795
|
-
kol-input:hover:
|
|
53762
|
+
kol-input:hover:not(.disabled) label,
|
|
53796
53763
|
kol-input:focus-within {
|
|
53797
53764
|
text-decoration: underline;
|
|
53798
53765
|
}
|
|
@@ -53847,7 +53814,7 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
|
|
|
53847
53814
|
box-shadow: 0 0 0.1rem black;
|
|
53848
53815
|
background-color: var(--color-blau);
|
|
53849
53816
|
}
|
|
53850
|
-
|
|
53817
|
+
kol-alert.error {
|
|
53851
53818
|
margin: 0.4em 0;
|
|
53852
53819
|
order: 3;
|
|
53853
53820
|
}
|