Newer
Older
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
@mixin white-button-flat-outline {
display: block;
border-radius: 2px;
border: solid 1px #0175b4;
font-size: 14px;
font-weight: bold;
line-height: 24px;
padding: 7px 18px;
// if you change colors here, modify them in hover block below too
background: white;
color: #2d323e;
&:hover,
&:focus,
&:active {
cursor: pointer;
box-shadow: 0 2px 1px $shadow;
// re-specify colors to overwrite any styling from our reset styles
background: white;
color: #2d323e;
}
}
.banner-cta {
border-radius: 4px;
border: solid 1px #9cd2e6;
background-color: #eff8fa;
margin-top: 20px;
margin-bottom: 20px;
padding: 24px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: $text-width-readability-max;
.banner-cta-text {
font-size: 16px;
line-height: 24px;
color: #414141;
a.mobile-dates-link {
color: #0075b4;
}
}
&.has-button {
.banner-cta-text {
flex: 1 1 20em;
}
}
&.on-mobile {
margin-left: 20px;
margin-right: 20px;
}
.banner-cta-button {
align-self: start;
flex: none;
margin-top: $baseline;
@media only screen and (min-width: 630px) {
margin-top: 0px;
margin-left: 10px;
}