@parallelogram-js/dashboard 0.1.1 → 0.1.2
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/CHANGELOG.md +12 -1
- package/README.md +1 -0
- package/dist/parallelogram-dashboard.css +77 -0
- package/dist/parallelogram-dashboard.css.map +1 -1
- package/dist/parallelogram-dashboard.min.css +1 -1
- package/package.json +1 -1
- package/scss/_index.scss +1 -0
- package/scss/components/_auth.scss +98 -0
package/package.json
CHANGED
package/scss/_index.scss
CHANGED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// Auth Component
|
|
3
|
+
// ==========================================================================
|
|
4
|
+
//
|
|
5
|
+
// A centred page for signing in, resetting a password and other screens
|
|
6
|
+
// shown before the dashboard shell: a card with a logo, title and
|
|
7
|
+
// description over the form, and a footer for the way back.
|
|
8
|
+
|
|
9
|
+
@use "../variables" as *;
|
|
10
|
+
|
|
11
|
+
.auth {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
min-height: 100vh;
|
|
16
|
+
padding: $spacing-sm;
|
|
17
|
+
|
|
18
|
+
&__container {
|
|
19
|
+
width: 100%;
|
|
20
|
+
max-width: 24rem;
|
|
21
|
+
|
|
22
|
+
&--wide {
|
|
23
|
+
max-width: 42rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__header {
|
|
28
|
+
text-align: center;
|
|
29
|
+
margin-bottom: $spacing-lg;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__logo {
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
width: 3rem;
|
|
37
|
+
height: 3rem;
|
|
38
|
+
margin-bottom: $spacing-sm;
|
|
39
|
+
color: var(--primary);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__title {
|
|
43
|
+
font-size: $font-size-2xl;
|
|
44
|
+
font-weight: $font-weight-semibold;
|
|
45
|
+
letter-spacing: $letter-spacing-tight;
|
|
46
|
+
color: var(--fg);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__description {
|
|
50
|
+
font-size: $font-size-sm;
|
|
51
|
+
color: var(--fg-muted);
|
|
52
|
+
margin-top: $spacing-3xs;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__footer {
|
|
56
|
+
text-align: center;
|
|
57
|
+
margin-top: $spacing-lg;
|
|
58
|
+
padding-top: $spacing-lg;
|
|
59
|
+
border-top: 1px solid var(--border);
|
|
60
|
+
font-size: $font-size-sm;
|
|
61
|
+
color: var(--fg-muted);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__back {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
gap: $spacing-2xs;
|
|
69
|
+
font-size: $font-size-sm;
|
|
70
|
+
color: var(--fg-muted);
|
|
71
|
+
text-decoration: none;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
color: var(--fg);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__icon {
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
width: 4rem;
|
|
83
|
+
height: 4rem;
|
|
84
|
+
border-radius: $radius-full;
|
|
85
|
+
background-color: var(--bg-muted);
|
|
86
|
+
color: var(--fg-muted);
|
|
87
|
+
|
|
88
|
+
&--success {
|
|
89
|
+
background-color: var(--success-muted);
|
|
90
|
+
color: var(--success);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&--error {
|
|
94
|
+
background-color: var(--destructive-muted);
|
|
95
|
+
color: var(--destructive);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|