loseta 0.14.0 → 0.16.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.
- package/README.md +2 -1
- package/dist/commands/add.js +4 -2
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/list.js +7 -2
- package/dist/commands/list.js.map +1 -1
- package/package.json +1 -1
- package/registry/components/alert-dialog.css +7 -0
- package/registry/components/alert.css +2 -0
- package/registry/components/avatar.css +11 -2
- package/registry/components/button-group.css +33 -18
- package/registry/components/button.css +6 -0
- package/registry/components/checkbox.css +17 -2
- package/registry/components/command.css +7 -0
- package/registry/components/context-menu.css +8 -0
- package/registry/components/dialog.css +24 -1
- package/registry/components/drawer.css +4 -0
- package/registry/components/empty.css +2 -0
- package/registry/components/field.css +8 -3
- package/registry/components/input-group.css +12 -1
- package/registry/components/input-otp.css +6 -0
- package/registry/components/input.css +5 -0
- package/registry/components/navigation-menu.css +18 -1
- package/registry/components/radio.css +19 -4
- package/registry/components/sheet.css +10 -0
- package/registry/components/sidebar.css +68 -0
- package/registry/components/slider.css +1 -1
- package/registry/components/switch.css +14 -0
- package/registry/components/table.css +4 -4
- package/registry/components/textarea.css +6 -0
- package/registry/components/toggle-group.css +8 -0
- package/registry/components/tooltip.css +106 -78
- package/registry/examples/alert-dialog.html +133 -7
- package/registry/examples/alert.html +50 -3
- package/registry/examples/aspect-ratio.html +5 -0
- package/registry/examples/attachment.html +12 -0
- package/registry/examples/avatar.html +49 -4
- package/registry/examples/badge.html +3 -0
- package/registry/examples/bubble.html +5 -0
- package/registry/examples/button-group.html +140 -12
- package/registry/examples/button.html +60 -15
- package/registry/examples/checkbox.html +107 -4
- package/registry/examples/code-block.html +5 -0
- package/registry/examples/combobox.html +13 -0
- package/registry/examples/command.html +322 -1
- package/registry/examples/context-menu.html +170 -1
- package/registry/examples/dialog.html +166 -5
- package/registry/examples/drawer.html +198 -10
- package/registry/examples/dropdown-menu.html +259 -2
- package/registry/examples/empty.html +107 -1
- package/registry/examples/field.html +232 -0
- package/registry/examples/input-group.html +101 -5
- package/registry/examples/input-otp.html +74 -2
- package/registry/examples/input.html +75 -4
- package/registry/examples/item.html +12 -0
- package/registry/examples/marker.html +6 -0
- package/registry/examples/menubar.html +338 -9
- package/registry/examples/message-scroller.html +1 -1
- package/registry/examples/message.html +16 -0
- package/registry/examples/navigation-menu.html +166 -17
- package/registry/examples/popover.html +153 -6
- package/registry/examples/progress.html +66 -3
- package/registry/examples/questionnaire.html +33 -0
- package/registry/examples/radio.html +121 -9
- package/registry/examples/resizable.html +11 -0
- package/registry/examples/scroll-area.html +9 -0
- package/registry/examples/separator.html +3 -0
- package/registry/examples/sheet.html +205 -7
- package/registry/examples/sidebar.html +377 -1
- package/registry/examples/slider.html +52 -5
- package/registry/examples/spinner.html +3 -0
- package/registry/examples/switch.html +68 -0
- package/registry/examples/table.html +192 -8
- package/registry/examples/textarea.html +33 -3
- package/registry/examples/toggle-group.html +72 -12
- package/registry/examples/toggle.html +34 -7
- package/registry/examples/tooltip.html +99 -2
- package/registry/examples/trace.html +13 -1
- package/registry/primitives/menu.css +10 -0
- package/registry/primitives/popover.css +38 -6
- package/registry/registry.json +417 -39
- package/registry/styles/luma/accordion.css +1 -1
- package/registry/styles/luma/alert-dialog.css +8 -0
- package/registry/styles/luma/alert.css +1 -17
- package/registry/styles/luma/attachment.css +176 -0
- package/registry/styles/luma/avatar.css +44 -1
- package/registry/styles/luma/bubble.css +147 -0
- package/registry/styles/luma/button-group.css +5 -17
- package/registry/styles/luma/button.css +8 -8
- package/registry/styles/luma/checkbox.css +6 -0
- package/registry/styles/luma/collapsible.css +1 -1
- package/registry/styles/luma/command.css +6 -0
- package/registry/styles/luma/drawer.css +8 -0
- package/registry/styles/luma/empty.css +2 -4
- package/registry/styles/luma/field.css +1 -1
- package/registry/styles/luma/input-group.css +14 -2
- package/registry/styles/luma/input-otp.css +8 -0
- package/registry/styles/luma/input.css +5 -0
- package/registry/styles/luma/kbd.css +1 -1
- package/registry/styles/luma/label.css +4 -0
- package/registry/styles/luma/marker.css +35 -0
- package/registry/styles/luma/menubar.css +1 -1
- package/registry/styles/luma/message-scroller.css +47 -0
- package/registry/styles/luma/message.css +39 -0
- package/registry/styles/luma/navigation-menu.css +11 -0
- package/registry/styles/luma/primitives/menu.css +8 -4
- package/registry/styles/luma/progress.css +26 -1
- package/registry/styles/luma/questionnaire.css +141 -0
- package/registry/styles/luma/radio.css +3 -1
- package/registry/styles/luma/sheet.css +20 -0
- package/registry/styles/luma/sidebar.css +114 -1
- package/registry/styles/luma/switch.css +39 -10
- package/registry/styles/luma/table.css +6 -2
- package/registry/styles/luma/textarea.css +5 -0
- package/registry/styles/luma/toggle-group.css +11 -0
- package/registry/styles/luma/trace.css +85 -0
- package/registry/styles/lyra/accordion.css +1 -1
- package/registry/styles/lyra/alert-dialog.css +8 -0
- package/registry/styles/lyra/alert.css +1 -17
- package/registry/styles/lyra/attachment.css +176 -0
- package/registry/styles/lyra/avatar.css +44 -1
- package/registry/styles/lyra/bubble.css +147 -0
- package/registry/styles/lyra/button-group.css +5 -17
- package/registry/styles/lyra/button.css +8 -8
- package/registry/styles/lyra/checkbox.css +6 -0
- package/registry/styles/lyra/collapsible.css +1 -1
- package/registry/styles/lyra/command.css +6 -0
- package/registry/styles/lyra/drawer.css +8 -0
- package/registry/styles/lyra/empty.css +2 -4
- package/registry/styles/lyra/field.css +1 -1
- package/registry/styles/lyra/input-group.css +15 -3
- package/registry/styles/lyra/input-otp.css +8 -0
- package/registry/styles/lyra/input.css +5 -0
- package/registry/styles/lyra/kbd.css +1 -1
- package/registry/styles/lyra/label.css +4 -0
- package/registry/styles/lyra/marker.css +35 -0
- package/registry/styles/lyra/menubar.css +1 -1
- package/registry/styles/lyra/message-scroller.css +47 -0
- package/registry/styles/lyra/message.css +39 -0
- package/registry/styles/lyra/navigation-menu.css +11 -0
- package/registry/styles/lyra/primitives/menu.css +8 -4
- package/registry/styles/lyra/progress.css +26 -1
- package/registry/styles/lyra/questionnaire.css +141 -0
- package/registry/styles/lyra/radio.css +3 -1
- package/registry/styles/lyra/sheet.css +20 -0
- package/registry/styles/lyra/sidebar.css +114 -1
- package/registry/styles/lyra/switch.css +37 -8
- package/registry/styles/lyra/table.css +6 -2
- package/registry/styles/lyra/textarea.css +5 -1
- package/registry/styles/lyra/trace.css +85 -0
- package/registry/styles/maia/accordion.css +1 -1
- package/registry/styles/maia/alert-dialog.css +8 -0
- package/registry/styles/maia/alert.css +1 -17
- package/registry/styles/maia/attachment.css +176 -0
- package/registry/styles/maia/avatar.css +44 -1
- package/registry/styles/maia/bubble.css +147 -0
- package/registry/styles/maia/button-group.css +5 -17
- package/registry/styles/maia/button.css +8 -8
- package/registry/styles/maia/checkbox.css +6 -0
- package/registry/styles/maia/collapsible.css +1 -1
- package/registry/styles/maia/command.css +6 -0
- package/registry/styles/maia/drawer.css +8 -0
- package/registry/styles/maia/empty.css +2 -4
- package/registry/styles/maia/field.css +1 -1
- package/registry/styles/maia/input-group.css +14 -2
- package/registry/styles/maia/input-otp.css +8 -0
- package/registry/styles/maia/input.css +5 -0
- package/registry/styles/maia/kbd.css +1 -1
- package/registry/styles/maia/label.css +4 -0
- package/registry/styles/maia/marker.css +35 -0
- package/registry/styles/maia/menubar.css +1 -1
- package/registry/styles/maia/message-scroller.css +47 -0
- package/registry/styles/maia/message.css +39 -0
- package/registry/styles/maia/navigation-menu.css +11 -0
- package/registry/styles/maia/primitives/menu.css +8 -4
- package/registry/styles/maia/progress.css +26 -1
- package/registry/styles/maia/questionnaire.css +141 -0
- package/registry/styles/maia/radio.css +3 -1
- package/registry/styles/maia/sheet.css +20 -0
- package/registry/styles/maia/sidebar.css +114 -1
- package/registry/styles/maia/switch.css +37 -8
- package/registry/styles/maia/table.css +6 -2
- package/registry/styles/maia/textarea.css +5 -0
- package/registry/styles/maia/toggle-group.css +11 -0
- package/registry/styles/maia/trace.css +85 -0
- package/registry/styles/mira/accordion.css +1 -1
- package/registry/styles/mira/alert-dialog.css +8 -0
- package/registry/styles/mira/alert.css +1 -17
- package/registry/styles/mira/attachment.css +176 -0
- package/registry/styles/mira/avatar.css +44 -1
- package/registry/styles/mira/bubble.css +147 -0
- package/registry/styles/mira/button-group.css +5 -17
- package/registry/styles/mira/button.css +8 -8
- package/registry/styles/mira/checkbox.css +6 -0
- package/registry/styles/mira/collapsible.css +1 -1
- package/registry/styles/mira/command.css +6 -0
- package/registry/styles/mira/drawer.css +8 -0
- package/registry/styles/mira/empty.css +2 -4
- package/registry/styles/mira/field.css +1 -1
- package/registry/styles/mira/input-group.css +14 -2
- package/registry/styles/mira/input-otp.css +8 -0
- package/registry/styles/mira/input.css +7 -2
- package/registry/styles/mira/kbd.css +1 -1
- package/registry/styles/mira/label.css +4 -0
- package/registry/styles/mira/marker.css +35 -0
- package/registry/styles/mira/menubar.css +1 -1
- package/registry/styles/mira/message-scroller.css +47 -0
- package/registry/styles/mira/message.css +39 -0
- package/registry/styles/mira/navigation-menu.css +11 -0
- package/registry/styles/mira/primitives/menu.css +8 -4
- package/registry/styles/mira/progress.css +26 -1
- package/registry/styles/mira/questionnaire.css +141 -0
- package/registry/styles/mira/radio.css +3 -1
- package/registry/styles/mira/sheet.css +20 -0
- package/registry/styles/mira/sidebar.css +113 -0
- package/registry/styles/mira/switch.css +39 -10
- package/registry/styles/mira/table.css +7 -3
- package/registry/styles/mira/textarea.css +6 -2
- package/registry/styles/mira/toggle-group.css +11 -0
- package/registry/styles/mira/trace.css +85 -0
- package/registry/styles/nova/accordion.css +1 -1
- package/registry/styles/nova/alert-dialog.css +8 -0
- package/registry/styles/nova/alert.css +1 -17
- package/registry/styles/nova/avatar.css +44 -1
- package/registry/styles/nova/button-group.css +5 -17
- package/registry/styles/nova/button.css +8 -8
- package/registry/styles/nova/checkbox.css +6 -0
- package/registry/styles/nova/collapsible.css +1 -1
- package/registry/styles/nova/command.css +8 -0
- package/registry/styles/nova/drawer.css +8 -0
- package/registry/styles/nova/empty.css +2 -4
- package/registry/styles/nova/field.css +1 -1
- package/registry/styles/nova/input-group.css +15 -3
- package/registry/styles/nova/input-otp.css +8 -0
- package/registry/styles/nova/input.css +5 -0
- package/registry/styles/nova/kbd.css +1 -1
- package/registry/styles/nova/label.css +4 -0
- package/registry/styles/nova/menubar.css +1 -1
- package/registry/styles/nova/navigation-menu.css +11 -0
- package/registry/styles/nova/primitives/menu.css +8 -4
- package/registry/styles/nova/progress.css +26 -1
- package/registry/styles/nova/radio.css +3 -1
- package/registry/styles/nova/sheet.css +20 -0
- package/registry/styles/nova/sidebar.css +114 -1
- package/registry/styles/nova/switch.css +37 -8
- package/registry/styles/nova/table.css +6 -2
- package/registry/styles/nova/textarea.css +5 -0
- package/registry/styles/nova/toggle.css +2 -0
- package/registry/styles/rhea/accordion.css +1 -1
- package/registry/styles/rhea/alert-dialog.css +8 -0
- package/registry/styles/rhea/alert.css +1 -17
- package/registry/styles/rhea/attachment.css +176 -0
- package/registry/styles/rhea/avatar.css +44 -1
- package/registry/styles/rhea/bubble.css +147 -0
- package/registry/styles/rhea/button-group.css +5 -17
- package/registry/styles/rhea/button.css +8 -8
- package/registry/styles/rhea/checkbox.css +6 -0
- package/registry/styles/rhea/collapsible.css +1 -1
- package/registry/styles/rhea/command.css +6 -0
- package/registry/styles/rhea/drawer.css +8 -0
- package/registry/styles/rhea/empty.css +2 -4
- package/registry/styles/rhea/field.css +1 -1
- package/registry/styles/rhea/input-group.css +15 -3
- package/registry/styles/rhea/input-otp.css +8 -0
- package/registry/styles/rhea/input.css +5 -0
- package/registry/styles/rhea/kbd.css +1 -1
- package/registry/styles/rhea/label.css +4 -0
- package/registry/styles/rhea/marker.css +35 -0
- package/registry/styles/rhea/menubar.css +1 -1
- package/registry/styles/rhea/message-scroller.css +47 -0
- package/registry/styles/rhea/message.css +39 -0
- package/registry/styles/rhea/navigation-menu.css +11 -0
- package/registry/styles/rhea/primitives/menu.css +8 -4
- package/registry/styles/rhea/primitives/popover.css +1 -1
- package/registry/styles/rhea/progress.css +25 -0
- package/registry/styles/rhea/questionnaire.css +141 -0
- package/registry/styles/rhea/radio.css +3 -1
- package/registry/styles/rhea/sheet.css +20 -0
- package/registry/styles/rhea/sidebar.css +114 -1
- package/registry/styles/rhea/switch.css +39 -10
- package/registry/styles/rhea/table.css +6 -2
- package/registry/styles/rhea/textarea.css +5 -0
- package/registry/styles/rhea/toggle-group.css +11 -0
- package/registry/styles/rhea/trace.css +85 -0
- package/registry/styles/sera/accordion.css +1 -1
- package/registry/styles/sera/alert-dialog.css +8 -0
- package/registry/styles/sera/alert.css +1 -17
- package/registry/styles/sera/attachment.css +176 -0
- package/registry/styles/sera/avatar.css +44 -1
- package/registry/styles/sera/bubble.css +147 -0
- package/registry/styles/sera/button-group.css +5 -17
- package/registry/styles/sera/button.css +8 -8
- package/registry/styles/sera/checkbox.css +6 -0
- package/registry/styles/sera/collapsible.css +1 -1
- package/registry/styles/sera/command.css +6 -0
- package/registry/styles/sera/drawer.css +8 -0
- package/registry/styles/sera/empty.css +2 -4
- package/registry/styles/sera/field.css +1 -1
- package/registry/styles/sera/input-group.css +14 -2
- package/registry/styles/sera/input-otp.css +8 -0
- package/registry/styles/sera/input.css +5 -0
- package/registry/styles/sera/kbd.css +1 -1
- package/registry/styles/sera/label.css +4 -0
- package/registry/styles/sera/marker.css +35 -0
- package/registry/styles/sera/menubar.css +1 -1
- package/registry/styles/sera/message-scroller.css +47 -0
- package/registry/styles/sera/message.css +39 -0
- package/registry/styles/sera/navigation-menu.css +11 -0
- package/registry/styles/sera/primitives/menu.css +8 -4
- package/registry/styles/sera/progress.css +26 -1
- package/registry/styles/sera/questionnaire.css +147 -0
- package/registry/styles/sera/radio.css +3 -1
- package/registry/styles/sera/sheet.css +20 -0
- package/registry/styles/sera/sidebar.css +117 -0
- package/registry/styles/sera/switch.css +37 -8
- package/registry/styles/sera/table.css +6 -2
- package/registry/styles/sera/textarea.css +5 -0
- package/registry/styles/sera/toggle-group.css +10 -0
- package/registry/styles/sera/trace.css +87 -0
- package/registry/styles/vega/accordion.css +1 -1
- package/registry/styles/vega/alert-dialog.css +8 -0
- package/registry/styles/vega/alert.css +1 -17
- package/registry/styles/vega/attachment.css +176 -0
- package/registry/styles/vega/avatar.css +44 -1
- package/registry/styles/vega/bubble.css +147 -0
- package/registry/styles/vega/button-group.css +5 -17
- package/registry/styles/vega/button.css +8 -8
- package/registry/styles/vega/checkbox.css +6 -0
- package/registry/styles/vega/collapsible.css +1 -1
- package/registry/styles/vega/command.css +6 -0
- package/registry/styles/vega/drawer.css +8 -0
- package/registry/styles/vega/empty.css +2 -4
- package/registry/styles/vega/field.css +1 -1
- package/registry/styles/vega/input-group.css +14 -2
- package/registry/styles/vega/input-otp.css +8 -0
- package/registry/styles/vega/input.css +5 -0
- package/registry/styles/vega/kbd.css +1 -1
- package/registry/styles/vega/label.css +4 -0
- package/registry/styles/vega/marker.css +35 -0
- package/registry/styles/vega/menubar.css +1 -1
- package/registry/styles/vega/message-scroller.css +47 -0
- package/registry/styles/vega/message.css +39 -0
- package/registry/styles/vega/navigation-menu.css +11 -0
- package/registry/styles/vega/primitives/menu.css +8 -4
- package/registry/styles/vega/progress.css +26 -1
- package/registry/styles/vega/questionnaire.css +141 -0
- package/registry/styles/vega/radio.css +3 -1
- package/registry/styles/vega/sheet.css +20 -0
- package/registry/styles/vega/sidebar.css +114 -1
- package/registry/styles/vega/switch.css +37 -8
- package/registry/styles/vega/table.css +6 -2
- package/registry/styles/vega/textarea.css +5 -0
- package/registry/styles/vega/toggle-group.css +11 -0
- package/registry/styles/vega/trace.css +85 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Progress */
|
|
2
2
|
@layer loseta.style {
|
|
3
3
|
.progress {
|
|
4
|
-
block-size: 0.
|
|
4
|
+
block-size: 0.25rem;
|
|
5
5
|
border-radius: var(--radius-full);
|
|
6
6
|
background-color: color-mix(in oklab, var(--primary) 20%, transparent);
|
|
7
7
|
|
|
@@ -48,11 +48,36 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
&:dir(rtl):indeterminate {
|
|
52
|
+
animation-direction: reverse;
|
|
53
|
+
}
|
|
54
|
+
|
|
51
55
|
@media (prefers-reduced-motion: reduce) {
|
|
52
56
|
&:indeterminate {
|
|
53
57
|
animation-duration: 3s;
|
|
54
58
|
}
|
|
55
59
|
}
|
|
60
|
+
|
|
61
|
+
/* Keep the system-color track and sweep visible in forced-colors mode. */
|
|
62
|
+
@media (forced-colors: active) {
|
|
63
|
+
forced-color-adjust: none;
|
|
64
|
+
outline: 1px solid CanvasText;
|
|
65
|
+
background-color: Canvas;
|
|
66
|
+
|
|
67
|
+
&::-webkit-progress-value,
|
|
68
|
+
&::-moz-progress-bar {
|
|
69
|
+
background-color: Highlight;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:indeterminate {
|
|
73
|
+
background-image: linear-gradient(
|
|
74
|
+
90deg,
|
|
75
|
+
transparent,
|
|
76
|
+
Highlight,
|
|
77
|
+
transparent
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
56
81
|
}
|
|
57
82
|
|
|
58
83
|
@keyframes loseta-progress-indeterminate {
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
transparent,
|
|
11
11
|
color-mix(in oklab, var(--input) 30%, transparent)
|
|
12
12
|
);
|
|
13
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
|
|
14
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
15
|
+
transition-duration: 150ms;
|
|
13
16
|
|
|
14
17
|
&:checked {
|
|
15
18
|
border-color: var(--primary);
|
|
@@ -41,6 +44,5 @@
|
|
|
41
44
|
.radio:checked::before {
|
|
42
45
|
width: 0.5rem;
|
|
43
46
|
height: 0.5rem;
|
|
44
|
-
background-color: var(--primary-foreground);
|
|
45
47
|
}
|
|
46
48
|
}
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
@layer loseta.style {
|
|
3
3
|
.sheet {
|
|
4
4
|
--sheet-width: 24rem;
|
|
5
|
+
--sheet-height: 80vh;
|
|
5
6
|
|
|
6
7
|
&[data-size='sm'] {
|
|
7
8
|
--sheet-width: 20rem;
|
|
9
|
+
--sheet-height: 50vh;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
&[data-size='lg'] {
|
|
11
13
|
--sheet-width: 28rem;
|
|
14
|
+
--sheet-height: 90vh;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
> * {
|
|
@@ -31,6 +34,23 @@
|
|
|
31
34
|
border-inline-start-color: var(--border);
|
|
32
35
|
}
|
|
33
36
|
|
|
37
|
+
&[data-side='block-start'] > *,
|
|
38
|
+
&[data-side='block-end'] > * {
|
|
39
|
+
max-height: var(--sheet-height);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[data-side='block-start'] > * {
|
|
43
|
+
border-block-end-style: solid;
|
|
44
|
+
border-block-end-width: 1px;
|
|
45
|
+
border-block-end-color: var(--border);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&[data-side='block-end'] > * {
|
|
49
|
+
border-block-start-style: solid;
|
|
50
|
+
border-block-start-width: 1px;
|
|
51
|
+
border-block-start-color: var(--border);
|
|
52
|
+
}
|
|
53
|
+
|
|
34
54
|
> * > header {
|
|
35
55
|
gap: 0.5rem;
|
|
36
56
|
}
|
|
@@ -29,13 +29,59 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
> section {
|
|
32
|
+
gap: 0.75rem;
|
|
32
33
|
padding: 0.5rem;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
[data-slot='brand'] {
|
|
37
|
+
color: var(--sidebar-foreground);
|
|
36
38
|
font-size: var(--text-sm);
|
|
37
39
|
line-height: var(--text-sm--line-height);
|
|
38
40
|
font-weight: 600;
|
|
41
|
+
|
|
42
|
+
> svg {
|
|
43
|
+
width: 1rem;
|
|
44
|
+
height: 1rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
nav > header {
|
|
49
|
+
min-height: 2rem;
|
|
50
|
+
padding-inline: 0.5rem;
|
|
51
|
+
color: color-mix(in oklab, var(--sidebar-foreground) 70%, transparent);
|
|
52
|
+
|
|
53
|
+
> :is(h2, h3, h4, h5, h6, [data-slot='group-label']) {
|
|
54
|
+
margin: 0;
|
|
55
|
+
font-size: var(--text-xs);
|
|
56
|
+
line-height: var(--text-xs--line-height);
|
|
57
|
+
font-weight: 500;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[data-slot='group-action'] {
|
|
62
|
+
width: 1.5rem;
|
|
63
|
+
height: 1.5rem;
|
|
64
|
+
margin-inline-start: auto;
|
|
65
|
+
border-radius: var(--radius-sm);
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
color: inherit;
|
|
68
|
+
transition-property: color, background-color, box-shadow;
|
|
69
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
70
|
+
transition-duration: 150ms;
|
|
71
|
+
|
|
72
|
+
> svg {
|
|
73
|
+
width: 1rem;
|
|
74
|
+
height: 1rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:hover {
|
|
78
|
+
background-color: var(--sidebar-accent);
|
|
79
|
+
color: var(--sidebar-accent-foreground);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:focus-visible {
|
|
83
|
+
box-shadow: 0 0 0 3px color-mix(in oklab, var(--sidebar-ring) 50%, transparent);
|
|
84
|
+
}
|
|
39
85
|
}
|
|
40
86
|
|
|
41
87
|
nav a {
|
|
@@ -48,6 +94,11 @@
|
|
|
48
94
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
49
95
|
transition-duration: 150ms;
|
|
50
96
|
|
|
97
|
+
> svg {
|
|
98
|
+
width: 1rem;
|
|
99
|
+
height: 1rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
51
102
|
&:hover {
|
|
52
103
|
background-color: var(--sidebar-accent);
|
|
53
104
|
color: var(--sidebar-accent-foreground);
|
|
@@ -64,6 +115,48 @@
|
|
|
64
115
|
}
|
|
65
116
|
}
|
|
66
117
|
|
|
118
|
+
nav li:has(> [data-slot='menu-action'], > [data-slot='menu-badge']) > a {
|
|
119
|
+
padding-inline-end: 2rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-slot='menu-action'] {
|
|
123
|
+
inset-inline-end: 0.25rem;
|
|
124
|
+
width: 1.5rem;
|
|
125
|
+
height: 1.5rem;
|
|
126
|
+
border-radius: var(--radius-sm);
|
|
127
|
+
background-color: transparent;
|
|
128
|
+
color: color-mix(in oklab, var(--sidebar-foreground) 70%, transparent);
|
|
129
|
+
transition-property: color, background-color, box-shadow;
|
|
130
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
131
|
+
transition-duration: 150ms;
|
|
132
|
+
|
|
133
|
+
> svg {
|
|
134
|
+
width: 1rem;
|
|
135
|
+
height: 1rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:hover {
|
|
139
|
+
background-color: var(--sidebar-accent);
|
|
140
|
+
color: var(--sidebar-accent-foreground);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:focus-visible {
|
|
144
|
+
box-shadow: 0 0 0 3px color-mix(in oklab, var(--sidebar-ring) 50%, transparent);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
[data-slot='menu-badge'] {
|
|
149
|
+
inset-inline-end: 0.5rem;
|
|
150
|
+
min-width: 1.25rem;
|
|
151
|
+
height: 1.25rem;
|
|
152
|
+
padding-inline: 0.25rem;
|
|
153
|
+
border-radius: var(--radius-sm);
|
|
154
|
+
color: color-mix(in oklab, var(--sidebar-foreground) 70%, transparent);
|
|
155
|
+
font-size: var(--text-xs);
|
|
156
|
+
line-height: 1;
|
|
157
|
+
font-variant-numeric: tabular-nums;
|
|
158
|
+
}
|
|
159
|
+
|
|
67
160
|
.collapsible > summary {
|
|
68
161
|
height: 2rem;
|
|
69
162
|
border-width: 0;
|
|
@@ -73,6 +166,12 @@
|
|
|
73
166
|
font-size: var(--text-sm);
|
|
74
167
|
line-height: var(--text-sm--line-height);
|
|
75
168
|
|
|
169
|
+
&[data-slot='group-label'] {
|
|
170
|
+
font-size: var(--text-xs);
|
|
171
|
+
line-height: var(--text-xs--line-height);
|
|
172
|
+
color: color-mix(in oklab, var(--sidebar-foreground) 70%, transparent);
|
|
173
|
+
}
|
|
174
|
+
|
|
76
175
|
&:hover {
|
|
77
176
|
background-color: var(--sidebar-accent);
|
|
78
177
|
color: var(--sidebar-accent-foreground);
|
|
@@ -92,7 +191,21 @@
|
|
|
92
191
|
}
|
|
93
192
|
|
|
94
193
|
nav ul ul {
|
|
95
|
-
|
|
194
|
+
margin-inline-start: 0.5rem;
|
|
195
|
+
border-inline-start-style: solid;
|
|
196
|
+
border-inline-start-width: 1px;
|
|
197
|
+
border-inline-start-color: var(--sidebar-border);
|
|
198
|
+
padding-inline-start: 0.5rem;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
nav ul ul a {
|
|
202
|
+
height: 1.75rem;
|
|
203
|
+
padding-inline: 0.5rem;
|
|
204
|
+
color: color-mix(in oklab, var(--sidebar-foreground) 70%, transparent);
|
|
205
|
+
|
|
206
|
+
&:hover {
|
|
207
|
+
color: var(--sidebar-accent-foreground);
|
|
208
|
+
}
|
|
96
209
|
}
|
|
97
210
|
}
|
|
98
211
|
}
|
|
@@ -43,39 +43,68 @@
|
|
|
43
43
|
width: 24px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
&::before {
|
|
47
47
|
border-radius: var(--radius-full);
|
|
48
48
|
background-color: light-dark(var(--background), var(--foreground));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
&:checked
|
|
51
|
+
&:checked::before {
|
|
52
52
|
background-color: light-dark(var(--background), var(--primary-foreground));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
&:not([data-size='sm'])
|
|
55
|
+
&:not([data-size='sm'])::before {
|
|
56
56
|
width: 1rem;
|
|
57
57
|
height: 1rem;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
&[data-size='sm']
|
|
60
|
+
&[data-size='sm']::before {
|
|
61
61
|
width: 0.75rem;
|
|
62
62
|
height: 0.75rem;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
&:checked:not([data-size='sm'])
|
|
65
|
+
&:checked:not([data-size='sm'])::before {
|
|
66
66
|
translate: calc(100% - 2px);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
&:checked[data-size='sm']
|
|
69
|
+
&:checked[data-size='sm']::before {
|
|
70
70
|
translate: calc(100% - 2px);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
&:dir(rtl):checked:not([data-size='sm'])
|
|
73
|
+
&:dir(rtl):checked:not([data-size='sm'])::before {
|
|
74
74
|
translate: calc(calc(100% - 2px) * -1);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
&:dir(rtl):checked[data-size='sm']
|
|
77
|
+
&:dir(rtl):checked[data-size='sm']::before {
|
|
78
78
|
translate: calc(calc(100% - 2px) * -1);
|
|
79
79
|
}
|
|
80
|
+
|
|
81
|
+
@media (forced-colors: active) {
|
|
82
|
+
border-color: ButtonText;
|
|
83
|
+
|
|
84
|
+
&:not(:checked) {
|
|
85
|
+
background-color: ButtonFace;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&::before {
|
|
89
|
+
background-color: ButtonText;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:checked {
|
|
93
|
+
border-color: Highlight;
|
|
94
|
+
background-color: Highlight;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&:checked::before {
|
|
98
|
+
background-color: HighlightText;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:disabled {
|
|
102
|
+
border-color: GrayText;
|
|
103
|
+
|
|
104
|
+
&::before {
|
|
105
|
+
background-color: GrayText;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
80
109
|
}
|
|
81
110
|
}
|
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
&:has([aria-expanded='true']) {
|
|
52
|
+
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
53
|
+
}
|
|
54
|
+
|
|
51
55
|
&[aria-selected='true'] {
|
|
52
56
|
background-color: var(--muted);
|
|
53
57
|
}
|
|
@@ -62,7 +66,7 @@
|
|
|
62
66
|
white-space: nowrap;
|
|
63
67
|
color: var(--foreground);
|
|
64
68
|
|
|
65
|
-
&:has([role='checkbox']) {
|
|
69
|
+
&:has(:is([role='checkbox'], input[type='checkbox'])) {
|
|
66
70
|
padding-inline-end: 0;
|
|
67
71
|
}
|
|
68
72
|
}
|
|
@@ -72,7 +76,7 @@
|
|
|
72
76
|
vertical-align: middle;
|
|
73
77
|
white-space: nowrap;
|
|
74
78
|
|
|
75
|
-
&:has([role='checkbox']) {
|
|
79
|
+
&:has(:is([role='checkbox'], input[type='checkbox'])) {
|
|
76
80
|
padding-inline-end: 0;
|
|
77
81
|
}
|
|
78
82
|
}
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
18
18
|
transition-duration: 150ms;
|
|
19
19
|
|
|
20
|
+
&::selection {
|
|
21
|
+
background-color: var(--primary);
|
|
22
|
+
color: var(--primary-foreground);
|
|
23
|
+
}
|
|
24
|
+
|
|
20
25
|
&:focus-visible {
|
|
21
26
|
border-color: var(--ring);
|
|
22
27
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
&[data-size='sm'] {
|
|
55
55
|
block-size: 1.75rem;
|
|
56
56
|
min-inline-size: 1.75rem;
|
|
57
|
+
border-radius: min(var(--radius-md), 12px);
|
|
57
58
|
padding-inline: 0.375rem;
|
|
58
59
|
font-size: var(--text-xs);
|
|
59
60
|
line-height: var(--text-xs--line-height);
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
.toggle:where(.toggle-group[data-size='sm'] > .toggle:not([data-size])) {
|
|
88
89
|
block-size: 1.75rem;
|
|
89
90
|
min-inline-size: 1.75rem;
|
|
91
|
+
border-radius: min(var(--radius-md), 12px);
|
|
90
92
|
padding-inline: 0.375rem;
|
|
91
93
|
font-size: var(--text-xs);
|
|
92
94
|
line-height: var(--text-xs--line-height);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
&::details-content {
|
|
11
11
|
opacity: 0%;
|
|
12
|
-
transition-property: block-size, opacity;
|
|
12
|
+
transition-property: block-size, content-visibility, opacity;
|
|
13
13
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
14
14
|
transition-duration: 150ms;
|
|
15
15
|
transition-behavior: allow-discrete;
|
|
@@ -44,6 +44,14 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
.alert-dialog > * > header > figure[data-variant='destructive'] {
|
|
48
|
+
background-color: light-dark(
|
|
49
|
+
color-mix(in oklab, var(--destructive) 10%, transparent),
|
|
50
|
+
color-mix(in oklab, var(--destructive) 20%, transparent)
|
|
51
|
+
);
|
|
52
|
+
color: var(--destructive);
|
|
53
|
+
}
|
|
54
|
+
|
|
47
55
|
.alert-dialog > * > header > h2,
|
|
48
56
|
.alert-dialog > * > [data-slot='title'] {
|
|
49
57
|
font-size: var(--text-lg);
|
|
@@ -26,22 +26,14 @@
|
|
|
26
26
|
|
|
27
27
|
> svg {
|
|
28
28
|
grid-row: span 2 / span 2;
|
|
29
|
-
translate: 0 0.125rem;
|
|
30
|
-
color: currentcolor;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
> svg {
|
|
34
29
|
width: var(--icon-size, 1rem);
|
|
35
30
|
height: var(--icon-size, 1rem);
|
|
31
|
+
translate: 0 0.125rem;
|
|
36
32
|
}
|
|
37
33
|
|
|
38
34
|
&[data-variant='destructive'] {
|
|
39
35
|
background-color: var(--card);
|
|
40
36
|
color: var(--destructive);
|
|
41
|
-
|
|
42
|
-
> svg {
|
|
43
|
-
color: currentcolor;
|
|
44
|
-
}
|
|
45
37
|
}
|
|
46
38
|
|
|
47
39
|
> :is(h2, h3, h4, h5, h6, strong, [data-slot='title']),
|
|
@@ -62,10 +54,6 @@
|
|
|
62
54
|
@media (width >= 48rem) {
|
|
63
55
|
text-wrap: pretty;
|
|
64
56
|
}
|
|
65
|
-
|
|
66
|
-
& p:not(:last-child) {
|
|
67
|
-
margin-bottom: 1rem;
|
|
68
|
-
}
|
|
69
57
|
}
|
|
70
58
|
|
|
71
59
|
> [data-slot='description'] {
|
|
@@ -88,10 +76,6 @@
|
|
|
88
76
|
@media (width >= 48rem) {
|
|
89
77
|
text-wrap: pretty;
|
|
90
78
|
}
|
|
91
|
-
|
|
92
|
-
& p:not(:last-child) {
|
|
93
|
-
margin-bottom: 1rem;
|
|
94
|
-
}
|
|
95
79
|
}
|
|
96
80
|
|
|
97
81
|
&[data-variant='destructive'] > [data-slot='description'] {
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/* Attachment */
|
|
2
|
+
@layer loseta.style {
|
|
3
|
+
.attachment {
|
|
4
|
+
border-color: var(--border);
|
|
5
|
+
border-radius: var(--radius-2xl);
|
|
6
|
+
background-color: var(--card);
|
|
7
|
+
color: var(--card-foreground);
|
|
8
|
+
transition-property: color, background-color, border-color, box-shadow;
|
|
9
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
10
|
+
transition-duration: 150ms;
|
|
11
|
+
|
|
12
|
+
&:has(> :is(a, button, [data-slot='trigger'])):hover {
|
|
13
|
+
background-color: color-mix(in oklab, var(--muted) 50%, var(--card));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:focus-within {
|
|
17
|
+
box-shadow: 0 0 0 1px color-mix(in oklab, var(--ring) 50%, transparent);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:has([role='alert']) {
|
|
21
|
+
border-color: light-dark(
|
|
22
|
+
color-mix(in oklab, var(--destructive) 30%, transparent),
|
|
23
|
+
color-mix(in oklab, var(--destructive) 40%, transparent)
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&[aria-busy='true'] > [data-slot='media'] {
|
|
28
|
+
opacity: 60%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
> [data-slot='media'] {
|
|
32
|
+
border-radius: var(--radius-xl);
|
|
33
|
+
background-color: var(--muted);
|
|
34
|
+
color: var(--foreground);
|
|
35
|
+
|
|
36
|
+
> svg {
|
|
37
|
+
width: 1rem;
|
|
38
|
+
height: 1rem;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
> [data-slot='content'] {
|
|
43
|
+
line-height: 1.25;
|
|
44
|
+
|
|
45
|
+
> [data-slot='title'] {
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
> [data-slot='description'] {
|
|
50
|
+
margin-block-start: 0.125rem;
|
|
51
|
+
color: var(--muted-foreground);
|
|
52
|
+
font-size: var(--text-xs);
|
|
53
|
+
line-height: var(--text-xs--line-height);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
> [role='alert'] {
|
|
57
|
+
color: var(--destructive);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:not([data-size]),
|
|
62
|
+
&[data-size='default'] {
|
|
63
|
+
gap: 0.5rem;
|
|
64
|
+
font-size: var(--text-sm);
|
|
65
|
+
line-height: var(--text-sm--line-height);
|
|
66
|
+
|
|
67
|
+
&:has(> [data-slot='content']) {
|
|
68
|
+
padding-inline: 0.75rem;
|
|
69
|
+
padding-block: 0.5rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:has(> [data-slot='media']) {
|
|
73
|
+
padding: 0.5rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
> [data-slot='media'] {
|
|
77
|
+
width: 2.5rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&[data-orientation='vertical'] > [data-slot='media'] {
|
|
81
|
+
width: 100%;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&[data-size='sm'] {
|
|
86
|
+
gap: 0.625rem;
|
|
87
|
+
font-size: var(--text-xs);
|
|
88
|
+
line-height: var(--text-xs--line-height);
|
|
89
|
+
|
|
90
|
+
&:has(> [data-slot='content']) {
|
|
91
|
+
padding-inline: 0.625rem;
|
|
92
|
+
padding-block: 0.375rem;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:has(> [data-slot='media']) {
|
|
96
|
+
padding: 0.5rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
> [data-slot='media'] {
|
|
100
|
+
width: 2rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&[data-orientation='vertical'] > [data-slot='media'] {
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
> [data-slot='content'] > [data-slot='description'] {
|
|
108
|
+
font-size: var(--text-xs);
|
|
109
|
+
line-height: var(--text-xs--line-height);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&[data-size='xs'] {
|
|
114
|
+
gap: 0.375rem;
|
|
115
|
+
border-radius: var(--radius-xl);
|
|
116
|
+
font-size: var(--text-xs);
|
|
117
|
+
line-height: var(--text-xs--line-height);
|
|
118
|
+
|
|
119
|
+
&:has(> [data-slot='content']) {
|
|
120
|
+
padding-inline: 0.5rem;
|
|
121
|
+
padding-block: 0.25rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:has(> [data-slot='media']) {
|
|
125
|
+
padding: 0.375rem;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
> [data-slot='media'] {
|
|
129
|
+
width: 1.75rem;
|
|
130
|
+
border-radius: var(--radius-lg);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&[data-orientation='vertical'] > [data-slot='media'] {
|
|
134
|
+
width: 100%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
> [data-slot='content'] > [data-slot='description'] {
|
|
138
|
+
font-size: var(--text-xs);
|
|
139
|
+
line-height: var(--text-xs--line-height);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:not([data-orientation]),
|
|
144
|
+
&[data-orientation='horizontal'] {
|
|
145
|
+
min-width: 10rem;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&[data-orientation='vertical'] {
|
|
150
|
+
> [data-slot='media'] {
|
|
151
|
+
width: 100%;
|
|
152
|
+
border-radius: var(--radius-xl);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
> [data-slot='content'] {
|
|
156
|
+
padding-inline: 0.25rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
> [data-slot='actions'] {
|
|
160
|
+
gap: 0.25rem;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&[aria-busy='true'] > [data-slot='content'] > [data-slot='title'] {
|
|
165
|
+
color: var(--muted-foreground);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:has([role='alert']) > [data-slot='media'] {
|
|
169
|
+
background-color: light-dark(
|
|
170
|
+
color-mix(in oklab, var(--destructive) 10%, transparent),
|
|
171
|
+
color-mix(in oklab, var(--destructive) 20%, transparent)
|
|
172
|
+
);
|
|
173
|
+
color: var(--destructive);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
@@ -83,7 +83,50 @@
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.avatar-group >
|
|
86
|
+
.avatar-group > [data-slot='count'] {
|
|
87
|
+
width: 2rem;
|
|
88
|
+
height: 2rem;
|
|
89
|
+
border-style: solid;
|
|
90
|
+
border-width: 1px;
|
|
91
|
+
border-color: var(--border);
|
|
92
|
+
border-radius: var(--radius-2xl);
|
|
93
|
+
background-color: var(--muted);
|
|
94
|
+
color: light-dark(var(--foreground), var(--muted-foreground));
|
|
95
|
+
font-size: var(--text-sm);
|
|
96
|
+
line-height: var(--text-sm--line-height);
|
|
97
|
+
font-weight: 500;
|
|
98
|
+
|
|
99
|
+
> svg {
|
|
100
|
+
width: 1rem;
|
|
101
|
+
height: 1rem;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.avatar-group:has(> .avatar[data-size='sm']) > [data-slot='count'] {
|
|
106
|
+
width: 1.5rem;
|
|
107
|
+
height: 1.5rem;
|
|
108
|
+
font-size: var(--text-xs);
|
|
109
|
+
line-height: var(--text-xs--line-height);
|
|
110
|
+
|
|
111
|
+
> svg {
|
|
112
|
+
width: 0.75rem;
|
|
113
|
+
height: 0.75rem;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.avatar-group:has(> .avatar[data-size='lg']) > [data-slot='count'] {
|
|
118
|
+
width: 2.5rem;
|
|
119
|
+
height: 2.5rem;
|
|
120
|
+
font-size: var(--text-base);
|
|
121
|
+
line-height: var(--text-base--line-height);
|
|
122
|
+
|
|
123
|
+
> svg {
|
|
124
|
+
width: 1.25rem;
|
|
125
|
+
height: 1.25rem;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.avatar-group > :is(.avatar, [data-slot='count']) {
|
|
87
130
|
box-shadow: 0 0 0 2px var(--background);
|
|
88
131
|
}
|
|
89
132
|
}
|