-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathInstallScreenProfileNameStep.scss
More file actions
148 lines (125 loc) · 3.06 KB
/
Copy pathInstallScreenProfileNameStep.scss
File metadata and controls
148 lines (125 loc) · 3.06 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
@use '../mixins';
@use '../variables';
.module-InstallScreenProfileNameStep {
align-items: center;
display: flex;
flex-direction: column;
width: 100vw;
height: 100vh;
justify-content: center;
line-height: 30px;
user-select: none;
padding: 40px;
@include mixins.light-theme {
background: variables.$color-gray-02;
color: variables.$color-black;
}
@include mixins.dark-theme {
background: variables.$color-gray-95;
color: variables.$color-white;
}
&__card {
background: variables.$color-white;
border-radius: 16px;
padding: 48px;
max-width: 520px;
width: 100%;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
text-align: center;
@include mixins.dark-theme {
background: variables.$color-gray-80;
}
}
&__title {
@include mixins.font-title-1;
color: variables.$color-black;
margin-block: 0 12px;
margin-inline: 0;
@include mixins.dark-theme {
color: variables.$color-white;
}
}
&__description {
@include mixins.font-body-1;
color: variables.$color-gray-60;
margin-block: 0 32px;
margin-inline: 0;
line-height: 1.5;
@include mixins.dark-theme {
color: variables.$color-gray-25;
}
}
&__form {
display: flex;
flex-direction: column;
gap: 16px;
}
&__input-wrapper {
position: relative;
}
&__input {
@include mixins.font-body-1;
width: 100%;
padding-block: 16px;
padding-inline: 20px;
border: 2px solid variables.$color-gray-15;
border-radius: 12px;
font-size: 18px;
text-align: center;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
background: variables.$color-white;
color: variables.$color-black;
box-sizing: border-box;
&::placeholder {
color: variables.$color-gray-45;
}
&:focus {
outline: none;
border-color: variables.$color-ultramarine;
box-shadow: 0 0 0 3px rgba(variables.$color-ultramarine, 0.2);
}
&:disabled {
background: variables.$color-gray-05;
cursor: not-allowed;
}
@include mixins.dark-theme {
background: variables.$color-gray-75;
border-color: variables.$color-gray-60;
color: variables.$color-white;
&::placeholder {
color: variables.$color-gray-45;
}
&:focus {
border-color: variables.$color-ultramarine-light;
box-shadow: 0 0 0 3px rgba(variables.$color-ultramarine-light, 0.3);
}
&:disabled {
background: variables.$color-gray-80;
}
}
}
&__error {
@include mixins.font-body-2;
color: variables.$color-accent-red;
padding-block: 12px;
padding-inline: 16px;
background: rgba(variables.$color-accent-red, 0.1);
border-radius: 8px;
text-align: center;
}
&__button {
margin-top: 8px;
.module-Button {
width: 100%;
padding-block: 14px;
padding-inline: 24px;
font-size: 16px;
font-weight: 600;
border-radius: 12px;
}
}
}