-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
160 lines (157 loc) · 2.79 KB
/
style.css
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
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";
@import "https://fonts.googleapis.com/css?family=Open+Sans";
* {
margin:0px;
padding:0px;
box-sizing:border-box;
font-family:"Open Sans",sans-serif;
}
.form {
position:absolute;
top:50%;
left:75%;
transform:translate(-50%,-50%);
width:650px;
height:500px;
background:#fdfdfd;
display:block;
}
.form .head {
width:100%;
height:55px;
display:flex;
}
.form .head > div {
width:50%;
height:100%;
text-align:center;
line-height:55px;
cursor:pointer;
background:transparent;
text-transform:uppercase;
font-size:15px;
}
.form .head.signup > div:nth-child(1),.form .head > div:nth-child(2) {
background:DodgerBlue;
}
.form .head.signup > div:nth-child(2) {
background:transparent !important;
}
.form .body {
position:absolute;
overflow:hidden;
width:100%;
height:100%;
}
.form .body > div {
position:absolute;
width:100%;
height:100%;
transition:all 300ms ease-in-out;
}
.form .body > div.login {
left:0%;
}
.form .body > div.signup {
left:100%;
}
.form .body.active > div.login {
left:-100%;
}
.form .body.active > div.signup {
left:0%;
}
.form .body .form-row {
border-top:1px solid #ccc;
}
.form .body .form-row label {
display:block;
padding:10px 10px 0px;
font-size:12px;
font-weight:600;
text-transform:uppercase;
}
.form .body .form-row input {
width:100%;
border:none;
outline:none;
height:22px;
text-indent:13px;
font-size:10px;
}
.form .body .form-row button {
width:100%;
border:none;
outline:none;
height:45px;
background:#3399ff;
text-transform:uppercase;
color:#e6f7ff;
font-size:16px;
cursor:pointer;
}
.form .body .signup .form-row button {
background:#e6f7ff;
}
.form .body .rem-row {
padding:10px;
border-top:1px solid #ccc;
line-height:30px;
}
.form .body .rem-row > input {
width:17px;
height:17px;
border:1px solid #999;
border-radius:0px;
position:relative;
top:3px;
}
.form .body .rem-row > label {
font-size:15px;
margin-left:5px;
cursor:pointer;
}
.form .body .row {
text-align:center;
padding:8px 0px;
}
.form .body .row span {
font-size:14px;
position:relative;
color:#222;
top:5px;
font-weight:600;
}
.form .body .footer {
position:absolute;
bottom:50px;
width:100%;
border-top:1px solid #ccc;
}
.form .body .footer > div.social-form {
float:left;
padding-left:50px;
width:100%;
height:40px;
line-height:40px;
text-indent:2%;
color:#e6f7ff;
position:relative;
font-size:14px;
cursor:pointer;
}
.form .body .footer i {
position:absolute;
width:40px;
height:40px;
left:0px;
line-height:40px;
background:rgba(0,0,0,0.9);
text-align:center;
}
.form .body .footer .fb {
background:#3b5998;
}
.form .body .footer .google {
background:tomato;
}