@public-ui/themes 1.6.2 → 1.7.0-rc.10

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 CHANGED
@@ -301,7 +301,7 @@ var loglevel = {exports: {}};
301
301
  }));
302
302
  } (loglevel));
303
303
 
304
- const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};var __defProp$1=Object.defineProperty,__defNormalProp$1=(e,t,o)=>t in e?__defProp$1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField$1=(e,t,o)=>(__defNormalProp$1(e,"symbol"!=typeof t?t+"":t,o),o);const _RobustStore=class e{constructor(e,t){__publicField$1(this,"store"),this.store=this.createStore(e,t);}static getInstance(t,o){let s=e.instances.get(t);return void 0===s&&(s=new e(o,t),e.instances.set(t,s)),s}createStore(e,t){return Object.defineProperty(e,t,{enumerable:!1,value:{},writable:!1}),e[t]}recursiveSetItem(t,o,s,r=e.options){let a="object"==typeof s&&null!==s?{}:s;if(Object.defineProperty(t,o,{enumerable:!0===r.enumerable,get:()=>a,set:!0===r.immutable?void 0:e=>a=e}),"object"==typeof s&&null!==s)for(const[e,a]of Object.entries(s))this.recursiveSetItem(t[o],e,a,r);}setItem(t,o,s=e.options){return this.recursiveSetItem(this.store,t,o,s),this}getItem(e){return Array.isArray(e)?e.map((e=>this.getItem(e))):this.store[e]}};__publicField$1(_RobustStore,"options",{enumerable:!1,immutable:!1}),__publicField$1(_RobustStore,"instances",new Map);const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const a=getCssStyle(s,"PROPERTIES"),n=getCssStyle(s,"GLOBAL"),l=getCssStyle(s,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(s)&&extractProperties(s,n);const i=[a,n,l];encroachStyles(r,i,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(s)&&CSS_STYLE_CACHE.set(s,new Map),CSS_STYLE_CACHE.get(s)?.set(e.tagName,i)),switchStyle(e,r,i,o);}},switchStyle=(e,t,o,s)=>{removeStyle(t),patchStyle(t,o),e.style.display=s;},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size});},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e);},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t);},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o);}};let observer;try{observer=new MutationObserver(observerCallback);}catch(e){observer=null;}var __defProp=Object.defineProperty,__defNormalProp=(e,t,o)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField=(e,t,o)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,o),o);class Theme{constructor(e,t,o){__publicField(this,"Prefix"),__publicField(this,"Key"),__publicField(this,"Tag"),__publicField(this,"createTheme",((e,t)=>createTheme(e,t))),__publicField(this,"createTranslation",((e,t)=>createTranslation(e,t))),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o);}}
304
+ const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const n=getCssStyle(s,"PROPERTIES"),a=getCssStyle(s,"GLOBAL"),l=getCssStyle(s,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(s)&&extractProperties(s,a);const i=[n,a,l];encroachStyles(r,i,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(s)&&CSS_STYLE_CACHE.set(s,new Map),CSS_STYLE_CACHE.get(s)?.set(e.tagName,i)),switchStyle(e,r,i,o);}},switchStyle=(e,t,o,s)=>{removeStyle(t),patchStyle(t,o),e.style.display=s;},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size});},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e);},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t);},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o);}};let observer;try{observer=new MutationObserver(observerCallback);}catch(e){observer=null;}class Theme{constructor(e,t,o){this.createTheme=(e,t)=>createTheme(e,t),this.createTranslation=(e,t)=>createTranslation(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o);}}
305
305
 
306
306
  var KeyEnum = /* @__PURE__ */ ((KeyEnum2) => {
307
307
  KeyEnum2[KeyEnum2["error"] = 0] = "error";
@@ -389,7 +389,7 @@ const KoliBri = new Theme("kol", KeyEnum, TagEnum);
389
389
  const BAMF = KoliBri.createTheme("bamf", {});
390
390
 
391
391
  const BZSt = KoliBri.createTheme("bzst", {
392
- GLOBAL: `/* colors */
392
+ GLOBAL: `/* NOTE: Alle ':root' CSS properties sollten in KoliBri zu ':host' kopiert werden und umgekehrt. Damit vereinheitlicht man alle Variablen auf beiden Seiten und kann diese dann individuell nutzen.*/ /* colors */
393
393
  :root,
394
394
  :host {
395
395
  /* token */
@@ -401,7 +401,6 @@ const BZSt = KoliBri.createTheme("bzst", {
401
401
  --color-green-dark: #23614e;
402
402
  --color-heroic-blue: #126dff;
403
403
  --color-mercury: #ebebeb;
404
- --color-ocean: #0077b6;
405
404
  --color-red-epiphyllum: #d00000;
406
405
  --color-speedwell: #595f73;
407
406
  --color-tropic-sea: #007194;
@@ -476,21 +475,17 @@ const BZSt = KoliBri.createTheme("bzst", {
476
475
  :root,
477
476
  :host {
478
477
  /* template */
479
- --formBorderWidthAndStyle: 1px solid;
480
- --formBorderColor: var(
481
- --color-green
482
- ); /* TODO: eigentlich --color-green sein, aber im Styleguide ist der Wert: #23614E */
483
- --formBorder: var(--formBorderWidthAndStyle) var(--color-green);
484
- --formBorderHover: var(--formBorderWidthAndStyle) var(--color-green-light);
485
- --formBorderDisabled: var(--formBorderWidthAndStyle) var(--color-mercury);
486
- --formBorderInvalid: var(--formBorderWidthAndStyle)
487
- var(--color-red-epiphyllum);
478
+ --formBorderWidthAndStyle: 1px solid; /* TODO: eigentlich --color-green sein, aber im Styleguide ist der Wert: #23614E */
479
+ --formBorder: var(--formBorderWidthAndStyle) var(--colorPrimarySuccess);
480
+ --formBorderHover: var(--formBorderWidthAndStyle) var(--colorPrimaryActive);
481
+ --formBorderDisabled: var(--formBorderWidthAndStyle) var(--colorDisabled);
482
+ --formBorderInvalid: var(--formBorderWidthAndStyle) var(--colorSignalError);
488
483
  --focusOutline: var(--colorSignalFocus) solid 2px;
489
- --formFieldBackground: var(--color-white); /*Select option */
490
- --formFieldBackgroundHover: var(--color-green-dark); /* Select options */
484
+ --formFieldBackground: var(--colorLight); /*Select option */
485
+ --formFieldBackgroundHover: var(--colorPrimary); /* Select options */
491
486
  --formFieldBackgroundEven: var(--formFieldBackground); /* Select options */
492
- --formFieldBackgroundOdd: var(--color-mercury);
493
- --formFieldBackgroundDisabled: var(--color-bleached-silk);
487
+ --formFieldBackgroundOdd: var(--colorSecondaryActive);
488
+ --formFieldBackgroundDisabled: var(--colorSecondarySuccess);
494
489
  --formFieldTextColorDisabled: var(--colorTextDisabled);
495
490
  } /* ********************************* */ /* ********************************* */ /* ********************************* */ /* ********************************* */
496
491
  :host {
@@ -520,26 +515,33 @@ const BZSt = KoliBri.createTheme("bzst", {
520
515
  :host * {
521
516
  box-sizing: border-box;
522
517
  }
523
- :host h1,
524
- :host h2 {
518
+ h1,
519
+ h2,
520
+ h3,
521
+ h4,
522
+ h5,
523
+ h6 {
525
524
  font-family: var(--textFontSerif);
525
+ }
526
+ h1,
527
+ h2 {
526
528
  font-weight: var(--textFontWeight);
527
529
  }
528
- :host h1 {
530
+ h1 {
529
531
  font-size: var(--headline1FontSize);
530
532
  line-height: var(--headline1LineHeight);
531
533
  }
532
- :host h2 {
534
+ h2 {
533
535
  font-size: var(--headline2FontSize);
534
536
  line-height: var(--headline2LineHeight);
535
537
  }
536
- :host h3 {
538
+ h3 {
537
539
  font-size: var(--headline3FontSize);
538
540
  line-height: var(--headline3LineHeight);
539
541
  }
540
- :host h4,
541
- :host h5,
542
- :host h6 {
542
+ h4,
543
+ h5,
544
+ h6 {
543
545
  font-size: var(--headline4FontSize);
544
546
  line-height: var(--headline4LineHeight);
545
547
  }
@@ -556,17 +558,12 @@ const BZSt = KoliBri.createTheme("bzst", {
556
558
  letter-spacing: inherit;
557
559
  display: block;
558
560
  } /* a,button,caption,input,option,select,summary,table,textarea {font-size: 1rem;} */
559
- a:focus,
560
- button:focus,
561
- input:focus,
562
- select:focus,
563
- summary:focus,
564
- textarea:focus {
565
- cursor: pointer;
566
- outline-color: var(--color-focus);
561
+ *[tabindex]:focus,
562
+ kol-input:not(.checkbox, .radio) .input:focus-within,
563
+ kol-input:is(.checkbox, .radio) input:focus,
564
+ summary:focus {
565
+ outline: var(--focusOutline);
567
566
  outline-offset: 2px;
568
- outline-style: solid;
569
- outline-width: 0;
570
567
  transition: outline-offset 0.2s linear;
571
568
  }
572
569
  @keyframes spin {
@@ -576,6 +573,22 @@ const BZSt = KoliBri.createTheme("bzst", {
576
573
  100% {
577
574
  transform: rotate(360deg);
578
575
  }
576
+ }
577
+ kol-tooltip .area {
578
+ background-color: var(--colorDark);
579
+ color: var(--colorLight);
580
+ }
581
+ kol-tooltip kol-span-wc {
582
+ line-height: 1.5em;
583
+ padding: 0.5rem 0.75rem;
584
+ }
585
+ kol-span-wc,
586
+ kol-span-wc > span {
587
+ gap: 0.5em;
588
+ }
589
+ kol-span-wc,
590
+ kol-span-wc > span {
591
+ gap: 0.3em;
579
592
  }`,
580
593
  "KOL-BUTTON": `:host {
581
594
  --background-color: var(--color-gruen-dunkel);
@@ -652,10 +665,10 @@ const BZSt = KoliBri.createTheme("bzst", {
652
665
  align-items: center;
653
666
  justify-content: center;
654
667
  }
655
- button.hide-label {
668
+ button.icon-only {
656
669
  padding: 0.5rem;
657
670
  }
658
- button.hide-label kol-icon {
671
+ button.icon-only kol-icon {
659
672
  display: inline-block;
660
673
  width: 1.5em;
661
674
  height: 1.5em;
@@ -663,137 +676,93 @@ const BZSt = KoliBri.createTheme("bzst", {
663
676
  button.loading kol-icon {
664
677
  animation: spin 5s infinite linear;
665
678
  }`,
666
- "KOL-INPUT-DATE": `kol-input {
667
- display: grid;
668
- padding: 0;
669
- margin: 0;
670
- }
671
- input:focus,
672
- input:hover,
673
- select:focus,
674
- select:hover,
675
- textarea:focus,
676
- textarea:hover {
677
- border-color: black;
679
+ "KOL-INPUT-TEXT": `kol-input {
680
+ gap: 0.4em;
678
681
  }
679
- input:focus-within,
680
- select:focus-within,
681
- textarea:focus-within {
682
- outline: var(--color-focus) solid 2px;
682
+ kol-input .error {
683
+ order: 3;
683
684
  }
684
- kol-input > label {
685
+ kol-input label {
686
+ font-weight: 700;
685
687
  order: 1;
686
- margin-bottom: var(--gapSmallest);
687
688
  }
688
- kol-input > label > span {
689
- color: black;
690
- font-size: 0.875rem;
691
- line-height: 1.5rem;
692
- }
693
- kol-input > div.input {
694
- background-color: white;
695
- display: block;
689
+ kol-input .input {
696
690
  order: 2;
697
691
  }
698
- kol-input > kol-alert.error {
699
- margin-top: 0.25em;
700
- order: 3;
692
+ kol-input .hint {
693
+ order: 4;
694
+ font-size: 0.875em;
695
+ font-style: italic;
701
696
  }
702
- input,
703
- select,
704
- textarea {
705
- font-family: var(--textFont);
706
- background-color: transparent;
707
- box-sizing: border-box;
708
- font-size: var(--textFontSize);
709
- display: inline-flex;
710
- line-height: 1.5;
711
- color: black;
712
- border-color: var(--color-gruen);
713
- border-width: 1px;
697
+ input {
698
+ border: none;
699
+ }
700
+ .input {
701
+ border-color: var(--color-grey);
714
702
  border-style: solid;
715
- padding: 0.5em;
716
- overflow: hidden;
717
- width: 100%;
703
+ border-width: 1px;
704
+ padding: 0 0.5em;
718
705
  }
719
- input:not([type="range"]),
720
- select:not([multiple]) {
721
- height: 2.75em;
706
+ .input > kol-icon {
707
+ width: 1.5em;
722
708
  }
723
- textarea {
724
- display: inherit;
709
+ .input > input:first-child {
710
+ padding-left: 0.375em;
725
711
  }
726
- input::placeholder {
727
- color: var(--color-grau-dunkel);
712
+ .input > input:last-child {
713
+ padding-right: 0.375em;
728
714
  }
729
- input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
715
+ .input:hover {
716
+ border-color: var(--color-gruen-hell);
717
+ }
718
+ input:not([type="color"]):read-only,
719
+ input:disabled {
730
720
  cursor: not-allowed;
731
721
  }
732
722
  .required label > span::after {
733
723
  content: "*";
734
724
  padding-left: 0.125em;
735
725
  }
736
- .icons {
737
- display: flex;
738
- justify-content: space-between;
739
- height: 0;
740
- }
741
- .icons > * {
742
- margin: 0.75em;
743
- }
744
- .icon-left input,
745
- .icon-left select {
746
- padding-left: 2em;
747
- }
748
- .icon-right input,
749
- .icon-right select {
750
- padding-right: 2em;
751
- }
752
- kol-button-wc {
753
- position: relative;
754
- float: right;
755
- z-index: 1;
756
- margin-top: -33px;
726
+ kol-input.error {
727
+ border-left: 3px solid var(--color-rot);
728
+ padding-left: 1em;
757
729
  }
758
- kol-button-wc button {
759
- border: 1px solid var(--color-grau-dunkel);
760
- box-sizing: border-box;
761
- background-color: transparent;
762
- cursor: pointer;
730
+ kol-input.error .input:focus-within {
731
+ outline-color: var(--color-rot) !important;
763
732
  }
764
- .icon-right kol-button-wc {
765
- margin-right: 2.5em;
733
+ kol-input.error kol-alert.error {
734
+ color: var(--color-rot);
735
+ font-weight: 700;
766
736
  }
767
737
  .disabled {
768
738
  opacity: 0.33;
769
739
  }
770
- select[multiple],
771
- textarea {
772
- overflow: auto;
740
+ label {
741
+ color: var(--color-text);
742
+ line-height: 1.5;
773
743
  }
774
- textarea {
775
- display: block;
744
+ .input {
745
+ font-size: var(--text-size);
746
+ line-height: 1.5;
747
+ color: var(--colorText);
748
+ border-color: var(--color-gruen);
749
+ border-style: solid;
750
+ width: 100%;
776
751
  }
777
- select option {
778
- margin: 1px 0;
779
- padding: 0.5em;
780
- cursor: pointer;
752
+ input:not([type="range"]) {
753
+ height: 2.75em;
781
754
  }
782
- select option:disabled {
783
- cursor: not-allowed;
755
+ input::placeholder {
756
+ color: var(--color-grau-dunkel);
784
757
  }
785
- option:active:not(:disabled),
786
- option:checked:not(:disabled),
787
- option:focus:not(:disabled),
788
- option:hover:not(:disabled) {
789
- background: var(--color-ocean);
790
- color: white;
758
+ .required label > span::after {
759
+ content: "*";
760
+ padding-left: 0.125em;
791
761
  }`,
792
- "KOL-INPUT-TEXT": `kol-input {
762
+ "KOL-INPUT-PASSWORD": `kol-input {
793
763
  display: grid;
794
764
  padding: 0;
795
765
  margin: 0;
796
- font-size: var(--text-size);
797
766
  }
798
767
  input:focus,
799
768
  input:hover,
@@ -801,25 +770,16 @@ const BZSt = KoliBri.createTheme("bzst", {
801
770
  select:hover,
802
771
  textarea:focus,
803
772
  textarea:hover {
804
- border-color: var(--color-gruen-hell);
805
- }
806
- .error input:invalid,
807
- .error select:invalid,
808
- .error textarea:invalid {
809
- border-color: var(--color-rot);
810
- }
811
- input:focus-within,
812
- select:focus-within,
813
- textarea:focus-within {
814
- outline: var(--color-focus) solid 2px;
773
+ border-color: black;
815
774
  }
816
775
  kol-input > label {
817
776
  order: 1;
818
- margin-bottom: var(--gapSmallest);
777
+ margin-bottom: 0.25em;
819
778
  }
820
779
  kol-input > label > span {
821
- color: var(--color-text);
822
- line-height: 1.5;
780
+ color: black;
781
+ font-size: 0.875rem;
782
+ line-height: 1.5rem;
823
783
  }
824
784
  kol-input > div.input {
825
785
  background-color: white;
@@ -827,7 +787,7 @@ const BZSt = KoliBri.createTheme("bzst", {
827
787
  order: 2;
828
788
  }
829
789
  kol-input > kol-alert.error {
830
- margin-top: 0.25rem;
790
+ margin-top: 0.25em;
831
791
  order: 3;
832
792
  }
833
793
  input,
@@ -836,11 +796,11 @@ const BZSt = KoliBri.createTheme("bzst", {
836
796
  font-family: var(--font-family);
837
797
  background-color: transparent;
838
798
  box-sizing: border-box;
839
- font-size: var(--text-size);
799
+ font-size: 1rem;
840
800
  display: inline-flex;
841
- line-height: 1.5;
801
+ line-height: 1.5em;
842
802
  color: black;
843
- border-color: var(--color-gruen);
803
+ border-color: var(--color-grau-dunkel);
844
804
  border-width: 1px;
845
805
  border-style: solid;
846
806
  padding: 0.5em 0.75em;
@@ -919,7 +879,7 @@ const BZSt = KoliBri.createTheme("bzst", {
919
879
  option:hover:not(:disabled) {
920
880
  color: white;
921
881
  }`,
922
- "KOL-INPUT-PASSWORD": `kol-input {
882
+ "KOL-INPUT-NUMBER": `kol-input {
923
883
  display: grid;
924
884
  padding: 0;
925
885
  margin: 0;
@@ -932,11 +892,17 @@ const BZSt = KoliBri.createTheme("bzst", {
932
892
  textarea:hover {
933
893
  border-color: black;
934
894
  }
935
- kol-input > label {
895
+ input:focus-within,
896
+ select:focus-within,
897
+ textarea:focus-within {
898
+ outline: var(--color-focus) solid 2px;
899
+ }
900
+ kol-input label {
901
+ font-weight: 700;
936
902
  order: 1;
937
- margin-bottom: 0.25em;
903
+ margin-bottom: var(--gapSmallest);
938
904
  }
939
- kol-input > label > span {
905
+ kol-input label > span {
940
906
  color: black;
941
907
  font-size: 0.875rem;
942
908
  line-height: 1.5rem;
@@ -953,17 +919,17 @@ const BZSt = KoliBri.createTheme("bzst", {
953
919
  input,
954
920
  select,
955
921
  textarea {
956
- font-family: var(--font-family);
922
+ font-family: var(--textFont);
957
923
  background-color: transparent;
958
924
  box-sizing: border-box;
959
- font-size: 1rem;
925
+ font-size: var(--textFontSize);
960
926
  display: inline-flex;
961
- line-height: 1.5em;
927
+ line-height: 1.5;
962
928
  color: black;
963
- border-color: var(--color-grau-dunkel);
929
+ border-color: var(--color-gruen);
964
930
  border-width: 1px;
965
931
  border-style: solid;
966
- padding: 0.5em 0.75em;
932
+ padding: 0.5em;
967
933
  overflow: hidden;
968
934
  width: 100%;
969
935
  }
@@ -1003,7 +969,7 @@ const BZSt = KoliBri.createTheme("bzst", {
1003
969
  kol-button-wc {
1004
970
  position: relative;
1005
971
  float: right;
1006
- z-index: 1000;
972
+ z-index: 1;
1007
973
  margin-top: -33px;
1008
974
  }
1009
975
  kol-button-wc button {
@@ -1037,9 +1003,20 @@ const BZSt = KoliBri.createTheme("bzst", {
1037
1003
  option:checked:not(:disabled),
1038
1004
  option:focus:not(:disabled),
1039
1005
  option:hover:not(:disabled) {
1006
+ background: var(--color-ocean);
1040
1007
  color: white;
1041
1008
  }`,
1042
- "KOL-INPUT-NUMBER": `kol-input {
1009
+ "KOL-INPUT-DATE": `kol-input label {
1010
+ font-weight: 700;
1011
+ margin-bottom: var(--gapSmallest);
1012
+ }
1013
+ input {
1014
+ border: var(--formBorder);
1015
+ }
1016
+ input:hover {
1017
+ border: var(--formBorderHover);
1018
+ }`,
1019
+ "KOL-INPUT-EMAIL": `kol-input {
1043
1020
  display: grid;
1044
1021
  padding: 0;
1045
1022
  margin: 0;
@@ -1052,14 +1029,9 @@ const BZSt = KoliBri.createTheme("bzst", {
1052
1029
  textarea:hover {
1053
1030
  border-color: black;
1054
1031
  }
1055
- input:focus-within,
1056
- select:focus-within,
1057
- textarea:focus-within {
1058
- outline: var(--color-focus) solid 2px;
1059
- }
1060
1032
  kol-input > label {
1061
1033
  order: 1;
1062
- margin-bottom: var(--gapSmallest);
1034
+ margin-bottom: 0.25em;
1063
1035
  }
1064
1036
  kol-input > label > span {
1065
1037
  color: black;
@@ -1078,17 +1050,17 @@ const BZSt = KoliBri.createTheme("bzst", {
1078
1050
  input,
1079
1051
  select,
1080
1052
  textarea {
1081
- font-family: var(--textFont);
1053
+ font-family: var(--font-family);
1082
1054
  background-color: transparent;
1083
1055
  box-sizing: border-box;
1084
- font-size: var(--textFontSize);
1056
+ font-size: 1rem;
1085
1057
  display: inline-flex;
1086
- line-height: 1.5;
1058
+ line-height: 1.5em;
1087
1059
  color: black;
1088
- border-color: var(--color-gruen);
1060
+ border-color: var(--color-grau-dunkel);
1089
1061
  border-width: 1px;
1090
1062
  border-style: solid;
1091
- padding: 0.5em;
1063
+ padding: 0.5em 0.75em;
1092
1064
  overflow: hidden;
1093
1065
  width: 100%;
1094
1066
  }
@@ -1128,7 +1100,7 @@ const BZSt = KoliBri.createTheme("bzst", {
1128
1100
  kol-button-wc {
1129
1101
  position: relative;
1130
1102
  float: right;
1131
- z-index: 1;
1103
+ z-index: 1000;
1132
1104
  margin-top: -33px;
1133
1105
  }
1134
1106
  kol-button-wc button {
@@ -1162,10 +1134,9 @@ const BZSt = KoliBri.createTheme("bzst", {
1162
1134
  option:checked:not(:disabled),
1163
1135
  option:focus:not(:disabled),
1164
1136
  option:hover:not(:disabled) {
1165
- background: var(--color-ocean);
1166
1137
  color: white;
1167
1138
  }`,
1168
- "KOL-INPUT-EMAIL": `kol-input {
1139
+ "KOL-INPUT-FILE": `kol-input {
1169
1140
  display: grid;
1170
1141
  padding: 0;
1171
1142
  margin: 0;
@@ -1285,63 +1256,48 @@ const BZSt = KoliBri.createTheme("bzst", {
1285
1256
  option:hover:not(:disabled) {
1286
1257
  color: white;
1287
1258
  }`,
1288
- "KOL-INPUT-FILE": `kol-input {
1289
- display: grid;
1290
- padding: 0;
1291
- margin: 0;
1259
+ "KOL-TEXTAREA": `kol-input {
1260
+ gap: 0.4em;
1292
1261
  }
1293
- input:focus,
1294
- input:hover,
1295
- select:focus,
1296
- select:hover,
1297
- textarea:focus,
1298
- textarea:hover {
1299
- border-color: black;
1262
+ kol-input .error {
1263
+ order: 3;
1300
1264
  }
1301
- kol-input > label {
1265
+ kol-input label {
1266
+ font-weight: 700;
1302
1267
  order: 1;
1303
- margin-bottom: 0.25em;
1304
1268
  }
1305
- kol-input > label > span {
1306
- color: black;
1307
- font-size: 0.875rem;
1308
- line-height: 1.5rem;
1309
- }
1310
- kol-input > div.input {
1311
- background-color: white;
1312
- display: block;
1269
+ kol-input .input {
1313
1270
  order: 2;
1314
1271
  }
1315
- kol-input > kol-alert.error {
1316
- margin-top: 0.25em;
1317
- order: 3;
1272
+ kol-input .hint {
1273
+ order: 4;
1274
+ font-size: 0.875em;
1275
+ font-style: italic;
1318
1276
  }
1319
1277
  input,
1320
1278
  select,
1321
1279
  textarea {
1322
- font-family: var(--font-family);
1323
- background-color: transparent;
1324
- box-sizing: border-box;
1325
- font-size: 1rem;
1326
- display: inline-flex;
1327
- line-height: 1.5em;
1328
- color: black;
1329
- border-color: var(--color-grau-dunkel);
1330
- border-width: 1px;
1331
- border-style: solid;
1332
- padding: 0.5em 0.75em;
1333
- overflow: hidden;
1280
+ border: none;
1281
+ }
1282
+ .input {
1283
+ color: var(--colorText);
1284
+ border: var(--formBorder);
1285
+ font-size: var(--textFontSize);
1286
+ line-height: 1.5;
1287
+ padding: 0 0.5em;
1334
1288
  width: 100%;
1335
1289
  }
1336
- input:not([type="range"]),
1337
- select:not([multiple]) {
1338
- height: 2.75em;
1290
+ .input > kol-icon {
1291
+ width: 1.5em;
1339
1292
  }
1340
- textarea {
1341
- display: inherit;
1293
+ .input > input:first-child {
1294
+ padding-left: 0.375em;
1342
1295
  }
1343
- input::placeholder {
1344
- color: var(--color-grau-dunkel);
1296
+ .input > input:last-child {
1297
+ padding-right: 0.375em;
1298
+ }
1299
+ .input:hover {
1300
+ border-color: var(--color-gruen-hell);
1345
1301
  }
1346
1302
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
1347
1303
  cursor: not-allowed;
@@ -1350,191 +1306,29 @@ const BZSt = KoliBri.createTheme("bzst", {
1350
1306
  content: "*";
1351
1307
  padding-left: 0.125em;
1352
1308
  }
1353
- .icons {
1354
- display: flex;
1355
- justify-content: space-between;
1356
- height: 0;
1357
- }
1358
- .icons > * {
1359
- margin: 0.75em;
1360
- }
1361
- .icon-left input,
1362
- .icon-left select {
1363
- padding-left: 2em;
1364
- }
1365
- .icon-right input,
1366
- .icon-right select {
1367
- padding-right: 2em;
1368
- }
1369
- kol-button-wc {
1370
- position: relative;
1371
- float: right;
1372
- z-index: 1000;
1373
- margin-top: -33px;
1309
+ kol-input.error {
1310
+ border-left: 3px solid var(--color-rot);
1311
+ padding-left: 1em;
1374
1312
  }
1375
- kol-button-wc button {
1376
- border: 1px solid var(--color-grau-dunkel);
1377
- box-sizing: border-box;
1378
- background-color: transparent;
1379
- cursor: pointer;
1313
+ kol-input.error .input:focus-within {
1314
+ outline-color: var(--color-rot) !important;
1380
1315
  }
1381
- .icon-right kol-button-wc {
1382
- margin-right: 2.5em;
1316
+ kol-input.error kol-alert.error {
1317
+ color: var(--color-rot);
1318
+ font-weight: 700;
1383
1319
  }
1384
1320
  .disabled {
1385
1321
  opacity: 0.33;
1386
1322
  }
1387
- select[multiple],
1388
- textarea {
1389
- overflow: auto;
1390
- }
1391
- textarea {
1392
- display: block;
1393
- }
1394
- select option {
1395
- margin: 1px 0;
1396
- padding: 0.5em;
1397
- cursor: pointer;
1398
- }
1399
- select option:disabled {
1400
- cursor: not-allowed;
1401
- }
1402
- option:active:not(:disabled),
1403
- option:checked:not(:disabled),
1404
- option:focus:not(:disabled),
1405
- option:hover:not(:disabled) {
1406
- color: white;
1407
- }`,
1408
- "KOL-TEXTAREA": `/* input */
1409
- kol-input {
1410
- display: grid;
1411
- padding: 0;
1412
- margin: 0;
1413
- font-size: var(--text-size);
1414
- }
1415
- input:focus,
1416
- input:hover,
1417
- select:focus,
1418
- select:hover,
1419
- textarea:focus,
1420
- textarea:hover {
1421
- border-color: var(--color-gruen-hell);
1422
- }
1423
- .error input:invalid,
1424
- .error select:invalid,
1425
- .error textarea:invalid {
1426
- border-color: var(--color-rot);
1427
- }
1428
- input:focus-within,
1429
- select:focus-within,
1430
- textarea:focus-within {
1431
- outline: var(--color-focus) solid 2px;
1432
- }
1433
- kol-input > label {
1434
- order: 1;
1435
- margin-bottom: var(--gapSmallest);
1436
- }
1437
- kol-input > label > span {
1323
+ label {
1438
1324
  color: var(--color-text);
1439
1325
  line-height: 1.5;
1440
1326
  }
1441
- kol-input > div.input {
1442
- background-color: white;
1443
- display: block;
1444
- order: 2;
1445
- }
1446
- kol-input > kol-alert.error {
1447
- margin-top: 0.25rem;
1448
- order: 3;
1449
- }
1450
- input,
1451
- select,
1452
- textarea {
1453
- font-family: var(--font-family);
1454
- background-color: transparent;
1455
- box-sizing: border-box;
1456
- font-size: var(--text-size);
1457
- display: inline-flex;
1458
- line-height: 1.5;
1459
- color: black;
1460
- border-color: var(--color-gruen);
1461
- border-width: 1px;
1462
- border-style: solid;
1463
- padding: 0.5em 0.75em;
1464
- overflow: hidden;
1465
- width: 100%;
1466
- }
1467
- input:not([type="range"]),
1468
- select:not([multiple]) {
1469
- height: 2.75em;
1470
- }
1471
- textarea {
1472
- display: inherit;
1473
- }
1474
- input::placeholder {
1475
- color: var(--color-grau-dunkel);
1476
- }
1477
- input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
1478
- cursor: not-allowed;
1327
+ .input {
1479
1328
  }
1480
1329
  .required label > span::after {
1481
1330
  content: "*";
1482
1331
  padding-left: 0.125em;
1483
- }
1484
- .icons {
1485
- display: flex;
1486
- justify-content: space-between;
1487
- height: 0;
1488
- }
1489
- .icons > * {
1490
- margin: 0.75em;
1491
- }
1492
- .icon-left input,
1493
- .icon-left select {
1494
- padding-left: 2em;
1495
- }
1496
- .icon-right input,
1497
- .icon-right select {
1498
- padding-right: 2em;
1499
- }
1500
- kol-button-wc {
1501
- position: relative;
1502
- float: right;
1503
- z-index: 1;
1504
- margin-top: -33px;
1505
- }
1506
- kol-button-wc button {
1507
- border: 1px solid var(--color-grau-dunkel);
1508
- box-sizing: border-box;
1509
- background-color: transparent;
1510
- cursor: pointer;
1511
- }
1512
- .icon-right kol-button-wc {
1513
- margin-right: 2.5em;
1514
- }
1515
- .disabled {
1516
- opacity: 0.33;
1517
- }
1518
- select[multiple],
1519
- textarea {
1520
- overflow: auto;
1521
- }
1522
- textarea {
1523
- display: block;
1524
- }
1525
- select option {
1526
- margin: 1px 0;
1527
- padding: 0.5em;
1528
- cursor: pointer;
1529
- }
1530
- select option:disabled {
1531
- cursor: not-allowed;
1532
- }
1533
- option:active:not(:disabled),
1534
- option:checked:not(:disabled),
1535
- option:focus:not(:disabled),
1536
- option:hover:not(:disabled) {
1537
- color: white;
1538
1332
  }`,
1539
1333
  "KOL-ALERT": `:host > div {
1540
1334
  background-color: white;
@@ -1681,10 +1475,10 @@ const BZSt = KoliBri.createTheme("bzst", {
1681
1475
  background-color: rgba(0, 0, 0, 0);
1682
1476
  border-color: rgba(0, 0, 0, 0);
1683
1477
  }
1684
- .close > button.hide-label {
1478
+ .close > button.icon-only {
1685
1479
  padding: 8px;
1686
1480
  }
1687
- .close > button.hide-label kol-icon {
1481
+ .close > button.icon-only kol-icon {
1688
1482
  display: inline-block;
1689
1483
  width: 1.5em;
1690
1484
  height: 1.5em;
@@ -1696,6 +1490,9 @@ const BZSt = KoliBri.createTheme("bzst", {
1696
1490
  .close kol-icon::part(icon)::before {
1697
1491
  content: "\\f00d";
1698
1492
  }`,
1493
+ "KOL-HEADING": `.headline {
1494
+ margin-top: 0;
1495
+ }`,
1699
1496
  "KOL-BADGE": `:host {
1700
1497
  display: inline-block;
1701
1498
  }
@@ -1722,28 +1519,26 @@ const BZSt = KoliBri.createTheme("bzst", {
1722
1519
  background: var(--color-grau-weiss);
1723
1520
  box-shadow: -4px 0px 0px var(--color-gruen);
1724
1521
  }`,
1725
- "KOL-LINK": `kol-link-wc {
1726
- display: inline-block;
1727
- }
1728
- a {
1729
- background-color: transparent;
1730
- border: 0;
1731
- cursor: pointer;
1522
+ "KOL-LINK": `:is(a, button) {
1523
+ /* color: var(--color-midnight); */
1732
1524
  color: var(--external-link-color, var(--color-gruen));
1733
- display: inline-flex;
1525
+ font-style: normal;
1526
+ font-weight: 400;
1734
1527
  padding: var(--external-link-padding, 0);
1735
- text-decoration-line: none !important; /* outline: none !important; */
1528
+ text-decoration-line: none;
1736
1529
  }
1737
- a:focus-within {
1738
- outline: var(--color-focus) solid 2px;
1530
+ :is(a, button):focus {
1531
+ /* outline: var(--color-focus) solid 2px; */
1532
+ outline: none;
1739
1533
  }
1740
- a:hover {
1534
+ :is(a, button):hover {
1535
+ /* text-decoration-thickness: 0.25em; */
1741
1536
  box-shadow: inset 0 -1px 0 0 var(--external-link-color, var(--color-gruen));
1742
1537
  }
1743
- kol-icon {
1744
- padding: 0 0.25rem;
1745
- display: inline-block;
1746
- }
1538
+ .hidden {
1539
+ display: none;
1540
+ visibility: hidden;
1541
+ } /*************************/ /* kol-link-wc {display: inline-block;} */ /* kol-icon {padding: 0 0.25rem;} */
1747
1542
  .hidden {
1748
1543
  display: none;
1749
1544
  visibility: hidden;
@@ -1759,6 +1554,9 @@ const BZSt = KoliBri.createTheme("bzst", {
1759
1554
  background: white;
1760
1555
  left: unset;
1761
1556
  position: unset;
1557
+ }
1558
+ .icon-only {
1559
+ padding-bottom: 0.2rem;
1762
1560
  }`,
1763
1561
  "KOL-DETAILS": `details {
1764
1562
  display: grid;
@@ -1863,128 +1661,42 @@ const BZSt = KoliBri.createTheme("bzst", {
1863
1661
  progress {
1864
1662
  display: none;
1865
1663
  }`,
1866
- "KOL-SELECT": `kol-input {
1867
- display: grid;
1868
- padding: 0;
1869
- margin: 0;
1870
- font-size: var(--textFontSize);
1871
- }
1872
- input:focus,
1873
- input:hover,
1874
- select:focus,
1875
- select:hover,
1876
- textarea:focus,
1877
- textarea:hover {
1878
- border-color: var(--color-gruen-hell);
1664
+ "KOL-SELECT": `:host {
1665
+ --color: var(--colorText); /* --color: blue; */
1879
1666
  }
1880
- .error input:invalid,
1881
- .error select:invalid,
1882
- .error textarea:invalid {
1883
- border-color: var(--color-rot);
1884
- }
1885
- input:focus-within,
1886
- select:focus-within,
1887
- textarea:focus-within {
1888
- outline: var(--color-focus) solid 2px;
1667
+ kol-input {
1668
+ color: var(--color);
1669
+ font-size: var(--textFontSize);
1670
+ gap: var(--gapSmallest);
1889
1671
  }
1890
- kol-input > label {
1672
+ label {
1673
+ font-weight: 700;
1891
1674
  order: 1;
1892
- margin-bottom: var(--gapSmallest);
1893
- }
1894
- kol-input > label > span {
1895
- color: var(--color-text);
1896
- line-height: 1.5;
1897
1675
  }
1898
- kol-input > div.input {
1899
- background-color: white;
1900
- display: block;
1676
+ .input {
1901
1677
  order: 2;
1902
1678
  }
1903
- kol-input > kol-alert.error {
1904
- margin-top: 0.25rem;
1679
+ kol-alert.error {
1680
+ color: var(--colorSignalError);
1905
1681
  order: 3;
1906
1682
  }
1907
- input,
1908
- select,
1909
- textarea {
1910
- font-family: var(--textFont);
1911
- background-color: transparent;
1912
- box-sizing: border-box;
1913
- font-size: var(--textFontSize);
1914
- display: inline-flex;
1683
+ select {
1684
+ background-color: var(--colorLight);
1915
1685
  line-height: 1.5;
1916
- color: black;
1917
- border-color: var(--color-gruen);
1918
- border-width: 1px;
1919
- border-style: solid;
1686
+ color: var(--color);
1687
+ border: var(--formBorder);
1920
1688
  padding: 0.5em 0.75em;
1921
- overflow: hidden;
1922
- width: 100%;
1923
- }
1924
- select {
1925
- padding-top: 0.6115em;
1926
- padding-bottom: 0.6115em;
1927
- }
1928
- input:not([type="range"])/* ,select:not([multiple]) */ {
1929
- height: 2.75em;
1930
1689
  }
1931
- textarea {
1932
- display: inherit;
1933
- }
1934
- input::placeholder {
1935
- color: var(--color-grau-dunkel);
1690
+ select:hover,
1691
+ select:focus {
1692
+ border-color: var(--colorPrimaryActive);
1936
1693
  }
1937
- input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
1694
+ select:disabled {
1938
1695
  cursor: not-allowed;
1939
1696
  }
1940
- .required label > span::after {
1941
- content: "*";
1942
- padding-left: 0.125em;
1943
- }
1944
- .icons {
1945
- display: flex;
1946
- justify-content: space-between;
1947
- height: 0;
1948
- }
1949
- .icons > * {
1950
- margin: 0.6em;
1951
- }
1952
- .icons > *:last-child:not(:first-child) {
1953
- margin-right: 1em;
1954
- }
1955
- .icon-left input,
1956
- .icon-left select {
1957
- padding-left: 2em;
1958
- }
1959
- .icon-right input,
1960
- .icon-right select {
1961
- padding-right: 2em;
1962
- }
1963
- kol-button-wc {
1964
- position: relative;
1965
- float: right;
1966
- z-index: 1;
1967
- margin-top: -33px;
1968
- }
1969
- kol-button-wc button {
1970
- border: 1px solid var(--color-grau-dunkel);
1971
- box-sizing: border-box;
1972
- background-color: transparent;
1973
- cursor: pointer;
1974
- }
1975
- .icon-right kol-button-wc {
1976
- margin-right: 2.5em;
1977
- }
1978
- .disabled {
1979
- opacity: 0.33;
1980
- }
1981
- select[multiple],
1982
- textarea {
1697
+ select[multiple] {
1983
1698
  overflow: auto;
1984
1699
  }
1985
- textarea {
1986
- display: block;
1987
- }
1988
1700
  select option {
1989
1701
  margin: 1px 0;
1990
1702
  padding: 0.5em;
@@ -1993,13 +1705,13 @@ const BZSt = KoliBri.createTheme("bzst", {
1993
1705
  select option:disabled {
1994
1706
  cursor: not-allowed;
1995
1707
  }
1996
- option:active:not(:disabled),
1997
- option:checked:not(:disabled),
1998
- option:focus:not(:disabled),
1999
- option:hover:not(:disabled) {
2000
- background: var(--color-ocean);
2001
- color: white;
2002
- }`,
1708
+ .required label > span::after {
1709
+ content: "*";
1710
+ padding-left: 0.125em;
1711
+ } /* kol-input.error select:invalid { */
1712
+ kol-input.error select {
1713
+ border-color: var(--colorSignalError);
1714
+ } /* option:active:not(:disabled),option:focus:not(:disabled),option:hover:not(:disabled) {color: white;} */`,
2003
1715
  "KOL-INPUT-COLOR": `kol-input {
2004
1716
  display: grid;
2005
1717
  padding: 0;
@@ -2149,15 +1861,14 @@ const BZSt = KoliBri.createTheme("bzst", {
2149
1861
  padding-left: 0;
2150
1862
  }
2151
1863
  :host > div > kol-heading-wc button kol-icon::part(icon) {
1864
+ font-family: "Font Awesome 6 Free";
2152
1865
  font-weight: 900;
2153
1866
  color: var(--color-midnight);
2154
1867
  }
2155
- :host > div > kol-heading-wc button kol-icon::part(close)::before {
2156
- font-family: "Font Awesome 6 Free";
1868
+ :host > div.open > kol-heading-wc button kol-icon::part(icon)::before {
2157
1869
  content: "\\f068";
2158
1870
  }
2159
- :host > div > kol-heading-wc button kol-icon::part(open)::before {
2160
- font-family: "Font Awesome 6 Free";
1871
+ :host > div.close > kol-heading-wc button kol-icon::part(icon)::before {
2161
1872
  content: "\\2b";
2162
1873
  }
2163
1874
  :host > div {
@@ -2194,18 +1905,26 @@ const BZSt = KoliBri.createTheme("bzst", {
2194
1905
  hyphens: var(--hyphens);
2195
1906
  line-height: var(--textFontLineHeight);
2196
1907
  }
2197
- :host > div:last-child {
1908
+ :host > div:first-child {
2198
1909
  overflow-x: auto;
2199
1910
  overflow-y: hidden;
2200
1911
  }
2201
1912
  table {
2202
- width: 100%;
2203
1913
  border-collapse: collapse;
2204
- border-spacing: 0;
2205
1914
  }
2206
1915
  caption {
2207
1916
  height: auto;
2208
1917
  text-align: left;
1918
+ } /* visuell verstecken */
1919
+ caption {
1920
+ clip: rect(1px, 1px, 1px, 1px);
1921
+ clip-path: inset(50%);
1922
+ height: 1px;
1923
+ width: 1px;
1924
+ margin: -1px;
1925
+ overflow: hidden;
1926
+ padding: 0;
1927
+ position: absolute;
2209
1928
  }
2210
1929
  table,
2211
1930
  tr,
@@ -2239,92 +1958,51 @@ const BZSt = KoliBri.createTheme("bzst", {
2239
1958
  align-items: center;
2240
1959
  gap: 0.25em;
2241
1960
  }
2242
- :host > div.pagination {
1961
+ .pagination {
2243
1962
  padding: 0.5em;
2244
1963
  font-size: var(--textFontSize);
2245
- }
2246
- :host > div:last-child,
2247
- :host > div.pagination > div:last-child {
2248
- display: grid;
2249
- align-items: center;
2250
- justify-items: center;
2251
- gap: var(--gapSmallest);
2252
- }
2253
- @media (min-width: 1024px) {
2254
- :host > div:last-child,
2255
- :host > div.pagination > div:last-child {
2256
- grid-auto-flow: column;
2257
- justify-content: start;
2258
- }
2259
- :host > div.pagination kol-pagination {
2260
- display: flex;
2261
- gap: 1rem;
2262
- }
1964
+ gap: 1rem;
2263
1965
  }
2264
1966
  th kol-button button {
2265
1967
  padding: 0.5rem;
2266
- }`,
2267
- "KOL-NAV": `* {
2268
- margin: 0;
2269
- padding: 0;
1968
+ } /* default: [aria-sort="none"] */
1969
+ [data-sort] kol-button::part(icon)::before {
1970
+ font-family: "Font Awesome 6 Free";
1971
+ font-weight: 900;
1972
+ content: "\\f0dc";
2270
1973
  }
2271
- nav {
2272
- font-family: var(--font-family);
2273
- font-size: 18px;
2274
- background-color: var(--color-grau-hell);
1974
+ [data-sort="sort-ASC"] kol-button::part(icon)::before {
1975
+ content: "\\f0de";
2275
1976
  }
2276
- ul {
1977
+ [data-sort="sort-DESC"] kol-button::part(icon)::before {
1978
+ content: "\\f0dd";
1979
+ }`,
1980
+ "KOL-NAV": `ul {
2277
1981
  list-style: none;
2278
1982
  }
2279
1983
  a {
2280
- background-color: var(--color-white);
2281
- text-decoration: none;
2282
- color: var(--color-dunkel);
2283
- width: 100%;
1984
+ color: var(--colorText);
2284
1985
  display: block;
2285
- font-style: normal;
2286
- font-weight: 700;
2287
- padding: 0.75rem 0.5rem 0.75rem 0;
2288
- border-left-color: var(--color-gruen-dunkel);
2289
- border-left-style: solid;
2290
- border-left-width: 0.5rem;
2291
- line-height: 1.5rem;
2292
- min-height: 44px;
2293
- min-width: 44px;
1986
+ padding: 0.3rem 0.5rem;
1987
+ text-decoration: none;
2294
1988
  transition-duration: 0.5s;
2295
1989
  transition-property: background-color, color, border-color;
2296
1990
  }
2297
1991
  a:hover {
2298
- border-left-color: var(--color-gruen-dunkel);
2299
- background-color: var(--color-gruen-hell);
2300
- color: var(--color-grau-dunkel);
2301
- }
2302
- a > kol-icon {
2303
- display: inline-block;
2304
- text-align: center;
2305
- width: 44px;
2306
- }
2307
- button {
2308
- background-color: var(--color-gruen-dunkel);
2309
- }
2310
- a[part*="selected"] {
2311
- background-color: var(--color-ice);
2312
- border-left-color: var(--color-midnight);
2313
- color: var(--color-midnight);
1992
+ background-color: var(--colorPrimarySuccess);
1993
+ color: var(--colorLight);
2314
1994
  }
2315
- .hidden {
2316
- display: none;
1995
+ a:focus,
1996
+ button:focus {
1997
+ outline: var(--focusOutline);
1998
+ outline-offset: 2px;
1999
+ transition: outline-offset 0.2s linear;
2317
2000
  }
2318
- :host > div > div:last-child {
2319
- margin-top: 0.5em;
2320
- width: 100%;
2321
- text-align: center;
2322
- } /* horizontal */
2323
- ul.flex {
2324
- display: flex;
2001
+ .list[data-deep="0"] {
2002
+ font-family: var(--textFontSerif);
2325
2003
  }
2326
- li > div > div.absolute {
2327
- position: absolute;
2004
+ .horizontal {
2005
+ gap: var(--gap);
2328
2006
  }`,
2329
2007
  "KOL-CARD": `:host > div {
2330
2008
  --card-padding: var(--gap);
@@ -2409,7 +2087,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2409
2087
  justify-items: left;
2410
2088
  width: 100%;
2411
2089
  }
2412
- kol-input.default {
2090
+ kol-input.checkbox {
2413
2091
  grid-template-columns: calc(6 * var(--spacing)) auto;
2414
2092
  }
2415
2093
  kol-input.switch {
@@ -2448,19 +2126,19 @@ const BZSt = KoliBri.createTheme("bzst", {
2448
2126
  background-color: var(--color-blau);
2449
2127
  border-color: var(--color-blau);
2450
2128
  }
2451
- .default input[type="checkbox"] {
2129
+ .checkbox input[type="checkbox"] {
2452
2130
  height: calc(6 * var(--spacing));
2453
2131
  min-width: calc(6 * var(--spacing));
2454
2132
  width: calc(6 * var(--spacing));
2455
2133
  }
2456
- .default input[type="checkbox"]:before {
2134
+ .checkbox input[type="checkbox"]:before {
2457
2135
  background-color: transparent;
2458
2136
  display: block;
2459
2137
  height: calc(6 * var(--spacing));
2460
2138
  position: relative;
2461
2139
  width: calc(6 * var(--spacing));
2462
2140
  }
2463
- .default input[type="checkbox"]:checked:before {
2141
+ .checkbox input[type="checkbox"]:checked:before {
2464
2142
  border-right-width: 3px;
2465
2143
  border-bottom-width: 3px;
2466
2144
  left: calc(1.5 * var(--spacing) - var(--border-width));
@@ -2473,7 +2151,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2473
2151
  height: calc(3 * var(--spacing));
2474
2152
  width: calc(1.5 * var(--spacing));
2475
2153
  }
2476
- .default input[type="checkbox"]:indeterminate:before {
2154
+ .checkbox input[type="checkbox"]:indeterminate:before {
2477
2155
  background-color: var(--color-grau-dunkel);
2478
2156
  height: 0.375rem;
2479
2157
  top: 0.5rem;
@@ -2541,6 +2219,8 @@ const BZSt = KoliBri.createTheme("bzst", {
2541
2219
  }
2542
2220
  input {
2543
2221
  cursor: pointer;
2222
+ display: grid;
2223
+ align-self: center;
2544
2224
  border: var(--border-width) solid var(--input-color);
2545
2225
  appearance: none;
2546
2226
  border-radius: 100%;
@@ -2565,12 +2245,10 @@ const BZSt = KoliBri.createTheme("bzst", {
2565
2245
  }
2566
2246
  input::before {
2567
2247
  content: "";
2568
- cursor: pointer;
2569
- left: var(--input-inner-position);
2570
- top: var(--input-inner-position);
2248
+ cursor: pointer; /* left: var(--input-inner-position);top: var(--input-inner-position); */
2571
2249
  position: relative;
2572
2250
  border-radius: 100%;
2573
- display: block;
2251
+ display: inline-block;
2574
2252
  height: var(--input-inner-size);
2575
2253
  width: var(--input-inner-size);
2576
2254
  }
@@ -2608,6 +2286,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2608
2286
  cursor: pointer;
2609
2287
  display: grid;
2610
2288
  font-size: var(--text-size); /* order: 2; */
2289
+ font-weight: 700;
2611
2290
  }
2612
2291
  legend {
2613
2292
  font-size: var(--text-size);
@@ -2848,7 +2527,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2848
2527
  display: grid;
2849
2528
  gap: 1rem;
2850
2529
  }
2851
- :host .navigation-list {
2530
+ :host > div {
2852
2531
  display: inline-flex;
2853
2532
  flex-wrap: wrap;
2854
2533
  align-items: center;
@@ -2880,6 +2559,22 @@ const BZSt = KoliBri.createTheme("bzst", {
2880
2559
  align-self: flex-end;
2881
2560
  padding-bottom: 0.5rem;
2882
2561
  color: var(--color-midnight);
2562
+ }
2563
+ kol-button::part(icon)::before {
2564
+ font-family: "Font Awesome 6 Free";
2565
+ font-weight: 900;
2566
+ }
2567
+ kol-button.first::part(icon)::before {
2568
+ content: "\\f100";
2569
+ }
2570
+ kol-button.previous::part(icon)::before {
2571
+ content: "\\f104";
2572
+ }
2573
+ kol-button.next::part(icon)::before {
2574
+ content: "\\f105";
2575
+ }
2576
+ kol-button.last::part(icon)::before {
2577
+ content: "\\f101";
2883
2578
  }`,
2884
2579
  "KOL-INPUT-RANGE": `/* https://www.cssportal.com/style-input-range/ */
2885
2580
  kol-input {
@@ -3081,10 +2776,10 @@ const BZSt = KoliBri.createTheme("bzst", {
3081
2776
  align-items: center;
3082
2777
  justify-content: center;
3083
2778
  }
3084
- a.hide-label {
2779
+ a.icon-only {
3085
2780
  padding: 8px;
3086
2781
  }
3087
- a.hide-label kol-icon {
2782
+ a.icon-only kol-icon {
3088
2783
  display: inline-block;
3089
2784
  width: 1.5em;
3090
2785
  height: 1.5em;
@@ -3138,18 +2833,214 @@ const BZSt = KoliBri.createTheme("bzst", {
3138
2833
  :host kol-icon[exportparts*="separator"] {
3139
2834
  padding: 0 0.5rem;
3140
2835
  }
3141
- :host kol-icon::part(icon separator) {
2836
+ :host kol-icon::part(icon) {
2837
+ font-family: "Font Awesome 6 Free";
3142
2838
  font-weight: 900;
3143
- font-size: 0.875rem;
2839
+ font-size: 0.875rem !important;
3144
2840
  }
3145
- :host kol-icon::part(icon separator)::before {
3146
- color: black;
3147
- content: "\\f054";
2841
+ :host kol-icon::part(icon)::before {
2842
+ color: currentColor;
3148
2843
  font-family: "Font Awesome 6 Free";
3149
2844
  }
2845
+ :host ul > li:not(:first-child) kol-icon::part(icon)::before {
2846
+ content: "\\f105";
2847
+ }
3150
2848
  :host li > kol-link > kol-link-wc > a {
3151
2849
  color: red !important;
3152
2850
  }`,
2851
+ "KOL-MODAL": `:host .overlay .modal {
2852
+ max-height: calc(100% - 32px);
2853
+ }`,
2854
+ "KOL-ICON": `:host {
2855
+ color: inherit;
2856
+ } /*! * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2022 Fonticons, Inc. */
2857
+ .fa {
2858
+ font-family: var(--fa-style-family, "Font Awesome 6 Free");
2859
+ font-weight: var(--fa-style, 900);
2860
+ }
2861
+ .fa,
2862
+ .fas,
2863
+ .fa-solid,
2864
+ .far,
2865
+ .fa-regular,
2866
+ .fal,
2867
+ .fa-light,
2868
+ .fat,
2869
+ .fa-thin,
2870
+ .fad,
2871
+ .fa-duotone,
2872
+ .fab,
2873
+ .fa-brands {
2874
+ -moz-osx-font-smoothing: grayscale;
2875
+ -webkit-font-smoothing: antialiased;
2876
+ display: var(--fa-display, inline-block);
2877
+ font-style: normal;
2878
+ font-variant: normal;
2879
+ line-height: 1;
2880
+ text-rendering: auto;
2881
+ }
2882
+ [class*="fa-"] {
2883
+ font-style: 0.8rem;
2884
+ } /************************************************************/
2885
+ .fa-arrow-right::before {
2886
+ content: "\\f061";
2887
+ }
2888
+ .fa-arrow-right-from-bracket::before {
2889
+ content: "\\f08b";
2890
+ }
2891
+ .fa-clock::before {
2892
+ content: "\\f017";
2893
+ }
2894
+ .fa-home::before {
2895
+ content: "\\f015";
2896
+ }
2897
+ .fa-times-circle::before {
2898
+ content: "\\f057";
2899
+ }
2900
+ .fa-exclamation-triangle::before {
2901
+ content: "\\f071";
2902
+ } /************************************************************/
2903
+ .fa-chevron-left::before {
2904
+ content: "\\f053";
2905
+ }
2906
+ .fa-chevron-right::before {
2907
+ content: "\\f054";
2908
+ }
2909
+ fa-exclamation-triangle::before {
2910
+ content: "\\f071";
2911
+ }
2912
+ .fa-file::before {
2913
+ content: "\\f15b";
2914
+ }
2915
+ .fa-house::before {
2916
+ content: "\\f015";
2917
+ }
2918
+ .fa-link::before {
2919
+ content: "\\f0c1";
2920
+ }
2921
+ .fa-plus::before {
2922
+ content: "\\2b";
2923
+ }
2924
+ .fa-search::before {
2925
+ content: "\\f002";
2926
+ }
2927
+ .fa-times-circle::before {
2928
+ content: "\\f057";
2929
+ }
2930
+ .fa-arrow-up-right-from-square::before {
2931
+ content: "\\f08e";
2932
+ }
2933
+ .fa-user::before {
2934
+ content: "\\f007";
2935
+ }
2936
+ .fa-xmark::before {
2937
+ content: "\\f00d";
2938
+ } /************************************************************/
2939
+ :root,
2940
+ :host {
2941
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
2942
+ }
2943
+ @font-face {
2944
+ font-family: "Font Awesome 6 Free";
2945
+ font-style: normal;
2946
+ font-weight: 400;
2947
+ font-display: block;
2948
+ src: url("../webfonts/fa-regular-400.woff2") format("woff2"),
2949
+ url("../webfonts/fa-regular-400.ttf") format("truetype");
2950
+ }
2951
+ .far,
2952
+ .fa-regular {
2953
+ font-family: "Font Awesome 6 Free";
2954
+ font-weight: 400;
2955
+ }
2956
+ :root,
2957
+ :host {
2958
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
2959
+ }
2960
+ @font-face {
2961
+ font-family: "Font Awesome 6 Free";
2962
+ font-style: normal;
2963
+ font-weight: 900;
2964
+ font-display: block;
2965
+ src: url("../webfonts/fa-solid-900.woff2") format("woff2"),
2966
+ url("../webfonts/fa-solid-900.ttf") format("truetype");
2967
+ }
2968
+ .fas,
2969
+ .fa-solid {
2970
+ font-family: "Font Awesome 6 Free";
2971
+ font-weight: 900;
2972
+ }
2973
+ @font-face {
2974
+ font-family: "Font Awesome 5 Brands";
2975
+ font-display: block;
2976
+ font-weight: 400;
2977
+ src: url("../webfonts/fa-brands-400.woff2") format("woff2"),
2978
+ url("../webfonts/fa-brands-400.ttf") format("truetype");
2979
+ }
2980
+ @font-face {
2981
+ font-family: "Font Awesome 5 Free";
2982
+ font-display: block;
2983
+ font-weight: 900;
2984
+ src: url("../webfonts/fa-solid-900.woff2") format("woff2"),
2985
+ url("../webfonts/fa-solid-900.ttf") format("truetype");
2986
+ }
2987
+ @font-face {
2988
+ font-family: "Font Awesome 5 Free";
2989
+ font-display: block;
2990
+ font-weight: 400;
2991
+ src: url("../webfonts/fa-regular-400.woff2") format("woff2"),
2992
+ url("../webfonts/fa-regular-400.ttf") format("truetype");
2993
+ }
2994
+ @font-face {
2995
+ font-family: "FontAwesome";
2996
+ font-display: block;
2997
+ src: url("../webfonts/fa-solid-900.woff2") format("woff2"),
2998
+ url("../webfonts/fa-solid-900.ttf") format("truetype");
2999
+ }
3000
+ @font-face {
3001
+ font-family: "FontAwesome";
3002
+ font-display: block;
3003
+ src: url("../webfonts/fa-brands-400.woff2") format("woff2"),
3004
+ url("../webfonts/fa-brands-400.ttf") format("truetype");
3005
+ }
3006
+ @font-face {
3007
+ font-family: "FontAwesome";
3008
+ font-display: block;
3009
+ src: url("../webfonts/fa-regular-400.woff2") format("woff2"),
3010
+ url("../webfonts/fa-regular-400.ttf") format("truetype");
3011
+ unicode-range: U+F003, U+F006, U+F014, U+F016-F017, U+F01A-F01B, U+F01D,
3012
+ U+F022, U+F03E, U+F044, U+F046, U+F05C-F05D, U+F06E, U+F070, U+F087-F088,
3013
+ U+F08A, U+F094, U+F096-F097, U+F09D, U+F0A0, U+F0A2, U+F0A4-F0A7, U+F0C5,
3014
+ U+F0C7, U+F0E5-F0E6, U+F0EB, U+F0F6-F0F8, U+F10C, U+F114-F115, U+F118-F11A,
3015
+ U+F11C-F11D, U+F133, U+F147, U+F14E, U+F150-F152, U+F185-F186, U+F18E,
3016
+ U+F190-F192, U+F196, U+F1C1-F1C9, U+F1D9, U+F1DB, U+F1E3, U+F1EA, U+F1F7,
3017
+ U+F1F9, U+F20A, U+F247-F248, U+F24A, U+F24D, U+F255-F25B, U+F25D,
3018
+ U+F271-F274, U+F278, U+F27B, U+F28C, U+F28E, U+F29C, U+F2B5, U+F2B7, U+F2BA,
3019
+ U+F2BC, U+F2BE, U+F2C0-F2C1, U+F2C3, U+F2D0, U+F2D2, U+F2D4, U+F2DC;
3020
+ }
3021
+ @font-face {
3022
+ font-family: "FontAwesome";
3023
+ font-display: block;
3024
+ src: url("../webfonts/fa-v4compatibility.woff2") format("woff2"),
3025
+ url("../webfonts/fa-v4compatibility.ttf") format("truetype");
3026
+ unicode-range: U+F041, U+F047, U+F065-F066, U+F07D-F07E, U+F080, U+F08B,
3027
+ U+F08E, U+F090, U+F09A, U+F0AC, U+F0AE, U+F0B2, U+F0D0, U+F0D6, U+F0E4,
3028
+ U+F0EC, U+F10A-F10B, U+F123, U+F13E, U+F148-F149, U+F14C, U+F156, U+F15E,
3029
+ U+F160-F161, U+F163, U+F175-F178, U+F195, U+F1F8, U+F219, U+F250, U+F252,
3030
+ U+F27A;
3031
+ }`,
3032
+ "KOL-SKIP-NAV": `kol-link-wc > a > kol-span-wc {
3033
+ border-radius: var(--a11y-min-size);
3034
+ border-style: solid;
3035
+ border-width: 2px;
3036
+ gap: 0.5rem;
3037
+ line-height: 1rem;
3038
+ padding: 8px 14px;
3039
+ background-color: var(--color-ocean);
3040
+ border-color: var(--color-ocean);
3041
+ color: var(--color-white);
3042
+ cursor: pointer;
3043
+ }`,
3153
3044
  "KOL-LINK-GROUP": `ul {
3154
3045
  list-style: none;
3155
3046
  margin: 0px;
@@ -3178,17 +3069,8 @@ const BZSt = KoliBri.createTheme("bzst", {
3178
3069
  list-style-type: none !important;
3179
3070
  margin-left: 0;
3180
3071
  }`,
3181
- "KOL-SKIP-NAV": `kol-link-wc > a > kol-span-wc {
3182
- border-radius: 2px;
3183
- border-style: solid;
3184
- border-width: 2px;
3185
- gap: 0.5rem;
3186
- line-height: 1rem;
3187
- padding: 0.75rem 1rem;
3188
- background-color: var(--colorPrimary);
3189
- border-color: var(--colorPrimary);
3190
- color: var(--colorPrimaryFront);
3191
- cursor: pointer;
3072
+ "KOL-TOOLTIP": `:host {
3073
+ --kolibri-font-size: var(--textFontSize);
3192
3074
  }`
3193
3075
  });
3194
3076
 
@@ -3875,20 +3757,32 @@ const BMF = KoliBri.createTheme("bmf", {
3875
3757
  }`,
3876
3758
  "KOL-TEXTAREA": `kol-input {
3877
3759
  gap: 0.25em;
3760
+ display: grid;
3761
+ grid-template-areas: "error error" "label counter" "input input" "hint hint";
3762
+ grid-template-columns: 1fr 115px;
3878
3763
  }
3879
3764
  kol-input .error {
3880
3765
  order: 1;
3766
+ grid-area: error;
3881
3767
  }
3882
3768
  kol-input label {
3883
3769
  order: 2;
3770
+ grid-area: label;
3771
+ }
3772
+ kol-input .counter {
3773
+ order: 2;
3774
+ grid-area: counter;
3775
+ justify-self: end;
3884
3776
  }
3885
3777
  kol-input .input {
3886
3778
  order: 3;
3779
+ grid-area: input;
3887
3780
  }
3888
3781
  kol-input .hint {
3889
3782
  order: 4;
3890
3783
  font-size: 0.875em;
3891
3784
  font-style: italic;
3785
+ grid-area: hint;
3892
3786
  }
3893
3787
  textarea {
3894
3788
  border: none;
@@ -4696,33 +4590,28 @@ const BMF = KoliBri.createTheme("bmf", {
4696
4590
  overflow-y: hidden;
4697
4591
  }
4698
4592
  caption {
4699
- padding: 0.5em;
4700
- }
4701
- th {
4702
- font-weight: normal;
4703
- color: var(--color-midnight);
4704
- }
4705
- :host table thead tr:first-child th,
4706
- :host table thead tr:first-child td {
4593
+ position: absolute;
4594
+ width: 1px;
4595
+ height: 1px;
4596
+ padding: 0;
4597
+ margin: -1px;
4598
+ overflow: hidden;
4599
+ clip: rect(0, 0, 0, 0);
4600
+ white-space: nowrap;
4707
4601
  border-width: 0;
4708
- border-top-width: 2px;
4709
- border-style: solid;
4710
- border-color: var(--color-ice);
4711
4602
  }
4712
4603
  table {
4713
4604
  width: 100%;
4714
4605
  border-spacing: 0;
4715
4606
  }
4716
- table,
4717
- :host table thead tr:last-child th,
4718
- :host table thead tr:last-child td {
4719
- border-width: 0;
4720
- border-bottom-width: 2px;
4721
- border-style: solid;
4722
- border-color: var(--color-ice);
4607
+ tbody tr:last-child th,
4608
+ tr:last-child td {
4609
+ border-bottom-width: 0;
4723
4610
  }
4724
4611
  th {
4725
- background-color: var(--color-white);
4612
+ padding: 0.75em 0;
4613
+ font-weight: 700;
4614
+ color: var(--color-black);
4726
4615
  }
4727
4616
  th div {
4728
4617
  width: 100%;
@@ -4737,12 +4626,20 @@ const BMF = KoliBri.createTheme("bmf", {
4737
4626
  th div.right {
4738
4627
  justify-content: end;
4739
4628
  }
4740
- tr:nth-child(even) {
4741
- background-color: #f2f2f2;
4742
- }
4743
4629
  th,
4744
4630
  td {
4745
- padding: 0.5em;
4631
+ vertical-align: top;
4632
+ border-bottom: 1px solid var(--color-granite);
4633
+ height: 1.25rem;
4634
+ }
4635
+ tbody th,
4636
+ td {
4637
+ padding: 1em 0;
4638
+ }
4639
+ th kol-button,
4640
+ td kol-button {
4641
+ margin-top: -0.75rem;
4642
+ margin-bottom: -0.75rem;
4746
4643
  }
4747
4644
  td.center > div {
4748
4645
  display: flex;
@@ -4756,9 +4653,6 @@ const BMF = KoliBri.createTheme("bmf", {
4756
4653
  th[aria-sort="descending"] {
4757
4654
  font-weight: 700;
4758
4655
  }
4759
- :host > div:last-child {
4760
- padding: 0.5em;
4761
- }
4762
4656
  :host > div:last-child,
4763
4657
  :host > div:last-child > div:last-child {
4764
4658
  display: grid;
@@ -4766,6 +4660,11 @@ const BMF = KoliBri.createTheme("bmf", {
4766
4660
  justify-items: center;
4767
4661
  gap: 1em;
4768
4662
  }
4663
+ .pagination {
4664
+ align-items: center;
4665
+ justify-content: start;
4666
+ grid-template-columns: auto 1fr;
4667
+ }
4769
4668
  @media (min-width: 1024px) {
4770
4669
  :host > div:last-child,
4771
4670
  :host > div:last-child > div:last-child {
@@ -4890,6 +4789,7 @@ const BMF = KoliBri.createTheme("bmf", {
4890
4789
  }
4891
4790
  .entry.hide-label :is(a, button) {
4892
4791
  padding: 0;
4792
+ border-left: 0;
4893
4793
  }`,
4894
4794
  "KOL-CARD": `/* https://www.figma.com/file/56JbmrssCRpjpfxoAFeHqT/Design-System-EPLF-(in-progress)?node-id=8225%3A5945 */
4895
4795
  :host > div {
@@ -5226,7 +5126,7 @@ const BMF = KoliBri.createTheme("bmf", {
5226
5126
  display: inline-block;
5227
5127
  margin-bottom: 0.25em;
5228
5128
  }
5229
- fieldset [slot="input"] {
5129
+ fieldset .input-slot {
5230
5130
  gap: 0.5rem;
5231
5131
  }
5232
5132
  fieldset div label {
@@ -5401,7 +5301,9 @@ const BMF = KoliBri.createTheme("bmf", {
5401
5301
  }`,
5402
5302
  "KOL-PAGINATION": `:host {
5403
5303
  display: grid;
5304
+ grid-template-columns: 1fr auto;
5404
5305
  gap: 1rem;
5306
+ align-items: center;
5405
5307
  }
5406
5308
  :host .navigation-list {
5407
5309
  display: inline-flex;
@@ -19222,7 +19124,7 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
19222
19124
  border: 0;
19223
19125
  gap: 0.5rem;
19224
19126
  }
19225
- div[slot="input"] {
19127
+ .input-slot {
19226
19128
  gap: 0.25rem;
19227
19129
  }
19228
19130
  fieldset kol-alert {
@@ -21319,7 +21221,7 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
21319
21221
  border: 0;
21320
21222
  gap: 0.5rem;
21321
21223
  }
21322
- div[slot="input"] {
21224
+ .input-slot {
21323
21225
  gap: 0.25rem;
21324
21226
  }
21325
21227
  fieldset kol-alert {
@@ -25098,7 +25000,7 @@ const MFM = KoliBri.createTheme("mfm", {
25098
25000
  display: inline-block;
25099
25001
  margin-bottom: 0.25em;
25100
25002
  }
25101
- fieldset [slot="input"] {
25003
+ fieldset .input-slot {
25102
25004
  gap: 0.5rem;
25103
25005
  }
25104
25006
  fieldset div label {
@@ -50377,7 +50279,7 @@ const DEFAULT = KoliBri.createTheme("default", {
50377
50279
  }
50378
50280
  :is(a, button) > kol-span-wc {
50379
50281
  font-weight: 700;
50380
- border-radius: var(--a11y-min-size);
50282
+ border-radius: var(--border-radius);
50381
50283
  border-style: solid;
50382
50284
  border-width: var(--border-width);
50383
50285
  min-height: var(--a11y-min-size);
@@ -52195,7 +52097,7 @@ const DEFAULT = KoliBri.createTheme("default", {
52195
52097
  display: inline-block;
52196
52098
  margin-bottom: calc(var(--spacing) / 2);
52197
52099
  }
52198
- fieldset [slot='input'] {
52100
+ fieldset .input-slot {
52199
52101
  gap: var(--spacing);
52200
52102
  }
52201
52103
  fieldset div label {