@melodicdev/components 1.4.0 → 1.5.1
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/assets/melodic-components.js +3582 -1654
- package/assets/melodic-components.js.map +1 -1
- package/assets/melodic-components.min.js +5406 -3478
- package/lib/components/data-display/activity-feed/activity-feed-item.styles.d.ts.map +1 -1
- package/lib/components/data-display/activity-feed/activity-feed-item.styles.js +79 -31
- package/lib/components/data-display/activity-feed/activity-feed.styles.d.ts.map +1 -1
- package/lib/components/data-display/activity-feed/activity-feed.styles.js +5 -1
- package/lib/components/data-display/avatar/avatar.styles.d.ts.map +1 -1
- package/lib/components/data-display/avatar/avatar.styles.js +18 -7
- package/lib/components/data-display/badge/badge.styles.d.ts.map +1 -1
- package/lib/components/data-display/badge/badge.styles.js +30 -11
- package/lib/components/data-display/badge-group/badge-group.styles.d.ts.map +1 -1
- package/lib/components/data-display/badge-group/badge-group.styles.js +29 -14
- package/lib/components/data-display/calendar-view/calendar-view.styles.d.ts.map +1 -1
- package/lib/components/data-display/calendar-view/calendar-view.styles.js +155 -89
- package/lib/components/data-display/data-grid/data-grid.styles.d.ts.map +1 -1
- package/lib/components/data-display/data-grid/data-grid.styles.js +117 -61
- package/lib/components/data-display/list/list-item.styles.d.ts.map +1 -1
- package/lib/components/data-display/list/list-item.styles.js +35 -13
- package/lib/components/data-display/list/list.styles.d.ts.map +1 -1
- package/lib/components/data-display/list/list.styles.js +5 -1
- package/lib/components/data-display/profile-card/profile-card.styles.d.ts.map +1 -1
- package/lib/components/data-display/profile-card/profile-card.styles.js +66 -28
- package/lib/components/data-display/stat-card/stat-card.styles.d.ts.map +1 -1
- package/lib/components/data-display/stat-card/stat-card.styles.js +64 -26
- package/lib/components/data-display/table/table.styles.d.ts.map +1 -1
- package/lib/components/data-display/table/table.styles.js +64 -25
- package/lib/components/data-display/tag/tag.styles.d.ts.map +1 -1
- package/lib/components/data-display/tag/tag.styles.js +62 -25
- package/lib/components/feedback/alert/alert.styles.d.ts.map +1 -1
- package/lib/components/feedback/alert/alert.styles.js +41 -17
- package/lib/components/feedback/progress/progress.styles.d.ts.map +1 -1
- package/lib/components/feedback/progress/progress.styles.js +112 -56
- package/lib/components/feedback/spinner/spinner.styles.d.ts.map +1 -1
- package/lib/components/feedback/spinner/spinner.styles.js +32 -16
- package/lib/components/feedback/toast/toast.styles.d.ts.map +1 -1
- package/lib/components/feedback/toast/toast.styles.js +69 -26
- package/lib/components/forms/autocomplete/autocomplete.styles.d.ts.map +1 -1
- package/lib/components/forms/autocomplete/autocomplete.styles.js +164 -76
- package/lib/components/forms/button/button.styles.d.ts.map +1 -1
- package/lib/components/forms/button/button.styles.js +141 -116
- package/lib/components/forms/button-group/button-group.styles.d.ts.map +1 -1
- package/lib/components/forms/button-group/button-group.styles.js +8 -2
- package/lib/components/forms/checkbox/checkbox.styles.d.ts.map +1 -1
- package/lib/components/forms/checkbox/checkbox.styles.js +75 -41
- package/lib/components/forms/date-picker/calendar.styles.d.ts.map +1 -1
- package/lib/components/forms/date-picker/calendar.styles.js +108 -47
- package/lib/components/forms/date-picker/date-picker.styles.d.ts.map +1 -1
- package/lib/components/forms/date-picker/date-picker.styles.js +96 -38
- package/lib/components/forms/date-time-picker/date-time-picker.styles.d.ts.map +1 -1
- package/lib/components/forms/date-time-picker/date-time-picker.styles.js +65 -25
- package/lib/components/forms/file-upload/file-upload.styles.d.ts.map +1 -1
- package/lib/components/forms/file-upload/file-upload.styles.js +92 -39
- package/lib/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/lib/components/forms/form-field/form-field.styles.js +72 -29
- package/lib/components/forms/input/input.styles.d.ts.map +1 -1
- package/lib/components/forms/input/input.styles.js +82 -29
- package/lib/components/forms/radio/radio.styles.d.ts.map +1 -1
- package/lib/components/forms/radio/radio.styles.js +85 -54
- package/lib/components/forms/radio-card-group/radio-card-group.styles.d.ts.map +1 -1
- package/lib/components/forms/radio-card-group/radio-card-group.styles.js +34 -12
- package/lib/components/forms/radio-card-group/radio-card.styles.d.ts.map +1 -1
- package/lib/components/forms/radio-card-group/radio-card.styles.js +108 -47
- package/lib/components/forms/select/select.styles.d.ts.map +1 -1
- package/lib/components/forms/select/select.styles.js +153 -71
- package/lib/components/forms/slider/slider.styles.d.ts.map +1 -1
- package/lib/components/forms/slider/slider.styles.js +77 -36
- package/lib/components/forms/textarea/textarea.styles.d.ts.map +1 -1
- package/lib/components/forms/textarea/textarea.styles.js +80 -31
- package/lib/components/forms/time-picker/time-picker.styles.d.ts.map +1 -1
- package/lib/components/forms/time-picker/time-picker.styles.js +196 -91
- package/lib/components/forms/toggle/toggle.styles.d.ts.map +1 -1
- package/lib/components/forms/toggle/toggle.styles.js +84 -54
- package/lib/components/foundation/card/card.styles.d.ts.map +1 -1
- package/lib/components/foundation/card/card.styles.js +48 -17
- package/lib/components/foundation/divider/divider.styles.d.ts.map +1 -1
- package/lib/components/foundation/divider/divider.styles.js +24 -12
- package/lib/components/general/icon/icon.styles.d.ts.map +1 -1
- package/lib/components/general/icon/icon.styles.js +9 -2
- package/lib/components/navigation/breadcrumb/breadcrumb.styles.d.ts.map +1 -1
- package/lib/components/navigation/breadcrumb/breadcrumb.styles.js +4 -1
- package/lib/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/lib/components/navigation/pagination/pagination.styles.js +59 -23
- package/lib/components/navigation/sidebar/sidebar-item.styles.d.ts.map +1 -1
- package/lib/components/navigation/sidebar/sidebar-item.styles.js +108 -34
- package/lib/components/navigation/sidebar/sidebar.styles.d.ts.map +1 -1
- package/lib/components/navigation/sidebar/sidebar.styles.js +183 -62
- package/lib/components/navigation/steps/step.styles.d.ts.map +1 -1
- package/lib/components/navigation/steps/step.styles.js +149 -83
- package/lib/components/navigation/steps/steps.styles.d.ts.map +1 -1
- package/lib/components/navigation/steps/steps.styles.js +169 -91
- package/lib/components/navigation/tabs/tab.styles.d.ts.map +1 -1
- package/lib/components/navigation/tabs/tab.styles.js +36 -12
- package/lib/components/navigation/tabs/tabs.styles.d.ts.map +1 -1
- package/lib/components/navigation/tabs/tabs.styles.js +126 -57
- package/lib/components/overlays/dialog/dialog.styles.d.ts.map +1 -1
- package/lib/components/overlays/dialog/dialog.styles.js +73 -33
- package/lib/components/overlays/drawer/drawer.styles.d.ts.map +1 -1
- package/lib/components/overlays/drawer/drawer.styles.js +77 -33
- package/lib/components/overlays/dropdown/dropdown-item.styles.d.ts.map +1 -1
- package/lib/components/overlays/dropdown/dropdown-item.styles.js +43 -17
- package/lib/components/overlays/dropdown/dropdown.styles.d.ts.map +1 -1
- package/lib/components/overlays/dropdown/dropdown.styles.js +30 -15
- package/lib/components/overlays/popover/popover.styles.d.ts.map +1 -1
- package/lib/components/overlays/popover/popover.styles.js +31 -15
- package/lib/components/overlays/tooltip/tooltip.styles.d.ts.map +1 -1
- package/lib/components/overlays/tooltip/tooltip.styles.js +28 -12
- package/lib/components/pages/auth/auth-layout.styles.d.ts +1 -1
- package/lib/components/pages/auth/auth-layout.styles.d.ts.map +1 -1
- package/lib/components/pages/auth/auth-layout.styles.js +79 -31
- package/lib/components/pages/dashboard/dashboard-page.styles.d.ts.map +1 -1
- package/lib/components/pages/dashboard/dashboard-page.styles.js +34 -12
- package/lib/components/sections/app-shell/app-shell.styles.d.ts.map +1 -1
- package/lib/components/sections/app-shell/app-shell.styles.js +54 -23
- package/lib/components/sections/hero/hero-section.styles.d.ts.map +1 -1
- package/lib/components/sections/hero/hero-section.styles.js +97 -40
- package/lib/components/sections/page-header/page-header.styles.d.ts.map +1 -1
- package/lib/components/sections/page-header/page-header.styles.js +64 -28
- package/lib/components/sections/page-section/page-section.styles.d.ts.map +1 -1
- package/lib/components/sections/page-section/page-section.styles.js +51 -21
- package/package.json +1 -1
|
@@ -6,6 +6,54 @@ export const authLayoutCss = `
|
|
|
6
6
|
display: block;
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
|
+
|
|
10
|
+
/* Background */
|
|
11
|
+
--ml-auth-bg: var(--ml-color-surface-secondary);
|
|
12
|
+
|
|
13
|
+
/* Font */
|
|
14
|
+
--ml-auth-font-family: var(--ml-font-sans);
|
|
15
|
+
|
|
16
|
+
/* Card */
|
|
17
|
+
--ml-auth-card-max-width: 440px;
|
|
18
|
+
--ml-auth-card-bg: var(--ml-color-surface);
|
|
19
|
+
--ml-auth-card-border-width: var(--ml-border);
|
|
20
|
+
--ml-auth-card-border-color: var(--ml-color-border);
|
|
21
|
+
--ml-auth-card-radius: var(--ml-radius-xl);
|
|
22
|
+
--ml-auth-card-shadow: var(--ml-shadow-lg);
|
|
23
|
+
--ml-auth-card-padding: var(--ml-space-10);
|
|
24
|
+
|
|
25
|
+
/* Centered variant */
|
|
26
|
+
--ml-auth-centered-padding: var(--ml-space-6);
|
|
27
|
+
|
|
28
|
+
/* Split variant */
|
|
29
|
+
--ml-auth-split-padding: var(--ml-space-10);
|
|
30
|
+
--ml-auth-split-form-bg: var(--ml-color-surface);
|
|
31
|
+
--ml-auth-split-brand-bg: var(--ml-color-primary);
|
|
32
|
+
--ml-auth-split-brand-color: var(--ml-color-text-inverse);
|
|
33
|
+
--ml-auth-split-brand-max-width: 480px;
|
|
34
|
+
|
|
35
|
+
/* Logo */
|
|
36
|
+
--ml-auth-logo-margin: var(--ml-space-6);
|
|
37
|
+
|
|
38
|
+
/* Header */
|
|
39
|
+
--ml-auth-header-margin: var(--ml-space-8);
|
|
40
|
+
--ml-auth-title-size: var(--ml-text-2xl);
|
|
41
|
+
--ml-auth-title-weight: var(--ml-font-bold);
|
|
42
|
+
--ml-auth-title-color: var(--ml-color-text);
|
|
43
|
+
--ml-auth-title-line-height: var(--ml-leading-tight);
|
|
44
|
+
--ml-auth-title-margin: var(--ml-space-2);
|
|
45
|
+
--ml-auth-description-size: var(--ml-text-sm);
|
|
46
|
+
--ml-auth-description-color: var(--ml-color-text-muted);
|
|
47
|
+
--ml-auth-description-line-height: var(--ml-leading-normal);
|
|
48
|
+
|
|
49
|
+
/* Form / Social / Footer spacing */
|
|
50
|
+
--ml-auth-form-margin: var(--ml-space-6);
|
|
51
|
+
--ml-auth-social-margin: var(--ml-space-6);
|
|
52
|
+
--ml-auth-footer-size: var(--ml-text-sm);
|
|
53
|
+
--ml-auth-footer-color: var(--ml-color-text-muted);
|
|
54
|
+
|
|
55
|
+
/* Mobile */
|
|
56
|
+
--ml-auth-mobile-padding: var(--ml-space-6);
|
|
9
57
|
}
|
|
10
58
|
|
|
11
59
|
/* ============================================
|
|
@@ -15,8 +63,8 @@ export const authLayoutCss = `
|
|
|
15
63
|
display: flex;
|
|
16
64
|
min-height: 100%;
|
|
17
65
|
height: 100%;
|
|
18
|
-
font-family: var(--ml-font-
|
|
19
|
-
background-color: var(--ml-
|
|
66
|
+
font-family: var(--ml-auth-font-family);
|
|
67
|
+
background-color: var(--ml-auth-bg);
|
|
20
68
|
}
|
|
21
69
|
|
|
22
70
|
/* ============================================
|
|
@@ -25,17 +73,17 @@ export const authLayoutCss = `
|
|
|
25
73
|
.ml-auth--centered {
|
|
26
74
|
align-items: center;
|
|
27
75
|
justify-content: center;
|
|
28
|
-
padding: var(--ml-
|
|
76
|
+
padding: var(--ml-auth-centered-padding);
|
|
29
77
|
}
|
|
30
78
|
|
|
31
79
|
.ml-auth--centered .ml-auth__card {
|
|
32
80
|
width: 100%;
|
|
33
|
-
max-width:
|
|
34
|
-
background-color: var(--ml-
|
|
35
|
-
border: var(--ml-border) solid var(--ml-
|
|
36
|
-
border-radius: var(--ml-radius
|
|
37
|
-
box-shadow: var(--ml-shadow
|
|
38
|
-
padding: var(--ml-
|
|
81
|
+
max-width: var(--ml-auth-card-max-width);
|
|
82
|
+
background-color: var(--ml-auth-card-bg);
|
|
83
|
+
border: var(--ml-auth-card-border-width) solid var(--ml-auth-card-border-color);
|
|
84
|
+
border-radius: var(--ml-auth-card-radius);
|
|
85
|
+
box-shadow: var(--ml-auth-card-shadow);
|
|
86
|
+
padding: var(--ml-auth-card-padding);
|
|
39
87
|
}
|
|
40
88
|
|
|
41
89
|
/* ============================================
|
|
@@ -50,13 +98,13 @@ export const authLayoutCss = `
|
|
|
50
98
|
align-items: center;
|
|
51
99
|
justify-content: center;
|
|
52
100
|
flex: 1;
|
|
53
|
-
padding: var(--ml-
|
|
54
|
-
background-color: var(--ml-
|
|
101
|
+
padding: var(--ml-auth-split-padding);
|
|
102
|
+
background-color: var(--ml-auth-split-form-bg);
|
|
55
103
|
}
|
|
56
104
|
|
|
57
105
|
.ml-auth--split .ml-auth__card {
|
|
58
106
|
width: 100%;
|
|
59
|
-
max-width:
|
|
107
|
+
max-width: var(--ml-auth-card-max-width);
|
|
60
108
|
}
|
|
61
109
|
|
|
62
110
|
.ml-auth--split .ml-auth__brand-side {
|
|
@@ -64,9 +112,9 @@ export const authLayoutCss = `
|
|
|
64
112
|
align-items: center;
|
|
65
113
|
justify-content: center;
|
|
66
114
|
flex: 1;
|
|
67
|
-
padding: var(--ml-
|
|
68
|
-
background-color: var(--ml-
|
|
69
|
-
color: var(--ml-
|
|
115
|
+
padding: var(--ml-auth-split-padding);
|
|
116
|
+
background-color: var(--ml-auth-split-brand-bg);
|
|
117
|
+
color: var(--ml-auth-split-brand-color);
|
|
70
118
|
position: relative;
|
|
71
119
|
overflow: hidden;
|
|
72
120
|
}
|
|
@@ -75,7 +123,7 @@ export const authLayoutCss = `
|
|
|
75
123
|
position: relative;
|
|
76
124
|
z-index: 1;
|
|
77
125
|
text-align: center;
|
|
78
|
-
max-width:
|
|
126
|
+
max-width: var(--ml-auth-split-brand-max-width);
|
|
79
127
|
}
|
|
80
128
|
|
|
81
129
|
.ml-auth__brand-content ::slotted(*) {
|
|
@@ -88,7 +136,7 @@ export const authLayoutCss = `
|
|
|
88
136
|
.ml-auth__logo {
|
|
89
137
|
display: flex;
|
|
90
138
|
justify-content: center;
|
|
91
|
-
margin-bottom: var(--ml-
|
|
139
|
+
margin-bottom: var(--ml-auth-logo-margin);
|
|
92
140
|
}
|
|
93
141
|
|
|
94
142
|
.ml-auth__logo:empty {
|
|
@@ -100,29 +148,29 @@ export const authLayoutCss = `
|
|
|
100
148
|
============================================ */
|
|
101
149
|
.ml-auth__header {
|
|
102
150
|
text-align: center;
|
|
103
|
-
margin-bottom: var(--ml-
|
|
151
|
+
margin-bottom: var(--ml-auth-header-margin);
|
|
104
152
|
}
|
|
105
153
|
|
|
106
154
|
.ml-auth__title {
|
|
107
|
-
margin: 0 0 var(--ml-
|
|
108
|
-
font-size: var(--ml-
|
|
109
|
-
font-weight: var(--ml-
|
|
110
|
-
color: var(--ml-color
|
|
111
|
-
line-height: var(--ml-
|
|
155
|
+
margin: 0 0 var(--ml-auth-title-margin) 0;
|
|
156
|
+
font-size: var(--ml-auth-title-size);
|
|
157
|
+
font-weight: var(--ml-auth-title-weight);
|
|
158
|
+
color: var(--ml-auth-title-color);
|
|
159
|
+
line-height: var(--ml-auth-title-line-height);
|
|
112
160
|
}
|
|
113
161
|
|
|
114
162
|
.ml-auth__description {
|
|
115
163
|
margin: 0;
|
|
116
|
-
font-size: var(--ml-
|
|
117
|
-
color: var(--ml-
|
|
118
|
-
line-height: var(--ml-
|
|
164
|
+
font-size: var(--ml-auth-description-size);
|
|
165
|
+
color: var(--ml-auth-description-color);
|
|
166
|
+
line-height: var(--ml-auth-description-line-height);
|
|
119
167
|
}
|
|
120
168
|
|
|
121
169
|
/* ============================================
|
|
122
170
|
FORM AREA
|
|
123
171
|
============================================ */
|
|
124
172
|
.ml-auth__form {
|
|
125
|
-
margin-bottom: var(--ml-
|
|
173
|
+
margin-bottom: var(--ml-auth-form-margin);
|
|
126
174
|
}
|
|
127
175
|
|
|
128
176
|
.ml-auth__form:empty {
|
|
@@ -133,7 +181,7 @@ export const authLayoutCss = `
|
|
|
133
181
|
SOCIAL LOGIN
|
|
134
182
|
============================================ */
|
|
135
183
|
.ml-auth__social {
|
|
136
|
-
margin-bottom: var(--ml-
|
|
184
|
+
margin-bottom: var(--ml-auth-social-margin);
|
|
137
185
|
}
|
|
138
186
|
|
|
139
187
|
.ml-auth__social:empty {
|
|
@@ -145,8 +193,8 @@ export const authLayoutCss = `
|
|
|
145
193
|
============================================ */
|
|
146
194
|
.ml-auth__footer {
|
|
147
195
|
text-align: center;
|
|
148
|
-
font-size: var(--ml-
|
|
149
|
-
color: var(--ml-
|
|
196
|
+
font-size: var(--ml-auth-footer-size);
|
|
197
|
+
color: var(--ml-auth-footer-color);
|
|
150
198
|
}
|
|
151
199
|
|
|
152
200
|
.ml-auth__footer:empty {
|
|
@@ -167,7 +215,7 @@ export const authLayoutCss = `
|
|
|
167
215
|
|
|
168
216
|
.ml-auth--split .ml-auth__form-side {
|
|
169
217
|
min-height: 100%;
|
|
170
|
-
padding: var(--ml-
|
|
218
|
+
padding: var(--ml-auth-mobile-padding);
|
|
171
219
|
}
|
|
172
220
|
}
|
|
173
221
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-page.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/dashboard/dashboard-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"dashboard-page.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/dashboard/dashboard-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,iDAkH/B,CAAC"}
|
|
@@ -3,14 +3,36 @@ export const dashboardPageStyles = () => css `
|
|
|
3
3
|
:host {
|
|
4
4
|
display: block;
|
|
5
5
|
height: 100%;
|
|
6
|
+
|
|
7
|
+
/* Font */
|
|
8
|
+
--ml-dashboard-font-family: var(--ml-font-sans);
|
|
9
|
+
|
|
10
|
+
/* Padding */
|
|
11
|
+
--ml-dashboard-padding: var(--ml-space-6);
|
|
12
|
+
--ml-dashboard-mobile-padding: var(--ml-space-4);
|
|
13
|
+
|
|
14
|
+
/* Metrics grid */
|
|
15
|
+
--ml-dashboard-metrics-min-width: 200px;
|
|
16
|
+
--ml-dashboard-metrics-gap: var(--ml-space-4);
|
|
17
|
+
--ml-dashboard-metrics-margin: var(--ml-space-6);
|
|
18
|
+
--ml-dashboard-metrics-mobile-gap: var(--ml-space-3);
|
|
19
|
+
--ml-dashboard-metrics-mobile-margin: var(--ml-space-4);
|
|
20
|
+
|
|
21
|
+
/* Body grid */
|
|
22
|
+
--ml-dashboard-body-gap: var(--ml-space-6);
|
|
23
|
+
--ml-dashboard-body-mobile-gap: var(--ml-space-4);
|
|
24
|
+
|
|
25
|
+
/* Main & aside */
|
|
26
|
+
--ml-dashboard-main-gap: var(--ml-space-6);
|
|
27
|
+
--ml-dashboard-aside-gap: var(--ml-space-6);
|
|
6
28
|
}
|
|
7
29
|
|
|
8
30
|
/* ============================================
|
|
9
31
|
DASHBOARD CONTENT AREA
|
|
10
32
|
============================================ */
|
|
11
33
|
.ml-dashboard {
|
|
12
|
-
padding: var(--ml-
|
|
13
|
-
font-family: var(--ml-font-
|
|
34
|
+
padding: var(--ml-dashboard-padding);
|
|
35
|
+
font-family: var(--ml-dashboard-font-family);
|
|
14
36
|
}
|
|
15
37
|
|
|
16
38
|
/* ============================================
|
|
@@ -18,9 +40,9 @@ export const dashboardPageStyles = () => css `
|
|
|
18
40
|
============================================ */
|
|
19
41
|
.ml-dashboard__metrics {
|
|
20
42
|
display: grid;
|
|
21
|
-
grid-template-columns: repeat(auto-fit, minmax(
|
|
22
|
-
gap: var(--ml-
|
|
23
|
-
margin-bottom: var(--ml-
|
|
43
|
+
grid-template-columns: repeat(auto-fit, minmax(var(--ml-dashboard-metrics-min-width), 1fr));
|
|
44
|
+
gap: var(--ml-dashboard-metrics-gap);
|
|
45
|
+
margin-bottom: var(--ml-dashboard-metrics-margin);
|
|
24
46
|
}
|
|
25
47
|
|
|
26
48
|
/* ============================================
|
|
@@ -29,7 +51,7 @@ export const dashboardPageStyles = () => css `
|
|
|
29
51
|
.ml-dashboard__body {
|
|
30
52
|
display: grid;
|
|
31
53
|
grid-template-columns: 1fr;
|
|
32
|
-
gap: var(--ml-
|
|
54
|
+
gap: var(--ml-dashboard-body-gap);
|
|
33
55
|
}
|
|
34
56
|
|
|
35
57
|
/* Default layout: 2/3 main + 1/3 aside */
|
|
@@ -54,7 +76,7 @@ export const dashboardPageStyles = () => css `
|
|
|
54
76
|
min-width: 0;
|
|
55
77
|
display: flex;
|
|
56
78
|
flex-direction: column;
|
|
57
|
-
gap: var(--ml-
|
|
79
|
+
gap: var(--ml-dashboard-main-gap);
|
|
58
80
|
}
|
|
59
81
|
|
|
60
82
|
/* ============================================
|
|
@@ -64,7 +86,7 @@ export const dashboardPageStyles = () => css `
|
|
|
64
86
|
min-width: 0;
|
|
65
87
|
display: flex;
|
|
66
88
|
flex-direction: column;
|
|
67
|
-
gap: var(--ml-
|
|
89
|
+
gap: var(--ml-dashboard-aside-gap);
|
|
68
90
|
}
|
|
69
91
|
|
|
70
92
|
/* ============================================
|
|
@@ -78,17 +100,17 @@ export const dashboardPageStyles = () => css `
|
|
|
78
100
|
|
|
79
101
|
@media (max-width: 640px) {
|
|
80
102
|
.ml-dashboard {
|
|
81
|
-
padding: var(--ml-
|
|
103
|
+
padding: var(--ml-dashboard-mobile-padding);
|
|
82
104
|
}
|
|
83
105
|
|
|
84
106
|
.ml-dashboard__metrics {
|
|
85
107
|
grid-template-columns: 1fr;
|
|
86
|
-
gap: var(--ml-
|
|
87
|
-
margin-bottom: var(--ml-
|
|
108
|
+
gap: var(--ml-dashboard-metrics-mobile-gap);
|
|
109
|
+
margin-bottom: var(--ml-dashboard-metrics-mobile-margin);
|
|
88
110
|
}
|
|
89
111
|
|
|
90
112
|
.ml-dashboard__body {
|
|
91
|
-
gap: var(--ml-
|
|
113
|
+
gap: var(--ml-dashboard-body-mobile-gap);
|
|
92
114
|
}
|
|
93
115
|
}
|
|
94
116
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-shell.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/app-shell/app-shell.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"app-shell.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/app-shell/app-shell.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,iDA0N1B,CAAC"}
|
|
@@ -3,6 +3,37 @@ export const appShellStyles = () => css `
|
|
|
3
3
|
:host {
|
|
4
4
|
display: block;
|
|
5
5
|
height: 100%;
|
|
6
|
+
|
|
7
|
+
/* Border */
|
|
8
|
+
--ml-app-shell-border-width: var(--ml-border);
|
|
9
|
+
--ml-app-shell-border-color: var(--ml-color-border);
|
|
10
|
+
|
|
11
|
+
/* Header */
|
|
12
|
+
--ml-app-shell-header-bg: var(--ml-color-surface);
|
|
13
|
+
|
|
14
|
+
/* Mobile sidebar */
|
|
15
|
+
--ml-app-shell-sidebar-width: var(--ml-sidebar-width, 280px);
|
|
16
|
+
--ml-app-shell-sidebar-bg: var(--ml-color-surface);
|
|
17
|
+
--ml-app-shell-sidebar-transition: var(--ml-duration-200);
|
|
18
|
+
|
|
19
|
+
/* Backdrop */
|
|
20
|
+
--ml-app-shell-backdrop-bg: rgba(0, 0, 0, 0.4);
|
|
21
|
+
--ml-app-shell-backdrop-transition: var(--ml-duration-200);
|
|
22
|
+
|
|
23
|
+
/* Menu button */
|
|
24
|
+
--ml-app-shell-menu-btn-size: 36px;
|
|
25
|
+
--ml-app-shell-menu-btn-margin: var(--ml-space-3);
|
|
26
|
+
--ml-app-shell-menu-btn-radius: var(--ml-radius);
|
|
27
|
+
--ml-app-shell-menu-btn-color: var(--ml-color-text-secondary);
|
|
28
|
+
--ml-app-shell-menu-btn-hover-bg: var(--ml-color-surface-secondary);
|
|
29
|
+
--ml-app-shell-menu-btn-hover-color: var(--ml-color-text);
|
|
30
|
+
--ml-app-shell-menu-btn-focus-color: var(--ml-color-primary);
|
|
31
|
+
--ml-app-shell-menu-btn-transition: var(--ml-duration-150);
|
|
32
|
+
|
|
33
|
+
/* Scrollbar */
|
|
34
|
+
--ml-app-shell-scrollbar-width: 6px;
|
|
35
|
+
--ml-app-shell-scrollbar-thumb-color: var(--ml-color-border);
|
|
36
|
+
--ml-app-shell-scrollbar-thumb-radius: var(--ml-radius-full);
|
|
6
37
|
}
|
|
7
38
|
|
|
8
39
|
/* ============================================
|
|
@@ -23,7 +54,7 @@ export const appShellStyles = () => css `
|
|
|
23
54
|
|
|
24
55
|
.ml-app-shell--sidebar-right .ml-app-shell__sidebar {
|
|
25
56
|
order: 2;
|
|
26
|
-
border-left: var(--ml-border) solid var(--ml-
|
|
57
|
+
border-left: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
|
|
27
58
|
border-right: none;
|
|
28
59
|
}
|
|
29
60
|
|
|
@@ -37,7 +68,7 @@ export const appShellStyles = () => css `
|
|
|
37
68
|
.ml-app-shell__sidebar {
|
|
38
69
|
grid-row: 1 / -1;
|
|
39
70
|
overflow: hidden;
|
|
40
|
-
border-right: var(--ml-border) solid var(--ml-
|
|
71
|
+
border-right: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
|
|
41
72
|
}
|
|
42
73
|
|
|
43
74
|
::slotted([slot="sidebar"]) {
|
|
@@ -61,8 +92,8 @@ export const appShellStyles = () => css `
|
|
|
61
92
|
display: flex;
|
|
62
93
|
align-items: center;
|
|
63
94
|
flex-shrink: 0;
|
|
64
|
-
border-bottom: var(--ml-border) solid var(--ml-
|
|
65
|
-
background-color: var(--ml-
|
|
95
|
+
border-bottom: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
|
|
96
|
+
background-color: var(--ml-app-shell-header-bg);
|
|
66
97
|
}
|
|
67
98
|
|
|
68
99
|
.ml-app-shell__header:empty {
|
|
@@ -87,7 +118,7 @@ export const appShellStyles = () => css `
|
|
|
87
118
|
|
|
88
119
|
/* Scrollbar styling */
|
|
89
120
|
.ml-app-shell__content::-webkit-scrollbar {
|
|
90
|
-
width:
|
|
121
|
+
width: var(--ml-app-shell-scrollbar-width);
|
|
91
122
|
}
|
|
92
123
|
|
|
93
124
|
.ml-app-shell__content::-webkit-scrollbar-track {
|
|
@@ -95,8 +126,8 @@ export const appShellStyles = () => css `
|
|
|
95
126
|
}
|
|
96
127
|
|
|
97
128
|
.ml-app-shell__content::-webkit-scrollbar-thumb {
|
|
98
|
-
background-color: var(--ml-color
|
|
99
|
-
border-radius: var(--ml-radius
|
|
129
|
+
background-color: var(--ml-app-shell-scrollbar-thumb-color);
|
|
130
|
+
border-radius: var(--ml-app-shell-scrollbar-thumb-radius);
|
|
100
131
|
}
|
|
101
132
|
|
|
102
133
|
/* ============================================
|
|
@@ -107,25 +138,25 @@ export const appShellStyles = () => css `
|
|
|
107
138
|
align-items: center;
|
|
108
139
|
justify-content: center;
|
|
109
140
|
flex-shrink: 0;
|
|
110
|
-
width:
|
|
111
|
-
height:
|
|
112
|
-
margin-left: var(--ml-
|
|
141
|
+
width: var(--ml-app-shell-menu-btn-size);
|
|
142
|
+
height: var(--ml-app-shell-menu-btn-size);
|
|
143
|
+
margin-left: var(--ml-app-shell-menu-btn-margin);
|
|
113
144
|
padding: 0;
|
|
114
145
|
border: none;
|
|
115
|
-
border-radius: var(--ml-radius);
|
|
146
|
+
border-radius: var(--ml-app-shell-menu-btn-radius);
|
|
116
147
|
background: transparent;
|
|
117
|
-
color: var(--ml-
|
|
148
|
+
color: var(--ml-app-shell-menu-btn-color);
|
|
118
149
|
cursor: pointer;
|
|
119
|
-
transition: background-color var(--ml-
|
|
150
|
+
transition: background-color var(--ml-app-shell-menu-btn-transition) var(--ml-ease-in-out);
|
|
120
151
|
}
|
|
121
152
|
|
|
122
153
|
.ml-app-shell__menu-btn:hover {
|
|
123
|
-
background-color: var(--ml-
|
|
124
|
-
color: var(--ml-color
|
|
154
|
+
background-color: var(--ml-app-shell-menu-btn-hover-bg);
|
|
155
|
+
color: var(--ml-app-shell-menu-btn-hover-color);
|
|
125
156
|
}
|
|
126
157
|
|
|
127
158
|
.ml-app-shell__menu-btn:focus-visible {
|
|
128
|
-
outline: 2px solid var(--ml-color
|
|
159
|
+
outline: 2px solid var(--ml-app-shell-menu-btn-focus-color);
|
|
129
160
|
outline-offset: -2px;
|
|
130
161
|
}
|
|
131
162
|
|
|
@@ -150,18 +181,18 @@ export const appShellStyles = () => css `
|
|
|
150
181
|
left: 0;
|
|
151
182
|
bottom: 0;
|
|
152
183
|
z-index: 50;
|
|
153
|
-
width: var(--ml-sidebar-width
|
|
184
|
+
width: var(--ml-app-shell-sidebar-width);
|
|
154
185
|
transform: translateX(-100%);
|
|
155
|
-
transition: transform var(--ml-
|
|
156
|
-
border-right: var(--ml-border) solid var(--ml-
|
|
157
|
-
background-color: var(--ml-
|
|
186
|
+
transition: transform var(--ml-app-shell-sidebar-transition) var(--ml-ease-in-out);
|
|
187
|
+
border-right: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
|
|
188
|
+
background-color: var(--ml-app-shell-sidebar-bg);
|
|
158
189
|
}
|
|
159
190
|
|
|
160
191
|
.ml-app-shell--sidebar-right .ml-app-shell__sidebar {
|
|
161
192
|
left: auto;
|
|
162
193
|
right: 0;
|
|
163
194
|
transform: translateX(100%);
|
|
164
|
-
border-left: var(--ml-border) solid var(--ml-
|
|
195
|
+
border-left: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
|
|
165
196
|
border-right: none;
|
|
166
197
|
}
|
|
167
198
|
|
|
@@ -175,10 +206,10 @@ export const appShellStyles = () => css `
|
|
|
175
206
|
position: fixed;
|
|
176
207
|
inset: 0;
|
|
177
208
|
z-index: 40;
|
|
178
|
-
background-color:
|
|
209
|
+
background-color: var(--ml-app-shell-backdrop-bg);
|
|
179
210
|
opacity: 0;
|
|
180
211
|
pointer-events: none;
|
|
181
|
-
transition: opacity var(--ml-
|
|
212
|
+
transition: opacity var(--ml-app-shell-backdrop-transition) var(--ml-ease-in-out);
|
|
182
213
|
}
|
|
183
214
|
|
|
184
215
|
.ml-app-shell__backdrop--visible {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero-section.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/hero/hero-section.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"hero-section.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/hero/hero-section.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,iDAiU7B,CAAC"}
|