@lilydesignsystem/themes 0.4.0 → 0.6.0

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 (59) hide show
  1. package/dist/abyss.css +360 -9
  2. package/dist/acid.css +360 -9
  3. package/dist/adobe-spectrum.css +360 -9
  4. package/dist/ant-design.css +3961 -0
  5. package/dist/aqua.css +360 -9
  6. package/dist/atlassian.css +3961 -0
  7. package/dist/autumn.css +360 -9
  8. package/dist/black.css +360 -9
  9. package/dist/bumblebee.css +360 -9
  10. package/dist/business.css +360 -9
  11. package/dist/cappuccino.css +3961 -0
  12. package/dist/caramellatte.css +360 -9
  13. package/dist/cmyk.css +360 -9
  14. package/dist/coffee.css +360 -9
  15. package/dist/corporate.css +360 -9
  16. package/dist/cupcake.css +360 -9
  17. package/dist/cyberpunk.css +360 -9
  18. package/dist/dark.css +360 -9
  19. package/dist/dim.css +360 -9
  20. package/dist/dracula.css +360 -9
  21. package/dist/emerald.css +360 -9
  22. package/dist/excel.css +3961 -0
  23. package/dist/fantasy.css +360 -9
  24. package/dist/fluent.css +3961 -0
  25. package/dist/forest.css +360 -9
  26. package/dist/garden.css +360 -9
  27. package/dist/github-primer.css +3961 -0
  28. package/dist/halloween.css +360 -9
  29. package/dist/ibm-carbon.css +3961 -0
  30. package/dist/lemonade.css +360 -9
  31. package/dist/light.css +360 -9
  32. package/dist/linear.css +3961 -0
  33. package/dist/lofi.css +360 -9
  34. package/dist/luxury.css +360 -9
  35. package/dist/mozilla-protocol.css +360 -9
  36. package/dist/night.css +360 -9
  37. package/dist/nord.css +360 -9
  38. package/dist/notion.css +3961 -0
  39. package/dist/pastel.css +360 -9
  40. package/dist/retro.css +360 -9
  41. package/dist/salesforce.css +3961 -0
  42. package/dist/sap-fiori.css +3961 -0
  43. package/dist/silk.css +360 -9
  44. package/dist/sunset.css +360 -9
  45. package/dist/synthwave.css +360 -9
  46. package/dist/united-kingdom-government-digital-service.css +360 -9
  47. package/dist/united-kingdom-national-health-service-england-for-patients.css +360 -9
  48. package/dist/united-kingdom-national-health-service-england-for-practitioners.css +360 -9
  49. package/dist/united-kingdom-national-health-service-scotland-for-patients.css +360 -9
  50. package/dist/united-kingdom-national-health-service-scotland-for-practitioners.css +360 -9
  51. package/dist/united-kingdom-national-health-service-wales-for-patients.css +362 -11
  52. package/dist/united-kingdom-national-health-service-wales-for-practitioners.css +362 -11
  53. package/dist/united-states-web-design-system.css +360 -9
  54. package/dist/valentine.css +360 -9
  55. package/dist/vercel.css +3961 -0
  56. package/dist/winter.css +360 -9
  57. package/dist/wireframe.css +360 -9
  58. package/index.md +14 -10
  59. package/package.json +5 -4
@@ -862,7 +862,7 @@
862
862
  color: var(--lily-text-muted);
863
863
  }
864
864
  /* Final crumb (the current page) — muted because it isn't a link. */
865
- :where(.breadcrumb-list-item[aria-current="page"]) {
865
+ :where(.breadcrumb-list-item[data-current], .breadcrumb-list-item[aria-current="page"]) {
866
866
  color: var(--lily-text-muted);
867
867
  }
868
868
 
@@ -1131,11 +1131,114 @@
1131
1131
  background-color: var(--color-primary);
1132
1132
  color: var(--color-primary-content);
1133
1133
  }
1134
- /* Today — outlined rather than filled, so a selected non-today date
1135
- still reads as the "selected" one. */
1134
+ /* Today — outlined and bold, never filled, so a selected non-today date still
1135
+ reads as "selected". The ring takes the cell's own text colour (currentColor),
1136
+ so it holds its contrast on a light page, a dark page and a selected cell
1137
+ alike, and the bold number says it without colour. */
1136
1138
  :where(.calendar-table-td[aria-current="date"]) {
1137
- outline: 2px solid var(--color-primary);
1138
- outline-offset: -2px;
1139
+ outline: 2px solid currentColor;
1140
+ outline-offset: -3px;
1141
+ font-weight: 700;
1142
+ }
1143
+ /* Fit a phone: day cells shrink and wrap instead of forcing the grid wider. */
1144
+ :where(.calendar-table) {
1145
+ table-layout: fixed;
1146
+ }
1147
+ :where(.calendar-table-td, .calendar-table-th) {
1148
+ min-width: 0;
1149
+ overflow-wrap: anywhere;
1150
+ }
1151
+
1152
+ /* --- Data grid: toolbar, sorting, pagination, column visibility, pinned columns ----- */
1153
+ :where(.data-grid-toolbar) {
1154
+ display: flex;
1155
+ flex-wrap: wrap;
1156
+ gap: var(--lily-space-sm);
1157
+ align-items: center;
1158
+ margin-block-end: var(--lily-space-sm);
1159
+ }
1160
+ :where(.data-grid-search, .data-grid-search-field) {
1161
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1162
+ border: var(--border) solid var(--lily-border);
1163
+ border-radius: var(--lily-radius-sm);
1164
+ background-color: var(--lily-surface);
1165
+ color: var(--lily-text);
1166
+ font: inherit;
1167
+ }
1168
+ /* A sortable header is a button that looks like its text; the arrow follows aria-sort,
1169
+ so the state is in the markup for assistive technology and on screen for everyone. */
1170
+ :where(.data-grid-sort-button) {
1171
+ padding: 0;
1172
+ border: 0;
1173
+ background: none;
1174
+ color: inherit;
1175
+ font: inherit;
1176
+ text-align: start;
1177
+ cursor: pointer;
1178
+ }
1179
+ :where(.data-grid-sort-button:focus-visible) {
1180
+ outline: 2px solid var(--color-accent);
1181
+ outline-offset: 2px;
1182
+ }
1183
+ :where([aria-sort="none"] .data-grid-sort-button)::after {
1184
+ content: " \21C5";
1185
+ opacity: 0.5;
1186
+ }
1187
+ :where([aria-sort="ascending"] .data-grid-sort-button)::after {
1188
+ content: " \25B2";
1189
+ }
1190
+ :where([aria-sort="descending"] .data-grid-sort-button)::after {
1191
+ content: " \25BC";
1192
+ }
1193
+ :where(.data-grid-pagination) {
1194
+ display: flex;
1195
+ flex-wrap: wrap;
1196
+ gap: var(--lily-space-sm);
1197
+ align-items: center;
1198
+ justify-content: flex-end;
1199
+ margin-block-start: var(--lily-space-sm);
1200
+ }
1201
+ :where(.data-grid-page-previous, .data-grid-page-next, .data-grid-export-button) {
1202
+ padding: var(--lily-space-xs) var(--lily-space-md);
1203
+ border: var(--border) solid var(--lily-border);
1204
+ border-radius: var(--lily-radius-sm);
1205
+ background-color: var(--lily-surface);
1206
+ color: var(--lily-text);
1207
+ font: inherit;
1208
+ cursor: pointer;
1209
+ }
1210
+ :where(.data-grid-page-previous:disabled, .data-grid-page-next:disabled, .data-grid-export-button:disabled) {
1211
+ opacity: 0.5;
1212
+ cursor: not-allowed;
1213
+ }
1214
+ :where(.data-grid-column-visibility) {
1215
+ display: flex;
1216
+ flex-wrap: wrap;
1217
+ gap: var(--lily-space-sm);
1218
+ margin: 0;
1219
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1220
+ border: var(--border) solid var(--lily-border);
1221
+ border-radius: var(--lily-radius-sm);
1222
+ }
1223
+ /* Pinned columns stay put while the rest scroll; the offset is logical, so it flips in right-to-left. */
1224
+ :where([data-pinned="start"]) {
1225
+ position: sticky;
1226
+ inset-inline-start: 0;
1227
+ z-index: 1;
1228
+ background-color: var(--lily-surface);
1229
+ }
1230
+ :where([data-pinned="end"]) {
1231
+ position: sticky;
1232
+ inset-inline-end: 0;
1233
+ z-index: 1;
1234
+ background-color: var(--lily-surface);
1235
+ }
1236
+ :where(th[data-pinned]) {
1237
+ z-index: 2;
1238
+ }
1239
+ /* A missing value: dimmed, and the grid's emptyValue text (for example a dash) reads as absence. */
1240
+ :where(.data-table-td[data-empty]) {
1241
+ opacity: 0.7;
1139
1242
  }
1140
1243
 
1141
1244
  /* --- Kanban specifics --------------------------------------------------- */
@@ -1149,6 +1252,20 @@
1149
1252
  min-width: 14rem;
1150
1253
  }
1151
1254
 
1255
+ /* Dragging a card: the column it would land in is outlined; one that refuses it
1256
+ (canMove, allowedColumns, a full strict WIP limit) is striped and shows the
1257
+ not-allowed cursor, so "you can't drop here" is visible before the drop. */
1258
+ :where(.kanban-table-td[data-drop-target]) {
1259
+ outline: 2px dashed var(--color-accent);
1260
+ outline-offset: -3px;
1261
+ }
1262
+ :where(.kanban-table-td[data-drop-blocked]) {
1263
+ outline: 2px solid var(--color-error);
1264
+ outline-offset: -3px;
1265
+ cursor: not-allowed;
1266
+ background-image: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--color-error) 18%, transparent) 6px 8px);
1267
+ }
1268
+
1152
1269
  /* --- Gantt specifics ---------------------------------------------------- */
1153
1270
  /* Cells marked as bars are filled with the primary colour to render the
1154
1271
  schedule bar inline within the grid. */
@@ -1156,6 +1273,20 @@
1156
1273
  background-color: var(--color-primary);
1157
1274
  }
1158
1275
 
1276
+ /* Weekend, holiday and time-off shading (Gantt chart and calendar). A weekend
1277
+ is tinted; a day marked as a holiday or time off (data-unavailable /
1278
+ data-range) is striped as well, so no day is told apart by colour alone;
1279
+ a column only partly unavailable gets a bar under its header. */
1280
+ :where(.gantt-table-th[data-weekend], .gantt-table-td[data-weekend], .calendar-table-th[data-weekend], .calendar-table-td[data-weekend]) {
1281
+ background-color: color-mix(in srgb, var(--lily-surface) 92%, var(--lily-text));
1282
+ }
1283
+ :where(.gantt-table-th[data-unavailable], .gantt-table-td[data-unavailable], .calendar-table-td[data-range]) {
1284
+ background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--lily-text) 14%, transparent) 4px 5px);
1285
+ }
1286
+ :where(.gantt-table-th[data-partly-unavailable]) {
1287
+ box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--lily-text) 45%, transparent);
1288
+ }
1289
+
1159
1290
  /* ==========================================================================
1160
1291
  * Cards, panels, surfaces
1161
1292
  * --------------------------------------------------------------------------
@@ -2082,8 +2213,11 @@
2082
2213
  .theme-picker,
2083
2214
  .locale-picker,
2084
2215
  .text-size-picker,
2216
+ .time-zone-picker,
2085
2217
  .search-picker,
2086
2218
  .link-picker,
2219
+ .menu-picker,
2220
+ .settings-picker,
2087
2221
  .share-picker,
2088
2222
  .date-time-picker
2089
2223
  ) {
@@ -2095,8 +2229,11 @@
2095
2229
  .theme-picker-button,
2096
2230
  .locale-picker-button,
2097
2231
  .text-size-picker-button,
2232
+ .time-zone-picker-button,
2098
2233
  .search-picker-button,
2099
2234
  .link-picker-button,
2235
+ .menu-picker-button,
2236
+ .settings-picker-button,
2100
2237
  .share-picker-button,
2101
2238
  .date-time-picker-button
2102
2239
  ) {
@@ -2131,8 +2268,11 @@
2131
2268
  .theme-picker-icon,
2132
2269
  .locale-picker-icon,
2133
2270
  .text-size-picker-icon,
2271
+ .time-zone-picker-icon,
2134
2272
  .motion-picker-icon,
2135
2273
  .link-picker-icon,
2274
+ .menu-picker-icon,
2275
+ .settings-picker-icon,
2136
2276
  .share-picker-icon,
2137
2277
  .search-picker-icon
2138
2278
  ) {
@@ -2496,8 +2636,11 @@
2496
2636
  .theme-picker-tooltip,
2497
2637
  .locale-picker-tooltip,
2498
2638
  .text-size-picker-tooltip,
2639
+ .time-zone-picker-tooltip,
2499
2640
  .motion-picker-tooltip,
2500
2641
  .link-picker-tooltip,
2642
+ .menu-picker-tooltip,
2643
+ .settings-picker-tooltip,
2501
2644
  .share-picker-tooltip,
2502
2645
  .search-picker-tooltip,
2503
2646
  .date-time-picker-tooltip
@@ -2521,8 +2664,11 @@
2521
2664
  .theme-picker-tooltip,
2522
2665
  .locale-picker-tooltip,
2523
2666
  .text-size-picker-tooltip,
2667
+ .time-zone-picker-tooltip,
2524
2668
  .motion-picker-tooltip,
2525
2669
  .link-picker-tooltip,
2670
+ .menu-picker-tooltip,
2671
+ .settings-picker-tooltip,
2526
2672
  .share-picker-tooltip,
2527
2673
  .search-picker-tooltip,
2528
2674
  .date-time-picker-tooltip
@@ -2538,8 +2684,11 @@
2538
2684
  .theme-picker-tooltip,
2539
2685
  .locale-picker-tooltip,
2540
2686
  .text-size-picker-tooltip,
2687
+ .time-zone-picker-tooltip,
2541
2688
  .motion-picker-tooltip,
2542
2689
  .link-picker-tooltip,
2690
+ .menu-picker-tooltip,
2691
+ .settings-picker-tooltip,
2543
2692
  .share-picker-tooltip,
2544
2693
  .search-picker-tooltip,
2545
2694
  .date-time-picker-tooltip
@@ -2592,8 +2741,11 @@
2592
2741
  .theme-picker-list,
2593
2742
  .locale-picker-list,
2594
2743
  .text-size-picker-list,
2744
+ .time-zone-picker-list,
2595
2745
  .motion-picker-list,
2596
2746
  .link-picker-list,
2747
+ .menu-picker-panel,
2748
+ .settings-picker-panel,
2597
2749
  .share-picker-list,
2598
2750
  .search-picker-panel
2599
2751
  ) {
@@ -2619,8 +2771,11 @@
2619
2771
  .theme-picker-list,
2620
2772
  .locale-picker-list,
2621
2773
  .text-size-picker-list,
2774
+ .time-zone-picker-list,
2622
2775
  .motion-picker-list,
2623
2776
  .link-picker-list,
2777
+ .menu-picker-panel,
2778
+ .settings-picker-panel,
2624
2779
  .share-picker-list,
2625
2780
  .search-picker-panel
2626
2781
  )[hidden] {
@@ -2637,23 +2792,32 @@
2637
2792
  :where(.theme-picker) { anchor-name: --lily-theme-picker; }
2638
2793
  :where(.locale-picker) { anchor-name: --lily-locale-picker; }
2639
2794
  :where(.text-size-picker) { anchor-name: --lily-text-size-picker; }
2795
+ :where(.time-zone-picker) { anchor-name: --lily-time-zone-picker; }
2640
2796
  :where(.motion-picker) { anchor-name: --lily-motion-picker; }
2641
2797
  :where(.link-picker) { anchor-name: --lily-link-picker; }
2798
+ :where(.menu-picker) { anchor-name: --lily-menu-picker; }
2799
+ :where(.settings-picker) { anchor-name: --lily-settings-picker; }
2642
2800
  :where(.share-picker) { anchor-name: --lily-share-picker; }
2643
2801
  :where(.search-picker) { anchor-name: --lily-search-picker; }
2644
2802
  :where(.theme-picker-list) { position-anchor: --lily-theme-picker; }
2645
2803
  :where(.locale-picker-list) { position-anchor: --lily-locale-picker; }
2646
2804
  :where(.text-size-picker-list) { position-anchor: --lily-text-size-picker; }
2805
+ :where(.time-zone-picker-list) { position-anchor: --lily-time-zone-picker; }
2647
2806
  :where(.motion-picker-list) { position-anchor: --lily-motion-picker; }
2648
2807
  :where(.link-picker-list) { position-anchor: --lily-link-picker; }
2808
+ :where(.menu-picker-panel) { position-anchor: --lily-menu-picker; }
2809
+ :where(.settings-picker-panel) { position-anchor: --lily-settings-picker; }
2649
2810
  :where(.share-picker-list) { position-anchor: --lily-share-picker; }
2650
2811
  :where(.search-picker-panel) { position-anchor: --lily-search-picker; }
2651
2812
  :where(
2652
2813
  .theme-picker-list,
2653
2814
  .locale-picker-list,
2654
2815
  .text-size-picker-list,
2816
+ .time-zone-picker-list,
2655
2817
  .motion-picker-list,
2656
2818
  .link-picker-list,
2819
+ .menu-picker-panel,
2820
+ .settings-picker-panel,
2657
2821
  .share-picker-list,
2658
2822
  .search-picker-panel
2659
2823
  ) {
@@ -2667,11 +2831,12 @@
2667
2831
  }
2668
2832
  }
2669
2833
 
2670
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2834
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2671
2835
  > :where(
2672
2836
  .theme-picker-option,
2673
2837
  .locale-picker-option,
2674
2838
  .text-size-picker-option,
2839
+ .time-zone-picker-option,
2675
2840
  .motion-picker-option
2676
2841
  ) {
2677
2842
  padding: var(--lily-space-xs) var(--lily-space-sm);
@@ -2681,7 +2846,7 @@
2681
2846
 
2682
2847
  /* data-active is the keyboard cursor (aria-activedescendant); focus
2683
2848
  stays on the listbox, so this is the only visible cue for it. */
2684
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2849
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2685
2850
  > :where([data-active]) {
2686
2851
  background-color: var(--lily-surface-alt);
2687
2852
  outline: var(--lily-focus-ring);
@@ -2690,7 +2855,7 @@
2690
2855
 
2691
2856
  /* aria-selected marks the applied theme/locale, which is not the
2692
2857
  same thing as the keyboard cursor. Both can be visible at once. */
2693
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2858
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2694
2859
  > :where([aria-selected="true"]) {
2695
2860
  font-weight: 600;
2696
2861
  background-color: var(--lily-surface-sunken);
@@ -3043,7 +3208,7 @@
3043
3208
  }
3044
3209
  /* Screen-reader-only — visually hidden but available to AT. The
3045
3210
  classic clip-rect pattern (works in every screen reader). */
3046
- :where(.screen-reader-span) {
3211
+ :where(.screen-reader-span, .middle-truncation-full) {
3047
3212
  position: absolute;
3048
3213
  width: 1px;
3049
3214
  height: 1px;
@@ -3054,6 +3219,42 @@
3054
3219
  white-space: nowrap;
3055
3220
  border: 0;
3056
3221
  }
3222
+ /* Middle truncation — a bounded one-line block; the shortened string is aria-hidden and the full
3223
+ text (hidden above) stays in the accessibility tree. */
3224
+ :where(.middle-truncation) {
3225
+ display: block;
3226
+ position: relative;
3227
+ overflow: hidden;
3228
+ white-space: nowrap;
3229
+ }
3230
+ /* Wheel picker — a scrolling listbox that snaps the chosen option to the centre. The selected option is filled with the
3231
+ primary colour (aria-selected, not colour alone: it is also the activedescendant and gets a bold weight). */
3232
+ :where(.wheel-picker-list) {
3233
+ max-block-size: 10em;
3234
+ overflow-y: auto;
3235
+ overscroll-behavior: contain;
3236
+ scroll-snap-type: y mandatory;
3237
+ border: 1px solid var(--color-base-300);
3238
+ border-radius: var(--lily-radius-md);
3239
+ }
3240
+ :where(.wheel-picker-list:focus-visible) {
3241
+ outline: 2px solid var(--lily-focus-ring);
3242
+ outline-offset: 2px;
3243
+ }
3244
+ :where(.wheel-picker-option) {
3245
+ padding: 0.5rem 1rem;
3246
+ scroll-snap-align: center;
3247
+ cursor: pointer;
3248
+ }
3249
+ :where(.wheel-picker-option[aria-selected="true"]) {
3250
+ background-color: var(--color-primary);
3251
+ color: var(--color-primary-content);
3252
+ font-weight: 600;
3253
+ }
3254
+ :where(.wheel-picker-option[aria-disabled="true"]) {
3255
+ opacity: 0.5;
3256
+ cursor: not-allowed;
3257
+ }
3057
3258
 
3058
3259
  /* ==========================================================================
3059
3260
  * Hero, figure, photo, media
@@ -3613,3 +3814,153 @@
3613
3814
  :where(a, code) {
3614
3815
  overflow-wrap: anywhere;
3615
3816
  }
3817
+
3818
+ /* ============================================================================
3819
+ * Helper packages — layout and look, shared verbatim by all themes.
3820
+ *
3821
+ * The data grid, kanban board, Gantt chart and calendar view are wide by nature.
3822
+ * Each root scrolls sideways inside its own box and its table sizes to its content,
3823
+ * so a narrow screen scrolls the table instead of wrapping every cell to a letter
3824
+ * (the overflow guard above lets cells break anywhere, which is right for prose and
3825
+ * wrong for a table that has a scroller). The toolbar controls of all four helpers
3826
+ * share the data grid's look, every button has a >=24px target (WCAG 2.2 2.5.8), and
3827
+ * the Gantt chart draws its bars from `data-in-range`, a milestone as a diamond and
3828
+ * today as a rule. :where() keeps specificity at zero, so any consumer rule wins.
3829
+ * ========================================================================= */
3830
+
3831
+ :where(.data-grid, .kanban-board, .gantt-chart, .calendar-view) {
3832
+ max-inline-size: 100%;
3833
+ overflow-x: auto;
3834
+ }
3835
+
3836
+ :where(.data-grid table, .kanban-board table, .gantt-chart table, .calendar-view table) {
3837
+ inline-size: max-content;
3838
+ min-inline-size: 100%;
3839
+ }
3840
+
3841
+ :where(.kanban-board-export, .gantt-chart-export, .gantt-chart-zoom, .calendar-view-export,
3842
+ .calendar-view-toolbar, .calendar-view-nav, .calendar-view-switcher) {
3843
+ display: flex;
3844
+ flex-wrap: wrap;
3845
+ gap: var(--lily-space-sm);
3846
+ align-items: center;
3847
+ margin-block-end: var(--lily-space-sm);
3848
+ }
3849
+
3850
+ :where(.kanban-board-search, .gantt-chart-search, .calendar-view-search) {
3851
+ padding: var(--lily-space-xs) var(--lily-space-sm);
3852
+ border: var(--border) solid var(--lily-border);
3853
+ border-radius: var(--lily-radius-sm);
3854
+ background-color: var(--lily-surface);
3855
+ color: var(--lily-text);
3856
+ font: inherit;
3857
+ min-block-size: 24px;
3858
+ }
3859
+
3860
+ :where(.kanban-board-export-button,
3861
+ .kanban-board-add-button,
3862
+ .kanban-board-undo-button,
3863
+ .kanban-board-collapse-button,
3864
+ .kanban-board-lane-toggle,
3865
+ .kanban-board-move-button,
3866
+ .gantt-chart-export-button,
3867
+ .gantt-chart-zoom-in-button,
3868
+ .gantt-chart-zoom-out-button,
3869
+ .gantt-chart-collapse-button,
3870
+ .gantt-chart-collapse-all-button,
3871
+ .gantt-chart-expand-all-button,
3872
+ .gantt-chart-save-button,
3873
+ .gantt-chart-cancel-button,
3874
+ .calendar-view-export-button,
3875
+ .calendar-view-previous-button,
3876
+ .calendar-view-next-button,
3877
+ .calendar-view-today-button,
3878
+ .calendar-view-switcher-button) {
3879
+ padding: var(--lily-space-xs) var(--lily-space-md);
3880
+ border: var(--border) solid var(--lily-border);
3881
+ border-radius: var(--lily-radius-sm);
3882
+ background-color: var(--lily-surface);
3883
+ color: var(--lily-text);
3884
+ font: inherit;
3885
+ cursor: pointer;
3886
+ min-inline-size: 24px;
3887
+ min-block-size: 24px;
3888
+ }
3889
+
3890
+ :where(.kanban-board-export-button:disabled,
3891
+ .kanban-board-add-button:disabled,
3892
+ .kanban-board-undo-button:disabled,
3893
+ .gantt-chart-export-button:disabled,
3894
+ .gantt-chart-zoom-in-button:disabled,
3895
+ .gantt-chart-zoom-out-button:disabled,
3896
+ .calendar-view-export-button:disabled,
3897
+ .calendar-view-previous-button[aria-disabled="true"],
3898
+ .calendar-view-next-button[aria-disabled="true"]) {
3899
+ opacity: 0.5;
3900
+ cursor: not-allowed;
3901
+ }
3902
+
3903
+ :where(.calendar-view-switcher-button[aria-pressed="true"]) {
3904
+ background-color: var(--color-base-300);
3905
+ font-weight: 600;
3906
+ }
3907
+
3908
+ :where(.kanban-board-status, .gantt-chart-status, .calendar-view-status) {
3909
+ margin-block-start: var(--lily-space-sm);
3910
+ font-size: 0.875em;
3911
+ opacity: 0.8;
3912
+ }
3913
+
3914
+ :where(.calendar-view-event) {
3915
+ display: block;
3916
+ padding: 0 var(--lily-space-xs);
3917
+ border-radius: var(--lily-radius-sm);
3918
+ background-color: color-mix(in srgb, var(--color-primary) 18%, transparent);
3919
+ font-size: 0.75rem;
3920
+ }
3921
+
3922
+ :where(.gantt-table-th) {
3923
+ min-inline-size: 2rem;
3924
+ padding-inline: 0.25rem;
3925
+ font-size: 0.75rem;
3926
+ text-align: center;
3927
+ white-space: nowrap;
3928
+ }
3929
+
3930
+ :where(.gantt-table-th[scope="row"], .gantt-table-th:first-child) {
3931
+ min-inline-size: 10rem;
3932
+ padding-inline: var(--lily-space-sm);
3933
+ font-size: inherit;
3934
+ text-align: start;
3935
+ white-space: normal;
3936
+ }
3937
+
3938
+ :where(.gantt-table-td) {
3939
+ min-block-size: 1.7rem;
3940
+ padding: 0;
3941
+ }
3942
+
3943
+ :where(.gantt-table-td[data-in-range]) {
3944
+ background-color: var(--color-primary);
3945
+ }
3946
+
3947
+ :where(.gantt-table-td[data-in-range][data-milestone]) {
3948
+ clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
3949
+ }
3950
+
3951
+ :where(.gantt-table-td[data-today]) {
3952
+ border-inline-start: 2px solid var(--color-accent);
3953
+ }
3954
+
3955
+ /* The time zone picker's options are long ("UTC+10:30 – Lord Howe Daylight Time"): size the list to its widest
3956
+ option up to a cap, then wrap, rather than clipping the name or running off a phone. */
3957
+ :where(.time-zone-picker-list) {
3958
+ inline-size: max-content;
3959
+ max-inline-size: min(26rem, 90vw);
3960
+ max-block-size: min(24rem, 70vh);
3961
+ overflow-y: auto;
3962
+ }
3963
+
3964
+ :where(.time-zone-picker-option) {
3965
+ overflow-wrap: anywhere;
3966
+ }