uswds-jekyll 2.2.1 → 3.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 +24 -23
- data/_includes/components/footer--medium.html +100 -0
- data/_includes/components/header--basic.html +12 -10
- data/_includes/components/header--extended.html +16 -12
- data/_includes/footer.html +2 -1
- data/_includes/header.html +4 -0
- data/_includes/scripts.html +12 -3
- data/_sass/uswds/components/_header.scss +1 -1
- data/_sass/uswds/components/_sidenav.scss +0 -23
- data/_sass/uswds/core/_utilities.scss +3 -3
- data/_sass/uswds/core/_variables.scss +15 -16
- data/_sass/uswds/elements/_inputs.scss +1 -3
- data/assets/uswds/css/uswds.css +7 -38
- data/assets/uswds/css/uswds.min.css +2 -2
- data/assets/uswds/css/uswds.min.css.map +1 -1
- metadata +5 -140
- data/_includes/components/footer.html +0 -82
- data/_includes/last-modified.html +0 -3
- data/_layouts/search-results.html +0 -25
- data/assets/uswds/scss/_all.scss +0 -1
- data/assets/uswds/scss/components/_accordions.scss +0 -150
- data/assets/uswds/scss/components/_alerts.scss +0 -125
- data/assets/uswds/scss/components/_banner.scss +0 -204
- data/assets/uswds/scss/components/_footer.scss +0 -518
- data/assets/uswds/scss/components/_forms.scss +0 -164
- data/assets/uswds/scss/components/_graphic-list.scss +0 -35
- data/assets/uswds/scss/components/_header.scss +0 -218
- data/assets/uswds/scss/components/_hero.scss +0 -37
- data/assets/uswds/scss/components/_layout.scss +0 -36
- data/assets/uswds/scss/components/_media-block.scss +0 -12
- data/assets/uswds/scss/components/_navigation.scss +0 -549
- data/assets/uswds/scss/components/_search.scss +0 -111
- data/assets/uswds/scss/components/_section.scss +0 -37
- data/assets/uswds/scss/components/_sidenav.scss +0 -31
- data/assets/uswds/scss/components/_skipnav.scss +0 -19
- data/assets/uswds/scss/core/_base.scss +0 -35
- data/assets/uswds/scss/core/_defaults.scss +0 -8
- data/assets/uswds/scss/core/_fonts.scss +0 -65
- data/assets/uswds/scss/core/_grid-settings.scss +0 -3
- data/assets/uswds/scss/core/_grid.scss +0 -199
- data/assets/uswds/scss/core/_utilities.scss +0 -252
- data/assets/uswds/scss/core/_variables.scss +0 -156
- data/assets/uswds/scss/elements/_buttons.scss +0 -217
- data/assets/uswds/scss/elements/_embed.scss +0 -26
- data/assets/uswds/scss/elements/_figure.scss +0 -13
- data/assets/uswds/scss/elements/_inputs.scss +0 -353
- data/assets/uswds/scss/elements/_labels.scss +0 -20
- data/assets/uswds/scss/elements/_list.scss +0 -32
- data/assets/uswds/scss/elements/_table.scss +0 -55
- data/assets/uswds/scss/elements/_typography.scss +0 -260
- data/assets/uswds/scss/lib/_bourbon-deprecated-upcoming.scss +0 -411
- data/assets/uswds/scss/lib/_bourbon.scss +0 -87
- data/assets/uswds/scss/lib/_neat-helpers.scss +0 -11
- data/assets/uswds/scss/lib/_neat.scss +0 -23
- data/assets/uswds/scss/lib/_normalize.scss +0 -424
- data/assets/uswds/scss/lib/addons/_border-color.scss +0 -26
- data/assets/uswds/scss/lib/addons/_border-radius.scss +0 -48
- data/assets/uswds/scss/lib/addons/_border-style.scss +0 -25
- data/assets/uswds/scss/lib/addons/_border-width.scss +0 -25
- data/assets/uswds/scss/lib/addons/_buttons.scss +0 -64
- data/assets/uswds/scss/lib/addons/_clearfix.scss +0 -25
- data/assets/uswds/scss/lib/addons/_ellipsis.scss +0 -30
- data/assets/uswds/scss/lib/addons/_font-stacks.scss +0 -31
- data/assets/uswds/scss/lib/addons/_hide-text.scss +0 -27
- data/assets/uswds/scss/lib/addons/_margin.scss +0 -26
- data/assets/uswds/scss/lib/addons/_padding.scss +0 -26
- data/assets/uswds/scss/lib/addons/_position.scss +0 -48
- data/assets/uswds/scss/lib/addons/_prefixer.scss +0 -66
- data/assets/uswds/scss/lib/addons/_retina-image.scss +0 -25
- data/assets/uswds/scss/lib/addons/_size.scss +0 -51
- data/assets/uswds/scss/lib/addons/_text-inputs.scss +0 -113
- data/assets/uswds/scss/lib/addons/_timing-functions.scss +0 -34
- data/assets/uswds/scss/lib/addons/_triangle.scss +0 -63
- data/assets/uswds/scss/lib/addons/_word-wrap.scss +0 -29
- data/assets/uswds/scss/lib/css3/_animation.scss +0 -43
- data/assets/uswds/scss/lib/css3/_appearance.scss +0 -3
- data/assets/uswds/scss/lib/css3/_backface-visibility.scss +0 -3
- data/assets/uswds/scss/lib/css3/_background-image.scss +0 -42
- data/assets/uswds/scss/lib/css3/_background.scss +0 -55
- data/assets/uswds/scss/lib/css3/_border-image.scss +0 -59
- data/assets/uswds/scss/lib/css3/_calc.scss +0 -4
- data/assets/uswds/scss/lib/css3/_columns.scss +0 -47
- data/assets/uswds/scss/lib/css3/_filter.scss +0 -4
- data/assets/uswds/scss/lib/css3/_flex-box.scss +0 -287
- data/assets/uswds/scss/lib/css3/_font-face.scss +0 -24
- data/assets/uswds/scss/lib/css3/_font-feature-settings.scss +0 -4
- data/assets/uswds/scss/lib/css3/_hidpi-media-query.scss +0 -10
- data/assets/uswds/scss/lib/css3/_hyphens.scss +0 -4
- data/assets/uswds/scss/lib/css3/_image-rendering.scss +0 -14
- data/assets/uswds/scss/lib/css3/_keyframes.scss +0 -36
- data/assets/uswds/scss/lib/css3/_linear-gradient.scss +0 -38
- data/assets/uswds/scss/lib/css3/_perspective.scss +0 -8
- data/assets/uswds/scss/lib/css3/_placeholder.scss +0 -8
- data/assets/uswds/scss/lib/css3/_radial-gradient.scss +0 -39
- data/assets/uswds/scss/lib/css3/_selection.scss +0 -42
- data/assets/uswds/scss/lib/css3/_text-decoration.scss +0 -19
- data/assets/uswds/scss/lib/css3/_transform.scss +0 -15
- data/assets/uswds/scss/lib/css3/_transition.scss +0 -71
- data/assets/uswds/scss/lib/css3/_user-select.scss +0 -3
- data/assets/uswds/scss/lib/functions/_assign-inputs.scss +0 -11
- data/assets/uswds/scss/lib/functions/_contains-falsy.scss +0 -20
- data/assets/uswds/scss/lib/functions/_contains.scss +0 -26
- data/assets/uswds/scss/lib/functions/_is-length.scss +0 -11
- data/assets/uswds/scss/lib/functions/_is-light.scss +0 -21
- data/assets/uswds/scss/lib/functions/_is-number.scss +0 -11
- data/assets/uswds/scss/lib/functions/_is-size.scss +0 -13
- data/assets/uswds/scss/lib/functions/_modular-scale.scss +0 -69
- data/assets/uswds/scss/lib/functions/_new-breakpoint.scss +0 -49
- data/assets/uswds/scss/lib/functions/_private.scss +0 -114
- data/assets/uswds/scss/lib/functions/_px-to-em.scss +0 -13
- data/assets/uswds/scss/lib/functions/_px-to-rem.scss +0 -15
- data/assets/uswds/scss/lib/functions/_shade.scss +0 -24
- data/assets/uswds/scss/lib/functions/_strip-units.scss +0 -17
- data/assets/uswds/scss/lib/functions/_tint.scss +0 -24
- data/assets/uswds/scss/lib/functions/_transition-property-name.scss +0 -22
- data/assets/uswds/scss/lib/functions/_unpack.scss +0 -27
- data/assets/uswds/scss/lib/grid/_box-sizing.scss +0 -15
- data/assets/uswds/scss/lib/grid/_direction-context.scss +0 -33
- data/assets/uswds/scss/lib/grid/_display-context.scss +0 -28
- data/assets/uswds/scss/lib/grid/_fill-parent.scss +0 -22
- data/assets/uswds/scss/lib/grid/_media.scss +0 -92
- data/assets/uswds/scss/lib/grid/_omega.scss +0 -87
- data/assets/uswds/scss/lib/grid/_outer-container.scss +0 -34
- data/assets/uswds/scss/lib/grid/_pad.scss +0 -25
- data/assets/uswds/scss/lib/grid/_private.scss +0 -35
- data/assets/uswds/scss/lib/grid/_row.scss +0 -52
- data/assets/uswds/scss/lib/grid/_shift.scss +0 -50
- data/assets/uswds/scss/lib/grid/_span-columns.scss +0 -94
- data/assets/uswds/scss/lib/grid/_to-deprecate.scss +0 -97
- data/assets/uswds/scss/lib/grid/_visual-grid.scss +0 -42
- data/assets/uswds/scss/lib/helpers/_convert-units.scss +0 -21
- data/assets/uswds/scss/lib/helpers/_directional-values.scss +0 -96
- data/assets/uswds/scss/lib/helpers/_font-source-declaration.scss +0 -43
- data/assets/uswds/scss/lib/helpers/_gradient-positions-parser.scss +0 -13
- data/assets/uswds/scss/lib/helpers/_linear-angle-parser.scss +0 -25
- data/assets/uswds/scss/lib/helpers/_linear-gradient-parser.scss +0 -41
- data/assets/uswds/scss/lib/helpers/_linear-positions-parser.scss +0 -61
- data/assets/uswds/scss/lib/helpers/_linear-side-corner-parser.scss +0 -31
- data/assets/uswds/scss/lib/helpers/_radial-arg-parser.scss +0 -69
- data/assets/uswds/scss/lib/helpers/_radial-gradient-parser.scss +0 -50
- data/assets/uswds/scss/lib/helpers/_radial-positions-parser.scss +0 -18
- data/assets/uswds/scss/lib/helpers/_render-gradients.scss +0 -26
- data/assets/uswds/scss/lib/helpers/_shape-size-stripper.scss +0 -10
- data/assets/uswds/scss/lib/helpers/_str-to-num.scss +0 -50
- data/assets/uswds/scss/lib/mixins/_clearfix.scss +0 -25
- data/assets/uswds/scss/lib/settings/_asset-pipeline.scss +0 -7
- data/assets/uswds/scss/lib/settings/_disable-warnings.scss +0 -13
- data/assets/uswds/scss/lib/settings/_grid.scss +0 -51
- data/assets/uswds/scss/lib/settings/_prefixer.scss +0 -9
- data/assets/uswds/scss/lib/settings/_px-to-em.scss +0 -1
- data/assets/uswds/scss/lib/settings/_visual-grid.scss +0 -27
- data/assets/uswds/scss/uswds.scss +0 -41
@@ -1,111 +0,0 @@
|
|
1
|
-
$usa-btn-small-width: 4.5rem;
|
2
|
-
$usa-btn-medium-width: 8.5rem;
|
3
|
-
$usa-btn-big-width: 11.6rem;
|
4
|
-
|
5
|
-
@mixin search-icon {
|
6
|
-
background-image: url('#{$image-path}/search.png');
|
7
|
-
background-image: url('#{$image-path}/search.svg');
|
8
|
-
background-position: 50%;
|
9
|
-
background-repeat: no-repeat;
|
10
|
-
}
|
11
|
-
|
12
|
-
.usa-search {
|
13
|
-
@include clearfix;
|
14
|
-
max-width: none;
|
15
|
-
position: relative;
|
16
|
-
|
17
|
-
[type=submit],
|
18
|
-
.usa-search-submit {
|
19
|
-
@include search-icon;
|
20
|
-
border-bottom-left-radius: 0;
|
21
|
-
border-top-left-radius: 0;
|
22
|
-
height: 3.3rem;
|
23
|
-
margin: 0;
|
24
|
-
padding: 0;
|
25
|
-
width: $usa-btn-small-width;
|
26
|
-
|
27
|
-
@include media($small-screen) {
|
28
|
-
background-image: none;
|
29
|
-
width: $usa-btn-medium-width;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
&.usa-search-big {
|
34
|
-
@include media($small-screen) {
|
35
|
-
$height: 4.4rem;
|
36
|
-
$width: $usa-btn-big-width;
|
37
|
-
|
38
|
-
[type=search],
|
39
|
-
.usa-search-input {
|
40
|
-
font-size: $base-font-size;
|
41
|
-
height: $height;
|
42
|
-
width: calc(100% - #{$width});
|
43
|
-
}
|
44
|
-
|
45
|
-
[type=submit],
|
46
|
-
.usa-search-submit {
|
47
|
-
font-size: $h3-font-size;
|
48
|
-
height: $height;
|
49
|
-
width: $width;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
&.usa-search-small {
|
55
|
-
@include media($small-screen) {
|
56
|
-
$width: $usa-btn-small-width;
|
57
|
-
|
58
|
-
[type=search],
|
59
|
-
.usa-search-input {
|
60
|
-
width: calc(100% - #{$width});
|
61
|
-
}
|
62
|
-
|
63
|
-
[type=submit],
|
64
|
-
.usa-search-submit {
|
65
|
-
@include search-icon;
|
66
|
-
width: $width;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
$lt-nav-width: $nav-width - 1px;
|
71
|
-
|
72
|
-
@media screen and (max-width: $lt-nav-width) {
|
73
|
-
&.usa-sr-only {
|
74
|
-
left: auto;
|
75
|
-
position: relative;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
// Extra specificity to override rules set in reset.css.
|
82
|
-
input[type=search] { /* stylelint-disable-line selector-no-qualifying-type */
|
83
|
-
box-sizing: border-box;
|
84
|
-
-webkit-appearance: none;
|
85
|
-
}
|
86
|
-
|
87
|
-
[type=search],
|
88
|
-
.usa-search-input {
|
89
|
-
@include padding(0 null);
|
90
|
-
border-bottom-right-radius: 0;
|
91
|
-
border-right: none;
|
92
|
-
border-top-right-radius: 0;
|
93
|
-
box-sizing: border-box;
|
94
|
-
float: left;
|
95
|
-
font-size: $small-font-size;
|
96
|
-
height: 3.3rem;
|
97
|
-
margin: 0;
|
98
|
-
width: calc(100% - #{$usa-btn-small-width});
|
99
|
-
|
100
|
-
@include media($small-screen) {
|
101
|
-
width: calc(100% - #{$usa-btn-medium-width});
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
.usa-search-submit-text {
|
106
|
-
@include sr-only;
|
107
|
-
|
108
|
-
@include media($small-screen) {
|
109
|
-
@include not-sr-only();
|
110
|
-
}
|
111
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
.usa-section {
|
2
|
-
@include padding($site-margins null);
|
3
|
-
|
4
|
-
@include media($medium-screen) {
|
5
|
-
@include padding(6rem null);
|
6
|
-
}
|
7
|
-
}
|
8
|
-
|
9
|
-
.usa-section-light {
|
10
|
-
background-color: $color-gray-lightest;
|
11
|
-
}
|
12
|
-
|
13
|
-
.usa-section-dark {
|
14
|
-
background-color: $color-primary-darkest;
|
15
|
-
color: $color-white;
|
16
|
-
|
17
|
-
h1,
|
18
|
-
h2,
|
19
|
-
h3,
|
20
|
-
h4,
|
21
|
-
h5,
|
22
|
-
h6 {
|
23
|
-
color: $color-primary-alt;
|
24
|
-
}
|
25
|
-
|
26
|
-
p {
|
27
|
-
color: $color-white;
|
28
|
-
}
|
29
|
-
|
30
|
-
a {
|
31
|
-
color: $color-gray-lighter;
|
32
|
-
|
33
|
-
&:hover {
|
34
|
-
color: $color-white;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
.usa-sidenav-list {
|
3
|
-
@include usa-sidenav-list;
|
4
|
-
border-bottom: 1px solid;
|
5
|
-
border-top: 1px solid;
|
6
|
-
|
7
|
-
@include media($large-screen) {
|
8
|
-
border-bottom: none;
|
9
|
-
border-top: none;
|
10
|
-
}
|
11
|
-
|
12
|
-
.usa-grid & {
|
13
|
-
@include margin(null (-$site-margins-mobile) null (-$site-margins-mobile));
|
14
|
-
|
15
|
-
@include media($medium-screen) {
|
16
|
-
@include margin(null 0);
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
.usa-sidenav-sub_list {
|
22
|
-
@include usa-sidenav-sublist;
|
23
|
-
}
|
24
|
-
|
25
|
-
.usa-layout-docs-sidenav {
|
26
|
-
padding-top: 2.4rem;
|
27
|
-
|
28
|
-
@include media($large-screen) {
|
29
|
-
padding-top: 0;
|
30
|
-
}
|
31
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
.usa-skipnav {
|
2
|
-
background: transparent;
|
3
|
-
color: $color-base;
|
4
|
-
left: 0;
|
5
|
-
padding: 1rem 1.5rem;
|
6
|
-
position: absolute;
|
7
|
-
top: -4.2rem;
|
8
|
-
transition: all 0.2s ease-in-out;
|
9
|
-
z-index: 100;
|
10
|
-
|
11
|
-
&:focus {
|
12
|
-
background: $color-white;
|
13
|
-
left: 0;
|
14
|
-
outline: 0;
|
15
|
-
position: absolute;
|
16
|
-
top: 0;
|
17
|
-
transition: all 0.2s ease-in-out;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
// Apply a natural box layout model to all elements, but allowing components to
|
2
|
-
// change
|
3
|
-
|
4
|
-
html {
|
5
|
-
box-sizing: border-box;
|
6
|
-
}
|
7
|
-
|
8
|
-
*,
|
9
|
-
*::before,
|
10
|
-
*::after {
|
11
|
-
box-sizing: inherit;
|
12
|
-
}
|
13
|
-
|
14
|
-
body {
|
15
|
-
background-color: $color-white;
|
16
|
-
overflow-x: hidden;
|
17
|
-
}
|
18
|
-
|
19
|
-
// Hack for clearfixes
|
20
|
-
.lt-ie9 {
|
21
|
-
* {
|
22
|
-
filter: none !important; /* stylelint-disable-line declaration-no-important */
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
// for IE < 11, see:
|
27
|
-
// <http://caniuse.com/#feat=hidden>
|
28
|
-
[hidden] {
|
29
|
-
display: none !important; /* stylelint-disable-line declaration-no-important */
|
30
|
-
}
|
31
|
-
|
32
|
-
*:focus,
|
33
|
-
.usa-focus {
|
34
|
-
@include focus;
|
35
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
// XXX This file has been deprecated in favor of _variables.scss, and is no
|
2
|
-
// longer relevant. Instead, set any variables that you wish to override, then
|
3
|
-
// @import '{path/to/uswds/}core/variables';
|
4
|
-
|
5
|
-
// For backwards compatibility with consumers of _defaults.scss, we just
|
6
|
-
// re-import _variables here. This should be a noop if it has already been
|
7
|
-
// imported, since every variable is declared with `!default`.
|
8
|
-
@import './variables';
|
@@ -1,65 +0,0 @@
|
|
1
|
-
/* stylelint-disable at-rule-empty-line-before */
|
2
|
-
@include font-face(
|
3
|
-
'Source Sans Pro',
|
4
|
-
'#{$font-path}/sourcesanspro-light-webfont',
|
5
|
-
300,
|
6
|
-
normal,
|
7
|
-
$file-formats: eot woff2 woff ttf
|
8
|
-
);
|
9
|
-
|
10
|
-
@include font-face(
|
11
|
-
'Source Sans Pro',
|
12
|
-
'#{$font-path}/sourcesanspro-regular-webfont',
|
13
|
-
400,
|
14
|
-
normal,
|
15
|
-
$file-formats: eot woff2 woff ttf
|
16
|
-
);
|
17
|
-
|
18
|
-
@include font-face(
|
19
|
-
'Source Sans Pro',
|
20
|
-
'#{$font-path}/sourcesanspro-italic-webfont',
|
21
|
-
400,
|
22
|
-
italic,
|
23
|
-
$file-formats: eot woff2 woff ttf
|
24
|
-
);
|
25
|
-
|
26
|
-
@include font-face(
|
27
|
-
'Source Sans Pro',
|
28
|
-
'#{$font-path}/sourcesanspro-bold-webfont',
|
29
|
-
700,
|
30
|
-
normal,
|
31
|
-
$file-formats: eot woff2 woff ttf
|
32
|
-
);
|
33
|
-
|
34
|
-
@include font-face(
|
35
|
-
'Merriweather',
|
36
|
-
'#{$font-path}/merriweather-light-webfont',
|
37
|
-
300,
|
38
|
-
normal,
|
39
|
-
$file-formats: eot woff2 woff ttf
|
40
|
-
);
|
41
|
-
|
42
|
-
@include font-face(
|
43
|
-
'Merriweather',
|
44
|
-
'#{$font-path}/merriweather-regular-webfont',
|
45
|
-
400,
|
46
|
-
normal,
|
47
|
-
$file-formats: eot woff2 woff ttf
|
48
|
-
);
|
49
|
-
|
50
|
-
@include font-face(
|
51
|
-
'Merriweather',
|
52
|
-
'#{$font-path}/merriweather-italic-webfont',
|
53
|
-
400,
|
54
|
-
italic,
|
55
|
-
$file-formats: eot woff2 woff ttf
|
56
|
-
);
|
57
|
-
|
58
|
-
@include font-face(
|
59
|
-
'Merriweather',
|
60
|
-
'#{$font-path}/merriweather-bold-webfont',
|
61
|
-
700,
|
62
|
-
normal,
|
63
|
-
$file-formats: eot woff2 woff ttf
|
64
|
-
);
|
65
|
-
/* stylelint-enable */
|
@@ -1,199 +0,0 @@
|
|
1
|
-
// Grid container
|
2
|
-
.usa-grid,
|
3
|
-
.usa-grid-full {
|
4
|
-
@include outer-container();
|
5
|
-
max-width: $site-max-width;
|
6
|
-
}
|
7
|
-
|
8
|
-
.usa-grid {
|
9
|
-
@include padding(null $site-margins-mobile);
|
10
|
-
|
11
|
-
@include media($medium-screen) {
|
12
|
-
@include padding(null $site-margins);
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.usa-grid-full {
|
17
|
-
padding: 0;
|
18
|
-
}
|
19
|
-
|
20
|
-
// Grid items
|
21
|
-
@include media($medium) {
|
22
|
-
.usa-width-one-whole {
|
23
|
-
@include span-columns(6);
|
24
|
-
}
|
25
|
-
|
26
|
-
.usa-width-one-half {
|
27
|
-
@include span-columns(3);
|
28
|
-
}
|
29
|
-
|
30
|
-
.usa-width-one-third {
|
31
|
-
@include span-columns(2);
|
32
|
-
}
|
33
|
-
|
34
|
-
.usa-width-two-thirds {
|
35
|
-
@include span-columns(4);
|
36
|
-
}
|
37
|
-
|
38
|
-
.usa-width-one-fourth {
|
39
|
-
@include span-columns(3);
|
40
|
-
|
41
|
-
&:nth-child(2n) {
|
42
|
-
margin-right: 0;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
.usa-width-three-fourths {
|
47
|
-
@include span-columns(6);
|
48
|
-
}
|
49
|
-
|
50
|
-
.usa-width-one-sixth {
|
51
|
-
@include span-columns(2);
|
52
|
-
|
53
|
-
&:nth-child(3n) {
|
54
|
-
margin-right: 0;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
.usa-width-five-sixths {
|
59
|
-
@include span-columns(4);
|
60
|
-
}
|
61
|
-
|
62
|
-
.usa-width-one-twelfth {
|
63
|
-
@include span-columns(2);
|
64
|
-
|
65
|
-
&:nth-child(3n) {
|
66
|
-
margin-right: 0;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
.usa-width-five-twelfths {
|
71
|
-
@include span-columns(2);
|
72
|
-
}
|
73
|
-
|
74
|
-
.usa-width-seven-twelfths {
|
75
|
-
@include span-columns(4);
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
@include media($large) {
|
80
|
-
.usa-width-one-whole {
|
81
|
-
@include span-columns(12);
|
82
|
-
}
|
83
|
-
|
84
|
-
.usa-width-one-half {
|
85
|
-
@include span-columns(6);
|
86
|
-
}
|
87
|
-
|
88
|
-
.usa-width-one-third {
|
89
|
-
@include span-columns(4);
|
90
|
-
}
|
91
|
-
|
92
|
-
.usa-width-two-thirds {
|
93
|
-
@include span-columns(8);
|
94
|
-
}
|
95
|
-
|
96
|
-
.usa-width-one-fourth {
|
97
|
-
@include span-columns(3);
|
98
|
-
|
99
|
-
&:nth-child(2n) {
|
100
|
-
@include span-columns(3);
|
101
|
-
}
|
102
|
-
|
103
|
-
&:nth-child(4n) {
|
104
|
-
margin-right: 0;
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
.usa-width-three-fourths {
|
109
|
-
@include span-columns(9);
|
110
|
-
}
|
111
|
-
|
112
|
-
.usa-width-one-sixth {
|
113
|
-
@include span-columns(2);
|
114
|
-
|
115
|
-
&:nth-child(3n) {
|
116
|
-
@include span-columns(2);
|
117
|
-
}
|
118
|
-
|
119
|
-
&:nth-child(6n) {
|
120
|
-
margin-right: 0;
|
121
|
-
}
|
122
|
-
}
|
123
|
-
|
124
|
-
.usa-width-five-sixths {
|
125
|
-
@include span-columns(10);
|
126
|
-
}
|
127
|
-
|
128
|
-
.usa-width-one-twelfth {
|
129
|
-
@include span-columns(1);
|
130
|
-
|
131
|
-
&:nth-child(3n) {
|
132
|
-
@include span-columns(1);
|
133
|
-
}
|
134
|
-
|
135
|
-
&:nth-child(12n) {
|
136
|
-
margin-right: 0;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
|
140
|
-
.usa-width-five-twelfths {
|
141
|
-
@include span-columns(5);
|
142
|
-
}
|
143
|
-
|
144
|
-
.usa-width-seven-twelfths {
|
145
|
-
@include span-columns(7);
|
146
|
-
}
|
147
|
-
}
|
148
|
-
|
149
|
-
// Specifies end of a row.
|
150
|
-
// Required if grid-box contains multiple rows.
|
151
|
-
// Required if browser does not support :last-child
|
152
|
-
.usa-end-row {
|
153
|
-
@include omega();
|
154
|
-
}
|
155
|
-
|
156
|
-
// Grid Offsets
|
157
|
-
.usa-offset-one-twelfth {
|
158
|
-
@include shift(1 of 12);
|
159
|
-
}
|
160
|
-
|
161
|
-
.usa-offset-one-sixth {
|
162
|
-
@include shift(2 of 12);
|
163
|
-
}
|
164
|
-
|
165
|
-
.usa-offset-one-fourth {
|
166
|
-
@include shift(3 of 12);
|
167
|
-
}
|
168
|
-
|
169
|
-
.usa-offset-one-third {
|
170
|
-
@include shift(4 of 12);
|
171
|
-
}
|
172
|
-
|
173
|
-
.usa-offset-five-twelfths {
|
174
|
-
@include shift(5 of 12);
|
175
|
-
}
|
176
|
-
|
177
|
-
.usa-offset-one-half {
|
178
|
-
@include shift(6 of 12);
|
179
|
-
}
|
180
|
-
|
181
|
-
.usa-offset-seven-twelfths {
|
182
|
-
@include shift(7 of 12);
|
183
|
-
}
|
184
|
-
|
185
|
-
.usa-offset-two-thirds {
|
186
|
-
@include shift(8 of 12);
|
187
|
-
}
|
188
|
-
|
189
|
-
.usa-offset-three-fourths {
|
190
|
-
@include shift(9 of 12);
|
191
|
-
}
|
192
|
-
|
193
|
-
.usa-offset-five-sixths {
|
194
|
-
@include shift(10 of 12);
|
195
|
-
}
|
196
|
-
|
197
|
-
.usa-offset-eleven-twelfths {
|
198
|
-
@include shift(11 of 12);
|
199
|
-
}
|