forked from rocket-admin/rocketadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpassword-request.component.css
More file actions
92 lines (80 loc) · 1.68 KB
/
Copy pathpassword-request.component.css
File metadata and controls
92 lines (80 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
:host app-alert:not(:empty) {
--alert-margin: 24px;
position: absolute;
top: var(--mat-toolbar-standard-height);
width: calc(100% - 48px);
}
.wrapper {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
margin: 0 auto;
padding: 16px;
max-width: 420px;
min-width: 300px;
width: 90%;
}
@media (width <= 600px) {
.wrapper {
padding: 16px 9vw;
width: 100%;
}
}
.password-form {
display: flex;
flex-direction: column;
justify-content: center;
margin-top: -16px;
}
.request-text {
margin-bottom: 20px;
}
.email-field {
margin-top: 8px;
}
.change-password-button {
margin-top: 20px;
}
.password-form__field-loader {
position: relative;
background-color: rgba(0, 0, 0, 0.06);
margin-bottom: 16px;
overflow: hidden;
height: 44px;
width: 100%;
}
.password-form__field-loader::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
transform: translateX(-100%);
background-image: linear-gradient(
90deg,
transparent 40%,
var(--mat-sidenav-content-background-color, #fff),
transparent 60%
);
animation: shimmer 800ms ease-in-out infinite alternate;
}
@media (prefers-color-scheme: dark) {
.password-form__field-loader::after {
background-image: linear-gradient(
90deg,
transparent 40%,
var(--mat-sidenav-content-background-color, #303030),
transparent 60%
);
}
}
@keyframes shimmer {
100% {
transform: translateX(100%);
}
}
.password-form__reset-button {
margin-top: 8px;
}