-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (116 loc) · 2 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
color: #333;
font-size: 62.5%;
font-family: "Open Sans", sans-serif;
}
.main {
background: #f1f1f1;
min-height: 100vh;
display: flex;
justify-content: center;
}
.form {
width: 360px;
min-height: 100px;
padding: 32px 24px;
text-align: center;
background: #fff;
border-radius: 2px;
margin: 24px;
align-self: center;
box-shadow: 0 2px 5px 0 rgba(51, 62, 73, 0.1);
}
.form .heading {
font-size: 2rem;
}
.form .desc {
text-align: center;
color: #636d77;
font-size: 1.6rem;
font-weight: lighter;
line-height: 2.4rem;
margin-top: 16px;
font-weight: 300;
}
.form-group {
display: flex;
margin-bottom: 16px;
flex-direction: column;
}
.form-label,
.form-message {
text-align: left;
}
.form-label {
font-weight: 700;
padding-bottom: 6px;
line-height: 1.8rem;
font-size: 1.4rem;
}
.form-control {
height: 40px;
padding: 8px 12px;
border: 1px solid #b3b3b3;
border-radius: 3px;
outline: none;
font-size: 1.4rem;
}
.form-control:hover {
border-color: #1dbfaf;
}
.form-group.invalid .form-control {
border-color: #f33a58;
}
.form-group.invalid .form-message {
color: #f33a58;
}
.form-message {
font-size: 1.2rem;
line-height: 1.6rem;
padding: 4px 0 0;
}
.form-submit {
outline: none;
background-color: #1dbfaf;
margin-top: 12px;
padding: 12px 16px;
font-weight: 600;
color: #fff;
border: none;
width: 100%;
font-size: 14px;
border-radius: 8px;
cursor: pointer;
}
.form-submit:hover {
background-color: #1ac7b6;
}
.spacer {
margin-top: 36px;
}
.form-group.form-group-radio {
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
.form-group-gender {
display: flex;
justify-content: center;
align-items: center;
}
.form-group-radio label:not(.form-label) {
font-size: 1.2rem;
line-height: 1.2rem;
display: block;
}
.form-group-radio input {
margin-right: 4px;
}
.form-group-gender:first-of-type {
margin-bottom: 8px;
}