profile.scss
7.86 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
@import "../../vars";
@import "../../mixins";
// header
.header-profile {
color: $vactiveOrange;
position: relative;
white-space: nowrap;
margin-right: 70px;
&:after {
background-image: url("data:image/svg+xml,%3Csvg width='20' height='16' viewBox='0 0 20 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.1954 5.77778C13.1954 7.93323 11.4481 9.68056 9.29264 9.68056C7.1372 9.68056 5.38986 7.93323 5.38986 5.77778C5.38986 3.62233 7.1372 1.875 9.29264 1.875C11.4481 1.875 13.1954 3.62233 13.1954 5.77778ZM12.922 10.2736C14.2324 9.21444 15.0704 7.59397 15.0704 5.77778C15.0704 2.5868 12.4836 0 9.29264 0C6.10166 0 3.51486 2.5868 3.51486 5.77778C3.51486 7.66592 4.42056 9.34253 5.82122 10.3968C3.52498 11.1822 1.55468 12.6704 0.166945 14.6048C-0.268123 15.2112 0.201641 16 0.948009 16C1.28171 16 1.59025 15.8303 1.78937 15.5625C3.5537 13.1899 6.37865 11.6527 9.56261 11.6527C12.7466 11.6527 15.5715 13.1899 17.3358 15.5625C17.535 15.8303 17.8435 16 18.1772 16C18.9236 16 19.3933 15.2112 18.9583 14.6048C17.4942 12.5639 15.3816 11.0198 12.922 10.2736Z' fill='%23F2994A'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: cover;
}
}
.prof-fav {
margin-right: 48px;
}
//profile
.account-top-links {
padding-top: 16px;
}
.account-title {
font-weight: 700;
font-size: 48px;
line-height: 100%;
margin-top: 40px;
}
.account-content {
display: flex;
margin-top: 40px;
}
.account-left {
display: flex;
flex-direction: column;
max-width: 245px;
width: 100%;
margin-right: 90px;
&__exit {
font-weight: 600;
font-size: 16px;
line-height: 22px;
color: #636B78;
margin-left: 20px;
position: relative;
&:after {
position: absolute;
content: "";
background-image: url("data:image/svg+xml,%3Csvg width='26' height='27' viewBox='0 0 26 27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_342_31479)'%3E%3Cg clip-path='url(%23clip0_342_31479)'%3E%3Cpath d='M10.8 14.275C10.6 14.075 10.504 13.8333 10.512 13.55C10.52 13.2667 10.6243 13.025 10.825 12.825L12.65 11H5C4.71667 11 4.479 10.904 4.287 10.712C4.095 10.52 3.99934 10.2827 4 10C4 9.71667 4.096 9.479 4.288 9.287C4.48 9.095 4.71734 8.99934 5 9H12.65L10.8 7.15C10.6 6.95 10.5 6.71234 10.5 6.437C10.5 6.16167 10.6 5.92434 10.8 5.725C11 5.525 11.2377 5.425 11.513 5.425C11.7883 5.425 12.0257 5.525 12.225 5.725L15.8 9.3C15.9 9.4 15.971 9.50834 16.013 9.625C16.055 9.74167 16.0757 9.86667 16.075 10C16.075 10.1333 16.0543 10.2583 16.013 10.375C15.9717 10.4917 15.9007 10.6 15.8 10.7L12.2 14.3C12.0167 14.4833 11.7877 14.575 11.513 14.575C11.2383 14.575 11.0007 14.475 10.8 14.275ZM6 19C5.45 19 4.979 18.804 4.587 18.412C4.195 18.02 3.99934 17.5493 4 17V14C4 13.7167 4.096 13.479 4.288 13.287C4.48 13.095 4.71734 12.9993 5 13C5.28334 13 5.521 13.096 5.713 13.288C5.905 13.48 6.00067 13.7173 6 14V17H20V3H6V6C6 6.28334 5.904 6.521 5.712 6.713C5.52 6.905 5.28267 7.00067 5 7C4.71667 7 4.479 6.904 4.287 6.712C4.095 6.52 3.99934 6.28267 4 6V3C4 2.45 4.196 1.979 4.588 1.587C4.98 1.195 5.45067 0.999335 6 1H20C20.55 1 21.021 1.196 21.413 1.588C21.805 1.98 22.0007 2.45067 22 3V17C22 17.55 21.804 18.021 21.412 18.413C21.02 18.805 20.5493 19.0007 20 19H6Z' fill='%23636B78'/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_342_31479' x='-1' y='0' width='28' height='28' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='4'/%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_342_31479'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_342_31479' result='shape'/%3E%3C/filter%3E%3CclipPath id='clip0_342_31479'%3E%3Crect width='18' height='18' fill='white' transform='translate(4 1)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: cover;
width: 20px;
height: 20px;
right: 44px;
top: 3px;
}
}
}
.account-tabs {
display: flex;
flex-direction: column;
margin-top: 0;
padding-left: 20px;
> * {
margin-bottom: 20px;
margin-right: 0;
}
&__item {
font-family: 'Montserrat';
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 22px;
&.active {
position: relative;
font-weight: 600;
&:before {
position: absolute;
content: "";
background-image: url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.224995 13.7722C0.524988 14.0759 1.01137 14.0759 1.31137 13.7722L8 7L1.31137 0.227805C1.01137 -0.0759354 0.524988 -0.0759354 0.224995 0.227805C-0.0749983 0.531546 -0.0749983 1.02401 0.224995 1.32775L5.82726 7L0.224995 12.6723C-0.0749983 12.976 -0.0749983 13.4685 0.224995 13.7722Z' fill='%23F2994A'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: cover;
width: 9px;
height: 16px;
top: 2px;
left: -20px;
}
}
}
}
// таб мой профиль
.profile-block-wrapper {
display: flex;
flex-direction: column;
> :not(:last-child) {
margin-bottom: 40px;
}
&--hidden {
display: none;
}
}
.profile-block {
display: flex;
flex-direction: column;
font-size: 16px;
line-height: 22px;
width: 363px;
&__title {
font-weight: 400;
color: #ABB2BF;
margin-bottom: 16px;
}
&__content {
font-weight: 600;
color: $vmainGrey;
}
&__title-file {
font-weight: 400;
color: #ABB2BF;
margin-bottom: 16px;
border: none
}
}
.acc-file {
color: $vactiveOrange !important;
font-weight: 600 !important;
}
.profile-block-buttons {
max-width: 439px;
width: 100%;
display: flex;
justify-content: space-between;
padding-bottom: 120px;
&__link-data {
@include btn-orange;
padding: 12px 19px 12px 19px;
font-size: 16px;
&:hover {
@include btn-orange-hover;
font-size: 16px;
}
}
&__link-pass {
@include btn-orange-hover;
font-size: 16px;
border: none;
padding: 13px 22px;
}
}
//блок изменить пароль
.change-pass-wrapper {
padding-bottom: 120px;
&--hidden {
display: none;
}
}
.profile-pass-change {
display: flex;
flex-direction: column;
margin-top: 0;
&__btn {
width: 193px;
height: 42px;
font-size: 16px;
align-self: start;
margin-top: 38px;
}
}
.prof-show-pass {
bottom: 84%;
right: 1px;
}
.prof-show-pas-sec {
bottom: 59%;
right: 1px;
}
.prof-show-pas-third {
bottom: 30%;
right: 1px;
}
// блок изменить пароль - успешно
.pass-change-succ {
max-width: 333px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
&__title {
font-weight: 600;
font-size: 24px;
line-height: 28px;
}
&__btn {
margin-top: 30px;
@include btn-orange;
padding: 12px 61px 12px 62px;
&:hover {
@include btn-orange-hover;
}
}
&--hidden {
display: none;
}
}