@public-ui/themes 1.6.0-rc.0 → 1.6.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.cjs +1088 -170
  2. package/dist/index.mjs +1088 -170
  3. package/package.json +3 -3
package/dist/index.cjs CHANGED
@@ -1126,6 +1126,96 @@ const BPA = KoliBri.createTheme("bpa", {
1126
1126
  kol-button-wc > button:focus {
1127
1127
  outline: none;
1128
1128
  }`,
1129
+ "KOL-INPUT-DATE": `:host label {
1130
+ color: var(--color-darkblue);
1131
+ font-size: 0.9375rem;
1132
+ }
1133
+ @media (min-width: 37.5rem) {
1134
+ :host label {
1135
+ font-size: 1.125rem;
1136
+ }
1137
+ } /* Move label over input as placeholder */
1138
+ :host(:not(.has-value)) kol-input:has(input[type="number"]) label {
1139
+ transition: all 0.3s ease-in-out 0ms;
1140
+ transform-origin: 0;
1141
+ }
1142
+ :host(:not(.has-value)) kol-input:has(input[type="number"]):not(:focus-within) label {
1143
+ transform: translateY(1.9375rem) scale(1.3333333333);
1144
+ cursor: text;
1145
+ }
1146
+ :host(:not(.has-value)) kol-input:has(input[type="number"]):not(:focus-within):has(div.icon-left) label {
1147
+ transform: translateX(2.5rem) translateY(1.9375rem) scale(1.3333333333);
1148
+ }
1149
+ :host(:not(.has-value)) kol-input:not(:focus-within) label,
1150
+ input::placeholder {
1151
+ color: var(--color-darkgray);
1152
+ }
1153
+ :host([_error]) kol-input:not(:focus-within) label {
1154
+ color: var(--color-red);
1155
+ }
1156
+ span.hint {
1157
+ order: 1;
1158
+ }
1159
+ kol-alert {
1160
+ order: 2;
1161
+ }
1162
+ :host([_error]) label {
1163
+ color: var(--color-red);
1164
+ }
1165
+ div.input {
1166
+ border-bottom: 1px solid var(--color-lightgray);
1167
+ }
1168
+ div.input:focus-within {
1169
+ border-bottom: 1px solid var(--color-darkgray);
1170
+ }
1171
+ div.input input {
1172
+ border: none;
1173
+ background-color: var(--color-white);
1174
+ outline: none;
1175
+ height: 2.5rem;
1176
+ font-size: 1.5rem;
1177
+ padding: 0;
1178
+ }
1179
+ kol-input:has(label:not([hidden])) div.input input::placeholder {
1180
+ color: transparent;
1181
+ }
1182
+ kol-alert {
1183
+ margin-top: 1.5rem;
1184
+ }
1185
+ kol-button-wc > button > kol-span-wc {
1186
+ padding: 0.625rem 1.125rem;
1187
+ font-family: var(--font);
1188
+ font-size: 1rem;
1189
+ line-height: 1.125rem;
1190
+ border: none;
1191
+ border-radius: 0.125rem;
1192
+ transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;
1193
+ }
1194
+ kol-button-wc > button > kol-span-wc > span {
1195
+ gap: 0.625rem;
1196
+ }
1197
+ kol-button-wc > button > kol-span-wc {
1198
+ background-color: var(--color-white);
1199
+ color: var(--color-black);
1200
+ }
1201
+ kol-button-wc > button > kol-span-wc kol-icon {
1202
+ color: var(--color-blue);
1203
+ }
1204
+ kol-button-wc > button:is(:hover, :focus) > kol-span-wc kol-icon {
1205
+ color: var(--color-white);
1206
+ }
1207
+ kol-button-wc > button:is(:hover, :focus) > kol-span-wc {
1208
+ cursor: pointer;
1209
+ background-color: var(--color-blue);
1210
+ color: var(--color-white);
1211
+ }
1212
+ kol-button-wc > button:focus > kol-span-wc {
1213
+ outline: 1px dotted var(--color-black);
1214
+ border: none;
1215
+ }
1216
+ kol-button-wc > button:focus {
1217
+ outline: none;
1218
+ }`,
1129
1219
  "KOL-INPUT-COLOR": `:host label {
1130
1220
  color: var(--color-darkblue);
1131
1221
  font-size: 0.9375rem;
@@ -2098,11 +2188,10 @@ const BZSt = KoliBri.createTheme("bzst", {
2098
2188
  button.loading kol-icon {
2099
2189
  animation: spin 5s infinite linear;
2100
2190
  }`,
2101
- "KOL-INPUT-TEXT": `kol-input {
2191
+ "KOL-INPUT-DATE": `kol-input {
2102
2192
  display: grid;
2103
2193
  padding: 0;
2104
2194
  margin: 0;
2105
- font-size: var(--text-size);
2106
2195
  }
2107
2196
  input:focus,
2108
2197
  input:hover,
@@ -2110,12 +2199,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2110
2199
  select:hover,
2111
2200
  textarea:focus,
2112
2201
  textarea:hover {
2113
- border-color: var(--color-gruen-hell);
2114
- }
2115
- .error input:invalid,
2116
- .error select:invalid,
2117
- .error textarea:invalid {
2118
- border-color: var(--color-rot);
2202
+ border-color: black;
2119
2203
  }
2120
2204
  input:focus-within,
2121
2205
  select:focus-within,
@@ -2126,125 +2210,6 @@ const BZSt = KoliBri.createTheme("bzst", {
2126
2210
  order: 1;
2127
2211
  margin-bottom: var(--gapSmallest);
2128
2212
  }
2129
- kol-input > label > span {
2130
- color: var(--color-text);
2131
- line-height: 1.5;
2132
- }
2133
- kol-input > div.input {
2134
- background-color: white;
2135
- display: block;
2136
- order: 2;
2137
- }
2138
- kol-input > kol-alert.error {
2139
- margin-top: 0.25rem;
2140
- order: 3;
2141
- }
2142
- input,
2143
- select,
2144
- textarea {
2145
- font-family: var(--font-family);
2146
- background-color: transparent;
2147
- box-sizing: border-box;
2148
- font-size: var(--text-size);
2149
- display: inline-flex;
2150
- line-height: 1.5;
2151
- color: black;
2152
- border-color: var(--color-gruen);
2153
- border-width: 1px;
2154
- border-style: solid;
2155
- padding: 0.5em 0.75em;
2156
- overflow: hidden;
2157
- width: 100%;
2158
- }
2159
- input:not([type="range"]),
2160
- select:not([multiple]) {
2161
- height: 2.75em;
2162
- }
2163
- textarea {
2164
- display: inherit;
2165
- }
2166
- input::placeholder {
2167
- color: var(--color-grau-dunkel);
2168
- }
2169
- input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
2170
- cursor: not-allowed;
2171
- }
2172
- .required label > span::after {
2173
- content: "*";
2174
- padding-left: 0.125em;
2175
- }
2176
- .icons {
2177
- display: flex;
2178
- justify-content: space-between;
2179
- height: 0;
2180
- }
2181
- .icons > * {
2182
- margin: 0.75em;
2183
- }
2184
- .icon-left input,
2185
- .icon-left select {
2186
- padding-left: 2em;
2187
- }
2188
- .icon-right input,
2189
- .icon-right select {
2190
- padding-right: 2em;
2191
- }
2192
- kol-button-wc {
2193
- position: relative;
2194
- float: right;
2195
- z-index: 1000;
2196
- margin-top: -33px;
2197
- }
2198
- kol-button-wc button {
2199
- border: 1px solid var(--color-grau-dunkel);
2200
- box-sizing: border-box;
2201
- background-color: transparent;
2202
- cursor: pointer;
2203
- }
2204
- .icon-right kol-button-wc {
2205
- margin-right: 2.5em;
2206
- }
2207
- .disabled {
2208
- opacity: 0.33;
2209
- }
2210
- select[multiple],
2211
- textarea {
2212
- overflow: auto;
2213
- }
2214
- textarea {
2215
- display: block;
2216
- }
2217
- select option {
2218
- margin: 1px 0;
2219
- padding: 0.5em;
2220
- cursor: pointer;
2221
- }
2222
- select option:disabled {
2223
- cursor: not-allowed;
2224
- }
2225
- option:active:not(:disabled),
2226
- option:checked:not(:disabled),
2227
- option:focus:not(:disabled),
2228
- option:hover:not(:disabled) {
2229
- color: white;
2230
- }`,
2231
- "KOL-INPUT-PASSWORD": `kol-input {
2232
- display: grid;
2233
- padding: 0;
2234
- margin: 0;
2235
- }
2236
- input:focus,
2237
- input:hover,
2238
- select:focus,
2239
- select:hover,
2240
- textarea:focus,
2241
- textarea:hover {
2242
- border-color: black;
2243
- }
2244
- kol-input > label {
2245
- order: 1;
2246
- margin-bottom: 0.25em;
2247
- }
2248
2213
  kol-input > label > span {
2249
2214
  color: black;
2250
2215
  font-size: 0.875rem;
@@ -2262,17 +2227,17 @@ const BZSt = KoliBri.createTheme("bzst", {
2262
2227
  input,
2263
2228
  select,
2264
2229
  textarea {
2265
- font-family: var(--font-family);
2230
+ font-family: var(--textFont);
2266
2231
  background-color: transparent;
2267
2232
  box-sizing: border-box;
2268
- font-size: 1rem;
2233
+ font-size: var(--textFontSize);
2269
2234
  display: inline-flex;
2270
- line-height: 1.5em;
2235
+ line-height: 1.5;
2271
2236
  color: black;
2272
- border-color: var(--color-grau-dunkel);
2237
+ border-color: var(--color-gruen);
2273
2238
  border-width: 1px;
2274
2239
  border-style: solid;
2275
- padding: 0.5em 0.75em;
2240
+ padding: 0.5em;
2276
2241
  overflow: hidden;
2277
2242
  width: 100%;
2278
2243
  }
@@ -2312,7 +2277,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2312
2277
  kol-button-wc {
2313
2278
  position: relative;
2314
2279
  float: right;
2315
- z-index: 1000;
2280
+ z-index: 1;
2316
2281
  margin-top: -33px;
2317
2282
  }
2318
2283
  kol-button-wc button {
@@ -2346,12 +2311,14 @@ const BZSt = KoliBri.createTheme("bzst", {
2346
2311
  option:checked:not(:disabled),
2347
2312
  option:focus:not(:disabled),
2348
2313
  option:hover:not(:disabled) {
2314
+ background: var(--color-ocean);
2349
2315
  color: white;
2350
2316
  }`,
2351
- "KOL-INPUT-NUMBER": `kol-input {
2317
+ "KOL-INPUT-TEXT": `kol-input {
2352
2318
  display: grid;
2353
2319
  padding: 0;
2354
2320
  margin: 0;
2321
+ font-size: var(--text-size);
2355
2322
  }
2356
2323
  input:focus,
2357
2324
  input:hover,
@@ -2359,7 +2326,12 @@ const BZSt = KoliBri.createTheme("bzst", {
2359
2326
  select:hover,
2360
2327
  textarea:focus,
2361
2328
  textarea:hover {
2362
- border-color: black;
2329
+ border-color: var(--color-gruen-hell);
2330
+ }
2331
+ .error input:invalid,
2332
+ .error select:invalid,
2333
+ .error textarea:invalid {
2334
+ border-color: var(--color-rot);
2363
2335
  }
2364
2336
  input:focus-within,
2365
2337
  select:focus-within,
@@ -2371,9 +2343,8 @@ const BZSt = KoliBri.createTheme("bzst", {
2371
2343
  margin-bottom: var(--gapSmallest);
2372
2344
  }
2373
2345
  kol-input > label > span {
2374
- color: black;
2375
- font-size: 0.875rem;
2376
- line-height: 1.5rem;
2346
+ color: var(--color-text);
2347
+ line-height: 1.5;
2377
2348
  }
2378
2349
  kol-input > div.input {
2379
2350
  background-color: white;
@@ -2381,23 +2352,23 @@ const BZSt = KoliBri.createTheme("bzst", {
2381
2352
  order: 2;
2382
2353
  }
2383
2354
  kol-input > kol-alert.error {
2384
- margin-top: 0.25em;
2355
+ margin-top: 0.25rem;
2385
2356
  order: 3;
2386
2357
  }
2387
2358
  input,
2388
2359
  select,
2389
2360
  textarea {
2390
- font-family: var(--textFont);
2361
+ font-family: var(--font-family);
2391
2362
  background-color: transparent;
2392
2363
  box-sizing: border-box;
2393
- font-size: var(--textFontSize);
2364
+ font-size: var(--text-size);
2394
2365
  display: inline-flex;
2395
2366
  line-height: 1.5;
2396
2367
  color: black;
2397
2368
  border-color: var(--color-gruen);
2398
2369
  border-width: 1px;
2399
2370
  border-style: solid;
2400
- padding: 0.5em;
2371
+ padding: 0.5em 0.75em;
2401
2372
  overflow: hidden;
2402
2373
  width: 100%;
2403
2374
  }
@@ -2437,7 +2408,7 @@ const BZSt = KoliBri.createTheme("bzst", {
2437
2408
  kol-button-wc {
2438
2409
  position: relative;
2439
2410
  float: right;
2440
- z-index: 1;
2411
+ z-index: 1000;
2441
2412
  margin-top: -33px;
2442
2413
  }
2443
2414
  kol-button-wc button {
@@ -2471,10 +2442,255 @@ const BZSt = KoliBri.createTheme("bzst", {
2471
2442
  option:checked:not(:disabled),
2472
2443
  option:focus:not(:disabled),
2473
2444
  option:hover:not(:disabled) {
2474
- background: var(--color-ocean);
2475
2445
  color: white;
2476
2446
  }`,
2477
- "KOL-INPUT-EMAIL": `kol-input {
2447
+ "KOL-INPUT-PASSWORD": `kol-input {
2448
+ display: grid;
2449
+ padding: 0;
2450
+ margin: 0;
2451
+ }
2452
+ input:focus,
2453
+ input:hover,
2454
+ select:focus,
2455
+ select:hover,
2456
+ textarea:focus,
2457
+ textarea:hover {
2458
+ border-color: black;
2459
+ }
2460
+ kol-input > label {
2461
+ order: 1;
2462
+ margin-bottom: 0.25em;
2463
+ }
2464
+ kol-input > label > span {
2465
+ color: black;
2466
+ font-size: 0.875rem;
2467
+ line-height: 1.5rem;
2468
+ }
2469
+ kol-input > div.input {
2470
+ background-color: white;
2471
+ display: block;
2472
+ order: 2;
2473
+ }
2474
+ kol-input > kol-alert.error {
2475
+ margin-top: 0.25em;
2476
+ order: 3;
2477
+ }
2478
+ input,
2479
+ select,
2480
+ textarea {
2481
+ font-family: var(--font-family);
2482
+ background-color: transparent;
2483
+ box-sizing: border-box;
2484
+ font-size: 1rem;
2485
+ display: inline-flex;
2486
+ line-height: 1.5em;
2487
+ color: black;
2488
+ border-color: var(--color-grau-dunkel);
2489
+ border-width: 1px;
2490
+ border-style: solid;
2491
+ padding: 0.5em 0.75em;
2492
+ overflow: hidden;
2493
+ width: 100%;
2494
+ }
2495
+ input:not([type="range"]),
2496
+ select:not([multiple]) {
2497
+ height: 2.75em;
2498
+ }
2499
+ textarea {
2500
+ display: inherit;
2501
+ }
2502
+ input::placeholder {
2503
+ color: var(--color-grau-dunkel);
2504
+ }
2505
+ input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
2506
+ cursor: not-allowed;
2507
+ }
2508
+ .required label > span::after {
2509
+ content: "*";
2510
+ padding-left: 0.125em;
2511
+ }
2512
+ .icons {
2513
+ display: flex;
2514
+ justify-content: space-between;
2515
+ height: 0;
2516
+ }
2517
+ .icons > * {
2518
+ margin: 0.75em;
2519
+ }
2520
+ .icon-left input,
2521
+ .icon-left select {
2522
+ padding-left: 2em;
2523
+ }
2524
+ .icon-right input,
2525
+ .icon-right select {
2526
+ padding-right: 2em;
2527
+ }
2528
+ kol-button-wc {
2529
+ position: relative;
2530
+ float: right;
2531
+ z-index: 1000;
2532
+ margin-top: -33px;
2533
+ }
2534
+ kol-button-wc button {
2535
+ border: 1px solid var(--color-grau-dunkel);
2536
+ box-sizing: border-box;
2537
+ background-color: transparent;
2538
+ cursor: pointer;
2539
+ }
2540
+ .icon-right kol-button-wc {
2541
+ margin-right: 2.5em;
2542
+ }
2543
+ .disabled {
2544
+ opacity: 0.33;
2545
+ }
2546
+ select[multiple],
2547
+ textarea {
2548
+ overflow: auto;
2549
+ }
2550
+ textarea {
2551
+ display: block;
2552
+ }
2553
+ select option {
2554
+ margin: 1px 0;
2555
+ padding: 0.5em;
2556
+ cursor: pointer;
2557
+ }
2558
+ select option:disabled {
2559
+ cursor: not-allowed;
2560
+ }
2561
+ option:active:not(:disabled),
2562
+ option:checked:not(:disabled),
2563
+ option:focus:not(:disabled),
2564
+ option:hover:not(:disabled) {
2565
+ color: white;
2566
+ }`,
2567
+ "KOL-INPUT-NUMBER": `kol-input {
2568
+ display: grid;
2569
+ padding: 0;
2570
+ margin: 0;
2571
+ }
2572
+ input:focus,
2573
+ input:hover,
2574
+ select:focus,
2575
+ select:hover,
2576
+ textarea:focus,
2577
+ textarea:hover {
2578
+ border-color: black;
2579
+ }
2580
+ input:focus-within,
2581
+ select:focus-within,
2582
+ textarea:focus-within {
2583
+ outline: var(--color-focus) solid 2px;
2584
+ }
2585
+ kol-input > label {
2586
+ order: 1;
2587
+ margin-bottom: var(--gapSmallest);
2588
+ }
2589
+ kol-input > label > span {
2590
+ color: black;
2591
+ font-size: 0.875rem;
2592
+ line-height: 1.5rem;
2593
+ }
2594
+ kol-input > div.input {
2595
+ background-color: white;
2596
+ display: block;
2597
+ order: 2;
2598
+ }
2599
+ kol-input > kol-alert.error {
2600
+ margin-top: 0.25em;
2601
+ order: 3;
2602
+ }
2603
+ input,
2604
+ select,
2605
+ textarea {
2606
+ font-family: var(--textFont);
2607
+ background-color: transparent;
2608
+ box-sizing: border-box;
2609
+ font-size: var(--textFontSize);
2610
+ display: inline-flex;
2611
+ line-height: 1.5;
2612
+ color: black;
2613
+ border-color: var(--color-gruen);
2614
+ border-width: 1px;
2615
+ border-style: solid;
2616
+ padding: 0.5em;
2617
+ overflow: hidden;
2618
+ width: 100%;
2619
+ }
2620
+ input:not([type="range"]),
2621
+ select:not([multiple]) {
2622
+ height: 2.75em;
2623
+ }
2624
+ textarea {
2625
+ display: inherit;
2626
+ }
2627
+ input::placeholder {
2628
+ color: var(--color-grau-dunkel);
2629
+ }
2630
+ input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
2631
+ cursor: not-allowed;
2632
+ }
2633
+ .required label > span::after {
2634
+ content: "*";
2635
+ padding-left: 0.125em;
2636
+ }
2637
+ .icons {
2638
+ display: flex;
2639
+ justify-content: space-between;
2640
+ height: 0;
2641
+ }
2642
+ .icons > * {
2643
+ margin: 0.75em;
2644
+ }
2645
+ .icon-left input,
2646
+ .icon-left select {
2647
+ padding-left: 2em;
2648
+ }
2649
+ .icon-right input,
2650
+ .icon-right select {
2651
+ padding-right: 2em;
2652
+ }
2653
+ kol-button-wc {
2654
+ position: relative;
2655
+ float: right;
2656
+ z-index: 1;
2657
+ margin-top: -33px;
2658
+ }
2659
+ kol-button-wc button {
2660
+ border: 1px solid var(--color-grau-dunkel);
2661
+ box-sizing: border-box;
2662
+ background-color: transparent;
2663
+ cursor: pointer;
2664
+ }
2665
+ .icon-right kol-button-wc {
2666
+ margin-right: 2.5em;
2667
+ }
2668
+ .disabled {
2669
+ opacity: 0.33;
2670
+ }
2671
+ select[multiple],
2672
+ textarea {
2673
+ overflow: auto;
2674
+ }
2675
+ textarea {
2676
+ display: block;
2677
+ }
2678
+ select option {
2679
+ margin: 1px 0;
2680
+ padding: 0.5em;
2681
+ cursor: pointer;
2682
+ }
2683
+ select option:disabled {
2684
+ cursor: not-allowed;
2685
+ }
2686
+ option:active:not(:disabled),
2687
+ option:checked:not(:disabled),
2688
+ option:focus:not(:disabled),
2689
+ option:hover:not(:disabled) {
2690
+ background: var(--color-ocean);
2691
+ color: white;
2692
+ }`,
2693
+ "KOL-INPUT-EMAIL": `kol-input {
2478
2694
  display: grid;
2479
2695
  padding: 0;
2480
2696
  margin: 0;
@@ -4943,7 +5159,7 @@ const BMF = KoliBri.createTheme("bmf", {
4943
5159
  border-color: var(--color-granite);
4944
5160
  color: var(--color-black);
4945
5161
  }`,
4946
- "KOL-INPUT-EMAIL": `kol-input {
5162
+ "KOL-INPUT-DATE": `kol-input {
4947
5163
  gap: 0.25em;
4948
5164
  }
4949
5165
  kol-input .error {
@@ -4994,7 +5210,6 @@ const BMF = KoliBri.createTheme("bmf", {
4994
5210
  .input:hover {
4995
5211
  border-color: var(--color-midnight);
4996
5212
  }
4997
- input:read-only,
4998
5213
  input:disabled {
4999
5214
  cursor: not-allowed;
5000
5215
  }
@@ -5021,7 +5236,7 @@ const BMF = KoliBri.createTheme("bmf", {
5021
5236
  border-color: var(--color-granite);
5022
5237
  color: var(--color-black);
5023
5238
  }`,
5024
- "KOL-INPUT-FILE": `kol-input {
5239
+ "KOL-INPUT-EMAIL": `kol-input {
5025
5240
  gap: 0.25em;
5026
5241
  }
5027
5242
  kol-input .error {
@@ -5038,15 +5253,9 @@ const BMF = KoliBri.createTheme("bmf", {
5038
5253
  font-size: 0.875em;
5039
5254
  font-style: italic;
5040
5255
  }
5041
- kol-input .input input[type="file"] {
5042
- padding-top: calc(0.5em + 2px);
5043
- }
5044
5256
  input {
5045
5257
  border: none;
5046
5258
  }
5047
- input[type="file"] {
5048
- background-color: transparent;
5049
- }
5050
5259
  input::placeholder {
5051
5260
  color: var(--color-grey);
5052
5261
  }
@@ -5097,15 +5306,15 @@ const BMF = KoliBri.createTheme("bmf", {
5097
5306
  color: var(--color-red);
5098
5307
  font-weight: 700;
5099
5308
  }
5100
- kol-input.disabled :is(button, input, label, option, select, textarea) {
5309
+ kol-input.disabled :is(input, label) {
5101
5310
  opacity: 1;
5102
5311
  }
5103
- kol-input.disabled :is(input, select, textarea, .input) {
5312
+ kol-input.disabled :is(input, .input) {
5104
5313
  background-color: var(--color-smoke);
5105
5314
  border-color: var(--color-granite);
5106
5315
  color: var(--color-black);
5107
5316
  }`,
5108
- "KOL-TEXTAREA": `kol-input {
5317
+ "KOL-INPUT-FILE": `kol-input {
5109
5318
  gap: 0.25em;
5110
5319
  }
5111
5320
  kol-input .error {
@@ -5122,7 +5331,91 @@ const BMF = KoliBri.createTheme("bmf", {
5122
5331
  font-size: 0.875em;
5123
5332
  font-style: italic;
5124
5333
  }
5125
- textarea {
5334
+ kol-input .input input[type="file"] {
5335
+ padding-top: calc(0.5em + 2px);
5336
+ }
5337
+ input {
5338
+ border: none;
5339
+ }
5340
+ input[type="file"] {
5341
+ background-color: transparent;
5342
+ }
5343
+ input::placeholder {
5344
+ color: var(--color-grey);
5345
+ }
5346
+ .input {
5347
+ background-color: var(--color-white);
5348
+ border-color: var(--color-grey);
5349
+ border-radius: var(--border-radius);
5350
+ border-style: solid;
5351
+ border-width: 2px;
5352
+ padding: 0 0.5em;
5353
+ }
5354
+ .input > kol-icon {
5355
+ width: 1em;
5356
+ }
5357
+ .input:is(.icon-left, .icon-right) {
5358
+ padding-left: 1em;
5359
+ padding-right: 1em;
5360
+ }
5361
+ .input:is(.icon-left, .icon-right) input {
5362
+ padding-left: 0.5em;
5363
+ padding-right: 0.5em;
5364
+ }
5365
+ .input > input:first-child {
5366
+ padding-left: 0.375em;
5367
+ }
5368
+ .input > input:last-child {
5369
+ padding-right: 0.375em;
5370
+ }
5371
+ .input:hover {
5372
+ border-color: var(--color-midnight);
5373
+ }
5374
+ input:read-only,
5375
+ input:disabled {
5376
+ cursor: not-allowed;
5377
+ }
5378
+ .required label > span::after {
5379
+ content: "*";
5380
+ padding-left: 0.125em;
5381
+ }
5382
+ kol-input.error {
5383
+ border-left: 3px solid var(--color-red);
5384
+ padding-left: 1em;
5385
+ }
5386
+ kol-input.error .input:focus-within {
5387
+ outline-color: var(--color-red) !important;
5388
+ }
5389
+ kol-input.error kol-alert.error {
5390
+ color: var(--color-red);
5391
+ font-weight: 700;
5392
+ }
5393
+ kol-input.disabled :is(button, input, label, option, select, textarea) {
5394
+ opacity: 1;
5395
+ }
5396
+ kol-input.disabled :is(input, select, textarea, .input) {
5397
+ background-color: var(--color-smoke);
5398
+ border-color: var(--color-granite);
5399
+ color: var(--color-black);
5400
+ }`,
5401
+ "KOL-TEXTAREA": `kol-input {
5402
+ gap: 0.25em;
5403
+ }
5404
+ kol-input .error {
5405
+ order: 1;
5406
+ }
5407
+ kol-input label {
5408
+ order: 2;
5409
+ }
5410
+ kol-input .input {
5411
+ order: 3;
5412
+ }
5413
+ kol-input .hint {
5414
+ order: 4;
5415
+ font-size: 0.875em;
5416
+ font-style: italic;
5417
+ }
5418
+ textarea {
5126
5419
  border: none;
5127
5420
  }
5128
5421
  input::placeholder {
@@ -15775,6 +16068,145 @@ const DESYv1 = KoliBri.createTheme("desy-v1", {
15775
16068
  background: var(--color-primary);
15776
16069
  color: white;
15777
16070
  }`,
16071
+ "KOL-INPUT-DATE": `kol-input {
16072
+ display: grid;
16073
+ }
16074
+ kol-input label {
16075
+ order: 1;
16076
+ padding: 0.125rem 0 0.4rem;
16077
+ vertical-align: text-top;
16078
+ line-height: 1.2;
16079
+ }
16080
+ kol-input div.input {
16081
+ box-sizing: border-box;
16082
+ order: 2;
16083
+ background-color: white;
16084
+ border-radius: 0.3125rem;
16085
+ }
16086
+ kol-input kol-alert.error {
16087
+ margin-bottom: 0.4em;
16088
+ margin-top: 0.2em;
16089
+ order: 3;
16090
+ }
16091
+ input,
16092
+ select,
16093
+ textarea {
16094
+ font-family: var(--font-family);
16095
+ background-color: transparent;
16096
+ box-sizing: border-box;
16097
+ font-size: 1rem;
16098
+ display: inline-flex;
16099
+ border-color: var(--color-grey);
16100
+ border-width: 1px;
16101
+ border-style: solid;
16102
+ overflow: hidden;
16103
+ width: 100%;
16104
+ line-height: normal;
16105
+ padding: 0.4rem 8px;
16106
+ }
16107
+ input:hover,
16108
+ select:hover,
16109
+ textarea:hover {
16110
+ border-color: #2d6f9e;
16111
+ box-shadow: 0 0 0 1px #2d6f9e inset;
16112
+ }
16113
+ input:focus,
16114
+ select:focus,
16115
+ textarea:focus {
16116
+ border-color: var(--color-primary-20);
16117
+ box-shadow: inset 0 0 0 1px var(--color-primary-20);
16118
+ outline: none;
16119
+ }
16120
+ input,
16121
+ select:not([multiple]) {
16122
+ height: 2.75em;
16123
+ }
16124
+ input::placeholder {
16125
+ color: var(--color-grey);
16126
+ }
16127
+ input:hover {
16128
+ border-color: var(--color-midnight);
16129
+ }
16130
+ input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
16131
+ cursor: not-allowed;
16132
+ border-color: var(--border-default);
16133
+ }
16134
+ .required label > span::after {
16135
+ content: "*";
16136
+ padding-left: 0.125em;
16137
+ }
16138
+ .icons {
16139
+ display: flex;
16140
+ justify-content: space-between;
16141
+ height: 0;
16142
+ }
16143
+ .icons > * {
16144
+ margin: 0.75em;
16145
+ }
16146
+ .icon-left input,
16147
+ .icon-left select {
16148
+ padding-left: 2em;
16149
+ }
16150
+ .icon-right input,
16151
+ .icon-right select {
16152
+ padding-right: 2em;
16153
+ }
16154
+ kol-input.error input:focus,
16155
+ kol-input.error select:focus,
16156
+ kol-input.error textarea:focus {
16157
+ border-color: var(--color-warning);
16158
+ box-shadow: inset 0 0 0 1px var(--color-warning);
16159
+ }
16160
+ kol-input.error kol-alert.error {
16161
+ color: var(--color-warning);
16162
+ }
16163
+ kol-button-wc {
16164
+ position: relative;
16165
+ float: right;
16166
+ z-index: 1000;
16167
+ margin-top: -2.7em;
16168
+ }
16169
+ kol-button-wc button {
16170
+ border: 0;
16171
+ height: 2.7em;
16172
+ box-sizing: border-box;
16173
+ background-color: transparent;
16174
+ cursor: pointer;
16175
+ }
16176
+ kol-button-wc button:focus,
16177
+ kol-button-wc button:hover {
16178
+ background-color: var(--color-primary);
16179
+ color: var(--color-white);
16180
+ }
16181
+ .icon-right kol-button-wc {
16182
+ margin-right: 2.5em;
16183
+ }
16184
+ .disabled {
16185
+ opacity: 0.33;
16186
+ }
16187
+ select[multiple],
16188
+ textarea {
16189
+ overflow: auto;
16190
+ }
16191
+ textarea {
16192
+ display: block;
16193
+ }
16194
+ select option {
16195
+ margin: 1px 0;
16196
+ padding: 0.5em;
16197
+ border-radius: 0.25em;
16198
+ cursor: pointer;
16199
+ }
16200
+ select option:disabled {
16201
+ cursor: not-allowed;
16202
+ }
16203
+ option:active:not(:disabled),
16204
+ option:checked:not(:disabled),
16205
+ option:focus:not(:disabled),
16206
+ option:hover:not(:disabled) {
16207
+ background: var(--color-primary);
16208
+ color: white;
16209
+ }`,
15778
16210
  "KOL-INPUT-EMAIL": `kol-input {
15779
16211
  display: grid;
15780
16212
  }
@@ -18463,6 +18895,145 @@ const DESYv2 = KoliBri.createTheme("desy-v2", {
18463
18895
  background: var(--color-primary);
18464
18896
  color: white;
18465
18897
  }`,
18898
+ "KOL-INPUT-DATE": `kol-input {
18899
+ display: grid;
18900
+ }
18901
+ kol-input label {
18902
+ order: 1;
18903
+ padding: 0.125rem 0 0.4rem;
18904
+ vertical-align: text-top;
18905
+ line-height: 1.2;
18906
+ }
18907
+ kol-input div.input {
18908
+ box-sizing: border-box;
18909
+ order: 2;
18910
+ background-color: white;
18911
+ border-radius: 0.3125rem;
18912
+ }
18913
+ kol-input kol-alert.error {
18914
+ margin-bottom: 0.4em;
18915
+ margin-top: 0.2em;
18916
+ order: 3;
18917
+ }
18918
+ input,
18919
+ select,
18920
+ textarea {
18921
+ font-family: var(--font-family);
18922
+ background-color: transparent;
18923
+ box-sizing: border-box;
18924
+ font-size: 1rem;
18925
+ display: inline-flex;
18926
+ border-color: var(--color-grey);
18927
+ border-width: 1px;
18928
+ border-style: solid;
18929
+ overflow: hidden;
18930
+ width: 100%;
18931
+ line-height: normal;
18932
+ padding: 0.4rem 8px;
18933
+ }
18934
+ input:hover,
18935
+ select:hover,
18936
+ textarea:hover {
18937
+ border-color: #2d6f9e;
18938
+ box-shadow: 0 0 0 1px #2d6f9e inset;
18939
+ }
18940
+ input:focus,
18941
+ select:focus,
18942
+ textarea:focus {
18943
+ border-color: var(--color-primary-20);
18944
+ box-shadow: inset 0 0 0 1px var(--color-primary-20);
18945
+ outline: none;
18946
+ }
18947
+ input,
18948
+ select:not([multiple]) {
18949
+ height: 2.75em;
18950
+ }
18951
+ input::placeholder {
18952
+ color: var(--color-grey);
18953
+ }
18954
+ input:hover {
18955
+ border-color: var(--color-midnight);
18956
+ }
18957
+ input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
18958
+ cursor: not-allowed;
18959
+ border-color: var(--border-default);
18960
+ }
18961
+ .required label > span::after {
18962
+ content: "*";
18963
+ padding-left: 0.125em;
18964
+ }
18965
+ .icons {
18966
+ display: flex;
18967
+ justify-content: space-between;
18968
+ height: 0;
18969
+ }
18970
+ .icons > * {
18971
+ margin: 0.75em;
18972
+ }
18973
+ .icon-left input,
18974
+ .icon-left select {
18975
+ padding-left: 2em;
18976
+ }
18977
+ .icon-right input,
18978
+ .icon-right select {
18979
+ padding-right: 2em;
18980
+ }
18981
+ kol-input.error input:focus,
18982
+ kol-input.error select:focus,
18983
+ kol-input.error textarea:focus {
18984
+ border-color: var(--color-warning);
18985
+ box-shadow: inset 0 0 0 1px var(--color-warning);
18986
+ }
18987
+ kol-input.error kol-alert.error {
18988
+ color: var(--color-warning);
18989
+ }
18990
+ kol-button-wc {
18991
+ position: relative;
18992
+ float: right;
18993
+ z-index: 1000;
18994
+ margin-top: -2.7em;
18995
+ }
18996
+ kol-button-wc button {
18997
+ border: 0;
18998
+ height: 2.7em;
18999
+ box-sizing: border-box;
19000
+ background-color: transparent;
19001
+ cursor: pointer;
19002
+ }
19003
+ kol-button-wc button:focus,
19004
+ kol-button-wc button:hover {
19005
+ background-color: var(--color-primary);
19006
+ color: var(--color-white);
19007
+ }
19008
+ .icon-right kol-button-wc {
19009
+ margin-right: 2.5em;
19010
+ }
19011
+ .disabled {
19012
+ opacity: 0.33;
19013
+ }
19014
+ select[multiple],
19015
+ textarea {
19016
+ overflow: auto;
19017
+ }
19018
+ textarea {
19019
+ display: block;
19020
+ }
19021
+ select option {
19022
+ margin: 1px 0;
19023
+ padding: 0.5em;
19024
+ border-radius: 0.25em;
19025
+ cursor: pointer;
19026
+ }
19027
+ select option:disabled {
19028
+ cursor: not-allowed;
19029
+ }
19030
+ option:active:not(:disabled),
19031
+ option:checked:not(:disabled),
19032
+ option:focus:not(:disabled),
19033
+ option:hover:not(:disabled) {
19034
+ background: var(--color-primary);
19035
+ color: white;
19036
+ }`,
18466
19037
  "KOL-INPUT-EMAIL": `kol-input {
18467
19038
  display: grid;
18468
19039
  }
@@ -20352,6 +20923,58 @@ const ECL_EC = KoliBri.createTheme("ecl-ec", {
20352
20923
  .error .input {
20353
20924
  border-color: var(--color-red);
20354
20925
  }`,
20926
+ "KOL-INPUT-DATE": `kol-input {
20927
+ color: var(--color-grey);
20928
+ gap: var(--spacing-xs);
20929
+ }
20930
+ input,
20931
+ select,
20932
+ textarea {
20933
+ border: none;
20934
+ margin: 1px 0.5em;
20935
+ outline: none;
20936
+ }
20937
+ input,
20938
+ select:not([multiple]) {
20939
+ height: 40px !important;
20940
+ min-height: 40px !important;
20941
+ }
20942
+ label {
20943
+ font-weight: var(--font-weight-bold);
20944
+ order: 1;
20945
+ }
20946
+ .hint {
20947
+ font-size: 0.875rem;
20948
+ order: 2;
20949
+ }
20950
+ kol-alert {
20951
+ color: var(--color-red);
20952
+ font-size: 0.875em;
20953
+ margin-left: calc(-1 * var(--spacing-2xs));
20954
+ order: 3;
20955
+ }
20956
+ .input {
20957
+ min-height: 44px !important;
20958
+ border: 1px solid var(--color-grey-75);
20959
+ color: var(--color-grey);
20960
+ order: 4;
20961
+ align-items: center;
20962
+ }
20963
+ input::placeholder,
20964
+ textarea::placeholder {
20965
+ color: var(--color-grey-50);
20966
+ }
20967
+ .input:focus-within {
20968
+ box-shadow: inset 1px 1px var(--color-blue), inset -1px -1px var(--color-blue);
20969
+ outline: none;
20970
+ }
20971
+ .input:focus-within,
20972
+ .input:hover {
20973
+ border-color: var(--color-blue) !important;
20974
+ }
20975
+ .error .input {
20976
+ border-color: var(--color-red);
20977
+ }`,
20355
20978
  "KOL-INPUT-EMAIL": `kol-input {
20356
20979
  color: var(--color-grey);
20357
20980
  gap: var(--spacing-xs);
@@ -21605,13 +22228,65 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
21605
22228
  select,
21606
22229
  textarea {
21607
22230
  border: none;
21608
- margin: 1px;
22231
+ margin: 1px 0.5em;
21609
22232
  outline: none;
21610
22233
  }
21611
22234
  input,
21612
22235
  select:not([multiple]) {
21613
- height: 44px !important;
22236
+ height: 40px !important;
22237
+ min-height: 40px !important;
22238
+ }
22239
+ label {
22240
+ font-weight: var(--font-weight-bold);
22241
+ order: 1;
22242
+ }
22243
+ .hint {
22244
+ font-size: 0.875rem;
22245
+ order: 2;
22246
+ }
22247
+ kol-alert {
22248
+ color: var(--color-red);
22249
+ font-size: 0.875em;
22250
+ margin-left: calc(-1 * var(--spacing-2xs));
22251
+ order: 3;
22252
+ }
22253
+ .input {
21614
22254
  min-height: 44px !important;
22255
+ border: 1px solid var(--color-grey-75);
22256
+ color: var(--color-grey);
22257
+ order: 4;
22258
+ align-items: center;
22259
+ }
22260
+ input::placeholder,
22261
+ textarea::placeholder {
22262
+ color: var(--color-grey-50);
22263
+ }
22264
+ .input:focus-within {
22265
+ box-shadow: inset 1px 1px var(--color-blue), inset -1px -1px var(--color-blue);
22266
+ outline: none;
22267
+ }
22268
+ .input:focus-within,
22269
+ .input:hover {
22270
+ border-color: var(--color-blue) !important;
22271
+ }
22272
+ .error .input {
22273
+ border-color: var(--color-red);
22274
+ }`,
22275
+ "KOL-INPUT-NUMBER": `kol-input {
22276
+ color: var(--color-grey);
22277
+ gap: var(--spacing-xs);
22278
+ }
22279
+ input,
22280
+ select,
22281
+ textarea {
22282
+ border: none;
22283
+ margin: 1px 0.5em;
22284
+ outline: none;
22285
+ }
22286
+ input,
22287
+ select:not([multiple]) {
22288
+ height: 40px !important;
22289
+ min-height: 40px !important;
21615
22290
  }
21616
22291
  label {
21617
22292
  font-weight: var(--font-weight-bold);
@@ -21649,7 +22324,7 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
21649
22324
  .error .input {
21650
22325
  border-color: var(--color-red);
21651
22326
  }`,
21652
- "KOL-INPUT-NUMBER": `kol-input {
22327
+ "KOL-INPUT-DATE": `kol-input {
21653
22328
  color: var(--color-grey);
21654
22329
  gap: var(--spacing-xs);
21655
22330
  }
@@ -21657,13 +22332,13 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
21657
22332
  select,
21658
22333
  textarea {
21659
22334
  border: none;
21660
- margin: 1px;
22335
+ margin: 1px 0.5em;
21661
22336
  outline: none;
21662
22337
  }
21663
22338
  input,
21664
22339
  select:not([multiple]) {
21665
- height: 44px !important;
21666
- min-height: 44px !important;
22340
+ height: 40px !important;
22341
+ min-height: 40px !important;
21667
22342
  }
21668
22343
  label {
21669
22344
  font-weight: var(--font-weight-bold);
@@ -21813,13 +22488,13 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
21813
22488
  select,
21814
22489
  textarea {
21815
22490
  border: none;
21816
- margin: 1px;
22491
+ margin: 1px 0.5em;
21817
22492
  outline: none;
21818
22493
  }
21819
22494
  input,
21820
22495
  select:not([multiple]) {
21821
- height: 44px !important;
21822
- min-height: 44px !important;
22496
+ height: 40px !important;
22497
+ min-height: 40px !important;
21823
22498
  }
21824
22499
  label {
21825
22500
  font-weight: var(--font-weight-bold);
@@ -21865,13 +22540,13 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
21865
22540
  select,
21866
22541
  textarea {
21867
22542
  border: none;
21868
- margin: 1px;
22543
+ margin: 1px 0.5em;
21869
22544
  outline: none;
21870
22545
  }
21871
22546
  input,
21872
22547
  select:not([multiple]) {
21873
- height: 44px !important;
21874
- min-height: 44px !important;
22548
+ height: 40px !important;
22549
+ min-height: 40px !important;
21875
22550
  }
21876
22551
  label {
21877
22552
  font-weight: var(--font-weight-bold);
@@ -22059,6 +22734,72 @@ const ECL_EU = KoliBri.createTheme("ecl-eu", {
22059
22734
  }
22060
22735
  .spin span:nth-child(4) {
22061
22736
  background-color: var(--color-grey-20);
22737
+ }`,
22738
+ "KOL-INPUT-RADIO": `fieldset {
22739
+ border: 0;
22740
+ gap: 0.5rem;
22741
+ }
22742
+ div[slot="input"] {
22743
+ gap: 0.25rem;
22744
+ }
22745
+ fieldset kol-alert {
22746
+ order: 1;
22747
+ }
22748
+ fieldset .hint {
22749
+ order: 2;
22750
+ }
22751
+ fieldset kol-alert {
22752
+ order: 3;
22753
+ }
22754
+ fieldset kol-input {
22755
+ order: 4;
22756
+ }
22757
+ input[type="radio"] {
22758
+ border: 2px solid var(--color-grey-75);
22759
+ }
22760
+ input[type="radio"]:before {
22761
+ display: none;
22762
+ }
22763
+ input[type="radio"]:checked {
22764
+ border-color: var(--color-blue);
22765
+ border-width: 7px;
22766
+ }
22767
+ input[type="radio"]:focus {
22768
+ outline: 2px solid var(--color-blue);
22769
+ outline-offset: 2px;
22770
+ }
22771
+ input[type="radio"]:not(:disabled):hover {
22772
+ border-color: var(--color-blue);
22773
+ }
22774
+ label,
22775
+ legend {
22776
+ color: var(--color-grey);
22777
+ }
22778
+ legend {
22779
+ font-weight: var(--font-weight-bold);
22780
+ }
22781
+ .error input[type="radio"] {
22782
+ border: 2px solid var(--color-red);
22783
+ }
22784
+ .error input[type="radio"]:before {
22785
+ display: none;
22786
+ }
22787
+ .error input[type="radio"]:checked {
22788
+ border-color: var(--color-red);
22789
+ border-width: 7px;
22790
+ }
22791
+ .error input[type="radio"]:not(:disabled):hover {
22792
+ border-color: var(--color-red-1xx);
22793
+ }
22794
+ kol-alert {
22795
+ color: var(--color-red);
22796
+ font-size: 0.875em;
22797
+ margin-left: calc(-1 * var(--spacing-xs));
22798
+ order: 1;
22799
+ }
22800
+ .hint {
22801
+ font-size: 0.875rem;
22802
+ order: 4;
22062
22803
  }`
22063
22804
  });
22064
22805
 
@@ -22592,6 +23333,55 @@ const ITZBund = KoliBri.createTheme("itzbund", {
22592
23333
  input::placeholder {
22593
23334
  font-style: italic;
22594
23335
  }`,
23336
+ "KOL-INPUT-DATE": `input:hover,
23337
+ input:focus {
23338
+ border-color: var(--border-color) !important;
23339
+ border-radius: none !important;
23340
+ outline-color: var(--color-achat) !important;
23341
+ outline-offset: 0;
23342
+ outline-style: solid;
23343
+ outline-width: 1px;
23344
+ }
23345
+ label {
23346
+ color: var(--color-anthrazit);
23347
+ font-size: 14px;
23348
+ line-height: 20px;
23349
+ gap: 8px;
23350
+ width: 100%;
23351
+ font-weight: bold;
23352
+ }
23353
+ input {
23354
+ cursor: pointer;
23355
+ width: 100%;
23356
+ color: var(--color-anthrazit);
23357
+ border-width: 1px;
23358
+ border-style: solid;
23359
+ border-color: var(--color-petrol);
23360
+ border-radius: 0;
23361
+ background-color: #e8edf2 !important;
23362
+ overflow: hidden;
23363
+ line-height: 24px;
23364
+ font-size: 16px;
23365
+ }
23366
+ .error input {
23367
+ background-color: var(--color-rotton-20) !important;
23368
+ border-color: var(--color-rotton) !important;
23369
+ }
23370
+ input:disabled {
23371
+ background-color: var(--color-input-bg-default);
23372
+ border-color: var(--border-color);
23373
+ cursor: not-allowed;
23374
+ }
23375
+ kol-alert {
23376
+ margin-top: calc(2 * var(--spacing));
23377
+ display: block;
23378
+ }
23379
+ .kol-required span::after {
23380
+ content: "*";
23381
+ }
23382
+ input::placeholder {
23383
+ font-style: italic;
23384
+ }`,
22595
23385
  "KOL-INPUT-EMAIL": `input:hover,
22596
23386
  input:focus {
22597
23387
  border-color: var(--border-color) !important;
@@ -24218,6 +25008,88 @@ const MAPZ = KoliBri.createTheme("mapz", {
24218
25008
  background-color: var(--kolibri-color-primary);
24219
25009
  color: white;
24220
25010
  }`,
25011
+ "KOL-INPUT-DATE": `input,
25012
+ select,
25013
+ textarea {
25014
+ border: none;
25015
+ }
25016
+ input[type="color"] {
25017
+ border: none;
25018
+ min-height: 40px !important;
25019
+ }
25020
+ input[type="color"],
25021
+ input[type="file"] {
25022
+ background-color: transparent;
25023
+ }
25024
+ kol-input {
25025
+ gap: var(--spacing);
25026
+ }
25027
+ kol-input > label {
25028
+ order: 1;
25029
+ color: var(--default-letter);
25030
+ }
25031
+ kol-input > .input {
25032
+ border-color: var(--kolibri-border-color);
25033
+ border-radius: 0.25rem;
25034
+ border-style: solid;
25035
+ border-width: 2px;
25036
+ order: 2;
25037
+ }
25038
+ kol-input:hover > .input {
25039
+ border-color: var(--kolibri-color-secondary);
25040
+ }
25041
+ kol-input > .input > kol-icon:first-child {
25042
+ margin-left: 0.75em;
25043
+ }
25044
+ kol-input > .input > kol-icon:last-child {
25045
+ margin-right: 0.75em;
25046
+ }
25047
+ kol-input > .error {
25048
+ order: 3;
25049
+ }
25050
+ kol-input > .hint {
25051
+ order: 4;
25052
+ font-size: 0.875em;
25053
+ }
25054
+ input,
25055
+ select,
25056
+ textarea {
25057
+ color: var(--default-letter);
25058
+ padding: 0.5em 0.75em;
25059
+ }
25060
+ input:not([type="range"]),
25061
+ select:not([multiple]) {
25062
+ height: 2.75em;
25063
+ }
25064
+ textarea {
25065
+ display: inherit;
25066
+ }
25067
+ input::placeholder {
25068
+ color: var(--default-border-hover);
25069
+ }
25070
+ input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
25071
+ cursor: not-allowed;
25072
+ }
25073
+ select[multiple],
25074
+ textarea {
25075
+ overflow: auto;
25076
+ }
25077
+ select option {
25078
+ margin: 1px 0;
25079
+ padding: 0.5em;
25080
+ border-radius: 0.25em;
25081
+ cursor: pointer;
25082
+ }
25083
+ select option:disabled {
25084
+ cursor: not-allowed;
25085
+ }
25086
+ option:active:not(:disabled),
25087
+ option:checked:not(:disabled),
25088
+ option:focus:not(:disabled),
25089
+ option:hover:not(:disabled) {
25090
+ background-color: var(--kolibri-color-primary);
25091
+ color: white;
25092
+ }`,
24221
25093
  "KOL-INPUT-EMAIL": `input,
24222
25094
  select,
24223
25095
  textarea {
@@ -42419,6 +43291,52 @@ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
42419
43291
  kol-input > kol-alert.error {
42420
43292
  order: 3;
42421
43293
  }`,
43294
+ "KOL-INPUT-DATE": `kol-input {
43295
+ gap: var(--gap);
43296
+ }
43297
+ kol-input .input {
43298
+ border-color: var(--color-grau-30);
43299
+ border-width: 2px;
43300
+ border-style: solid;
43301
+ padding: 0px 0.75em;
43302
+ gap: var(--gap);
43303
+ overflow: hidden;
43304
+ }
43305
+ kol-input .input:focus-within,
43306
+ kol-input .input:hover {
43307
+ border-color: var(--color-grau-60);
43308
+ }
43309
+ kol-input:not(.select, .textarea) .input {
43310
+ height: calc(var(--a11y-min-size) - 4px);
43311
+ }
43312
+ kol-input:not(.range) .input :is(input, select, textarea) {
43313
+ background-color: white;
43314
+ border: 0;
43315
+ }
43316
+ kol-input .input input[type="file"] {
43317
+ padding-top: calc(0.5em + 2px);
43318
+ }
43319
+ kol-input > label {
43320
+ font-weight: var(--font-weight-bold);
43321
+ order: 1;
43322
+ margin-bottom: 0.25rem;
43323
+ }
43324
+ kol-input > label > span {
43325
+ color: var(--default-letter);
43326
+ }
43327
+ kol-input > div.input {
43328
+ border-radius: 0.25rem;
43329
+ order: 2;
43330
+ }
43331
+ kol-input > span.hint {
43332
+ color: var(--color-grau-60);
43333
+ font-style: italic;
43334
+ order: 4;
43335
+ font-size: 0.8rem;
43336
+ }
43337
+ kol-input > kol-alert.error {
43338
+ order: 3;
43339
+ }`,
42422
43340
  "KOL-INPUT-TEXT": `kol-input {
42423
43341
  gap: var(--gap);
42424
43342
  }