-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (69 loc) · 1.16 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
*,
*::after,
*::before{
box-sizing: border-box;
}
.form{
margin-bottom: 30px;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 320px;
padding: 20px;
border-radius: 3px;
box-shadow: 0 0 7px rgba(0,0,0,0.25)
}
.form-input{
display: block;
margin-bottom: 15px;
width: 100%;
padding: 8px 16px;
background: none;
border: 1px solid #ccc;
border-radius: 3px;
transition: border-color 0.25s;
}
.form-input.error,
.form-input.error:hover,
.form-input.error:focus{
border: 1px solid red;
}
.form-input:hover{
border-color: #507299;
}
.form-input:focus{
border-color: #507299;
outline: none;
}
.form-submit{
width: 100%;
height: 40px;
padding: 0;
background-color: #0074f9;
border: none;
border-radius: 3px;
transition: background-color 0.25s;
color: #fff;
font-weight: 700;
}
.form-submit:hover{
background-color: #0059bf;
}
.form-submit:focus{
background-color: #0059bf;
outline: none;
}
#resultContainer{
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 320px;
padding: 20px;
}
#resultContainer.error{
color: red;
}
#resultContainer.success{
color: green;
}