@hellboy/ds 0.1.2 → 0.2.7
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 +568 -71
- package/{src/style/components/badge → dist/components}/badge.css +9 -25
- package/dist/components/badge.d.mts +12 -0
- package/dist/components/badge.d.ts +12 -0
- package/dist/components/badge.js +42 -0
- package/dist/components/badge.mjs +15 -0
- package/dist/components/banner.css +280 -0
- package/dist/components/banner.d.mts +12 -0
- package/dist/components/banner.d.ts +12 -0
- package/dist/components/banner.js +184 -0
- package/dist/components/banner.mjs +147 -0
- package/dist/components/button-group.css +289 -0
- package/dist/components/button-group.d.mts +81 -0
- package/dist/components/button-group.d.ts +81 -0
- package/dist/components/button-group.js +180 -0
- package/dist/components/button-group.mjs +143 -0
- package/{src/style/components/button → dist/components}/button.css +59 -62
- package/dist/components/button.d.mts +57 -0
- package/dist/components/button.d.ts +57 -0
- package/dist/components/button.js +129 -0
- package/dist/components/button.mjs +92 -0
- package/{src/style/components/card → dist/components}/card.css +9 -30
- package/dist/components/card.d.mts +31 -0
- package/dist/components/card.d.ts +31 -0
- package/dist/components/card.js +59 -0
- package/dist/components/card.mjs +32 -0
- package/{src/style → dist}/components/checkbox.css +51 -43
- package/dist/components/checkbox.d.mts +31 -0
- package/dist/components/checkbox.d.ts +31 -0
- package/dist/components/checkbox.js +130 -0
- package/dist/components/checkbox.mjs +93 -0
- package/{src/style/components/code-block → dist/components}/code-block.css +3 -7
- package/dist/components/code-block.d.mts +24 -0
- package/dist/components/code-block.d.ts +24 -0
- package/dist/components/code-block.js +43 -0
- package/dist/components/code-block.mjs +16 -0
- package/dist/components/color-control.css +285 -0
- package/dist/components/color-control.d.mts +5 -0
- package/dist/components/color-control.d.ts +5 -0
- package/dist/components/color-control.js +534 -0
- package/dist/components/color-control.mjs +497 -0
- package/dist/components/dialog.css +930 -0
- package/dist/components/dialog.d.mts +32 -0
- package/dist/components/dialog.d.ts +32 -0
- package/dist/components/dialog.js +1111 -0
- package/dist/components/dialog.mjs +1074 -0
- package/dist/components/divider.css +356 -0
- package/dist/components/divider.d.mts +32 -0
- package/dist/components/divider.d.ts +32 -0
- package/dist/components/divider.js +344 -0
- package/dist/components/divider.mjs +307 -0
- package/{src/style/components/drag-handle → dist/components}/drag-handle.css +3 -18
- package/dist/components/drag-handle.d.mts +11 -0
- package/dist/components/drag-handle.d.ts +11 -0
- package/dist/components/drag-handle.js +103 -0
- package/dist/components/drag-handle.mjs +66 -0
- package/dist/components/drawer.css +1027 -0
- package/dist/components/drawer.d.mts +14 -0
- package/dist/components/drawer.d.ts +14 -0
- package/dist/components/drawer.js +1072 -0
- package/dist/components/drawer.mjs +1035 -0
- package/dist/components/floating-bar.css +17 -0
- package/dist/components/floating-bar.d.mts +25 -0
- package/dist/components/floating-bar.d.ts +25 -0
- package/dist/components/floating-bar.js +52 -0
- package/dist/components/floating-bar.mjs +25 -0
- package/dist/components/footer.css +40 -0
- package/dist/components/footer.d.mts +8 -0
- package/dist/components/footer.d.ts +8 -0
- package/dist/components/footer.js +44 -0
- package/dist/components/footer.mjs +17 -0
- package/dist/components/grid.css +47 -0
- package/dist/components/grid.d.mts +27 -0
- package/dist/components/grid.d.ts +27 -0
- package/dist/components/grid.js +52 -0
- package/dist/components/grid.mjs +25 -0
- package/dist/components/header.css +1075 -0
- package/dist/components/header.d.mts +35 -0
- package/dist/components/header.d.ts +35 -0
- package/dist/components/header.js +1402 -0
- package/dist/components/header.mjs +1365 -0
- package/dist/components/hero.css +121 -0
- package/dist/components/hero.d.mts +111 -0
- package/dist/components/hero.d.ts +111 -0
- package/dist/components/hero.js +285 -0
- package/dist/components/hero.mjs +248 -0
- package/{src/style/components/icons → dist/components}/icons.css +14 -15
- package/dist/components/icons.d.mts +104 -0
- package/dist/components/icons.d.ts +104 -0
- package/dist/components/icons.js +239 -0
- package/dist/components/icons.mjs +203 -0
- package/{src/style/components/input → dist/components}/input.css +189 -102
- package/dist/components/input.d.mts +114 -0
- package/dist/components/input.d.ts +114 -0
- package/dist/components/input.js +926 -0
- package/dist/components/input.mjs +879 -0
- package/dist/components/layout.css +551 -0
- package/dist/components/layout.d.mts +16 -0
- package/dist/components/layout.d.ts +16 -0
- package/dist/components/layout.js +387 -0
- package/dist/components/layout.mjs +352 -0
- package/{src/style/components/list → dist/components}/list.css +47 -41
- package/dist/components/list.d.mts +46 -0
- package/dist/components/list.d.ts +46 -0
- package/dist/components/list.js +124 -0
- package/dist/components/list.mjs +96 -0
- package/dist/components/navbar.css +706 -0
- package/dist/components/navbar.d.mts +56 -0
- package/dist/components/navbar.d.ts +56 -0
- package/dist/components/navbar.js +994 -0
- package/dist/components/navbar.mjs +952 -0
- package/{src/style/components/page-index → dist/components}/page-index.css +2 -47
- package/dist/components/page-index.d.mts +25 -0
- package/dist/components/page-index.d.ts +25 -0
- package/dist/components/page-index.js +239 -0
- package/dist/components/page-index.mjs +202 -0
- package/{src/style/components/page → dist/components}/page.css +4 -15
- package/dist/components/page.d.mts +30 -0
- package/dist/components/page.d.ts +30 -0
- package/dist/components/page.js +40 -0
- package/dist/components/page.mjs +13 -0
- package/dist/components/popover.css +87 -0
- package/dist/components/popover.d.mts +22 -0
- package/dist/components/popover.d.ts +22 -0
- package/dist/components/popover.js +243 -0
- package/dist/components/popover.mjs +206 -0
- package/{src/style → dist}/components/radio.css +8 -51
- package/dist/components/radio.d.mts +59 -0
- package/dist/components/radio.d.ts +59 -0
- package/dist/components/radio.js +133 -0
- package/dist/components/radio.mjs +95 -0
- package/dist/components/section.css +993 -0
- package/dist/components/section.d.mts +33 -0
- package/dist/components/section.d.ts +33 -0
- package/dist/components/section.js +1401 -0
- package/dist/components/section.mjs +1364 -0
- package/dist/components/select.css +391 -0
- package/dist/components/select.d.mts +63 -0
- package/dist/components/select.d.ts +63 -0
- package/dist/components/select.js +452 -0
- package/dist/components/select.mjs +415 -0
- package/{src/style/components/slider → dist/components}/slider.css +55 -33
- package/dist/components/slider.d.mts +69 -0
- package/dist/components/slider.d.ts +69 -0
- package/dist/components/slider.js +254 -0
- package/dist/components/slider.mjs +217 -0
- package/dist/components/switch.css +1081 -0
- package/dist/components/switch.d.mts +33 -0
- package/dist/components/switch.d.ts +33 -0
- package/dist/components/switch.js +1092 -0
- package/dist/components/switch.mjs +1055 -0
- package/{src/style/components/table → dist/components}/table.css +3 -28
- package/dist/components/table.d.mts +42 -0
- package/dist/components/table.d.ts +42 -0
- package/dist/components/table.js +108 -0
- package/dist/components/table.mjs +76 -0
- package/dist/components/tag.css +97 -0
- package/dist/components/tag.d.mts +12 -0
- package/dist/components/tag.d.ts +12 -0
- package/dist/components/tag.js +42 -0
- package/dist/components/tag.mjs +15 -0
- package/dist/components/textarea.css +1359 -0
- package/dist/components/textarea.d.mts +84 -0
- package/dist/components/textarea.d.ts +84 -0
- package/dist/components/textarea.js +1962 -0
- package/dist/components/textarea.mjs +1924 -0
- package/{src/style/components/theme-control → dist/components}/theme-control.css +3 -7
- package/dist/components/theme-control.d.mts +9 -0
- package/dist/components/theme-control.d.ts +9 -0
- package/dist/components/theme-control.js +235 -0
- package/dist/components/theme-control.mjs +200 -0
- package/{src/style/components/tooltip → dist/components}/tooltip.css +5 -13
- package/dist/components/tooltip.d.mts +12 -0
- package/dist/components/tooltip.d.ts +12 -0
- package/dist/components/tooltip.js +200 -0
- package/dist/components/tooltip.mjs +163 -0
- package/dist/icons-Czahnf-r.d.mts +15 -0
- package/dist/icons-Czahnf-r.d.ts +15 -0
- package/dist/index.css +2915 -2068
- package/dist/index.d.mts +144 -721
- package/dist/index.d.ts +144 -721
- package/dist/index.js +4076 -2282
- package/dist/index.mjs +4132 -2366
- package/dist/theme.css +34 -34
- package/package.json +27 -8
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/hellboy-ds-0.1.2.tgz +0 -0
- package/src/components/badge/Badge.tsx +0 -29
- package/src/components/badge/index.ts +0 -1
- package/src/components/banner/Banner.tsx +0 -48
- package/src/components/banner/banner.css +0 -44
- package/src/components/banner/index.ts +0 -1
- package/src/components/button/button.tsx +0 -127
- package/src/components/button/index.ts +0 -1
- package/src/components/card/card.tsx +0 -57
- package/src/components/card/index.ts +0 -1
- package/src/components/checkbox/Checkbox.tsx +0 -98
- package/src/components/checkbox/index.ts +0 -1
- package/src/components/code-block/code-block.tsx +0 -44
- package/src/components/code-block/index.ts +0 -1
- package/src/components/color-control/color-control.tsx +0 -322
- package/src/components/color-control/index.ts +0 -1
- package/src/components/drag-handle/DragHandle.tsx +0 -78
- package/src/components/drag-handle/index.ts +0 -1
- package/src/components/drawer/drawer.tsx +0 -82
- package/src/components/drawer/index.ts +0 -1
- package/src/components/floating-bar/floating-bar.tsx +0 -52
- package/src/components/floating-bar/index.ts +0 -2
- package/src/components/footer/footer.tsx +0 -28
- package/src/components/footer/index.ts +0 -1
- package/src/components/grid/Grid.tsx +0 -53
- package/src/components/grid/index.ts +0 -1
- package/src/components/header/header.tsx +0 -57
- package/src/components/header/index.ts +0 -1
- package/src/components/icons/icons.tsx +0 -44
- package/src/components/icons/index.ts +0 -1
- package/src/components/index.ts +0 -29
- package/src/components/input/DatePicker.tsx +0 -133
- package/src/components/input/Input.tsx +0 -220
- package/src/components/input/InputDate.tsx +0 -10
- package/src/components/input/InputDateTime.tsx +0 -10
- package/src/components/input/InputEmail.tsx +0 -10
- package/src/components/input/InputField.tsx +0 -137
- package/src/components/input/InputNumber.tsx +0 -10
- package/src/components/input/InputPassword.tsx +0 -10
- package/src/components/input/InputSearch.tsx +0 -10
- package/src/components/input/InputTel.tsx +0 -10
- package/src/components/input/InputText.tsx +0 -10
- package/src/components/input/InputTime.tsx +0 -10
- package/src/components/input/InputUrl.tsx +0 -10
- package/src/components/input/TimePicker.tsx +0 -151
- package/src/components/input/index.ts +0 -11
- package/src/components/layout/Layout.tsx +0 -244
- package/src/components/layout/index.ts +0 -1
- package/src/components/list/List.tsx +0 -159
- package/src/components/list/index.ts +0 -1
- package/src/components/navbar/MenuCategory.tsx +0 -20
- package/src/components/navbar/MenuGroup.tsx +0 -288
- package/src/components/navbar/MenuItem.tsx +0 -65
- package/src/components/navbar/Navbar.tsx +0 -23
- package/src/components/navbar/index.ts +0 -4
- package/src/components/page/index.ts +0 -1
- package/src/components/page/page.tsx +0 -46
- package/src/components/page-index/PageIndex.tsx +0 -275
- package/src/components/page-index/index.ts +0 -1
- package/src/components/popover/index.ts +0 -1
- package/src/components/popover/popover.tsx +0 -199
- package/src/components/radio/Radio.tsx +0 -176
- package/src/components/radio/index.ts +0 -1
- package/src/components/section/index.ts +0 -1
- package/src/components/section/section.tsx +0 -66
- package/src/components/select/Select.tsx +0 -212
- package/src/components/select/index.ts +0 -1
- package/src/components/slider/Slider.tsx +0 -267
- package/src/components/slider/index.ts +0 -1
- package/src/components/switch/index.ts +0 -1
- package/src/components/switch/switch.tsx +0 -99
- package/src/components/table/Table.tsx +0 -147
- package/src/components/table/index.ts +0 -1
- package/src/components/theme-control/index.ts +0 -1
- package/src/components/theme-control/theme-control.tsx +0 -78
- package/src/components/tooltip/index.ts +0 -1
- package/src/components/tooltip/tooltip.tsx +0 -207
- package/src/contexts/NavbarTooltipContext.tsx +0 -48
- package/src/contexts/index.ts +0 -1
- package/src/foundations/motion.md +0 -136
- package/src/index.ts +0 -40
- package/src/style/_shared/field.css +0 -69
- package/src/style/components/color-control/color-control.css +0 -126
- package/src/style/components/drawer/drawer.css +0 -210
- package/src/style/components/floating-bar/floating-bar.css +0 -39
- package/src/style/components/footer/footer.css +0 -108
- package/src/style/components/grid/grid.css +0 -33
- package/src/style/components/header/header.css +0 -44
- package/src/style/components/layout/layout.css +0 -205
- package/src/style/components/navbar/navbar.css +0 -342
- package/src/style/components/popover/popover.css +0 -44
- package/src/style/components/section/section.css +0 -67
- package/src/style/components/select/select.css +0 -143
- package/src/style/components/switch/switch.css +0 -267
- package/src/style/foundations/global.css +0 -316
- package/src/style/foundations/motion.css +0 -164
- package/src/style/foundations/spacing.css +0 -51
- package/src/style/foundations/typography.css +0 -39
- package/src/style/foundations/z-index.css +0 -81
- package/src/style/modes/dark.css +0 -146
- package/src/style/modes/light.css +0 -147
- package/src/style/semantic.css +0 -52
- package/src/style/styles.css +0 -51
- package/src/style/themes/theme.json +0 -37
- package/src/utils/README.md +0 -305
- package/src/utils/USER_PREFERENCES.md +0 -558
- package/src/utils/theme.ts +0 -127
- package/src/utils/user-preferences.ts +0 -577
- package/tsconfig.json +0 -25
- package/tsup.config.ts +0 -52
|
@@ -0,0 +1,706 @@
|
|
|
1
|
+
/* src/style/components/navbar/navbar.css */
|
|
2
|
+
.navbar {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
min-width: 64px;
|
|
6
|
+
background-color: var(--color-bg-2);
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
overflow-x: hidden;
|
|
10
|
+
gap: var(--spacing-1);
|
|
11
|
+
transition: background-color var(--transition-base, 0.2s ease);
|
|
12
|
+
padding: var(--spacing-3);
|
|
13
|
+
}
|
|
14
|
+
.navbar::-webkit-scrollbar,
|
|
15
|
+
.navbar__content::-webkit-scrollbar {
|
|
16
|
+
width: 8px;
|
|
17
|
+
}
|
|
18
|
+
.navbar::-webkit-scrollbar-track,
|
|
19
|
+
.navbar__content::-webkit-scrollbar-track {
|
|
20
|
+
background: transparent;
|
|
21
|
+
}
|
|
22
|
+
.navbar::-webkit-scrollbar-thumb,
|
|
23
|
+
.navbar__content::-webkit-scrollbar-thumb {
|
|
24
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
transition: background-color 0.2s ease;
|
|
27
|
+
}
|
|
28
|
+
.navbar:hover::-webkit-scrollbar-thumb,
|
|
29
|
+
.navbar__content:hover::-webkit-scrollbar-thumb {
|
|
30
|
+
background-color: rgba(0, 0, 0, 1);
|
|
31
|
+
}
|
|
32
|
+
.navbar--header {
|
|
33
|
+
font-size: 1.4rem;
|
|
34
|
+
margin: 0 0 8px 0;
|
|
35
|
+
color: var(--color-foreground-1);
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: var(--spacing-1, 0.25rem);
|
|
39
|
+
font-family: var(--font-family-action);
|
|
40
|
+
}
|
|
41
|
+
.navbar__content {
|
|
42
|
+
padding: var(--spacing-4, 1rem);
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
gap: var(--spacing-2, 0.5rem);
|
|
46
|
+
flex: 1;
|
|
47
|
+
min-height: 0;
|
|
48
|
+
overflow-y: auto;
|
|
49
|
+
}
|
|
50
|
+
.expanded .navbar__content {
|
|
51
|
+
min-width: 210px;
|
|
52
|
+
}
|
|
53
|
+
.navbar__menu-item {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: var(--spacing-3, 0.75rem);
|
|
57
|
+
padding: var(--spacing-2, 0.5rem) calc(var(--spacing-2, 0.5rem) + 2px);
|
|
58
|
+
color: var(--color-foreground-2);
|
|
59
|
+
border-radius: var(--radius-base, 8px);
|
|
60
|
+
font-size: var(--font-size-sm, 0.875rem);
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
width: 100%;
|
|
63
|
+
position: relative;
|
|
64
|
+
border: none;
|
|
65
|
+
background: transparent;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
font-family: var(--font-family-action);
|
|
68
|
+
text-align: left;
|
|
69
|
+
}
|
|
70
|
+
.navbar > .navbar__menu-item {
|
|
71
|
+
min-height: 40px;
|
|
72
|
+
}
|
|
73
|
+
.navbar__menu-item[href] {
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
}
|
|
76
|
+
.navbar__menu-item:not(:hover):not(:active):not(.navbar__menu-item--active) {
|
|
77
|
+
transition: background-color var(--motion-duration-none) var(--motion-easing-accelerate), color var(--motion-duration-fast) var(--motion-easing-accelerate);
|
|
78
|
+
}
|
|
79
|
+
.navbar__menu-item:hover:not(:disabled):not(.navbar__menu-item--active),
|
|
80
|
+
.navbar__menu-group-header:hover:not(:disabled) {
|
|
81
|
+
background-color: var(--color-action-secondary);
|
|
82
|
+
color: var(--color-on-action-primary);
|
|
83
|
+
}
|
|
84
|
+
.navbar__menu-item:active:not(:disabled) {
|
|
85
|
+
background-color: var(--color-action-primary-active);
|
|
86
|
+
color: var(--color-on-action-primary);
|
|
87
|
+
}
|
|
88
|
+
.navbar__menu-item:focus-visible:not(:disabled) {
|
|
89
|
+
outline: 2px solid var(--color-action-primary);
|
|
90
|
+
outline-offset: 2px;
|
|
91
|
+
}
|
|
92
|
+
.navbar__menu-item--active {
|
|
93
|
+
background-color: var(--color-action-primary);
|
|
94
|
+
color: var(--color-on-action-primary);
|
|
95
|
+
}
|
|
96
|
+
.navbar__menu-item--active .navbar__menu-item-icon {
|
|
97
|
+
color: var(--color-on-action-primary);
|
|
98
|
+
}
|
|
99
|
+
.navbar__menu-item-icon {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
width: 20px;
|
|
104
|
+
height: 20px;
|
|
105
|
+
flex-shrink: 0;
|
|
106
|
+
color: var(--color-foreground-4);
|
|
107
|
+
}
|
|
108
|
+
.navbar__menu-item-icon:last-child {
|
|
109
|
+
margin-left: auto;
|
|
110
|
+
}
|
|
111
|
+
.navbar__menu-item-label {
|
|
112
|
+
flex: 1;
|
|
113
|
+
min-width: 0;
|
|
114
|
+
}
|
|
115
|
+
.navbar--collapsed .navbar__menu-item-label {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
.navbar--collapsed .navbar__menu-item {
|
|
119
|
+
width: auto;
|
|
120
|
+
padding: var(--spacing-2);
|
|
121
|
+
justify-content: center;
|
|
122
|
+
}
|
|
123
|
+
.navbar--logo {
|
|
124
|
+
display: inline-block;
|
|
125
|
+
}
|
|
126
|
+
a.navbar--logo {
|
|
127
|
+
color: var(--color-foreground-1);
|
|
128
|
+
}
|
|
129
|
+
.navbar--collapsed .navbar--logo {
|
|
130
|
+
display: none;
|
|
131
|
+
}
|
|
132
|
+
.navbar .floating-bar {
|
|
133
|
+
background-color: var(--color-bg-2);
|
|
134
|
+
margin-top: var(--spacing-8);
|
|
135
|
+
margin-bottom: var(--spacing-8);
|
|
136
|
+
padding: var(--spacing-4) 0;
|
|
137
|
+
}
|
|
138
|
+
.navbar__menu-group {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
}
|
|
142
|
+
.navbar__menu-group > .navbar__menu-group-content {
|
|
143
|
+
margin-left: calc(var(--spacing-8, 2rem) + 2px);
|
|
144
|
+
max-height: 0;
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
transition: max-height var(--motion-duration-slow) var(--motion-easing-standard);
|
|
147
|
+
}
|
|
148
|
+
.navbar__menu-group > .navbar__menu-group-content.navbar__menu-group-content--expanded {
|
|
149
|
+
max-height: 2000px;
|
|
150
|
+
}
|
|
151
|
+
.navbar__menu-group-header-expanded {
|
|
152
|
+
display: block;
|
|
153
|
+
}
|
|
154
|
+
.navbar__menu-group-header-collapsed {
|
|
155
|
+
display: none;
|
|
156
|
+
}
|
|
157
|
+
.navbar--collapsed .navbar__menu-group-header-expanded {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
.navbar--collapsed .navbar__menu-group-header-collapsed {
|
|
161
|
+
display: block;
|
|
162
|
+
}
|
|
163
|
+
.navbar--collapsed .navbar__menu-group-content {
|
|
164
|
+
display: none !important;
|
|
165
|
+
}
|
|
166
|
+
.navbar__menu-group-header {
|
|
167
|
+
align-items: center;
|
|
168
|
+
background: none;
|
|
169
|
+
border: none;
|
|
170
|
+
border-radius: var(--radius-sm, 4px);
|
|
171
|
+
color: var(--color-foreground-2);
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
display: flex;
|
|
174
|
+
font-size: var(--font-size-sm, 0.875rem);
|
|
175
|
+
font-weight: 600;
|
|
176
|
+
font-family: var(--font-family-action);
|
|
177
|
+
gap: var(--spacing-3, 0.75rem);
|
|
178
|
+
padding: var(--spacing-3, 0.75rem) var(--spacing-3, 0.75rem);
|
|
179
|
+
text-align: left;
|
|
180
|
+
transition: background-color var(--motion-duration-fast) var(--motion-easing-linear), color var(--motion-duration-fast) var(--motion-easing-linear);
|
|
181
|
+
width: 100%;
|
|
182
|
+
}
|
|
183
|
+
.navbar__menu-group-header--collapsed {
|
|
184
|
+
justify-content: center;
|
|
185
|
+
padding: var(--spacing-2);
|
|
186
|
+
}
|
|
187
|
+
.navbar__menu-group-header--collapsed.navbar__menu-group-header--has-active {
|
|
188
|
+
background-color: var(--color-action-primary);
|
|
189
|
+
color: var(--color-on-action-primary);
|
|
190
|
+
}
|
|
191
|
+
.navbar__menu-group-header--toggle {
|
|
192
|
+
background-color: var(--color-action-secondary);
|
|
193
|
+
color: var(--color-on-action-secondary);
|
|
194
|
+
box-shadow: 0 0 0 2px var(--color-action-primary);
|
|
195
|
+
}
|
|
196
|
+
.navbar__menu-group-header--toggle:hover:not(:disabled) {
|
|
197
|
+
background-color: var(--color-action-secondary-hover);
|
|
198
|
+
color: var(--color-on-action-secondary);
|
|
199
|
+
}
|
|
200
|
+
.navbar__menu-group-header--active {
|
|
201
|
+
background-color: var(--color-action-primary);
|
|
202
|
+
color: var(--color-on-action-primary);
|
|
203
|
+
}
|
|
204
|
+
.navbar__menu-group-header--active .navbar__menu-group-icon {
|
|
205
|
+
color: var(--color-on-action-primary);
|
|
206
|
+
}
|
|
207
|
+
.navbar__menu-group-header:not(:hover) {
|
|
208
|
+
transition: background-color var(--motion-duration-fast) var(--motion-easing-accelerate), color var(--motion-duration-fast) var(--motion-easing-accelerate);
|
|
209
|
+
}
|
|
210
|
+
.navbar__menu-group-icon {
|
|
211
|
+
display: flex;
|
|
212
|
+
align-items: center;
|
|
213
|
+
justify-content: center;
|
|
214
|
+
width: 20px;
|
|
215
|
+
height: 20px;
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
color: var(--color-foreground-4);
|
|
218
|
+
}
|
|
219
|
+
.navbar__menu-group-title {
|
|
220
|
+
flex: 1;
|
|
221
|
+
min-width: 0;
|
|
222
|
+
}
|
|
223
|
+
.navbar--collapsed .navbar__menu-group-title {
|
|
224
|
+
display: none;
|
|
225
|
+
}
|
|
226
|
+
.navbar__menu-group-chevron {
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
justify-content: center;
|
|
230
|
+
width: 12px;
|
|
231
|
+
height: 12px;
|
|
232
|
+
flex-shrink: 0;
|
|
233
|
+
transition: transform 0.2s ease;
|
|
234
|
+
}
|
|
235
|
+
.navbar--collapsed .navbar__menu-group-chevron {
|
|
236
|
+
display: none;
|
|
237
|
+
}
|
|
238
|
+
.navbar__menu-group-chevron--expanded {
|
|
239
|
+
transform: rotate(180deg);
|
|
240
|
+
}
|
|
241
|
+
.navbar__menu-group-header--static {
|
|
242
|
+
cursor: default;
|
|
243
|
+
font-weight: 300;
|
|
244
|
+
color: var(--color-foreground-5);
|
|
245
|
+
background-color: transparent;
|
|
246
|
+
margin: var(--spacing-2) 0 0 0;
|
|
247
|
+
}
|
|
248
|
+
.navbar__menu-group-header--static:hover {
|
|
249
|
+
background-color: transparent;
|
|
250
|
+
color: var(--color-foreground-5);
|
|
251
|
+
}
|
|
252
|
+
.navbar__menu-category {
|
|
253
|
+
font-size: var(--font-size-xs);
|
|
254
|
+
font-weight: 600;
|
|
255
|
+
color: var(--color-foreground-3);
|
|
256
|
+
letter-spacing: 0.5px;
|
|
257
|
+
}
|
|
258
|
+
@media (max-width: 768px) {
|
|
259
|
+
.navbar {
|
|
260
|
+
width: 280px;
|
|
261
|
+
}
|
|
262
|
+
.navbar__content {
|
|
263
|
+
padding: var(--spacing-3, 0.75rem);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.navbar__menu-category {
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-direction: column;
|
|
269
|
+
}
|
|
270
|
+
.navbar__menu-category-title {
|
|
271
|
+
font-family: var(--font-family-heading);
|
|
272
|
+
font-size: var(--font-size-xs, 0.75rem);
|
|
273
|
+
font-weight: var(--font-weight-semibold, 300);
|
|
274
|
+
color: var(--color-foreground-3);
|
|
275
|
+
text-transform: uppercase;
|
|
276
|
+
letter-spacing: var(--letter-spacing-wide, 0.02em);
|
|
277
|
+
padding: var(--spacing-1, 0.5rem) var(--spacing-3, 0.75rem);
|
|
278
|
+
}
|
|
279
|
+
.navbar--collapsed .navbar__menu-category-title {
|
|
280
|
+
display: none;
|
|
281
|
+
}
|
|
282
|
+
.navbar__menu-category-content {
|
|
283
|
+
display: flex;
|
|
284
|
+
flex-direction: column;
|
|
285
|
+
gap: var(--spacing-1, 0.25rem);
|
|
286
|
+
}
|
|
287
|
+
.navbar__menu-group-popover {
|
|
288
|
+
min-width: 200px;
|
|
289
|
+
max-width: none;
|
|
290
|
+
}
|
|
291
|
+
.navbar__menu-group-popover-title {
|
|
292
|
+
font-size: var(--font-size-sm);
|
|
293
|
+
font-weight: var(--font-weight-semibold);
|
|
294
|
+
color: var(--color-foreground-1);
|
|
295
|
+
padding: var(--spacing-2) var(--spacing-3) 0 var(--spacing-3);
|
|
296
|
+
border-bottom: 1px solid var(--color-border);
|
|
297
|
+
margin-bottom: var(--spacing-1);
|
|
298
|
+
font-family: var(--font-family-action);
|
|
299
|
+
}
|
|
300
|
+
.navbar__menu-group-popover-content {
|
|
301
|
+
display: flex;
|
|
302
|
+
flex-direction: row;
|
|
303
|
+
gap: var(--spacing-2);
|
|
304
|
+
padding: var(--spacing-4);
|
|
305
|
+
}
|
|
306
|
+
.navbar__menu-group-popover-column {
|
|
307
|
+
display: flex;
|
|
308
|
+
flex-direction: column;
|
|
309
|
+
gap: var(--spacing-1);
|
|
310
|
+
min-width: 140px;
|
|
311
|
+
}
|
|
312
|
+
.navbar__menu-group-popover-content .navbar__menu-item {
|
|
313
|
+
width: 100%;
|
|
314
|
+
}
|
|
315
|
+
.navbar__bottom-bar {
|
|
316
|
+
position: sticky;
|
|
317
|
+
bottom: 0;
|
|
318
|
+
z-index: 10;
|
|
319
|
+
padding: var(--spacing-3, 0.75rem) var(--spacing-4, 1rem);
|
|
320
|
+
border-top: 1px solid var(--color-bg-3);
|
|
321
|
+
background-color: var(--color-bg-2);
|
|
322
|
+
display: flex;
|
|
323
|
+
flex-direction: column;
|
|
324
|
+
gap: var(--spacing-2, 0.5rem);
|
|
325
|
+
}
|
|
326
|
+
.navbar__menu-group-popover-content .navbar__menu-item-label {
|
|
327
|
+
display: block;
|
|
328
|
+
}
|
|
329
|
+
.navbar--collapsed {
|
|
330
|
+
overflow-x: hidden;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* src/style/components/icons/icons.css */
|
|
334
|
+
.icon {
|
|
335
|
+
display: inline-flex;
|
|
336
|
+
align-items: center;
|
|
337
|
+
justify-content: center;
|
|
338
|
+
}
|
|
339
|
+
.icon--skeleton {
|
|
340
|
+
background:
|
|
341
|
+
linear-gradient(
|
|
342
|
+
90deg,
|
|
343
|
+
rgba(0, 0, 0, 0.06) 0%,
|
|
344
|
+
rgba(0, 0, 0, 0.03) 50%,
|
|
345
|
+
rgba(0, 0, 0, 0.06) 100%);
|
|
346
|
+
border-radius: 4px;
|
|
347
|
+
animation: hb-skeleton 1.2s ease-in-out infinite;
|
|
348
|
+
}
|
|
349
|
+
@keyframes hb-skeleton {
|
|
350
|
+
0% {
|
|
351
|
+
background-position: 200% 0;
|
|
352
|
+
}
|
|
353
|
+
100% {
|
|
354
|
+
background-position: -200% 0;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
.icon {
|
|
358
|
+
display: inline-block;
|
|
359
|
+
flex-shrink: 0;
|
|
360
|
+
transition: color var(--transition-base, 0.2s ease);
|
|
361
|
+
}
|
|
362
|
+
.icon--interactive {
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
color: var(--color-foreground-1);
|
|
365
|
+
}
|
|
366
|
+
.icon--interactive:hover:not(:disabled) {
|
|
367
|
+
color: var(--color-action-primary-hover);
|
|
368
|
+
}
|
|
369
|
+
.icon--interactive:active:not(:disabled) {
|
|
370
|
+
color: var(--color-action-primary-active);
|
|
371
|
+
}
|
|
372
|
+
.icon--interactive:disabled {
|
|
373
|
+
cursor: not-allowed;
|
|
374
|
+
color: var(--color-foreground-2);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/* src/style/components/tooltip/tooltip.css */
|
|
378
|
+
.tooltip {
|
|
379
|
+
position: fixed;
|
|
380
|
+
z-index: var(--z-tooltip);
|
|
381
|
+
background: var(--color-bg-1);
|
|
382
|
+
border: 1px solid var(--color-bg-3);
|
|
383
|
+
border-color: rgba(0, 0, 0, 0.15);
|
|
384
|
+
border-radius: var(--radius-base);
|
|
385
|
+
box-shadow: var(--shadow-md);
|
|
386
|
+
max-width: 200px;
|
|
387
|
+
padding: var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem);
|
|
388
|
+
font-size: var(--font-size-xs, 0.75rem);
|
|
389
|
+
font-weight: 500;
|
|
390
|
+
color: var(--color-foreground-1);
|
|
391
|
+
white-space: nowrap;
|
|
392
|
+
animation: tooltip-fade-in var(--transition-fast, 0.15s ease);
|
|
393
|
+
opacity: 0;
|
|
394
|
+
visibility: hidden;
|
|
395
|
+
pointer-events: none;
|
|
396
|
+
}
|
|
397
|
+
.tooltip--top {
|
|
398
|
+
margin-bottom: var(--spacing-1);
|
|
399
|
+
}
|
|
400
|
+
.tooltip--bottom {
|
|
401
|
+
margin-top: var(--spacing-1);
|
|
402
|
+
}
|
|
403
|
+
.tooltip--left {
|
|
404
|
+
margin-right: var(--spacing-1);
|
|
405
|
+
}
|
|
406
|
+
.tooltip--right {
|
|
407
|
+
margin-left: var(--spacing-1);
|
|
408
|
+
}
|
|
409
|
+
@keyframes tooltip-fade-in {
|
|
410
|
+
from {
|
|
411
|
+
opacity: 0;
|
|
412
|
+
transform: translateY(-2px);
|
|
413
|
+
}
|
|
414
|
+
to {
|
|
415
|
+
opacity: 1;
|
|
416
|
+
transform: translateY(0);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
.tooltip__content {
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/* src/style/components/button/button.css */
|
|
423
|
+
.btn {
|
|
424
|
+
position: relative;
|
|
425
|
+
display: inline-flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
justify-content: center;
|
|
428
|
+
gap: var(--spacing-2);
|
|
429
|
+
white-space: nowrap;
|
|
430
|
+
text-decoration: none;
|
|
431
|
+
user-select: none;
|
|
432
|
+
border-radius: var(--radius-base);
|
|
433
|
+
border: 1px solid transparent;
|
|
434
|
+
font-family: var(--font-family-action);
|
|
435
|
+
font-weight: var(--font-weight-semibold);
|
|
436
|
+
line-height: var(--line-height-normal);
|
|
437
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
438
|
+
transition: var(--motion-transition-hover-in), transform var(--motion-duration-fast) var(--motion-easing-linear);
|
|
439
|
+
cursor: pointer;
|
|
440
|
+
}
|
|
441
|
+
.btn:not(:hover):not(:active) {
|
|
442
|
+
transition: var(--motion-transition-hover-out), transform var(--motion-duration-fast) var(--motion-easing-accelerate);
|
|
443
|
+
}
|
|
444
|
+
.btn--xs {
|
|
445
|
+
padding: var(--spacing-1);
|
|
446
|
+
font-size: var(--font-size-xs);
|
|
447
|
+
}
|
|
448
|
+
.btn--sm {
|
|
449
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
450
|
+
font-size: var(--font-size-sm);
|
|
451
|
+
min-height: 32px;
|
|
452
|
+
}
|
|
453
|
+
.btn--md {
|
|
454
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
455
|
+
font-size: var(--font-size-base);
|
|
456
|
+
min-height: 40px;
|
|
457
|
+
}
|
|
458
|
+
.btn--lg {
|
|
459
|
+
padding: var(--spacing-3) var(--spacing-6);
|
|
460
|
+
font-size: var(--font-size-lg);
|
|
461
|
+
min-height: 48px;
|
|
462
|
+
}
|
|
463
|
+
.btn--icon-only {
|
|
464
|
+
padding: var(--spacing-2);
|
|
465
|
+
width: auto;
|
|
466
|
+
aspect-ratio: 1;
|
|
467
|
+
}
|
|
468
|
+
.btn--icon-only.btn--xs {
|
|
469
|
+
padding: var(--spacing-1);
|
|
470
|
+
min-width: 24px;
|
|
471
|
+
min-height: 24px;
|
|
472
|
+
}
|
|
473
|
+
.btn--icon-only.btn--sm {
|
|
474
|
+
padding: var(--spacing-1);
|
|
475
|
+
min-width: 32px;
|
|
476
|
+
min-height: 32px;
|
|
477
|
+
}
|
|
478
|
+
.btn--icon-only.btn--md {
|
|
479
|
+
padding: var(--spacing-2);
|
|
480
|
+
min-width: 40px;
|
|
481
|
+
min-height: 40px;
|
|
482
|
+
}
|
|
483
|
+
.btn--icon-only.btn--lg {
|
|
484
|
+
padding: var(--spacing-3);
|
|
485
|
+
min-width: 48px;
|
|
486
|
+
min-height: 48px;
|
|
487
|
+
}
|
|
488
|
+
.btn--active {
|
|
489
|
+
background-color: var(--color-accent);
|
|
490
|
+
color: var(--color-on-accent);
|
|
491
|
+
}
|
|
492
|
+
.btn--active:hover:not(:disabled) {
|
|
493
|
+
background-color: var(--color-accent-hover);
|
|
494
|
+
color: var(--color-on-accent);
|
|
495
|
+
}
|
|
496
|
+
.btn--active:active:not(:disabled) {
|
|
497
|
+
background-color: var(--color-accent-active);
|
|
498
|
+
color: var(--color-on-accent);
|
|
499
|
+
}
|
|
500
|
+
.btn--primary {
|
|
501
|
+
background-color: var(--color-action-primary);
|
|
502
|
+
outline: 0px solid var(--color-action-primary);
|
|
503
|
+
box-shadow: 0 0 0 0 var(--color-action-primary);
|
|
504
|
+
color: var(--color-on-action-primary);
|
|
505
|
+
}
|
|
506
|
+
.btn--primary:hover:not(:disabled) {
|
|
507
|
+
background-color: var(--color-action-primary-hover);
|
|
508
|
+
box-shadow: 0 0 0 2px var(--color-action-primary-hover);
|
|
509
|
+
outline: 2px solid var(--color-action-primary-hover);
|
|
510
|
+
}
|
|
511
|
+
.btn--primary:active:not(:disabled) {
|
|
512
|
+
background-color: var(--color-action-primary-active);
|
|
513
|
+
transform: scale(0.98);
|
|
514
|
+
}
|
|
515
|
+
.btn--primary:focus-visible:not(:disabled) {
|
|
516
|
+
outline: 2px solid var(--color-action-primary);
|
|
517
|
+
outline-offset: 2px;
|
|
518
|
+
}
|
|
519
|
+
.btn--secondary {
|
|
520
|
+
background-color: var(--color-action-secondary);
|
|
521
|
+
color: var(--color-on-action-secondary);
|
|
522
|
+
}
|
|
523
|
+
.btn--secondary:hover:not(:disabled) {
|
|
524
|
+
background-color: var(--color-action-secondary-hover);
|
|
525
|
+
}
|
|
526
|
+
.btn--secondary:active:not(:disabled) {
|
|
527
|
+
background-color: var(--color-action-secondary-active);
|
|
528
|
+
transform: scale(0.98);
|
|
529
|
+
}
|
|
530
|
+
.btn--secondary:focus-visible:not(:disabled) {
|
|
531
|
+
outline: 2px solid var(--color-action-secondary);
|
|
532
|
+
outline-offset: 2px;
|
|
533
|
+
}
|
|
534
|
+
.btn--tertiary {
|
|
535
|
+
background-color: transparent;
|
|
536
|
+
color: var(--color-foreground-2);
|
|
537
|
+
border-color: var(--color-action-tertiary);
|
|
538
|
+
border-width: 2px;
|
|
539
|
+
}
|
|
540
|
+
.btn--tertiary:hover:not(:disabled) {
|
|
541
|
+
background-color: hsla(var(--accent-hue), var(--accent-saturation), var(--accent-lightness-hover), 0.2);
|
|
542
|
+
border-color: var(--color-action-primary-hover);
|
|
543
|
+
color: var(--color-foreground-2);
|
|
544
|
+
}
|
|
545
|
+
.btn--tertiary:active:not(:disabled) {
|
|
546
|
+
background-color: hsla(var(--accent-hue), var(--accent-saturation), var(--accent-lightness-active), 0.2);
|
|
547
|
+
border-color: var(--color-action-primary-active);
|
|
548
|
+
color: var(--color-action-primary-active);
|
|
549
|
+
transform: scale(0.98);
|
|
550
|
+
}
|
|
551
|
+
.btn--tertiary:focus-visible:not(:disabled) {
|
|
552
|
+
outline: 2px solid var(--color-action-primary);
|
|
553
|
+
outline-offset: 2px;
|
|
554
|
+
}
|
|
555
|
+
.btn--ghost {
|
|
556
|
+
background-color: transparent;
|
|
557
|
+
color: var(--color-foreground-2);
|
|
558
|
+
border-color: transparent;
|
|
559
|
+
border-width: 2px;
|
|
560
|
+
}
|
|
561
|
+
.btn--ghost:hover:not(:disabled) {
|
|
562
|
+
background-color: transparent;
|
|
563
|
+
border-color: var(--color-action-primary-hover);
|
|
564
|
+
color: var(--color-foreground-2);
|
|
565
|
+
}
|
|
566
|
+
.btn--ghost:active:not(:disabled) {
|
|
567
|
+
background-color: hsla(var(--accent-hue), var(--accent-saturation), var(--accent-lightness-active), 0.2);
|
|
568
|
+
border-color: var(--color-action-primary-active);
|
|
569
|
+
color: var(--color-action-primary-active);
|
|
570
|
+
transform: scale(0.98);
|
|
571
|
+
}
|
|
572
|
+
.btn--ghost:focus-visible:not(:disabled) {
|
|
573
|
+
outline: 2px solid var(--color-action-primary);
|
|
574
|
+
outline-offset: 2px;
|
|
575
|
+
}
|
|
576
|
+
.btn:disabled {
|
|
577
|
+
background-color: var(--color-primary-disabled);
|
|
578
|
+
color: var(--color-foreground-2);
|
|
579
|
+
cursor: not-allowed;
|
|
580
|
+
border-color: var(--color-primary-disabled);
|
|
581
|
+
}
|
|
582
|
+
.btn--full-width {
|
|
583
|
+
width: 100%;
|
|
584
|
+
}
|
|
585
|
+
@media (hover: none) and (pointer: coarse) {
|
|
586
|
+
.btn--primary:active:not(:disabled) {
|
|
587
|
+
background-color: var(--color-primary-active);
|
|
588
|
+
}
|
|
589
|
+
.btn--secondary:active:not(:disabled) {
|
|
590
|
+
background-color: var(--color-secondary-active);
|
|
591
|
+
}
|
|
592
|
+
.btn--tertiary:active:not(:disabled) {
|
|
593
|
+
background-color: hsla(var(--primary-hue), var(--primary-saturation), var(--primary-lightness-active), 0.2);
|
|
594
|
+
}
|
|
595
|
+
.btn--ghost:active:not(:disabled) {
|
|
596
|
+
background-color: hsla(var(--primary-hue), var(--primary-saturation), var(--primary-lightness-active), 0.2);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
.btn__spinner {
|
|
600
|
+
display: inline-block;
|
|
601
|
+
width: 16px;
|
|
602
|
+
height: 16px;
|
|
603
|
+
border-radius: 50%;
|
|
604
|
+
border: 2px solid currentColor;
|
|
605
|
+
border-top-color: transparent;
|
|
606
|
+
animation: btn-spin 0.6s linear infinite;
|
|
607
|
+
}
|
|
608
|
+
.btn__icon {
|
|
609
|
+
flex-shrink: 0;
|
|
610
|
+
}
|
|
611
|
+
.btn__icon-placeholder {
|
|
612
|
+
flex-shrink: 0;
|
|
613
|
+
}
|
|
614
|
+
@keyframes btn-spin {
|
|
615
|
+
to {
|
|
616
|
+
transform: rotate(360deg);
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/* src/style/components/popover/popover.css */
|
|
621
|
+
.popover {
|
|
622
|
+
position: fixed;
|
|
623
|
+
background: var(--color-bg-1);
|
|
624
|
+
border-radius: var(--radius-base);
|
|
625
|
+
outline: 2px solid var(--color-bg-3);
|
|
626
|
+
outline-offset: -2px;
|
|
627
|
+
box-shadow: var(--shadow-md);
|
|
628
|
+
z-index: var(--z-popover);
|
|
629
|
+
min-width: 200px;
|
|
630
|
+
margin-top: var(--spacing-1);
|
|
631
|
+
animation: popover-slide-in var(--transition-base, 0.2s ease);
|
|
632
|
+
opacity: 0;
|
|
633
|
+
visibility: hidden;
|
|
634
|
+
pointer-events: none;
|
|
635
|
+
}
|
|
636
|
+
.popover--top {
|
|
637
|
+
animation: popover-slide-in-top var(--transition-base, 0.2s ease);
|
|
638
|
+
margin-bottom: var(--spacing-2);
|
|
639
|
+
}
|
|
640
|
+
.popover--bottom {
|
|
641
|
+
animation: popover-slide-in-bottom var(--transition-base, 0.2s ease);
|
|
642
|
+
margin-top: var(--spacing-2);
|
|
643
|
+
}
|
|
644
|
+
.popover--left {
|
|
645
|
+
animation: popover-slide-in-left var(--transition-base, 0.2s ease);
|
|
646
|
+
margin-right: var(--spacing-2);
|
|
647
|
+
}
|
|
648
|
+
.popover--right {
|
|
649
|
+
animation: popover-slide-in-right var(--transition-base, 0.2s ease);
|
|
650
|
+
margin-left: var(--spacing-2);
|
|
651
|
+
}
|
|
652
|
+
.popover:hover {
|
|
653
|
+
outline: 2px solid var(--color-primary-hover);
|
|
654
|
+
}
|
|
655
|
+
@keyframes popover-slide-in {
|
|
656
|
+
from {
|
|
657
|
+
opacity: 0;
|
|
658
|
+
transform: translateY(-8px);
|
|
659
|
+
}
|
|
660
|
+
to {
|
|
661
|
+
opacity: 1;
|
|
662
|
+
transform: translateY(0);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
@keyframes popover-slide-in-top {
|
|
666
|
+
from {
|
|
667
|
+
opacity: 0;
|
|
668
|
+
transform: translateY(8px);
|
|
669
|
+
}
|
|
670
|
+
to {
|
|
671
|
+
opacity: 1;
|
|
672
|
+
transform: translateY(0);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
@keyframes popover-slide-in-bottom {
|
|
676
|
+
from {
|
|
677
|
+
opacity: 0;
|
|
678
|
+
transform: translateY(-8px);
|
|
679
|
+
}
|
|
680
|
+
to {
|
|
681
|
+
opacity: 1;
|
|
682
|
+
transform: translateY(0);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
@keyframes popover-slide-in-left {
|
|
686
|
+
from {
|
|
687
|
+
opacity: 0;
|
|
688
|
+
transform: translateX(8px);
|
|
689
|
+
}
|
|
690
|
+
to {
|
|
691
|
+
opacity: 1;
|
|
692
|
+
transform: translateX(0);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
@keyframes popover-slide-in-right {
|
|
696
|
+
from {
|
|
697
|
+
opacity: 0;
|
|
698
|
+
transform: translateX(-8px);
|
|
699
|
+
}
|
|
700
|
+
to {
|
|
701
|
+
opacity: 1;
|
|
702
|
+
transform: translateX(0);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
.popover__content {
|
|
706
|
+
}
|