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