_login.scss
2.12 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
.login-body {
padding: 0;
margin: 0;
min-height: 100vh;
.login-panel {
display: none;
}
.login-content {
position: fixed;
padding: 80px 0;
margin: 0 auto;
width: 100%;
height: 100%;
text-align: center;
img {
display: inline-block;
margin-bottom: 160px;
width: 200px;
}
h1 {
font-size: 28px;
font-weight: 500;
margin: 14px 0;
color: $textColor;
span {
color: $textSecondaryColor;
}
}
p {
font-size: 17px;
color: $textSecondaryColor;
margin: 0 0 32px 0;
}
.login-input-wrapper {
position: relative;
width: 300px;
margin-bottom: 24px;
text-align: center;
margin-left: auto;
margin-right: auto;
input {
width: 100%;
padding-right: 16px;
}
i {
position: absolute;
color: $textSecondaryColor;
font-size: 16px;
top: 50%;
right: .429em;
margin-top: -8px;
}
}
button {
min-width: 150px;
}
}
}
@media screen and (min-width: 768px) {
.login-body {
background: url("../images/pages/bg-login.jpg");
background-size: cover;
.login-panel {
padding: 80px;
display: block;
position: fixed;
background-color: #ffffff;
height: 200%;
width: 100%;
left: -50%;
top: -50%;
border-radius: 50%;
@include opacity(0.95);
}
.login-content {
text-align: left;
position: fixed;
padding: 80px 0 0 80px;
.login-input-wrapper {
width: 300px;
margin-left: 0;
margin-right: 0;
text-align: left;
}
}
}
}