-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_custom-forms.scss
More file actions
57 lines (50 loc) · 1.03 KB
/
_custom-forms.scss
File metadata and controls
57 lines (50 loc) · 1.03 KB
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
.custom-control {
padding: 0;
margin-bottom: 1rem;
}
.custom-control-label {
display: block;
border: $border-width solid $border-color;
border-radius: $border-radius;
padding: 1rem 0rem;
padding-left: 4rem;
padding-right: 1rem;
p:last-of-type {
margin: 0;
}
}
.custom-control-label::after,
.custom-control-label::before {
top: 50%;
left: 1.75rem;
margin-top: -0.5rem;
}
.custom-control-input:checked + .custom-control-label {
border-color: $primary;
}
.dropdown-select .dropdown-toggle {
border: $border-width solid $border-color;
border-radius: $border-radius;
color: $dark;
display: flex;
width: 100%;
text-align: left;
justify-content: space-between;
align-items: center;
&:hover,
&:focus,
&:focus:hover {
text-decoration: none;
}
& > div {
flex: 1;
img {
vertical-align: text-top;
}
}
}
.dropdown-select .dropdown-menu {
width: 100%;
max-height: 30vh;
overflow-y: auto;
}