_register.scss
2.24 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
.section-register {
padding-top: 51px;
}
.register-title {
font-size: 24px;
text-align: center;
font-weight: 700;
}
.form-register-wr {
box-shadow: 0px 0px 24px 0px rgba(109, 109, 109, 0.15);
width: 100%;
float: left;
margin-top: 30px;
padding-top: 35px;
padding-bottom: 50px;
}
.registr-text {
margin-bottom: 2px;
margin-top: 48px;
}
.form-register-inputs-wr {
padding-right: 0 !important;
}
.register-img-txt {
width: 200px;
text-align: center;
font-size: 12px;
color: #8d8e8e;
line-height: 18px;
}
.input-wr-file-wrapp {
width: 180px;
display: table-cell;
}
.input-wr-file {
width: 180px;
margin-top: 38px;
position: relative;
float: left;
padding-bottom: 54px;
margin-left: 10px;
label {
margin: 0;
padding: 0;
background: #f1f2f3;
width: 180px;
height: 240px;
cursor: pointer;
position: relative;
text-decoration: underline;
text-align: center;
line-height: 521px;
font-size: 13px;
color: $link-color;
&:before {
width: 48px;
height: 48px;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
margin-top: -24px;
margin-left: -24px;
content: '';
background: url("../images/file.svg") 50% 50% no-repeat;
background-size: 48px 48px;
}
}
input {
width: 0;
height: 0;
padding: 0;
border: 0;
background: 0 0;
display: none;
}
.has-success {
label {
background: none;
&:before {
display: none;
}
}
}
}
.img-file {
width: 100%;
height: 240px;
position: absolute;
left: 0;
top: 0;
z-index: 3;
display: none;
&.vis_ {
display: block !important;
}
img {
max-width: 100%;
max-height: 100%;
vertical-align: top;
}
p {
width: 100%;
height: 240px;
display: table;
span {
display: table-cell;
vertical-align: middle;
text-align: center;
img {
vertical-align: middle;
max-height: 240px;
}
}
}
}
@media (max-width: 991px) {
.form-register-inputs-wr {
padding-right: 15px !important;
padding-left: 30px !important;
}
}
@media (max-width: 767px) {
.form-register-wr {
box-shadow: none;
padding-top: 0;
}
}