jekyll-theme-centos 2.51.0 → 2.51.1.beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +34 -93
  3. data/_layouts/base/default.html +8 -8
  4. data/assets/icons/android-chrome-192.png +0 -0
  5. data/assets/icons/android-chrome-512.png +0 -0
  6. data/assets/icons/apple-touch-icon.png +0 -0
  7. data/assets/icons/favicon-16.png +0 -0
  8. data/assets/icons/favicon-32.png +0 -0
  9. data/assets/icons/favicon.ico +0 -0
  10. metadata +4 -172
  11. data/_data/download/cards.yml +0 -309
  12. data/_data/download/navbar.yml +0 -11
  13. data/_data/people/navbar.yml +0 -11
  14. data/_data/people/projects.yml +0 -18
  15. data/_data/sponsors/carousel.yml +0 -38
  16. data/_data/sponsors/navbar.yml +0 -6
  17. data/_includes/download/cards-body-commands.html +0 -7
  18. data/_includes/download/cards-body-documentation.html +0 -11
  19. data/_includes/download/cards-body-eol.html +0 -15
  20. data/_includes/download/cards-body-mirrors.html +0 -8
  21. data/_includes/download/cards-body-screenshots.html +0 -32
  22. data/_includes/download/cards-footer.html +0 -3
  23. data/_includes/download/cards-header-commands.html +0 -8
  24. data/_includes/download/cards-header-documentation.html +0 -8
  25. data/_includes/download/cards-header-eol.html +0 -8
  26. data/_includes/download/cards-header-mirrors.html +0 -13
  27. data/_includes/download/cards-header-screenshots.html +0 -8
  28. data/_includes/download/cards.html +0 -119
  29. data/_includes/home/distributions.html +0 -26
  30. data/_includes/home/header.html +0 -10
  31. data/_includes/home/news-and-events.html +0 -29
  32. data/_includes/home/planet.html +0 -26
  33. data/_includes/home/sponsors.html +0 -64
  34. data/_includes/hr.html +0 -6
  35. data/_includes/people/header.html +0 -7
  36. data/_includes/people/posts.html +0 -38
  37. data/_includes/people/projects.html +0 -16
  38. data/_includes/people/pubkeys.html +0 -30
  39. data/_includes/people/support.html +0 -27
  40. data/_includes/post-nav-explorer.html +0 -23
  41. data/_includes/post-nav.html +0 -3
  42. data/_includes/sponsors/cards.html +0 -11
  43. data/_includes/sponsors/carousel.html +0 -27
  44. data/_layouts/blog.html +0 -38
  45. data/_layouts/download/default.html +0 -7
  46. data/_layouts/home.html +0 -20
  47. data/_layouts/people/default.html +0 -52
  48. data/_layouts/post.html +0 -29
  49. data/_layouts/search.html +0 -38
  50. data/_layouts/sponsors.html +0 -30
  51. data/_sass/bootstrap/_accordion.scss +0 -158
  52. data/_sass/bootstrap/_alert.scss +0 -68
  53. data/_sass/bootstrap/_badge.scss +0 -38
  54. data/_sass/bootstrap/_breadcrumb.scss +0 -40
  55. data/_sass/bootstrap/_button-group.scss +0 -142
  56. data/_sass/bootstrap/_buttons.scss +0 -207
  57. data/_sass/bootstrap/_card.scss +0 -239
  58. data/_sass/bootstrap/_carousel.scss +0 -244
  59. data/_sass/bootstrap/_close.scss +0 -63
  60. data/_sass/bootstrap/_containers.scss +0 -41
  61. data/_sass/bootstrap/_dropdown.scss +0 -250
  62. data/_sass/bootstrap/_forms.scss +0 -9
  63. data/_sass/bootstrap/_functions.scss +0 -302
  64. data/_sass/bootstrap/_grid.scss +0 -39
  65. data/_sass/bootstrap/_helpers.scss +0 -12
  66. data/_sass/bootstrap/_images.scss +0 -42
  67. data/_sass/bootstrap/_list-group.scss +0 -197
  68. data/_sass/bootstrap/_maps.scss +0 -174
  69. data/_sass/bootstrap/_mixins.scss +0 -42
  70. data/_sass/bootstrap/_modal.scss +0 -237
  71. data/_sass/bootstrap/_nav.scss +0 -197
  72. data/_sass/bootstrap/_navbar.scss +0 -289
  73. data/_sass/bootstrap/_offcanvas.scss +0 -146
  74. data/_sass/bootstrap/_pagination.scss +0 -109
  75. data/_sass/bootstrap/_placeholders.scss +0 -51
  76. data/_sass/bootstrap/_popover.scss +0 -196
  77. data/_sass/bootstrap/_progress.scss +0 -68
  78. data/_sass/bootstrap/_reboot.scss +0 -611
  79. data/_sass/bootstrap/_root.scss +0 -187
  80. data/_sass/bootstrap/_spinners.scss +0 -85
  81. data/_sass/bootstrap/_tables.scss +0 -171
  82. data/_sass/bootstrap/_toasts.scss +0 -73
  83. data/_sass/bootstrap/_tooltip.scss +0 -119
  84. data/_sass/bootstrap/_transitions.scss +0 -27
  85. data/_sass/bootstrap/_type.scss +0 -106
  86. data/_sass/bootstrap/_utilities.scss +0 -806
  87. data/_sass/bootstrap/_variables-dark.scss +0 -87
  88. data/_sass/bootstrap/_variables.scss +0 -1747
  89. data/_sass/bootstrap/bootstrap-grid.scss +0 -62
  90. data/_sass/bootstrap/bootstrap-reboot.scss +0 -10
  91. data/_sass/bootstrap/bootstrap-utilities.scss +0 -19
  92. data/_sass/bootstrap/bootstrap.scss +0 -52
  93. data/_sass/bootstrap/forms/_floating-labels.scss +0 -95
  94. data/_sass/bootstrap/forms/_form-check.scss +0 -189
  95. data/_sass/bootstrap/forms/_form-control.scss +0 -214
  96. data/_sass/bootstrap/forms/_form-range.scss +0 -91
  97. data/_sass/bootstrap/forms/_form-select.scss +0 -80
  98. data/_sass/bootstrap/forms/_form-text.scss +0 -11
  99. data/_sass/bootstrap/forms/_input-group.scss +0 -132
  100. data/_sass/bootstrap/forms/_labels.scss +0 -36
  101. data/_sass/bootstrap/forms/_validation.scss +0 -12
  102. data/_sass/bootstrap/helpers/_clearfix.scss +0 -3
  103. data/_sass/bootstrap/helpers/_color-bg.scss +0 -7
  104. data/_sass/bootstrap/helpers/_colored-links.scss +0 -30
  105. data/_sass/bootstrap/helpers/_focus-ring.scss +0 -5
  106. data/_sass/bootstrap/helpers/_icon-link.scss +0 -25
  107. data/_sass/bootstrap/helpers/_position.scss +0 -36
  108. data/_sass/bootstrap/helpers/_ratio.scss +0 -26
  109. data/_sass/bootstrap/helpers/_stacks.scss +0 -15
  110. data/_sass/bootstrap/helpers/_stretched-link.scss +0 -15
  111. data/_sass/bootstrap/helpers/_text-truncation.scss +0 -7
  112. data/_sass/bootstrap/helpers/_visually-hidden.scss +0 -8
  113. data/_sass/bootstrap/helpers/_vr.scss +0 -8
  114. data/_sass/bootstrap/mixins/_alert.scss +0 -18
  115. data/_sass/bootstrap/mixins/_backdrop.scss +0 -14
  116. data/_sass/bootstrap/mixins/_banner.scss +0 -7
  117. data/_sass/bootstrap/mixins/_border-radius.scss +0 -78
  118. data/_sass/bootstrap/mixins/_box-shadow.scss +0 -18
  119. data/_sass/bootstrap/mixins/_breakpoints.scss +0 -127
  120. data/_sass/bootstrap/mixins/_buttons.scss +0 -70
  121. data/_sass/bootstrap/mixins/_caret.scss +0 -69
  122. data/_sass/bootstrap/mixins/_clearfix.scss +0 -9
  123. data/_sass/bootstrap/mixins/_color-mode.scss +0 -21
  124. data/_sass/bootstrap/mixins/_color-scheme.scss +0 -7
  125. data/_sass/bootstrap/mixins/_container.scss +0 -11
  126. data/_sass/bootstrap/mixins/_deprecate.scss +0 -10
  127. data/_sass/bootstrap/mixins/_forms.scss +0 -153
  128. data/_sass/bootstrap/mixins/_gradients.scss +0 -47
  129. data/_sass/bootstrap/mixins/_grid.scss +0 -151
  130. data/_sass/bootstrap/mixins/_image.scss +0 -16
  131. data/_sass/bootstrap/mixins/_list-group.scss +0 -26
  132. data/_sass/bootstrap/mixins/_lists.scss +0 -7
  133. data/_sass/bootstrap/mixins/_pagination.scss +0 -10
  134. data/_sass/bootstrap/mixins/_reset-text.scss +0 -17
  135. data/_sass/bootstrap/mixins/_resize.scss +0 -6
  136. data/_sass/bootstrap/mixins/_table-variants.scss +0 -24
  137. data/_sass/bootstrap/mixins/_text-truncate.scss +0 -8
  138. data/_sass/bootstrap/mixins/_transition.scss +0 -26
  139. data/_sass/bootstrap/mixins/_utilities.scss +0 -97
  140. data/_sass/bootstrap/mixins/_visually-hidden.scss +0 -33
  141. data/_sass/bootstrap/utilities/_api.scss +0 -47
  142. data/_sass/bootstrap/vendor/_rfs.scss +0 -348
  143. data/assets/img/centos-motif.png +0 -0
  144. data/assets/img/download/distribution-release-screenshot-1.png +0 -0
  145. data/assets/img/download/distribution-release-screenshot-2.png +0 -0
  146. data/assets/img/download/distribution-release-screenshot-3.png +0 -0
  147. data/assets/img/download/distribution-release-screenshot-n.svg +0 -134
  148. data/assets/img/download/download.svg +0 -421
  149. data/assets/img/download/fig-the-downloads-cards-presentation-template.png +0 -0
  150. data/assets/img/people/avatar.svg +0 -59
  151. data/assets/img/people/project.svg +0 -106
  152. data/assets/img/people/screenshot.svg +0 -135
  153. data/assets/img/sponsors/screenshot-sponsors-cards-layout.png +0 -0
  154. data/assets/img/sponsors/screenshot-sponsors-cards.png +0 -0
  155. data/assets/img/sponsors/screenshot-sponsors-carousel.png +0 -0
  156. data/assets/img/sponsors/screenshot-sponsors-default-layout.png +0 -0
  157. data/assets/img/sponsors/screenshot-sponsors-logo.png +0 -0
  158. data/assets/img/sponsors/sponsor-logo-1.png +0 -0
  159. data/assets/img/sponsors/sponsor-logo-2.png +0 -0
  160. data/assets/img/sponsors/sponsor-logo-3.png +0 -0
  161. data/assets/img/sponsors/sponsor-logo-4.png +0 -0
  162. data/assets/img/sponsors/sponsor-logo-5.png +0 -0
  163. data/assets/img/sponsors/sponsor-logo-6.png +0 -0
  164. data/assets/img/sponsors/sponsor-logo-7.png +0 -0
  165. data/assets/img/sponsors/sponsor-logo-8.png +0 -0
  166. data/assets/img/sponsors/sponsors-logo.svg +0 -563
  167. data/assets/js/bootstrap.bundle.js +0 -6314
  168. data/assets/js/bootstrap.bundle.js.map +0 -1
  169. data/assets/js/bootstrap.bundle.min.js +0 -7
  170. data/assets/js/bootstrap.bundle.min.js.map +0 -1
  171. data/assets/js/bootstrap.esm.js +0 -4447
  172. data/assets/js/bootstrap.esm.js.map +0 -1
  173. data/assets/js/bootstrap.esm.min.js +0 -7
  174. data/assets/js/bootstrap.esm.min.js.map +0 -1
  175. data/assets/js/bootstrap.js +0 -4494
  176. data/assets/js/bootstrap.js.map +0 -1
  177. data/assets/js/bootstrap.min.js +0 -7
  178. data/assets/js/bootstrap.min.js.map +0 -1
@@ -1,151 +0,0 @@
1
- // Grid system
2
- //
3
- // Generate semantic grid columns with these mixins.
4
-
5
- @mixin make-row($gutter: $grid-gutter-width) {
6
- --#{$prefix}gutter-x: #{$gutter};
7
- --#{$prefix}gutter-y: 0;
8
- display: flex;
9
- flex-wrap: wrap;
10
- // TODO: Revisit calc order after https://github.com/react-bootstrap/react-bootstrap/issues/6039 is fixed
11
- margin-top: calc(-1 * var(--#{$prefix}gutter-y)); // stylelint-disable-line function-disallowed-list
12
- margin-right: calc(-.5 * var(--#{$prefix}gutter-x)); // stylelint-disable-line function-disallowed-list
13
- margin-left: calc(-.5 * var(--#{$prefix}gutter-x)); // stylelint-disable-line function-disallowed-list
14
- }
15
-
16
- @mixin make-col-ready() {
17
- // Add box sizing if only the grid is loaded
18
- box-sizing: if(variable-exists(include-column-box-sizing) and $include-column-box-sizing, border-box, null);
19
- // Prevent columns from becoming too narrow when at smaller grid tiers by
20
- // always setting `width: 100%;`. This works because we set the width
21
- // later on to override this initial width.
22
- flex-shrink: 0;
23
- width: 100%;
24
- max-width: 100%; // Prevent `.col-auto`, `.col` (& responsive variants) from breaking out the grid
25
- padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
26
- padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list
27
- margin-top: var(--#{$prefix}gutter-y);
28
- }
29
-
30
- @mixin make-col($size: false, $columns: $grid-columns) {
31
- @if $size {
32
- flex: 0 0 auto;
33
- width: percentage(divide($size, $columns));
34
-
35
- } @else {
36
- flex: 1 1 0;
37
- max-width: 100%;
38
- }
39
- }
40
-
41
- @mixin make-col-auto() {
42
- flex: 0 0 auto;
43
- width: auto;
44
- }
45
-
46
- @mixin make-col-offset($size, $columns: $grid-columns) {
47
- $num: divide($size, $columns);
48
- margin-left: if($num == 0, 0, percentage($num));
49
- }
50
-
51
- // Row columns
52
- //
53
- // Specify on a parent element(e.g., .row) to force immediate children into NN
54
- // number of columns. Supports wrapping to new lines, but does not do a Masonry
55
- // style grid.
56
- @mixin row-cols($count) {
57
- > * {
58
- flex: 0 0 auto;
59
- width: percentage(divide(1, $count));
60
- }
61
- }
62
-
63
- // Framework grid generation
64
- //
65
- // Used only by Bootstrap to generate the correct number of grid classes given
66
- // any value of `$grid-columns`.
67
-
68
- @mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
69
- @each $breakpoint in map-keys($breakpoints) {
70
- $infix: breakpoint-infix($breakpoint, $breakpoints);
71
-
72
- @include media-breakpoint-up($breakpoint, $breakpoints) {
73
- // Provide basic `.col-{bp}` classes for equal-width flexbox columns
74
- .col#{$infix} {
75
- flex: 1 0 0%; // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
76
- }
77
-
78
- .row-cols#{$infix}-auto > * {
79
- @include make-col-auto();
80
- }
81
-
82
- @if $grid-row-columns > 0 {
83
- @for $i from 1 through $grid-row-columns {
84
- .row-cols#{$infix}-#{$i} {
85
- @include row-cols($i);
86
- }
87
- }
88
- }
89
-
90
- .col#{$infix}-auto {
91
- @include make-col-auto();
92
- }
93
-
94
- @if $columns > 0 {
95
- @for $i from 1 through $columns {
96
- .col#{$infix}-#{$i} {
97
- @include make-col($i, $columns);
98
- }
99
- }
100
-
101
- // `$columns - 1` because offsetting by the width of an entire row isn't possible
102
- @for $i from 0 through ($columns - 1) {
103
- @if not ($infix == "" and $i == 0) { // Avoid emitting useless .offset-0
104
- .offset#{$infix}-#{$i} {
105
- @include make-col-offset($i, $columns);
106
- }
107
- }
108
- }
109
- }
110
-
111
- // Gutters
112
- //
113
- // Make use of `.g-*`, `.gx-*` or `.gy-*` utilities to change spacing between the columns.
114
- @each $key, $value in $gutters {
115
- .g#{$infix}-#{$key},
116
- .gx#{$infix}-#{$key} {
117
- --#{$prefix}gutter-x: #{$value};
118
- }
119
-
120
- .g#{$infix}-#{$key},
121
- .gy#{$infix}-#{$key} {
122
- --#{$prefix}gutter-y: #{$value};
123
- }
124
- }
125
- }
126
- }
127
- }
128
-
129
- @mixin make-cssgrid($columns: $grid-columns, $breakpoints: $grid-breakpoints) {
130
- @each $breakpoint in map-keys($breakpoints) {
131
- $infix: breakpoint-infix($breakpoint, $breakpoints);
132
-
133
- @include media-breakpoint-up($breakpoint, $breakpoints) {
134
- @if $columns > 0 {
135
- @for $i from 1 through $columns {
136
- .g-col#{$infix}-#{$i} {
137
- grid-column: auto / span $i;
138
- }
139
- }
140
-
141
- // Start with `1` because `0` is and invalid value.
142
- // Ends with `$columns - 1` because offsetting by the width of an entire row isn't possible.
143
- @for $i from 1 through ($columns - 1) {
144
- .g-start#{$infix}-#{$i} {
145
- grid-column-start: $i;
146
- }
147
- }
148
- }
149
- }
150
- }
151
- }
@@ -1,16 +0,0 @@
1
- // Image Mixins
2
- // - Responsive image
3
- // - Retina image
4
-
5
-
6
- // Responsive image
7
- //
8
- // Keep images from scaling beyond the width of their parents.
9
-
10
- @mixin img-fluid {
11
- // Part 1: Set a maximum relative to the parent
12
- max-width: 100%;
13
- // Part 2: Override the height to auto, otherwise images will be stretched
14
- // when setting a width and height attribute on the img element.
15
- height: auto;
16
- }
@@ -1,26 +0,0 @@
1
- @include deprecate("`list-group-item-variant()`", "v5.3.0", "v6.0.0");
2
-
3
- // List Groups
4
-
5
- // scss-docs-start list-group-mixin
6
- @mixin list-group-item-variant($state, $background, $color) {
7
- .list-group-item-#{$state} {
8
- color: $color;
9
- background-color: $background;
10
-
11
- &.list-group-item-action {
12
- &:hover,
13
- &:focus {
14
- color: $color;
15
- background-color: shade-color($background, 10%);
16
- }
17
-
18
- &.active {
19
- color: $white;
20
- background-color: $color;
21
- border-color: $color;
22
- }
23
- }
24
- }
25
- }
26
- // scss-docs-end list-group-mixin
@@ -1,7 +0,0 @@
1
- // Lists
2
-
3
- // Unstyled keeps list items block level, just removes default browser padding and list-style
4
- @mixin list-unstyled {
5
- padding-left: 0;
6
- list-style: none;
7
- }
@@ -1,10 +0,0 @@
1
- // Pagination
2
-
3
- // scss-docs-start pagination-mixin
4
- @mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
5
- --#{$prefix}pagination-padding-x: #{$padding-x};
6
- --#{$prefix}pagination-padding-y: #{$padding-y};
7
- @include rfs($font-size, --#{$prefix}pagination-font-size);
8
- --#{$prefix}pagination-border-radius: #{$border-radius};
9
- }
10
- // scss-docs-end pagination-mixin
@@ -1,17 +0,0 @@
1
- @mixin reset-text {
2
- font-family: $font-family-base;
3
- // We deliberately do NOT reset font-size or overflow-wrap / word-wrap.
4
- font-style: normal;
5
- font-weight: $font-weight-normal;
6
- line-height: $line-height-base;
7
- text-align: left; // Fallback for where `start` is not supported
8
- text-align: start;
9
- text-decoration: none;
10
- text-shadow: none;
11
- text-transform: none;
12
- letter-spacing: normal;
13
- word-break: normal;
14
- white-space: normal;
15
- word-spacing: normal;
16
- line-break: auto;
17
- }
@@ -1,6 +0,0 @@
1
- // Resize anything
2
-
3
- @mixin resizable($direction) {
4
- overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
5
- resize: $direction; // Options: horizontal, vertical, both
6
- }
@@ -1,24 +0,0 @@
1
- // scss-docs-start table-variant
2
- @mixin table-variant($state, $background) {
3
- .table-#{$state} {
4
- $color: color-contrast(opaque($body-bg, $background));
5
- $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
6
- $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
7
- $active-bg: mix($color, $background, percentage($table-active-bg-factor));
8
- $table-border-color: mix($color, $background, percentage($table-border-factor));
9
-
10
- --#{$prefix}table-color: #{$color};
11
- --#{$prefix}table-bg: #{$background};
12
- --#{$prefix}table-border-color: #{$table-border-color};
13
- --#{$prefix}table-striped-bg: #{$striped-bg};
14
- --#{$prefix}table-striped-color: #{color-contrast($striped-bg)};
15
- --#{$prefix}table-active-bg: #{$active-bg};
16
- --#{$prefix}table-active-color: #{color-contrast($active-bg)};
17
- --#{$prefix}table-hover-bg: #{$hover-bg};
18
- --#{$prefix}table-hover-color: #{color-contrast($hover-bg)};
19
-
20
- color: var(--#{$prefix}table-color);
21
- border-color: var(--#{$prefix}table-border-color);
22
- }
23
- }
24
- // scss-docs-end table-variant
@@ -1,8 +0,0 @@
1
- // Text truncate
2
- // Requires inline-block or block for proper styling
3
-
4
- @mixin text-truncate() {
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- white-space: nowrap;
8
- }
@@ -1,26 +0,0 @@
1
- // stylelint-disable property-disallowed-list
2
- @mixin transition($transition...) {
3
- @if length($transition) == 0 {
4
- $transition: $transition-base;
5
- }
6
-
7
- @if length($transition) > 1 {
8
- @each $value in $transition {
9
- @if $value == null or $value == none {
10
- @warn "The keyword 'none' or 'null' must be used as a single argument.";
11
- }
12
- }
13
- }
14
-
15
- @if $enable-transitions {
16
- @if nth($transition, 1) != null {
17
- transition: $transition;
18
- }
19
-
20
- @if $enable-reduced-motion and nth($transition, 1) != null and nth($transition, 1) != none {
21
- @media (prefers-reduced-motion: reduce) {
22
- transition: none;
23
- }
24
- }
25
- }
26
- }
@@ -1,97 +0,0 @@
1
- // Utility generator
2
- // Used to generate utilities & print utilities
3
- @mixin generate-utility($utility, $infix: "", $is-rfs-media-query: false) {
4
- $values: map-get($utility, values);
5
-
6
- // If the values are a list or string, convert it into a map
7
- @if type-of($values) == "string" or type-of(nth($values, 1)) != "list" {
8
- $values: zip($values, $values);
9
- }
10
-
11
- @each $key, $value in $values {
12
- $properties: map-get($utility, property);
13
-
14
- // Multiple properties are possible, for example with vertical or horizontal margins or paddings
15
- @if type-of($properties) == "string" {
16
- $properties: append((), $properties);
17
- }
18
-
19
- // Use custom class if present
20
- $property-class: if(map-has-key($utility, class), map-get($utility, class), nth($properties, 1));
21
- $property-class: if($property-class == null, "", $property-class);
22
-
23
- // Use custom CSS variable name if present, otherwise default to `class`
24
- $css-variable-name: if(map-has-key($utility, css-variable-name), map-get($utility, css-variable-name), map-get($utility, class));
25
-
26
- // State params to generate pseudo-classes
27
- $state: if(map-has-key($utility, state), map-get($utility, state), ());
28
-
29
- $infix: if($property-class == "" and str-slice($infix, 1, 1) == "-", str-slice($infix, 2), $infix);
30
-
31
- // Don't prefix if value key is null (e.g. with shadow class)
32
- $property-class-modifier: if($key, if($property-class == "" and $infix == "", "", "-") + $key, "");
33
-
34
- @if map-get($utility, rfs) {
35
- // Inside the media query
36
- @if $is-rfs-media-query {
37
- $val: rfs-value($value);
38
-
39
- // Do not render anything if fluid and non fluid values are the same
40
- $value: if($val == rfs-fluid-value($value), null, $val);
41
- }
42
- @else {
43
- $value: rfs-fluid-value($value);
44
- }
45
- }
46
-
47
- $is-css-var: map-get($utility, css-var);
48
- $is-local-vars: map-get($utility, local-vars);
49
- $is-rtl: map-get($utility, rtl);
50
-
51
- @if $value != null {
52
- @if $is-rtl == false {
53
- /* rtl:begin:remove */
54
- }
55
-
56
- @if $is-css-var {
57
- .#{$property-class + $infix + $property-class-modifier} {
58
- --#{$prefix}#{$css-variable-name}: #{$value};
59
- }
60
-
61
- @each $pseudo in $state {
62
- .#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {
63
- --#{$prefix}#{$css-variable-name}: #{$value};
64
- }
65
- }
66
- } @else {
67
- .#{$property-class + $infix + $property-class-modifier} {
68
- @each $property in $properties {
69
- @if $is-local-vars {
70
- @each $local-var, $variable in $is-local-vars {
71
- --#{$prefix}#{$local-var}: #{$variable};
72
- }
73
- }
74
- #{$property}: $value if($enable-important-utilities, !important, null);
75
- }
76
- }
77
-
78
- @each $pseudo in $state {
79
- .#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {
80
- @each $property in $properties {
81
- @if $is-local-vars {
82
- @each $local-var, $variable in $is-local-vars {
83
- --#{$prefix}#{$local-var}: #{$variable};
84
- }
85
- }
86
- #{$property}: $value if($enable-important-utilities, !important, null);
87
- }
88
- }
89
- }
90
- }
91
-
92
- @if $is-rtl == false {
93
- /* rtl:end:remove */
94
- }
95
- }
96
- }
97
- }
@@ -1,33 +0,0 @@
1
- // stylelint-disable declaration-no-important
2
-
3
- // Hide content visually while keeping it accessible to assistive technologies
4
- //
5
- // See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
6
- // See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/
7
-
8
- @mixin visually-hidden() {
9
- width: 1px !important;
10
- height: 1px !important;
11
- padding: 0 !important;
12
- margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686
13
- overflow: hidden !important;
14
- clip: rect(0, 0, 0, 0) !important;
15
- white-space: nowrap !important;
16
- border: 0 !important;
17
-
18
- // Fix for positioned table caption that could become anonymous cells
19
- &:not(caption) {
20
- position: absolute !important;
21
- }
22
- }
23
-
24
- // Use to only display content when it's focused, or one of its child elements is focused
25
- // (i.e. when focus is within the element/container that the class was applied to)
26
- //
27
- // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
28
-
29
- @mixin visually-hidden-focusable() {
30
- &:not(:focus):not(:focus-within) {
31
- @include visually-hidden();
32
- }
33
- }
@@ -1,47 +0,0 @@
1
- // Loop over each breakpoint
2
- @each $breakpoint in map-keys($grid-breakpoints) {
3
-
4
- // Generate media query if needed
5
- @include media-breakpoint-up($breakpoint) {
6
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
7
-
8
- // Loop over each utility property
9
- @each $key, $utility in $utilities {
10
- // The utility can be disabled with `false`, thus check if the utility is a map first
11
- // Only proceed if responsive media queries are enabled or if it's the base media query
12
- @if type-of($utility) == "map" and (map-get($utility, responsive) or $infix == "") {
13
- @include generate-utility($utility, $infix);
14
- }
15
- }
16
- }
17
- }
18
-
19
- // RFS rescaling
20
- @media (min-width: $rfs-mq-value) {
21
- @each $breakpoint in map-keys($grid-breakpoints) {
22
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
23
-
24
- @if (map-get($grid-breakpoints, $breakpoint) < $rfs-breakpoint) {
25
- // Loop over each utility property
26
- @each $key, $utility in $utilities {
27
- // The utility can be disabled with `false`, thus check if the utility is a map first
28
- // Only proceed if responsive media queries are enabled or if it's the base media query
29
- @if type-of($utility) == "map" and map-get($utility, rfs) and (map-get($utility, responsive) or $infix == "") {
30
- @include generate-utility($utility, $infix, true);
31
- }
32
- }
33
- }
34
- }
35
- }
36
-
37
-
38
- // Print utilities
39
- @media print {
40
- @each $key, $utility in $utilities {
41
- // The utility can be disabled with `false`, thus check if the utility is a map first
42
- // Then check if the utility needs print styles
43
- @if type-of($utility) == "map" and map-get($utility, print) == true {
44
- @include generate-utility($utility, "-print");
45
- }
46
- }
47
- }