ama_layout 4.10.1 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -11
- data/ama_layout.gemspec +0 -2
- data/lib/ama_layout.rb +0 -2
- data/lib/ama_layout/version.rb +1 -1
- metadata +2 -109
- data/app/assets/images/alberta-blur.jpg +0 -0
- data/app/assets/images/ama-logo-blue.svg +0 -44
- data/app/assets/images/ama-logo-small.svg +0 -44
- data/app/assets/images/ama-logo.png +0 -0
- data/app/assets/images/cc-type-mc.png +0 -0
- data/app/assets/images/cc-type-visa.png +0 -0
- data/app/assets/images/footer-racetrack-big.png +0 -0
- data/app/assets/stylesheets/ama_layout/_settings.scss +0 -566
- data/app/assets/stylesheets/ama_layout/application.scss +0 -9
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +0 -28
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides_battery.scss +0 -7
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +0 -2
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +0 -442
- data/app/assets/stylesheets/ama_layout/layout/index.scss +0 -5
- data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +0 -847
- data/app/assets/stylesheets/ama_layout/layout/print.scss +0 -23
- data/app/assets/stylesheets/ama_layout/layout/variables.scss +0 -57
- data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +0 -186
- data/app/assets/stylesheets/ama_layout/layout_components/banners.scss +0 -85
- data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +0 -10
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/button-grouping.scss +0 -116
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/button-toggle.scss +0 -39
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/buttons.scss +0 -105
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/index.scss +0 -3
- data/app/assets/stylesheets/ama_layout/layout_components/call-to-action.scss +0 -22
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/callback-callout.scss +0 -33
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/callouts.scss +0 -58
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/index.scss +0 -4
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/price-callout.scss +0 -31
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/quote-callout.scss +0 -6
- data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +0 -149
- data/app/assets/stylesheets/ama_layout/layout_components/colour-coordinated-list.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +0 -327
- data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/features.scss +0 -104
- data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +0 -72
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +0 -505
- data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +0 -95
- data/app/assets/stylesheets/ama_layout/layout_components/hero.scss +0 -41
- data/app/assets/stylesheets/ama_layout/layout_components/icon-group.scss +0 -16
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +0 -35
- data/app/assets/stylesheets/ama_layout/layout_components/legends/index.scss +0 -2
- data/app/assets/stylesheets/ama_layout/layout_components/legends/legend-map.scss +0 -48
- data/app/assets/stylesheets/ama_layout/layout_components/legends/legends.scss +0 -77
- data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +0 -62
- data/app/assets/stylesheets/ama_layout/layout_components/links.scss +0 -13
- data/app/assets/stylesheets/ama_layout/layout_components/maps.scss +0 -21
- data/app/assets/stylesheets/ama_layout/layout_components/member-card.scss +0 -62
- data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +0 -108
- data/app/assets/stylesheets/ama_layout/layout_components/option-toggle.scss +0 -52
- data/app/assets/stylesheets/ama_layout/layout_components/pagination.scss +0 -39
- data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +0 -292
- data/app/assets/stylesheets/ama_layout/layout_components/promo-block.scss +0 -87
- data/app/assets/stylesheets/ama_layout/layout_components/receipt-summary.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/responsive-table.scss +0 -205
- data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +0 -48
- data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +0 -257
- data/app/assets/stylesheets/ama_layout/layout_components/side_nav.scss +0 -87
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +0 -157
- data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +0 -112
- data/app/assets/stylesheets/ama_layout/media_queries/desktop.scss +0 -5
- data/app/assets/stylesheets/ama_layout/media_queries/index.scss +0 -4
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +0 -16
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +0 -34
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +0 -9
- data/app/assets/stylesheets/ama_layout/webfonts/ama-icon-font.scss +0 -90
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/Wisdom-Script.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.eot +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.svg +0 -25
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.ttf +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/index.scss +0 -3
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.eot +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.scss +0 -50
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.svg +0 -982
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.ttf +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/wisdom-font.scss +0 -11
@@ -1,87 +0,0 @@
|
|
1
|
-
.promo-block{
|
2
|
-
position: relative;
|
3
|
-
overflow: auto;
|
4
|
-
|
5
|
-
&__divider{
|
6
|
-
@include show-for(medium);
|
7
|
-
position: absolute;
|
8
|
-
color: $smoke;
|
9
|
-
font-size: 1.75rem;
|
10
|
-
top: 30%;
|
11
|
-
|
12
|
-
&--left{
|
13
|
-
@extend .promo-block__divider;
|
14
|
-
left: 33%;
|
15
|
-
}
|
16
|
-
|
17
|
-
&--right{
|
18
|
-
@extend .promo-block__divider;
|
19
|
-
right: 33%;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
&__item{
|
24
|
-
@include clearfix;
|
25
|
-
@include medium-4;
|
26
|
-
text-align: center;
|
27
|
-
|
28
|
-
@include breakpoint(small down){
|
29
|
-
text-align: left;
|
30
|
-
|
31
|
-
p{
|
32
|
-
@include small-9;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
&__icon-container{
|
38
|
-
margin: 0 0 $base-margin 0;
|
39
|
-
@include breakpoint(small down){
|
40
|
-
@include small-3;
|
41
|
-
padding: 0;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
&__icon-background{
|
46
|
-
width: 110px;
|
47
|
-
height: 110px;
|
48
|
-
margin: 0 auto;
|
49
|
-
background: $smoke;
|
50
|
-
position: relative;
|
51
|
-
|
52
|
-
@include breakpoint(small down){
|
53
|
-
width: 60%;
|
54
|
-
height: auto;
|
55
|
-
padding-top: 60%;
|
56
|
-
min-width: 65px;
|
57
|
-
min-height: 65px;
|
58
|
-
}
|
59
|
-
|
60
|
-
&--round{
|
61
|
-
@extend .promo-block__icon-background;
|
62
|
-
border-radius: 100%;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
&__icon{
|
67
|
-
color: $white;
|
68
|
-
font-size: 4rem;
|
69
|
-
text-align: center;
|
70
|
-
width: 100%;
|
71
|
-
left: 0;
|
72
|
-
@include vertical-center;
|
73
|
-
|
74
|
-
@include breakpoint(small down){
|
75
|
-
font-size: 2.5rem;
|
76
|
-
}
|
77
|
-
|
78
|
-
&-image{
|
79
|
-
@extend .promo-block__icon;
|
80
|
-
height: 50px;
|
81
|
-
|
82
|
-
@include breakpoint(small down){
|
83
|
-
height: 31px;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
.receipt-summary{
|
2
|
-
|
3
|
-
&__image-container{
|
4
|
-
@include medium-3;
|
5
|
-
margin-bottom: $base-margin;
|
6
|
-
}
|
7
|
-
|
8
|
-
&__image{
|
9
|
-
|
10
|
-
@include breakpoint(small only){
|
11
|
-
display: block;
|
12
|
-
margin-right: auto;
|
13
|
-
margin-left: auto;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
&__content-container{
|
18
|
-
@include medium-9;
|
19
|
-
margin-bottom: $base-margin;
|
20
|
-
|
21
|
-
@include breakpoint(small only){
|
22
|
-
margin-left: $base-margin;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
@@ -1,205 +0,0 @@
|
|
1
|
-
/*! Tablesaw - v1.0.4 - 2015-02-19
|
2
|
-
* https://github.com/filamentgroup/tablesaw
|
3
|
-
* Copyright (c) 2015 Filament Group; Licensed MIT */
|
4
|
-
/*! Tablesaw - v1.0.4 - 2015-02-19
|
5
|
-
* https://github.com/filamentgroup/tablesaw
|
6
|
-
* Copyright (c) 2015 Filament Group; Licensed MIT */
|
7
|
-
|
8
|
-
table.tablesaw{
|
9
|
-
empty-cells: show;
|
10
|
-
max-width: 100%;
|
11
|
-
width: 100%;
|
12
|
-
}
|
13
|
-
|
14
|
-
.tablesaw{
|
15
|
-
border-collapse: collapse;
|
16
|
-
width: 100%;
|
17
|
-
}
|
18
|
-
|
19
|
-
/* Structure */
|
20
|
-
|
21
|
-
.tablesaw{
|
22
|
-
padding: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
.tablesaw th,
|
26
|
-
.tablesaw td{
|
27
|
-
-webkit-box-sizing: border-box;
|
28
|
-
-moz-box-sizing: border-box;
|
29
|
-
box-sizing: border-box;
|
30
|
-
padding: .5em .7em;
|
31
|
-
font-size: $base-font-size*0.875;
|
32
|
-
color: $slate;
|
33
|
-
}
|
34
|
-
|
35
|
-
.tablesaw thead tr:first-child th{
|
36
|
-
padding-top: .9em;
|
37
|
-
padding-bottom: .7em;
|
38
|
-
}
|
39
|
-
|
40
|
-
thead,
|
41
|
-
tbody,
|
42
|
-
tfoot{
|
43
|
-
border: none;
|
44
|
-
}
|
45
|
-
|
46
|
-
/* Table rows have a gray bottom stroke by default */
|
47
|
-
|
48
|
-
.tablesaw-stack tbody tr{
|
49
|
-
border-bottom: 2px solid $stone;
|
50
|
-
}
|
51
|
-
|
52
|
-
.tablesaw-stack td .tablesaw-cell-label,
|
53
|
-
.tablesaw-stack th .tablesaw-cell-label{
|
54
|
-
display: none;
|
55
|
-
}
|
56
|
-
|
57
|
-
.tablesaw-stack thead{
|
58
|
-
background: darken($ash, 3%);
|
59
|
-
border-bottom: 2px solid darken($stone, 3%);
|
60
|
-
|
61
|
-
td,
|
62
|
-
th{
|
63
|
-
color: $charcoal;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
/* Mobile first styles: Begin with the stacked presentation at narrow widths */
|
68
|
-
|
69
|
-
@media only all{
|
70
|
-
/* Show the table cells as a block level element */
|
71
|
-
|
72
|
-
.tablesaw-stack td,
|
73
|
-
.tablesaw-stack th{
|
74
|
-
text-align: left;
|
75
|
-
display: block;
|
76
|
-
}
|
77
|
-
|
78
|
-
.tablesaw-stack tr{
|
79
|
-
clear: both;
|
80
|
-
display: table-row;
|
81
|
-
}
|
82
|
-
|
83
|
-
/* Make the label elements a percentage width */
|
84
|
-
|
85
|
-
.tablesaw-stack td .tablesaw-cell-label,
|
86
|
-
.tablesaw-stack th .tablesaw-cell-label{
|
87
|
-
display: block;
|
88
|
-
padding: 0 .6em 0 0;
|
89
|
-
width: 45%;
|
90
|
-
display: inline-block;
|
91
|
-
}
|
92
|
-
|
93
|
-
/* For grouped headers, have a different style to visually separate the levels by classing the first label in each col group */
|
94
|
-
|
95
|
-
.tablesaw-stack th .tablesaw-cell-label-top,
|
96
|
-
.tablesaw-stack td .tablesaw-cell-label-top{
|
97
|
-
display: block;
|
98
|
-
padding: .4em 0;
|
99
|
-
margin: .4em 0;
|
100
|
-
}
|
101
|
-
|
102
|
-
.tablesaw-cell-label{
|
103
|
-
display: block;
|
104
|
-
}
|
105
|
-
|
106
|
-
/* Avoid double strokes when stacked */
|
107
|
-
|
108
|
-
.tablesaw-stack tbody th.group{
|
109
|
-
margin-top: -1px;
|
110
|
-
}
|
111
|
-
|
112
|
-
/* Avoid double strokes when stacked */
|
113
|
-
|
114
|
-
.tablesaw-stack th.group b.tablesaw-cell-label{
|
115
|
-
display: none !important;
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
@mixin tablesaw-stack-max{
|
120
|
-
.tablesaw-stack thead td,
|
121
|
-
.tablesaw-stack thead th{
|
122
|
-
display: none;
|
123
|
-
}
|
124
|
-
|
125
|
-
.tablesaw-stack tbody td,
|
126
|
-
.tablesaw-stack tbody th{
|
127
|
-
clear: left;
|
128
|
-
float: left;
|
129
|
-
width: 100%;
|
130
|
-
}
|
131
|
-
|
132
|
-
.tablesaw-cell-label{
|
133
|
-
vertical-align: top;
|
134
|
-
}
|
135
|
-
|
136
|
-
.tablesaw-cell-content{
|
137
|
-
max-width: 55%;
|
138
|
-
display: inline-block;
|
139
|
-
}
|
140
|
-
|
141
|
-
.tablesaw-stack td:empty,
|
142
|
-
.tablesaw-stack th:empty{
|
143
|
-
display: none;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
@mixin tablesaw-stack-min{
|
148
|
-
.tablesaw-stack tr{
|
149
|
-
display: table-row;
|
150
|
-
}
|
151
|
-
|
152
|
-
/* Show the table header rows */
|
153
|
-
.tablesaw-stack td,
|
154
|
-
.tablesaw-stack th,
|
155
|
-
.tablesaw-stack thead td,
|
156
|
-
.tablesaw-stack thead th{
|
157
|
-
display: table-cell;
|
158
|
-
margin: 0;
|
159
|
-
}
|
160
|
-
|
161
|
-
/* Hide the labels in each cell */
|
162
|
-
.tablesaw-stack td .tablesaw-cell-label,
|
163
|
-
.tablesaw-stack th .tablesaw-cell-label{
|
164
|
-
display: none !important;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
$use-respond-mixins: false !default;
|
169
|
-
|
170
|
-
@mixin tablesaw-stack( $breakpoint: 40em ){
|
171
|
-
|
172
|
-
@if $use-respond-mixins{
|
173
|
-
@include respond-max($breakpoint - .0625){
|
174
|
-
@include tablesaw-stack-max;
|
175
|
-
}
|
176
|
-
|
177
|
-
@include respond-min($breakpoint){
|
178
|
-
@include tablesaw-stack-min;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
@else{
|
183
|
-
@media (max-width: ($breakpoint - .0625)){
|
184
|
-
@include tablesaw-stack-max;
|
185
|
-
}
|
186
|
-
|
187
|
-
@media (min-width: $breakpoint){
|
188
|
-
@include tablesaw-stack-min;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
}
|
192
|
-
|
193
|
-
.tablesaw-parent{
|
194
|
-
@include tablesaw-stack(60em);
|
195
|
-
|
196
|
-
table tr.even,
|
197
|
-
table tr.alt,
|
198
|
-
table tr:nth-of-type(even){
|
199
|
-
background: darken($ash, 1%);
|
200
|
-
}
|
201
|
-
|
202
|
-
table{
|
203
|
-
margin-bottom: 0;
|
204
|
-
}
|
205
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
.reveal-modal .close-reveal-modal,
|
2
|
-
dialog .close-reveal-modal{
|
3
|
-
font-size: 2.5rem;
|
4
|
-
line-height: 1;
|
5
|
-
position: absolute;
|
6
|
-
top: 0.5rem;
|
7
|
-
right: 0.6875rem;
|
8
|
-
color: $slate;
|
9
|
-
font-weight: bold;
|
10
|
-
cursor: pointer;
|
11
|
-
}
|
12
|
-
|
13
|
-
.reveal-modal{
|
14
|
-
max-width: 960px;
|
15
|
-
position: relative;
|
16
|
-
margin: 0 auto;
|
17
|
-
|
18
|
-
a{
|
19
|
-
text-decoration: none;
|
20
|
-
font-weight: normal;
|
21
|
-
}
|
22
|
-
|
23
|
-
@include breakpoint(small only){
|
24
|
-
top: 50px !important;
|
25
|
-
min-height: 240px;
|
26
|
-
}
|
27
|
-
|
28
|
-
&__close{
|
29
|
-
position: absolute;
|
30
|
-
color: $slate;
|
31
|
-
right: 1rem;
|
32
|
-
top: 0.5rem;
|
33
|
-
font-size: 2em;
|
34
|
-
line-height: 1;
|
35
|
-
cursor: pointer;
|
36
|
-
|
37
|
-
&--white{
|
38
|
-
@extend .reveal-modal__close;
|
39
|
-
color: $white;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
@include breakpoint(small only){
|
45
|
-
.reveal{
|
46
|
-
padding: $global-padding $global-padding 51px $global-padding; // 51 pixels to offset the height of the top bar
|
47
|
-
}
|
48
|
-
}
|
@@ -1,257 +0,0 @@
|
|
1
|
-
.heading{
|
2
|
-
padding: $base-padding*.75 $base-padding;
|
3
|
-
color: $white;
|
4
|
-
}
|
5
|
-
|
6
|
-
.section{
|
7
|
-
margin-bottom: $base-margin;
|
8
|
-
|
9
|
-
&__sub-head{
|
10
|
-
margin-bottom: $base-margin;
|
11
|
-
color: $charcoal;
|
12
|
-
clear: both;
|
13
|
-
}
|
14
|
-
|
15
|
-
&__content-container{
|
16
|
-
@include grid-row-nest;
|
17
|
-
}
|
18
|
-
|
19
|
-
&__content-two-thirds{
|
20
|
-
@include large-8;
|
21
|
-
|
22
|
-
&>*:last-child{
|
23
|
-
margin-bottom: 0;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
&--scroll{
|
28
|
-
overflow: auto;
|
29
|
-
height: 500px;
|
30
|
-
padding: 0 $base-padding;
|
31
|
-
margin-bottom: $base-margin;
|
32
|
-
border: $base-border;
|
33
|
-
|
34
|
-
@include breakpoint(small down){
|
35
|
-
height: 350px;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.section-nested{
|
41
|
-
@include grid-row-nest;
|
42
|
-
@include clearfix;
|
43
|
-
}
|
44
|
-
|
45
|
-
.section-heading{
|
46
|
-
@extend .heading;
|
47
|
-
background: $brand-blue-light;
|
48
|
-
|
49
|
-
&--no-bg{
|
50
|
-
padding-bottom: $base-padding;
|
51
|
-
}
|
52
|
-
|
53
|
-
&--no-padding{
|
54
|
-
background: $brand-blue-light;
|
55
|
-
color: $white;
|
56
|
-
}
|
57
|
-
|
58
|
-
&--grey-bg{
|
59
|
-
@extend .heading;
|
60
|
-
background: $slate;
|
61
|
-
}
|
62
|
-
|
63
|
-
&--dark-blue-bg{
|
64
|
-
@extend .heading;
|
65
|
-
background: $brand-blue-dark;
|
66
|
-
}
|
67
|
-
|
68
|
-
&--accordion{
|
69
|
-
@extend .heading;
|
70
|
-
overflow: auto;
|
71
|
-
display: block;
|
72
|
-
}
|
73
|
-
|
74
|
-
&--orange{
|
75
|
-
@extend .heading;
|
76
|
-
background: $orange;
|
77
|
-
}
|
78
|
-
|
79
|
-
&--yellow{
|
80
|
-
@extend .heading;
|
81
|
-
background: $canary;
|
82
|
-
}
|
83
|
-
|
84
|
-
&--blue{
|
85
|
-
@extend .heading;
|
86
|
-
background: $brand-blue-light;
|
87
|
-
}
|
88
|
-
|
89
|
-
&--green{
|
90
|
-
@extend .heading;
|
91
|
-
background: $brand-green;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
.section-quarter{
|
96
|
-
@extend .section;
|
97
|
-
@include large-3;
|
98
|
-
}
|
99
|
-
|
100
|
-
.section-half{
|
101
|
-
@extend .section;
|
102
|
-
@include large-6;
|
103
|
-
}
|
104
|
-
|
105
|
-
.section-full{
|
106
|
-
@extend .section;
|
107
|
-
@include large-12;
|
108
|
-
|
109
|
-
&--max-width{
|
110
|
-
@extend .section-full;
|
111
|
-
max-width: 1080px;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
.section-third{
|
116
|
-
@extend .section;
|
117
|
-
@include large-4;
|
118
|
-
@include clearfix;
|
119
|
-
}
|
120
|
-
|
121
|
-
.section-quarter{
|
122
|
-
@extend .section;
|
123
|
-
@include large-3;
|
124
|
-
}
|
125
|
-
|
126
|
-
.section-two-thirds{
|
127
|
-
@extend .section;
|
128
|
-
@include large-8;
|
129
|
-
@include grid-column-end;
|
130
|
-
@include clearfix;
|
131
|
-
|
132
|
-
&:last-child:not(.section-content){
|
133
|
-
margin-bottom: 0;
|
134
|
-
}
|
135
|
-
|
136
|
-
@include breakpoint(medium down){
|
137
|
-
float: none;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
.section-centered{
|
142
|
-
&--half{
|
143
|
-
@extend .section;
|
144
|
-
@include large-6;
|
145
|
-
@include large-centered;
|
146
|
-
|
147
|
-
&:last-child:not(:first-child){
|
148
|
-
float: none;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
.section-content{
|
154
|
-
padding: $base-padding;
|
155
|
-
background: $white;
|
156
|
-
@include clearfix;
|
157
|
-
|
158
|
-
&>*:last-child{
|
159
|
-
margin-bottom: 0;
|
160
|
-
/*override so that the last child element always has margin-bottom of zero
|
161
|
-
(because the container has bottom padding)
|
162
|
-
the alternative is to set the elements themselves to ONLY have bottom-margin
|
163
|
-
if they're not the :last-child, but Foundation adds bottom margin to everything by default
|
164
|
-
so we would have to change each element individually in the _settings file.
|
165
|
-
*/
|
166
|
-
|
167
|
-
&>*:last-child{
|
168
|
-
margin-bottom: 0;
|
169
|
-
/* the same as above, but for nested elements within sections */
|
170
|
-
}
|
171
|
-
}
|
172
|
-
|
173
|
-
&--grey-bg{
|
174
|
-
padding: $base-padding;
|
175
|
-
background: lighten($stormcloud, 5%);
|
176
|
-
color: $white;
|
177
|
-
}
|
178
|
-
|
179
|
-
&--smoke-bg{
|
180
|
-
padding: $base-padding;
|
181
|
-
background: lighten($smoke, 5%);
|
182
|
-
}
|
183
|
-
|
184
|
-
&--ash-bg{
|
185
|
-
padding: $base-padding;
|
186
|
-
background: $ash;
|
187
|
-
}
|
188
|
-
|
189
|
-
&--blue-bg{
|
190
|
-
padding: $base-padding;
|
191
|
-
background: $brand-blue-light;
|
192
|
-
color: $white;
|
193
|
-
@include clearfix;
|
194
|
-
|
195
|
-
label{
|
196
|
-
color: $white;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
|
200
|
-
&--cerulean-bg{
|
201
|
-
padding: $base-padding;
|
202
|
-
background: $cerulean;
|
203
|
-
color: $white;
|
204
|
-
}
|
205
|
-
|
206
|
-
&--grey-border{
|
207
|
-
border: 2px solid $stone;
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
.section-content-half{
|
212
|
-
@extend .section;
|
213
|
-
@include medium-6;
|
214
|
-
position: relative;
|
215
|
-
margin-bottom: 0;
|
216
|
-
}
|
217
|
-
|
218
|
-
.content-container{
|
219
|
-
&--vertical{
|
220
|
-
@include vertical-center;
|
221
|
-
width: 100%;
|
222
|
-
}
|
223
|
-
}
|
224
|
-
|
225
|
-
@function set-hint-color($color) {
|
226
|
-
@if (lightness($color) > 50) {
|
227
|
-
@return $smoke; // Lighter backgorund, return dark color
|
228
|
-
} @else {
|
229
|
-
@return $white; // Darker background, return light color
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
.page-container{
|
234
|
-
@include grid-row;
|
235
|
-
position: relative;
|
236
|
-
}
|
237
|
-
|
238
|
-
.main-container{
|
239
|
-
// using grid-column in place of large-10 so that we can set the gutters to 0
|
240
|
-
@include grid-column(10,0);
|
241
|
-
background: $stone;
|
242
|
-
@include clearfix;
|
243
|
-
|
244
|
-
@include breakpoint(medium down){
|
245
|
-
@include grid-column(12,0);
|
246
|
-
}
|
247
|
-
}
|
248
|
-
|
249
|
-
.main-container-full{
|
250
|
-
// using grid-column in place of large-10 so that we can set the gutters to 0
|
251
|
-
@include grid-column(12,0);
|
252
|
-
background: $stone;
|
253
|
-
|
254
|
-
@include breakpoint(medium down){
|
255
|
-
@include grid-column(12,0);
|
256
|
-
}
|
257
|
-
}
|