-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathform.scss
72 lines (70 loc) · 1.23 KB
/
form.scss
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
.form-wrapper {
line-height: 1.3em;
.form-step-2 {
display: none;
}
.form-row {
margin: 5px 0;
}
.form-button-row {
text-align: center;
}
> .form-row:last-child {
text-align: center;
}
.form-hidden {
display: none;
}
input[type="text"],
input[type="date"],
input[type="email"],
input[type="tel"],
select {
box-sizing: border-box;
width: 100%;
padding: 4px;
border: 1px solid black;
}
input.input-invalid,
select.input-invalid {
border: 1px solid red;
}
.form-row.input-invalid {
border: 1px solid red;
&.add-Q-select {
border: 0;
select {
border: 1px solid red;
}
}
}
.name-row {
display: inline-block;
vertical-align: bottom;
width: 50%;
}
.name-row ~ .name-row input {
border-left: 0;
}
label {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
a {
text-decoration: underline;
}
}
.form-submit {
display: inline-block;
padding: 5px 10px;
border: 1px solid black;
transition: all 0.4s;
&:hover {
color: white;
background-color: black;
}
}
}