-
Notifications
You must be signed in to change notification settings - Fork 0
/
_form.scss
73 lines (59 loc) · 1.11 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
73
.form {
background: $white;
border-radius: rem-calc(8);
margin-bottom: rem-calc(129);
&__header {
padding: 1.6rem;
}
&__divider {
background-color: get-color(primary-x-light);
border: 0;
clear: both;
display: block;
height: 1px;
margin: 0;
width: 100%;
}
&__section {
margin: rem-calc(32) rem-calc(59);
}
&__footer {
padding: 1.6rem;
text-align: center;
.button {
margin-bottom: 0;
}
@include breakpoint(large) {
text-align: right;
}
&--buttons-justified {
display: flex;
flex-direction: column-reverse;
div {
:first-child {
margin-top: 1rem;
}
}
@include breakpoint(large) {
flex-direction: row;
justify-content: space-between;
div {
:first-child {
margin-top: 0;
}
}
}
}
}
&__buttons {
&--alert {
color: get-color(alert) !important;
span {
margin-left: 0.5rem;
}
&:hover {
background-color: get-color(alert-x-light) !important;
}
}
}
}