-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.css
executable file
·91 lines (76 loc) · 1.37 KB
/
form.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
/*
# Nome: Mathias Fernandes
# n° 10734352
# email: [email protected]
# email usp: [email protected]
# atividade sobre vue
*/
* {
font-family: Arial, Helvetica, sans-serif;
box-sizing: border-box;
}
.form-container {
border-radius: 5px;
background-color: #e3eff8;
padding: 20px;
}
select {
color: white;
font-weight: bold;
background-color: rgb(38, 136, 136);
}
label {
font-weight: bold;
}
/* cols */
.col-6 {
width: 48.33333333%;
display: inline-block;
}
.col-12 {
width: 97.33333333%;
}
.col-md-6 {
width: 49.88888888%;
display: inline-block;
}
.col-md-4 {
width: 33.22222222%;
justify-content: left;
display: inline-block;
}
/* inputs */
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=submit] {
width: 100%;
background-color: rgb(15, 136, 15);
color: rgb(255, 255, 255);
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
/* validation */
.input_invalid {
background-color: #fac3c3;
border: 1px solid #ffdddd;
}
.input_valid {
background-color: #ffffff;
border: 0px;
}
.invalid_forms b, ul li {
color: rgb(185, 15, 15);
}