-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
157 lines (143 loc) · 2.68 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #05c46b;
font-family: Verdana;
text-align: center;
}
h4{
margin: 15px 0 0;
}
#disp{
font-size: 12px;
color: red;
}
#displ{
font-size: 12px;
color: red;
}
#count{
font-size: 12px;
color: red;
}
form {
background-color: #fff;
font-family: Verdana;
max-width: 500px;
margin: 20px auto;
padding: 30px 20px;
box-shadow: 2px 5px 10px rgba(0, 0, 0.5);
}
.form-control {
text-align: left;
margin-bottom: 15px;
}
.form-control label {
display: block;
margin-bottom: 10px;
}
.form-control input,
.form-control select,
.form-control textarea {
border: 1px solid #777;
border-radius: 2px;
font-family: inherit;
padding: 7px;
display: block;
width: 90%;
}
.form-control input:focus{
outline: none;
}
.form-control input[type="radio"],
.form-control input[type="checkbox"] {
display: inline-block;
width: auto;
margin: 5px 5px;
}
#submit {
background-color: #05c46b;
border: 1px solid #777;
border-radius: 5px;
font-family: inherit;
font-size: 21px;
display: block;
width: 100%;
margin-top: 20px;
margin-bottom: 20px;
padding: 9px 0;
}
#reset {
background-color: #777;
font-family: inherit;
font-size: 20px;
display: block;
width: 30%;
padding: 8px 0;
color: #fff;
border: none;
border-radius: 5px;
}
.button-reset {
text-align: center;
display: flex;
justify-content: center;
}
small{
font-size: 12px;
color: red;
margin: 0 5px;
display: none;
}
.form-control.success input{
border: 3px solid green;
padding: 7px;
display: block;
width: 90%;
text-align: left;
}
.form-control.error input{
border: 2px solid red;
padding: 7px;
display: block;
width: 90%;
text-align: left;
}
.form-control.error small {
display: block;
}
.form-control.success select{
border: 3px solid green;
padding: 7px;
display: block;
width: 90%;
text-align: left;
}
.form-control.error select{
border: 2px solid red;
padding: 7px;
display: block;
width: 90%;
text-align: left;
}
.form-control.success textarea{
border: 3px solid green;
padding: 7px;
display: block;
width: 90%;
text-align: left;
}
.form-control.error textarea{
border: 2px solid red;
padding: 7px;
display: block;
width: 90%;
text-align: left;
}
.form-control-c input{
border: 2px solid green;
}
/* ` */