-
Notifications
You must be signed in to change notification settings - Fork 361
/
Copy path_callout.scss
76 lines (62 loc) · 1.12 KB
/
_callout.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
74
75
76
.callout {
position: relative;
&__content {
font-size: 14px;
margin-top: 12px;
line-height: 20px;
}
&__input {
width: 100%;
}
&__separator {
position: relative;
display: block;
text-align: center;
color: color(gray-700);
font-size: 14px;
@include breakpoint(xlarge up) {
display: none;
}
&::before {
position: absolute;
top: 50%;
left: 0;
background-color: color(gray-400);
width: 100%;
height: 1px;
transform: translateY(-50%);
z-index: -1;
content: "";
}
span {
background-color: color(white);
padding: 0 15px;
}
}
&__form-wrapper {
margin-top: 20px;
& > * + * {
margin-top: 8px;
@include breakpoint(medium up) {
margin-top: 0;
}
}
}
&__form {
@include breakpoint(medium up) {
margin-bottom: 0;
}
& > * + * {
margin-top: 8px;
@include breakpoint(medium up) {
margin-top: 0;
}
}
}
&__link-button {
width: 100%;
@include breakpoint(xlarge up) {
width: auto;
}
}
}