-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.css
109 lines (108 loc) · 3.5 KB
/
sandbox.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
.register-wrapper {
background-image: -webkit-linear-gradient(135deg, #0eeff0 30%, #088f90 90%);
background-image: linear-gradient(135deg, #0eeff0 30%, #088f90 90%);
position: relative;
z-index: 3;
padding: 100px;
font-size:16px;
color: #999999;
}
.register-wrapper * {
box-sizing: border-box;
}
.register-wrapper form input {
display: inline-block;
width: 100%;
padding: 0 20px;
line-height: 50px;
height: 50px;
background-color: white;
border: 1px solid #e6e6e6;
border-bottom-width: 3px;
border-radius: 5px;
outline: 0;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.register-wrapper form input:not(:last-child) {
margin-bottom: 20px;
}
.register-wrapper form input[type="email"]:focus, .final__register-wrapper form input[type="email"]:active, .final__register-wrapper form input[type="password"]:focus, .final__register-wrapper form input[type="password"]:active {
border-color: #cccccc;
}
.register-wrapper form input[type="submit"] {
position: relative;
z-index: 1;
display: inline-block;
padding: 0 20px;
font-size: 1rem;
background-color: #f2395a;
background-size: 100%;
background-image: -webkit-linear-gradient(45deg,
rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%,
rgba(0, 0, 0, 0) 50%,rgba(255, 255, 255, 0.15) 50%,
rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%,
rgba(0, 0, 0, 0));
background-image: linear-gradient(45deg,
rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%,
rgba(0, 0, 0, 0) 50%,
rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%,
rgba(0, 0, 0, 0));
background-size: 20px 20px, 100% 100%;
border: 1px solid #f02146;
border-bottom-width: 3px;
color: white;
outline: none;
cursor: pointer;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.register-wrapper form input[type="submit"]:hover {
background-size: 40px 40px;
}
.register-title {
font-size: 1.5em;
padding-bottom: 20px;
margin: 0 0 20px;
border-bottom: 1px dashed #e6e6e6;
}
.register-block {
position: relative;
display: block;
width: 100%;
max-width: 300px;
margin: auto;
padding: 30px;
background-color: white;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
.register-block:before, .register-block:after {
position: absolute;
z-index: -1;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
width: 100%;
height: 100%;
content: "";
background-color: white;
border: 1px solid #e6e6e6;
border-radius: 5px;
-webkit-transform: scale(0.9) translate(0, 0);
transform: scale(0.9) translate(0, 0);
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.register-block:hover:before {
z-index: -1;
-webkit-transform: scale(0.96) translate(0, 16px);
transform: scale(0.96) translate(0, 16px);
}
.register-block:hover:after {
z-index: -2;
-webkit-transform: scale(0.92) translate(0, 32px);
transform: scale(0.92) translate(0, 32px);
}