@flux-ui/dashboard 3.0.0-next.2 → 3.0.0-next.20
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 +11 -40
- package/dist/component/FluxDashboard.vue.d.ts +8 -8
- package/dist/component/FluxDashboard.vue.d.ts.map +1 -1
- package/dist/component/FluxDashboardMenu.vue.d.ts +1 -1
- package/dist/component/FluxDashboardMenu.vue.d.ts.map +1 -1
- package/dist/index.css +425 -0
- package/dist/index.js +318 -0
- package/dist/index.js.map +1 -0
- package/package.json +17 -17
- package/src/component/FluxDashboard.vue +10 -6
- package/src/component/FluxDashboardMenu.vue +4 -2
- package/src/component/FluxDashboardSide.vue +1 -1
- package/src/css/component/Dashboard.module.scss +19 -15
- package/src/css/component/DashboardContent.module.scss +5 -1
- package/src/css/component/DashboardNavigation.module.scss +11 -11
- package/src/css/component/DashboardPane.module.scss +7 -6
- package/src/css/component/DashboardTopBar.module.scss +2 -2
- package/dist/flux-dashboard.css +0 -1
- package/dist/flux-dashboard.js +0 -217
- package/dist/flux-dashboard.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,45 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@flux-ui/dashboard`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
targets Vue 3+. Please read the following instructions and checks in order to proceed.
|
|
3
|
+
Contains Flux UI components for creating dashboards.
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## ⭐️ Prerequisites
|
|
7
6
|
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
- The internal package is available under `@flux-ui/internals`.
|
|
7
|
+
- Bun >= 1.2.13
|
|
8
|
+
- Node >= 23
|
|
11
9
|
|
|
12
|
-
##
|
|
10
|
+
## 🚀 Getting started
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
- Use `pnpm build` to build a production bundle.
|
|
20
|
-
- Use `pnpm link` to link the dist folder of flux to your global node_modules.
|
|
21
|
-
|
|
22
|
-
## 🪵 Git
|
|
23
|
-
|
|
24
|
-
All commit messages and branches will be in English.
|
|
25
|
-
|
|
26
|
-
### Branches
|
|
27
|
-
|
|
28
|
-
- **Main** — Contains the latest stable release and is the exact source that is running in production.
|
|
29
|
-
- **Develop** — Contains the latest staging release that is marked for deployment and is the exact source that is running on staging.
|
|
30
|
-
- **Feature branches** — Any feature should have its own feature branch. Once complete, the branch should be merged into the _develop_ branch and the feature branch should be deleted.
|
|
31
|
-
- **Bugfix branches** — When a bug is found, it should be fixed within a bugfix branch. Once complete the branch should be merged into the _develop_ branch and the feature branch should be deleted.
|
|
32
|
-
|
|
33
|
-
### Commit messages
|
|
34
|
-
|
|
35
|
-
Commit messages are bound to the following templates:
|
|
36
|
-
|
|
37
|
-
- `<type>: <message> `
|
|
38
|
-
- `<type>(<feature>): <message>`
|
|
39
|
-
- `<type>(<feature>): <message> [<issue-number>]`
|
|
40
|
-
|
|
41
|
-
#### Examples
|
|
42
|
-
|
|
43
|
-
- `feat(expandable): adds header slot to expandable.`
|
|
44
|
-
- `feat(expandable): adds header slot to expandable. [FLUX-123]`
|
|
45
|
-
- `chore: adds vue 3 build target.`
|
|
12
|
+
1. Make sure that the monorepo of Flux is used.
|
|
13
|
+
2. Run `bun install` in the root of the project.
|
|
14
|
+
3. Run `bun --cwd packages/dashboard build` to build the project.
|
|
15
|
+
4. To link Flux Dashboard globally, using Bun, run `bun link --cwd packages/dashboard`.
|
|
16
|
+
- In another project, use `link:@flux-ui/dashboard` as the dependency version in `package.json`.
|
|
@@ -3,16 +3,16 @@ declare function __VLS_template(): {
|
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
5
5
|
default(): VNode;
|
|
6
|
-
header(): VNode;
|
|
7
|
-
navigation(): VNode;
|
|
8
|
-
menu(): VNode;
|
|
9
|
-
side(): VNode;
|
|
6
|
+
header?(): VNode;
|
|
7
|
+
navigation?(): VNode;
|
|
8
|
+
menu?(): VNode;
|
|
9
|
+
side?(): VNode;
|
|
10
10
|
}> & {
|
|
11
11
|
default(): VNode;
|
|
12
|
-
header(): VNode;
|
|
13
|
-
navigation(): VNode;
|
|
14
|
-
menu(): VNode;
|
|
15
|
-
side(): VNode;
|
|
12
|
+
header?(): VNode;
|
|
13
|
+
navigation?(): VNode;
|
|
14
|
+
menu?(): VNode;
|
|
15
|
+
side?(): VNode;
|
|
16
16
|
};
|
|
17
17
|
refs: {};
|
|
18
18
|
rootEl: HTMLDivElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxDashboard.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxDashboard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FluxDashboard.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxDashboard.vue"],"names":[],"mappings":"AAwDI,OAAO,EAAgB,KAAK,EAAS,MAAM,KAAK,CAAC;AAqCrD,iBAAS,cAAc;WA+BT,OAAO,IAA6B;;mBA/D/B,KAAK;mBACL,KAAK;uBACD,KAAK;iBACX,KAAK;iBACL,KAAK;;mBAJH,KAAK;mBACL,KAAK;uBACD,KAAK;iBACX,KAAK;iBACL,KAAK;;;;EAgErB;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluxDashboardMenu.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxDashboardMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FluxDashboardMenu.vue.d.ts","sourceRoot":"","sources":["../../src/component/FluxDashboardMenu.vue"],"names":[],"mappings":"AA2CI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKnD,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAON,iBAAS,cAAc;WAgET,OAAO,IAA6B;;iCAZb,GAAG;+BACJ,GAAG;yBACT,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--dashboard-background: var(--gray-0);
|
|
3
|
+
--dashboard-duration: 360ms;
|
|
4
|
+
--dashboard-navigation-background: var(--primary-11);
|
|
5
|
+
--dashboard-navigation-foreground: var(--primary-0);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[dark] {
|
|
9
|
+
--dashboard-navigation-background: color-mix(in oklch, var(--gray-0), black 25%);
|
|
10
|
+
--dashboard-navigation-foreground: var(--gray-9);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body:has(.root > .dashboard) {
|
|
14
|
+
background: var(--dashboard-background);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dashboard {
|
|
18
|
+
min-height: 100dvh;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.dashboard-mount {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: stretch;
|
|
24
|
+
flex-flow: column;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.is-resizing, .is-resizing * {
|
|
28
|
+
animation: none !important;
|
|
29
|
+
transition: none !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (min-width: 1024px) {
|
|
33
|
+
.dashboard {
|
|
34
|
+
display: grid;
|
|
35
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
36
|
+
grid-template-rows: minmax(0, 1fr);
|
|
37
|
+
transition: padding-left var(--dashboard-duration) var(--swift-out);
|
|
38
|
+
}
|
|
39
|
+
.dashboard:has(> .dashboard-navigation) {
|
|
40
|
+
padding-left: 300px;
|
|
41
|
+
}
|
|
42
|
+
.dashboard:has(> .dashboard-navigation-collapsed) {
|
|
43
|
+
padding-left: 84px;
|
|
44
|
+
}
|
|
45
|
+
.dashboard .dashboard-mount {
|
|
46
|
+
grid-column: 2;
|
|
47
|
+
}
|
|
48
|
+
.dashboard .dashboard-menu {
|
|
49
|
+
grid-column: 1;
|
|
50
|
+
}
|
|
51
|
+
.dashboard .dashboard-side {
|
|
52
|
+
grid-column: 3;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
@media (max-width: 1023.98px) {
|
|
56
|
+
.dashboard {
|
|
57
|
+
display: flex;
|
|
58
|
+
padding-top: 84px;
|
|
59
|
+
flex-flow: column;
|
|
60
|
+
}
|
|
61
|
+
}.notice + .dashboard-content {
|
|
62
|
+
padding-top: 30px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.dashboard-content {
|
|
66
|
+
display: flex;
|
|
67
|
+
padding: 0 30px;
|
|
68
|
+
flex-flow: column;
|
|
69
|
+
flex-grow: 1;
|
|
70
|
+
}
|
|
71
|
+
.dashboard-content > :is(.calendar, .table) {
|
|
72
|
+
margin-left: -30px;
|
|
73
|
+
margin-right: -30px;
|
|
74
|
+
height: calc(100dvh - 84px);
|
|
75
|
+
flex-grow: 1;
|
|
76
|
+
}
|
|
77
|
+
.dashboard-content > .calendar {
|
|
78
|
+
border-left: 0;
|
|
79
|
+
border-right: 0;
|
|
80
|
+
border-radius: 0;
|
|
81
|
+
}
|
|
82
|
+
.dashboard-content > .calendar .calendar-actions {
|
|
83
|
+
padding-left: 30px;
|
|
84
|
+
padding-right: 30px;
|
|
85
|
+
}
|
|
86
|
+
.dashboard-content > .table {
|
|
87
|
+
border-top: 1px solid var(--gray-2);
|
|
88
|
+
}
|
|
89
|
+
.dashboard-content > .table .table-cell:first-child .table-cell-content {
|
|
90
|
+
padding-left: 30px;
|
|
91
|
+
}
|
|
92
|
+
.dashboard-content > .table .table-cell:last-child .table-cell-content {
|
|
93
|
+
padding-right: 30px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media (max-width: 1023.98px) {
|
|
97
|
+
.dashboard-content-collapsed {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
}.dashboard-top-bar {
|
|
101
|
+
position: sticky;
|
|
102
|
+
display: flex;
|
|
103
|
+
top: 0;
|
|
104
|
+
height: 84px;
|
|
105
|
+
padding-left: 30px;
|
|
106
|
+
padding-right: 30px;
|
|
107
|
+
align-items: center;
|
|
108
|
+
flex-flow: row;
|
|
109
|
+
gap: 15px;
|
|
110
|
+
background: oklch(from var(--gray-0) l c h/0.9);
|
|
111
|
+
backdrop-filter: blur(10px) saturate(180%);
|
|
112
|
+
z-index: 100;
|
|
113
|
+
}
|
|
114
|
+
.dashboard-top-bar > h1 {
|
|
115
|
+
font-size: 18px;
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
text-overflow: ellipsis;
|
|
118
|
+
white-space: nowrap;
|
|
119
|
+
}
|
|
120
|
+
.dashboard-top-bar > .icon {
|
|
121
|
+
color: var(--foreground-prominent);
|
|
122
|
+
}
|
|
123
|
+
.dashboard-top-bar > .separator {
|
|
124
|
+
height: 24px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dashboard-header:not(.route-transition-enter-active):not(.route-transition-leave-active) {
|
|
128
|
+
transition: box-shadow var(--dashboard-duration) var(--swift-out);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.dashboard-header-scrolled {
|
|
132
|
+
box-shadow: var(--shadow-md);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[dark] .dashboard-header-scrolled {
|
|
136
|
+
box-shadow: 0 1px 0 var(--gray-1), var(--shadow-md);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@media (max-width: 1023.98px) {
|
|
140
|
+
.dashboard > .dashboard-top-bar {
|
|
141
|
+
top: 84px;
|
|
142
|
+
}
|
|
143
|
+
.dashboard > .dashboard-top-bar-collapsed {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
146
|
+
}.dashboard-pane {
|
|
147
|
+
background: var(--gray-1);
|
|
148
|
+
overflow: auto;
|
|
149
|
+
z-index: 200;
|
|
150
|
+
}
|
|
151
|
+
.dashboard-pane .menu-sub-header {
|
|
152
|
+
background: linear-gradient(to bottom, var(--gray-1) 75%, transparent);
|
|
153
|
+
}
|
|
154
|
+
.dashboard-pane .dashboard-top-bar {
|
|
155
|
+
background: oklch(from var(--gray-1) l c h/0.9);
|
|
156
|
+
}
|
|
157
|
+
.dashboard-pane .filter {
|
|
158
|
+
--background: var(--gray-1);
|
|
159
|
+
max-height: calc(100dvh - 84px);
|
|
160
|
+
margin-top: -9px;
|
|
161
|
+
padding: 9px 18px 18px;
|
|
162
|
+
width: 100%;
|
|
163
|
+
}
|
|
164
|
+
.dashboard-pane .filter .filter-header {
|
|
165
|
+
margin-left: -18px;
|
|
166
|
+
margin-right: -18px;
|
|
167
|
+
padding-left: 18px;
|
|
168
|
+
padding-right: 18px;
|
|
169
|
+
}
|
|
170
|
+
.dashboard-pane .filter .menu {
|
|
171
|
+
font-size: 14px;
|
|
172
|
+
}
|
|
173
|
+
.dashboard-pane .filter .menu-item-command {
|
|
174
|
+
font-size: 12px;
|
|
175
|
+
}
|
|
176
|
+
.dashboard-pane .filter .menu-item-icon {
|
|
177
|
+
font-size: 16px;
|
|
178
|
+
}
|
|
179
|
+
.dashboard-pane .filter .menu > :where(.divider, .separator) {
|
|
180
|
+
margin-left: -18px;
|
|
181
|
+
margin-right: -18px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.dashboard-menu {
|
|
185
|
+
border-right: 1px solid var(--gray-2);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.dashboard-menu-body {
|
|
189
|
+
padding: 0 18px 30px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.dashboard-side {
|
|
193
|
+
border-left: 1px solid var(--gray-2);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@media (min-width: 1024px) {
|
|
197
|
+
.dashboard-pane {
|
|
198
|
+
position: sticky;
|
|
199
|
+
top: 0;
|
|
200
|
+
height: 100dvh;
|
|
201
|
+
width: 300px;
|
|
202
|
+
grid-row: 1/span 2;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
@media (max-width: 1023.98px) {
|
|
206
|
+
.dashboard-menu {
|
|
207
|
+
height: calc(100dvh - 84px);
|
|
208
|
+
}
|
|
209
|
+
.dashboard-menu-collapsed {
|
|
210
|
+
display: none;
|
|
211
|
+
}
|
|
212
|
+
}.dashboard-navigation {
|
|
213
|
+
position: fixed;
|
|
214
|
+
display: flex;
|
|
215
|
+
top: 0;
|
|
216
|
+
left: 0;
|
|
217
|
+
background: var(--dashboard-navigation-background);
|
|
218
|
+
color: var(--dashboard-navigation-foreground);
|
|
219
|
+
z-index: 750;
|
|
220
|
+
}
|
|
221
|
+
.dashboard-navigation .divider {
|
|
222
|
+
margin: 3px 15px;
|
|
223
|
+
}
|
|
224
|
+
.dashboard-navigation .divider-line {
|
|
225
|
+
background: var(--primary-10);
|
|
226
|
+
}
|
|
227
|
+
.dashboard-navigation .menu {
|
|
228
|
+
flex-grow: 1;
|
|
229
|
+
}
|
|
230
|
+
.dashboard-navigation .menu-item {
|
|
231
|
+
height: 54px;
|
|
232
|
+
min-width: 54px;
|
|
233
|
+
padding: 15px;
|
|
234
|
+
gap: 21px;
|
|
235
|
+
color: var(--dashboard-navigation-foreground);
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
}
|
|
238
|
+
@media (hover: hover) {
|
|
239
|
+
.dashboard-navigation .menu-item:hover {
|
|
240
|
+
background: var(--primary-10);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
.dashboard-navigation .menu-item:active {
|
|
244
|
+
background: var(--primary-9);
|
|
245
|
+
}
|
|
246
|
+
.dashboard-navigation .menu-item-highlighted {
|
|
247
|
+
background: oklch(from var(--primary-10) l c h/0.5);
|
|
248
|
+
}
|
|
249
|
+
.dashboard-navigation .menu-item-icon {
|
|
250
|
+
color: var(--dashboard-navigation-foreground);
|
|
251
|
+
font-size: 24px;
|
|
252
|
+
}
|
|
253
|
+
.dashboard-navigation .menu-item-label {
|
|
254
|
+
transition: var(--dashboard-duration) var(--swift-out);
|
|
255
|
+
transition-property: filter, opacity, translate;
|
|
256
|
+
white-space: nowrap;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.dashboard-navigation-collapsed {
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
[dark] .dashboard-navigation .divider-line {
|
|
263
|
+
background: var(--gray-2);
|
|
264
|
+
}
|
|
265
|
+
@media (hover: hover) {
|
|
266
|
+
[dark] .dashboard-navigation .menu-item:hover {
|
|
267
|
+
background: var(--gray-2);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
[dark] .dashboard-navigation .menu-item:active {
|
|
271
|
+
background: var(--gray-3);
|
|
272
|
+
}
|
|
273
|
+
[dark] .dashboard-navigation .menu-item-highlighted {
|
|
274
|
+
background: var(--gray-1);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.dashboard-navigation-logo {
|
|
278
|
+
display: flex;
|
|
279
|
+
height: 54px;
|
|
280
|
+
width: 54px;
|
|
281
|
+
align-items: center;
|
|
282
|
+
justify-content: center;
|
|
283
|
+
}
|
|
284
|
+
.dashboard-navigation-logo :is(svg) {
|
|
285
|
+
max-height: 48px;
|
|
286
|
+
max-width: 48px;
|
|
287
|
+
width: 100%;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.dashboard-navigation-rounding-fix {
|
|
291
|
+
position: absolute;
|
|
292
|
+
display: block;
|
|
293
|
+
height: var(--radius);
|
|
294
|
+
width: var(--radius);
|
|
295
|
+
content: "";
|
|
296
|
+
background: var(--dashboard-navigation-background);
|
|
297
|
+
transition: left var(--dashboard-duration) var(--swift-out);
|
|
298
|
+
}
|
|
299
|
+
.dashboard-navigation-rounding-fix::before {
|
|
300
|
+
position: absolute;
|
|
301
|
+
display: block;
|
|
302
|
+
inset: 0;
|
|
303
|
+
content: "";
|
|
304
|
+
background: var(--gray-1);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.dashboard:not(:has(.dashboard-menu)) .dashboard-navigation-rounding-fix::before {
|
|
308
|
+
background: var(--gray-0);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
@media (min-width: 1024px) {
|
|
312
|
+
.dashboard-navigation {
|
|
313
|
+
height: 100dvh;
|
|
314
|
+
width: 300px;
|
|
315
|
+
padding: 15px;
|
|
316
|
+
flex-flow: column;
|
|
317
|
+
gap: 15px;
|
|
318
|
+
transition: width var(--dashboard-duration) var(--swift-out);
|
|
319
|
+
}
|
|
320
|
+
.dashboard-navigation-collapsed {
|
|
321
|
+
width: 84px;
|
|
322
|
+
}
|
|
323
|
+
.dashboard-navigation-collapsed .menu-item-label {
|
|
324
|
+
filter: blur(6px);
|
|
325
|
+
opacity: 0;
|
|
326
|
+
translate: -12px 0;
|
|
327
|
+
}
|
|
328
|
+
.dashboard-navigation-header {
|
|
329
|
+
display: flex;
|
|
330
|
+
}
|
|
331
|
+
.dashboard-navigation-header .menu-item {
|
|
332
|
+
display: none;
|
|
333
|
+
}
|
|
334
|
+
.dashboard-navigation-nav {
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-flow: column;
|
|
337
|
+
flex-grow: 1;
|
|
338
|
+
}
|
|
339
|
+
.dashboard-navigation-rounding-fix {
|
|
340
|
+
left: 100%;
|
|
341
|
+
}
|
|
342
|
+
.dashboard-navigation-rounding-fix:first-of-type {
|
|
343
|
+
top: 0;
|
|
344
|
+
}
|
|
345
|
+
.dashboard-navigation-rounding-fix:first-of-type::before {
|
|
346
|
+
border-top-left-radius: var(--radius);
|
|
347
|
+
}
|
|
348
|
+
.dashboard-navigation-rounding-fix:not(:first-of-type) {
|
|
349
|
+
bottom: 0;
|
|
350
|
+
}
|
|
351
|
+
.dashboard-navigation-rounding-fix:not(:first-of-type)::before {
|
|
352
|
+
border-bottom-left-radius: var(--radius);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
@media (max-width: 1023.98px) {
|
|
356
|
+
.dashboard-navigation {
|
|
357
|
+
width: 100dvw;
|
|
358
|
+
height: 84px;
|
|
359
|
+
}
|
|
360
|
+
.dashboard-navigation::after {
|
|
361
|
+
position: fixed;
|
|
362
|
+
display: block;
|
|
363
|
+
inset: 0;
|
|
364
|
+
width: 100dvw;
|
|
365
|
+
height: 100dvh;
|
|
366
|
+
content: "";
|
|
367
|
+
background: oklch(from var(--gray-3) l c h/0.5);
|
|
368
|
+
backdrop-filter: blur(3px) saturate(180%);
|
|
369
|
+
transition: var(--dashboard-duration) var(--swift-out);
|
|
370
|
+
transition-property: background, backdrop-filter;
|
|
371
|
+
z-index: 1900;
|
|
372
|
+
}
|
|
373
|
+
.dashboard-navigation-header {
|
|
374
|
+
display: flex;
|
|
375
|
+
width: inherit;
|
|
376
|
+
height: inherit;
|
|
377
|
+
padding: 0 15px;
|
|
378
|
+
align-items: center;
|
|
379
|
+
flex-flow: row;
|
|
380
|
+
justify-content: space-between;
|
|
381
|
+
}
|
|
382
|
+
.dashboard-navigation-header .menu-item {
|
|
383
|
+
align-self: center;
|
|
384
|
+
justify-content: center;
|
|
385
|
+
}
|
|
386
|
+
.dashboard-navigation-nav {
|
|
387
|
+
position: fixed;
|
|
388
|
+
display: flex;
|
|
389
|
+
top: 0;
|
|
390
|
+
left: 0;
|
|
391
|
+
width: min(300px, 100dvw - 42px);
|
|
392
|
+
height: 100dvh;
|
|
393
|
+
padding: 15px;
|
|
394
|
+
flex-flow: column;
|
|
395
|
+
background: var(--dashboard-navigation-background);
|
|
396
|
+
transition: translate var(--dashboard-duration) var(--swift-out);
|
|
397
|
+
z-index: 2000;
|
|
398
|
+
}
|
|
399
|
+
.dashboard-navigation-rounding-fix {
|
|
400
|
+
position: fixed;
|
|
401
|
+
top: 84px;
|
|
402
|
+
z-index: 750;
|
|
403
|
+
}
|
|
404
|
+
.dashboard-navigation-rounding-fix:first-of-type {
|
|
405
|
+
left: 0;
|
|
406
|
+
}
|
|
407
|
+
.dashboard-navigation-rounding-fix:first-of-type::before {
|
|
408
|
+
border-top-left-radius: var(--radius);
|
|
409
|
+
}
|
|
410
|
+
.dashboard-navigation-rounding-fix:not(:first-of-type) {
|
|
411
|
+
right: 0;
|
|
412
|
+
}
|
|
413
|
+
.dashboard-navigation-rounding-fix:not(:first-of-type)::before {
|
|
414
|
+
border-top-right-radius: var(--radius);
|
|
415
|
+
}
|
|
416
|
+
.dashboard-navigation-collapsed::after {
|
|
417
|
+
background: transparent;
|
|
418
|
+
backdrop-filter: none;
|
|
419
|
+
pointer-events: none;
|
|
420
|
+
}
|
|
421
|
+
.dashboard-navigation-collapsed .dashboard-navigation-nav {
|
|
422
|
+
pointer-events: none;
|
|
423
|
+
translate: -100% 0;
|
|
424
|
+
}
|
|
425
|
+
}
|