jekyll-theme-primer 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.md +1 -1
- data/README.md +39 -13
- data/_includes/head-custom-google-analytics.html +10 -0
- data/_includes/head-custom.html +9 -0
- data/_layouts/default.html +7 -5
- data/_layouts/home.html +4 -0
- data/_layouts/page.html +4 -0
- data/_layouts/post.html +4 -0
- data/_sass/primer-base/lib/base.scss +17 -0
- data/_sass/primer-base/lib/normalize.scss +2 -4
- data/_sass/primer-layout/lib/grid-offset.scss +12 -23
- data/_sass/primer-markdown/lib/code.scss +3 -16
- data/_sass/primer-markdown/lib/lists.scss +5 -1
- data/_sass/primer-markdown/lib/markdown-body.scss +1 -1
- data/_sass/primer-support/lib/mixins/buttons.scss +13 -9
- data/_sass/primer-support/lib/mixins/layout.scss +18 -12
- data/_sass/primer-support/lib/variables/layout.scss +15 -1
- data/_sass/primer-support/lib/variables/misc.scss +1 -1
- data/_sass/primer-utilities/index.scss +1 -0
- data/_sass/primer-utilities/lib/animations.scss +33 -2
- data/_sass/primer-utilities/lib/borders.scss +75 -38
- data/_sass/primer-utilities/lib/details.scss +18 -0
- data/_sass/primer-utilities/lib/flexbox.scss +45 -73
- data/_sass/primer-utilities/lib/layout.scss +16 -27
- data/_sass/primer-utilities/lib/margin.scss +42 -75
- data/_sass/primer-utilities/lib/padding.scss +26 -56
- data/_sass/primer-utilities/lib/typography.scss +22 -23
- data/_sass/primer-utilities/lib/visibility-display.scss +21 -45
- data/_sass/primer.scss +4 -0
- metadata +71 -72
- data/_sass/primer-base/LICENSE +0 -21
- data/_sass/primer-base/README.md +0 -48
- data/_sass/primer-base/build/build.css +0 -1
- data/_sass/primer-base/build/index.js +0 -1
- data/_sass/primer-base/package.json +0 -68
- data/_sass/primer-layout/LICENSE +0 -21
- data/_sass/primer-layout/README.md +0 -137
- data/_sass/primer-layout/build/build.css +0 -1
- data/_sass/primer-layout/build/index.js +0 -1
- data/_sass/primer-layout/package.json +0 -65
- data/_sass/primer-markdown/LICENSE +0 -21
- data/_sass/primer-markdown/README.md +0 -218
- data/_sass/primer-markdown/build/build.css +0 -1
- data/_sass/primer-markdown/build/index.js +0 -1
- data/_sass/primer-markdown/package.json +0 -69
- data/_sass/primer-support/LICENSE +0 -21
- data/_sass/primer-support/README.md +0 -42
- data/_sass/primer-support/package.json +0 -66
- data/_sass/primer-utilities/LICENSE +0 -21
- data/_sass/primer-utilities/README.md +0 -48
- data/_sass/primer-utilities/build/build.css +0 -1
- data/_sass/primer-utilities/build/index.js +0 -1
- data/_sass/primer-utilities/package.json +0 -65
- data/assets/javascript/anchor-js/.eslintrc +0 -77
- data/assets/javascript/anchor-js/.gitattributes +0 -2
- data/assets/javascript/anchor-js/.npmignore +0 -4
- data/assets/javascript/anchor-js/.travis.yml +0 -6
- data/assets/javascript/anchor-js/anchor.js +0 -334
- data/assets/javascript/anchor-js/anchor.min.js +0 -6
- data/assets/javascript/anchor-js/banner.js +0 -17
- data/assets/javascript/anchor-js/docs/anchor.js +0 -334
- data/assets/javascript/anchor-js/docs/favicon.ico +0 -0
- data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.eot +0 -0
- data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.svg +0 -11
- data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.ttf +0 -0
- data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.woff +0 -0
- data/assets/javascript/anchor-js/docs/fonts/fonts.css +0 -24
- data/assets/javascript/anchor-js/docs/grunticon/grunticon.loader.js +0 -3
- data/assets/javascript/anchor-js/docs/grunticon/icons.data.png.css +0 -5
- data/assets/javascript/anchor-js/docs/grunticon/icons.data.svg.css +0 -5
- data/assets/javascript/anchor-js/docs/grunticon/icons.fallback.css +0 -5
- data/assets/javascript/anchor-js/docs/grunticon/png/grunticon-link.png +0 -0
- data/assets/javascript/anchor-js/docs/grunticon/preview.html +0 -33
- data/assets/javascript/anchor-js/docs/img/anchoring-links.png +0 -0
- data/assets/javascript/anchor-js/docs/img/anchorjs_logo.png +0 -0
- data/assets/javascript/anchor-js/docs/img/anchorlinks2.png +0 -0
- data/assets/javascript/anchor-js/docs/img/gh-link.svg +0 -9
- data/assets/javascript/anchor-js/docs/img/gh_link.svg +0 -9
- data/assets/javascript/anchor-js/docs/img/hyperlink.svg +0 -9
- data/assets/javascript/anchor-js/docs/img/link.svg +0 -6
- data/assets/javascript/anchor-js/docs/img/mini-logo.png +0 -0
- data/assets/javascript/anchor-js/docs/img/primer-md.png +0 -0
- data/assets/javascript/anchor-js/docs/index.html +0 -807
- data/assets/javascript/anchor-js/docs/scripts.js +0 -12
- data/assets/javascript/anchor-js/docs/styles.css +0 -493
@@ -1,86 +1,53 @@
|
|
1
1
|
// Margin spacer utilities
|
2
2
|
// stylelint-disable block-opening-brace-space-before, declaration-colon-space-before, primer/selector-no-utility, comment-empty-line-before
|
3
|
-
@for $i from 1 through length($spacers) {
|
4
|
-
$size: #{nth($spacers, $i)};
|
5
|
-
$scale: #{$i - 1};
|
6
|
-
|
7
|
-
/* Set a #{$size} margin to all sides */
|
8
|
-
.m-#{$scale} { margin : #{$size} !important; }
|
9
|
-
/* Set a #{$size} margin on the top */
|
10
|
-
.mt-#{$scale} { margin-top : #{$size} !important; }
|
11
|
-
/* Set a #{$size} margin on the right */
|
12
|
-
.mr-#{$scale} { margin-right : #{$size} !important; }
|
13
|
-
/* Set a #{$size} margin on the bottom */
|
14
|
-
.mb-#{$scale} { margin-bottom: #{$size} !important; }
|
15
|
-
/* Set a #{$size} margin on the left */
|
16
|
-
.ml-#{$scale} { margin-left : #{$size} !important; }
|
17
|
-
/* Set a negative #{$size} margin on top */
|
18
|
-
.mt-n#{$scale} { margin-top : -#{$size} !important; }
|
19
|
-
/* Set a negative #{$size} margin on the right */
|
20
|
-
.mr-n#{$scale} { margin-right : -#{$size} !important; }
|
21
|
-
/* Set a negative #{$size} margin on the bottom */
|
22
|
-
.mb-n#{$scale} { margin-bottom: -#{$size} !important; }
|
23
|
-
/* Set a negative #{$size} margin on the left */
|
24
|
-
.ml-n#{$scale} { margin-left : -#{$size} !important; }
|
25
|
-
|
26
|
-
/* Set a #{$size} margin on the left & right */
|
27
|
-
.mx-#{$scale} {
|
28
|
-
margin-right: #{$size} !important;
|
29
|
-
margin-left : #{$size} !important;
|
30
|
-
}
|
31
|
-
|
32
|
-
/* Set a #{$size} margin on the top & bottom */
|
33
|
-
.my-#{$scale} {
|
34
|
-
margin-top : #{$size} !important;
|
35
|
-
margin-bottom: #{$size} !important;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
/* Set an auto margin on left & right */
|
40
|
-
.mx-auto {
|
41
|
-
margin-right: auto !important;
|
42
|
-
margin-left: auto !important;
|
43
|
-
}
|
44
3
|
|
45
4
|
// Loop through the breakpoint values
|
46
|
-
@each $breakpoint in
|
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
|
-
|
5
|
+
@each $breakpoint, $variant in $responsive-variants {
|
6
|
+
@include breakpoint($breakpoint) {
|
7
|
+
// Loop through the spacer values
|
8
|
+
@for $i from 1 through length($spacers) {
|
9
|
+
$size: nth($spacers, $i); // sm, md, lg, xl
|
10
|
+
$scale: $i - 1; // 0, 1, 2, 3, 4, 5, 6
|
11
|
+
|
12
|
+
/* Set a $size margin to all sides at $breakpoint */
|
13
|
+
.m#{$variant}-#{$scale} { margin: $size !important; }
|
14
|
+
/* Set a $size margin on the top at $breakpoint */
|
15
|
+
.mt#{$variant}-#{$scale} { margin-top: $size !important; }
|
16
|
+
/* Set a $size margin on the right at $breakpoint */
|
17
|
+
.mr#{$variant}-#{$scale} { margin-right: $size !important; }
|
18
|
+
/* Set a $size margin on the bottom at $breakpoint */
|
19
|
+
.mb#{$variant}-#{$scale} { margin-bottom: $size !important; }
|
20
|
+
/* Set a $size margin on the left at $breakpoint */
|
21
|
+
.ml#{$variant}-#{$scale} { margin-left: $size !important; }
|
22
|
+
|
23
|
+
@if ($size != 0) {
|
24
|
+
/* Set a negative $size margin on top at $breakpoint */
|
25
|
+
.mt#{$variant}-n#{$scale} { margin-top : -$size !important; }
|
26
|
+
/* Set a negative $size margin on the right at $breakpoint */
|
27
|
+
.mr#{$variant}-n#{$scale} { margin-right : -$size !important; }
|
28
|
+
/* Set a negative $size margin on the bottom at $breakpoint */
|
29
|
+
.mb#{$variant}-n#{$scale} { margin-bottom: -$size !important; }
|
30
|
+
/* Set a negative $size margin on the left at $breakpoint */
|
31
|
+
.ml#{$variant}-n#{$scale} { margin-left : -$size !important; }
|
32
|
+
}
|
72
33
|
|
73
|
-
/* Set a
|
74
|
-
.mx
|
75
|
-
margin-right:
|
76
|
-
margin-left:
|
34
|
+
/* Set a $size margin on the left & right at $breakpoint */
|
35
|
+
.mx#{$variant}-#{$scale} {
|
36
|
+
margin-right: $size !important;
|
37
|
+
margin-left: $size !important;
|
77
38
|
}
|
78
39
|
|
79
|
-
/* Set a
|
80
|
-
.my
|
81
|
-
margin-top:
|
82
|
-
margin-bottom:
|
40
|
+
/* Set a $size margin on the top & bottom at $breakpoint */
|
41
|
+
.my#{$variant}-#{$scale} {
|
42
|
+
margin-top: $size !important;
|
43
|
+
margin-bottom: $size !important;
|
83
44
|
}
|
84
45
|
}
|
46
|
+
|
47
|
+
/* responsive horizontal auto margins */
|
48
|
+
.mx#{$variant}-auto {
|
49
|
+
margin-right: auto !important;
|
50
|
+
margin-left: auto !important;
|
51
|
+
}
|
85
52
|
}
|
86
53
|
}
|
@@ -1,66 +1,36 @@
|
|
1
1
|
// Padding spacer utilities
|
2
2
|
// stylelint-disable block-opening-brace-space-before, declaration-colon-space-before
|
3
3
|
// stylelint-disable comment-empty-line-before
|
4
|
-
@for $i from 1 through length($spacers) {
|
5
|
-
$size: #{nth($spacers, $i)};
|
6
|
-
$scale: #{$i - 1};
|
7
|
-
|
8
|
-
/* Set a #{$size} padding to all sides */
|
9
|
-
.p-#{$scale} { padding : #{$size} !important; }
|
10
|
-
/* Set a #{$size} padding to the top */
|
11
|
-
.pt-#{$scale} { padding-top : #{$size} !important; }
|
12
|
-
/* Set a #{$size} padding to the right */
|
13
|
-
.pr-#{$scale} { padding-right : #{$size} !important; }
|
14
|
-
/* Set a #{$size} padding to the bottom */
|
15
|
-
.pb-#{$scale} { padding-bottom: #{$size} !important; }
|
16
|
-
/* Set a #{$size} padding to the left */
|
17
|
-
.pl-#{$scale} { padding-left : #{$size} !important; }
|
18
|
-
|
19
|
-
/* Set a #{$size} padding to the left & right */
|
20
|
-
.px-#{$scale} {
|
21
|
-
padding-right: #{$size} !important;
|
22
|
-
padding-left: #{$size} !important;
|
23
|
-
}
|
24
|
-
|
25
|
-
/* Set a #{$size} padding to the top & bottom */
|
26
|
-
.py-#{$scale} {
|
27
|
-
padding-top: #{$size} !important;
|
28
|
-
padding-bottom: #{$size} !important;
|
29
|
-
}
|
30
|
-
}
|
31
4
|
|
32
5
|
// Responsive padding spacer utilities
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
$size
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
/* Set a
|
52
|
-
.
|
53
|
-
|
54
|
-
|
55
|
-
.px-#{$breakpoint}-#{$scale} {
|
56
|
-
padding-right: #{$size} !important;
|
57
|
-
padding-left: #{$size} !important;
|
6
|
+
@each $breakpoint, $variant in $responsive-variants {
|
7
|
+
@include breakpoint($breakpoint) {
|
8
|
+
// Loop through the spacer values
|
9
|
+
@for $i from 1 through length($spacers) {
|
10
|
+
$size: nth($spacers, $i); // xs, sm, md, lg, xl
|
11
|
+
$scale: $i - 1; // 0, 1, 2, 3, 4, 5, 6
|
12
|
+
|
13
|
+
/* Set a $size padding to all sides at $breakpoint */
|
14
|
+
.p#{$variant}-#{$scale} { padding: $size !important; }
|
15
|
+
/* Set a $size padding to the top at $breakpoint */
|
16
|
+
.pt#{$variant}-#{$scale} { padding-top: $size !important; }
|
17
|
+
/* Set a $size padding to the right at $breakpoint */
|
18
|
+
.pr#{$variant}-#{$scale} { padding-right: $size !important; }
|
19
|
+
/* Set a $size padding to the bottom at $breakpoint */
|
20
|
+
.pb#{$variant}-#{$scale} { padding-bottom: $size !important; }
|
21
|
+
/* Set a $size padding to the left at $breakpoint */
|
22
|
+
.pl#{$variant}-#{$scale} { padding-left: $size !important; }
|
23
|
+
|
24
|
+
/* Set a $size padding to the left & right at $breakpoint */
|
25
|
+
.px#{$variant}-#{$scale} {
|
26
|
+
padding-right: $size !important;
|
27
|
+
padding-left: $size !important;
|
58
28
|
}
|
59
29
|
|
60
|
-
/* Set a
|
61
|
-
.py
|
62
|
-
padding-top:
|
63
|
-
padding-bottom:
|
30
|
+
/* Set a $size padding to the top & bottom at $breakpoint */
|
31
|
+
.py#{$variant}-#{$scale} {
|
32
|
+
padding-top: $size !important;
|
33
|
+
padding-bottom: $size !important;
|
64
34
|
}
|
65
35
|
}
|
66
36
|
}
|
@@ -20,7 +20,6 @@
|
|
20
20
|
font-size: $h1-size-mobile !important;
|
21
21
|
|
22
22
|
@include breakpoint(md) { font-size: $h1-size !important; }
|
23
|
-
|
24
23
|
}
|
25
24
|
|
26
25
|
/* Set the font size to 22px */
|
@@ -35,13 +34,11 @@
|
|
35
34
|
font-size: $h3-size-mobile !important;
|
36
35
|
|
37
36
|
@include breakpoint(md) { font-size: $h3-size !important; }
|
38
|
-
|
39
37
|
}
|
40
38
|
|
41
39
|
/* Set the font size to #{$h4-size} */
|
42
40
|
.h4 {
|
43
41
|
font-size: $h4-size !important;
|
44
|
-
|
45
42
|
}
|
46
43
|
|
47
44
|
/* Set the font size to #{$h5-size} */
|
@@ -61,7 +58,6 @@
|
|
61
58
|
font-size: $h1-size-mobile !important;
|
62
59
|
|
63
60
|
@include breakpoint(md) { font-size: $h1-size !important; }
|
64
|
-
|
65
61
|
}
|
66
62
|
|
67
63
|
/* Set the font size to 22px */
|
@@ -76,7 +72,6 @@
|
|
76
72
|
font-size: $h3-size-mobile !important;
|
77
73
|
|
78
74
|
@include breakpoint(md) { font-size: $h3-size !important; }
|
79
|
-
|
80
75
|
}
|
81
76
|
|
82
77
|
/* Set the font size to #{$h4-size} */
|
@@ -84,7 +79,6 @@
|
|
84
79
|
font-size: $h4-size !important;
|
85
80
|
|
86
81
|
@include breakpoint(md) { font-size: $h4-size !important; }
|
87
|
-
|
88
82
|
}
|
89
83
|
|
90
84
|
/* Set the font size to #{$h5-size} */
|
@@ -99,7 +93,6 @@
|
|
99
93
|
font-weight: $font-weight-light !important;
|
100
94
|
|
101
95
|
@include breakpoint(md) { font-size: $h00-size !important; }
|
102
|
-
|
103
96
|
}
|
104
97
|
|
105
98
|
/* Set the font size to 32px and weight to light */
|
@@ -108,7 +101,6 @@
|
|
108
101
|
font-weight: $font-weight-light !important;
|
109
102
|
|
110
103
|
@include breakpoint(md) { font-size: $h0-size !important; }
|
111
|
-
|
112
104
|
}
|
113
105
|
|
114
106
|
/* Set the font size to 26px and weight to light */
|
@@ -117,7 +109,6 @@
|
|
117
109
|
font-weight: $font-weight-light !important;
|
118
110
|
|
119
111
|
@include breakpoint(md) { font-size: $h1-size !important; }
|
120
|
-
|
121
112
|
}
|
122
113
|
|
123
114
|
/* Set the font size to 22px and weight to light */
|
@@ -126,8 +117,8 @@
|
|
126
117
|
font-weight: $font-weight-light !important;
|
127
118
|
|
128
119
|
@include breakpoint(md) { font-size: $h2-size !important; }
|
129
|
-
|
130
120
|
}
|
121
|
+
|
131
122
|
// Same size and weight as .lead but without color property
|
132
123
|
/* Set the font size to 18px and weight to light */
|
133
124
|
.f3-light {
|
@@ -135,7 +126,6 @@
|
|
135
126
|
font-weight: $font-weight-light !important;
|
136
127
|
|
137
128
|
@include breakpoint(md) { font-size: $h3-size !important; }
|
138
|
-
|
139
129
|
}
|
140
130
|
|
141
131
|
// Smallest text size
|
@@ -160,22 +150,19 @@
|
|
160
150
|
.lh-condensed { line-height: $lh-condensed !important; }
|
161
151
|
/* Set the line height to default */
|
162
152
|
.lh-default { line-height: $lh-default !important; }
|
153
|
+
/* Set the line height to zero */
|
154
|
+
.lh-0 { line-height: 0 !important; }
|
163
155
|
|
164
156
|
// Text alignments
|
165
|
-
/* Text align to the right */
|
166
|
-
.text-right { text-align: right !important; }
|
167
|
-
/* Text align to the left */
|
168
|
-
.text-left { text-align: left !important; }
|
169
|
-
/* Text align to the center */
|
170
|
-
.text-center { text-align: center !important; }
|
171
|
-
|
172
157
|
// Responsive text alignment
|
173
|
-
|
174
|
-
@each $breakpoint in map-keys($breakpoints) {
|
158
|
+
@each $breakpoint, $variant in $responsive-variants {
|
175
159
|
@include breakpoint($breakpoint) {
|
176
|
-
|
177
|
-
.text
|
178
|
-
|
160
|
+
/* Text align to the right */
|
161
|
+
.text#{$variant}-right { text-align: right !important; }
|
162
|
+
/* Text align to the left */
|
163
|
+
.text#{$variant}-left { text-align: left !important; }
|
164
|
+
/* Text align to the center */
|
165
|
+
.text#{$variant}-center { text-align: center !important; }
|
179
166
|
}
|
180
167
|
}
|
181
168
|
|
@@ -189,6 +176,8 @@
|
|
189
176
|
/* Make text uppercase */
|
190
177
|
.text-uppercase { text-transform: uppercase !important; }
|
191
178
|
/* Underline text */
|
179
|
+
.text-underline { text-decoration: underline !important; }
|
180
|
+
/* Don't underline text */
|
192
181
|
.no-underline { text-decoration: none !important; }
|
193
182
|
/* Don't wrap white space */
|
194
183
|
.no-wrap { white-space: nowrap !important; }
|
@@ -214,3 +203,13 @@
|
|
214
203
|
.text-shadow-light {
|
215
204
|
text-shadow: 0 1px 0 rgba($white, 0.5);
|
216
205
|
}
|
206
|
+
|
207
|
+
/* Set to monospace font */
|
208
|
+
.text-mono {
|
209
|
+
font-family: $mono-font;
|
210
|
+
}
|
211
|
+
|
212
|
+
/* Disallow user from selecting text */
|
213
|
+
.user-select-none {
|
214
|
+
user-select: none !important;
|
215
|
+
}
|
@@ -2,56 +2,29 @@
|
|
2
2
|
// stylelint-disable block-opening-brace-space-after, block-opening-brace-space-before, primer/selector-no-utility
|
3
3
|
// stylelint-disable comment-empty-line-before
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.d-table-cell { display: table-cell !important; }
|
16
|
-
/* Set the table-layout to fixed */
|
17
|
-
.table-fixed { table-layout: fixed !important; }
|
18
|
-
|
19
|
-
/* Set the display to block */
|
20
|
-
.d-block { display: block !important; }
|
21
|
-
/* Set the display to inline */
|
22
|
-
.d-inline { display: inline !important; }
|
23
|
-
/* Set the display to inline-block */
|
24
|
-
.d-inline-block { display: inline-block !important; }
|
25
|
-
/* Set the display to flex */
|
26
|
-
.d-flex { display: flex !important; }
|
27
|
-
/* Set the display to inline-flex */
|
28
|
-
.d-inline-flex { display: inline-flex !important; }
|
29
|
-
/* Set the display to none */
|
30
|
-
.d-none { display: none !important; }
|
5
|
+
$display-values: (
|
6
|
+
block,
|
7
|
+
flex,
|
8
|
+
inline,
|
9
|
+
inline-block,
|
10
|
+
inline-flex,
|
11
|
+
none,
|
12
|
+
table,
|
13
|
+
table-cell
|
14
|
+
);
|
31
15
|
|
32
|
-
// Responsive display
|
33
|
-
|
34
|
-
@each $breakpoint in map-keys($breakpoints) {
|
16
|
+
// Responsive display utilities
|
17
|
+
@each $breakpoint, $variant in $responsive-variants {
|
35
18
|
@include breakpoint($breakpoint) {
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
.d-#{$breakpoint}-table-cell { display: table-cell !important; }
|
40
|
-
/* Set the display to block at the #{$breakpoint} breakpoint */
|
41
|
-
.d-#{$breakpoint}-block { display: block !important; }
|
42
|
-
/* Set the display to inline at the #{$breakpoint} breakpoint */
|
43
|
-
.d-#{$breakpoint}-inline { display: inline !important; }
|
44
|
-
/* Set the display to inline block at the #{$breakpoint} breakpoint */
|
45
|
-
.d-#{$breakpoint}-inline-block { display: inline-block !important; }
|
46
|
-
/* Set the display to flex at the #{$breakpoint} breakpoint */
|
47
|
-
.d-#{$breakpoint}-flex { display: flex !important; }
|
48
|
-
/* Set the display to flex at the #{$breakpoint} breakpoint */
|
49
|
-
.d-#{$breakpoint}-inline-flex { display: inline-flex !important; }
|
50
|
-
/* Set the display to none at the #{$breakpoint} breakpoint */
|
51
|
-
.d-#{$breakpoint}-none { display: none !important; }
|
19
|
+
@each $display in $display-values {
|
20
|
+
.d#{$variant}-#{$display} { display: $display !important; }
|
21
|
+
}
|
52
22
|
}
|
53
23
|
}
|
54
24
|
|
25
|
+
.v-hidden { visibility: hidden !important; }
|
26
|
+
.v-visible { visibility: visible !important; }
|
27
|
+
|
55
28
|
// Hide utilities for each breakpoint
|
56
29
|
// Each hide utility only applies to one breakpoint range.
|
57
30
|
@media (max-width: $width-sm) {
|
@@ -78,6 +51,9 @@
|
|
78
51
|
}
|
79
52
|
}
|
80
53
|
|
54
|
+
/* Set the table-layout to fixed */
|
55
|
+
.table-fixed { table-layout: fixed !important; }
|
56
|
+
|
81
57
|
// Only display content to screen readers
|
82
58
|
//
|
83
59
|
// See: http://a11yproject.com/posts/how-to-hide-content/
|
data/_sass/primer.scss
ADDED