jekyll-theme-centos 2.1.1.beta.2 → 2.2.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/people/header.html +1 -1
  3. data/_sass/bootstrap/_accordion.scss +149 -0
  4. data/_sass/bootstrap/_alert.scss +71 -0
  5. data/_sass/bootstrap/_badge.scss +38 -0
  6. data/_sass/bootstrap/_breadcrumb.scss +40 -0
  7. data/_sass/bootstrap/_button-group.scss +142 -0
  8. data/_sass/bootstrap/_buttons.scss +207 -0
  9. data/_sass/bootstrap/_card.scss +234 -0
  10. data/_sass/bootstrap/_carousel.scss +226 -0
  11. data/_sass/bootstrap/_close.scss +40 -0
  12. data/_sass/bootstrap/_containers.scss +41 -0
  13. data/_sass/bootstrap/_dropdown.scss +249 -0
  14. data/_sass/bootstrap/_forms.scss +9 -0
  15. data/_sass/bootstrap/_functions.scss +302 -0
  16. data/_sass/bootstrap/_grid.scss +33 -0
  17. data/_sass/bootstrap/_helpers.scss +10 -0
  18. data/_sass/bootstrap/_images.scss +42 -0
  19. data/_sass/bootstrap/_list-group.scss +192 -0
  20. data/_sass/bootstrap/_maps.scss +54 -0
  21. data/_sass/bootstrap/_mixins.scss +43 -0
  22. data/_sass/bootstrap/_modal.scss +237 -0
  23. data/_sass/bootstrap/_nav.scss +172 -0
  24. data/_sass/bootstrap/_navbar.scss +278 -0
  25. data/_sass/bootstrap/_offcanvas.scss +144 -0
  26. data/_sass/bootstrap/_pagination.scss +109 -0
  27. data/_sass/bootstrap/_placeholders.scss +51 -0
  28. data/_sass/bootstrap/_popover.scss +196 -0
  29. data/_sass/bootstrap/_progress.scss +59 -0
  30. data/_sass/bootstrap/_reboot.scss +610 -0
  31. data/_sass/bootstrap/_root.scss +73 -0
  32. data/_sass/bootstrap/_spinners.scss +85 -0
  33. data/_sass/bootstrap/_tables.scss +164 -0
  34. data/_sass/bootstrap/_toasts.scss +73 -0
  35. data/_sass/bootstrap/_tooltip.scss +120 -0
  36. data/_sass/bootstrap/_transitions.scss +27 -0
  37. data/_sass/bootstrap/_type.scss +106 -0
  38. data/_sass/bootstrap/_utilities.scss +647 -0
  39. data/_sass/bootstrap/_variables.scss +1634 -0
  40. data/_sass/bootstrap/bootstrap-grid.scss +64 -0
  41. data/_sass/bootstrap/bootstrap-reboot.scss +9 -0
  42. data/_sass/bootstrap/bootstrap-utilities.scss +18 -0
  43. data/_sass/bootstrap/bootstrap.scss +51 -0
  44. data/_sass/bootstrap/forms/_floating-labels.scss +75 -0
  45. data/_sass/bootstrap/forms/_form-check.scss +175 -0
  46. data/_sass/bootstrap/forms/_form-control.scss +194 -0
  47. data/_sass/bootstrap/forms/_form-range.scss +91 -0
  48. data/_sass/bootstrap/forms/_form-select.scss +71 -0
  49. data/_sass/bootstrap/forms/_form-text.scss +11 -0
  50. data/_sass/bootstrap/forms/_input-group.scss +132 -0
  51. data/_sass/bootstrap/forms/_labels.scss +36 -0
  52. data/_sass/bootstrap/forms/_validation.scss +12 -0
  53. data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
  54. data/_sass/bootstrap/helpers/_color-bg.scss +10 -0
  55. data/_sass/bootstrap/helpers/_colored-links.scss +12 -0
  56. data/_sass/bootstrap/helpers/_position.scss +36 -0
  57. data/_sass/bootstrap/helpers/_ratio.scss +26 -0
  58. data/_sass/bootstrap/helpers/_stacks.scss +15 -0
  59. data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
  60. data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
  61. data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
  62. data/_sass/bootstrap/helpers/_vr.scss +8 -0
  63. data/_sass/bootstrap/mixins/_alert.scss +15 -0
  64. data/_sass/bootstrap/mixins/_backdrop.scss +14 -0
  65. data/_sass/bootstrap/mixins/_banner.scss +9 -0
  66. data/_sass/bootstrap/mixins/_border-radius.scss +78 -0
  67. data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
  68. data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
  69. data/_sass/bootstrap/mixins/_buttons.scss +70 -0
  70. data/_sass/bootstrap/mixins/_caret.scss +64 -0
  71. data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
  72. data/_sass/bootstrap/mixins/_color-scheme.scss +7 -0
  73. data/_sass/bootstrap/mixins/_container.scss +11 -0
  74. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  75. data/_sass/bootstrap/mixins/_forms.scss +152 -0
  76. data/_sass/bootstrap/mixins/_gradients.scss +47 -0
  77. data/_sass/bootstrap/mixins/_grid.scss +151 -0
  78. data/_sass/bootstrap/mixins/_image.scss +16 -0
  79. data/_sass/bootstrap/mixins/_list-group.scss +24 -0
  80. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  81. data/_sass/bootstrap/mixins/_pagination.scss +10 -0
  82. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  83. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  84. data/_sass/bootstrap/mixins/_table-variants.scss +24 -0
  85. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  86. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  87. data/_sass/bootstrap/mixins/_utilities.scss +97 -0
  88. data/_sass/bootstrap/mixins/_visually-hidden.scss +29 -0
  89. data/_sass/bootstrap/utilities/_api.scss +47 -0
  90. data/_sass/bootstrap/vendor/_rfs.scss +354 -0
  91. data/_sass/fontawesome-free/_animated.scss +153 -0
  92. data/_sass/fontawesome-free/_bordered-pulled.scss +20 -0
  93. data/_sass/fontawesome-free/_core.scss +43 -0
  94. data/_sass/fontawesome-free/_fixed-width.scss +7 -0
  95. data/_sass/fontawesome-free/_functions.scss +57 -0
  96. data/_sass/fontawesome-free/_icons.scss +9 -0
  97. data/_sass/fontawesome-free/_list.scss +18 -0
  98. data/_sass/fontawesome-free/_mixins.scss +75 -0
  99. data/_sass/fontawesome-free/_rotated-flipped.scss +31 -0
  100. data/_sass/fontawesome-free/_screen-reader.scss +14 -0
  101. data/_sass/fontawesome-free/_shims.scss +2042 -0
  102. data/_sass/fontawesome-free/_sizing.scss +16 -0
  103. data/_sass/fontawesome-free/_stacked.scss +32 -0
  104. data/_sass/fontawesome-free/_variables.scss +4957 -0
  105. data/_sass/fontawesome-free/brands.scss +30 -0
  106. data/_sass/fontawesome-free/fontawesome.scss +21 -0
  107. data/_sass/fontawesome-free/regular.scss +26 -0
  108. data/_sass/fontawesome-free/solid.scss +26 -0
  109. data/_sass/fontawesome-free/v4-shims.scss +11 -0
  110. data/assets/css/dataTables.bootstrap5.css +416 -0
  111. data/assets/css/dataTables.bootstrap5.min.css +5 -0
  112. data/assets/img/anaconda-symbolic.svg +149 -0
  113. data/assets/img/anaconda.svg +183 -0
  114. data/assets/img/centos-dynamicmsg-logo.svg +182 -0
  115. data/assets/img/centos-dynamicmsg-type.svg +136 -0
  116. data/assets/img/centos-dynamicmsg-whitelogo.svg +172 -0
  117. data/assets/img/centos-dynamicmsg-whitetype.svg +142 -0
  118. data/assets/img/centos-gdm-whitelogo.svg +184 -0
  119. data/assets/img/centos-ipa-whiteheader.svg +162 -0
  120. data/assets/img/centos-logo-2bits.svg +142 -0
  121. data/assets/img/centos-logo.svg +171 -0
  122. data/assets/img/centos-message-logo.svg +304 -0
  123. data/assets/img/centos-motif.png +0 -0
  124. data/assets/img/centos-poweredby-logo.svg +258 -0
  125. data/assets/img/centos-symbol-2bits.svg +102 -0
  126. data/assets/img/centos-symbol.svg +121 -0
  127. data/assets/img/centos-type.svg +125 -0
  128. data/assets/img/centos-vertical-logo.svg +168 -0
  129. data/assets/img/centos-vertical-message-logo.svg +316 -0
  130. data/assets/img/centos-whitelogo.svg +161 -0
  131. data/assets/img/favicon.svg +121 -0
  132. data/assets/img/sort_asc.png +0 -0
  133. data/assets/img/sort_asc_disabled.png +0 -0
  134. data/assets/img/sort_both.png +0 -0
  135. data/assets/img/sort_desc.png +0 -0
  136. data/assets/img/sort_desc_disabled.png +0 -0
  137. data/assets/js/bootstrap.bundle.js +7075 -0
  138. data/assets/js/bootstrap.bundle.js.map +1 -0
  139. data/assets/js/bootstrap.bundle.min.js +7 -0
  140. data/assets/js/bootstrap.bundle.min.js.map +1 -0
  141. data/assets/js/bootstrap.esm.js +5202 -0
  142. data/assets/js/bootstrap.esm.js.map +1 -0
  143. data/assets/js/bootstrap.esm.min.js +7 -0
  144. data/assets/js/bootstrap.esm.min.js.map +1 -0
  145. data/assets/js/bootstrap.js +5249 -0
  146. data/assets/js/bootstrap.js.map +1 -0
  147. data/assets/js/bootstrap.min.js +7 -0
  148. data/assets/js/bootstrap.min.js.map +1 -0
  149. data/assets/js/clipboard.js +890 -0
  150. data/assets/js/clipboard.min.js +7 -0
  151. data/assets/js/dataTables.bootstrap5.js +200 -0
  152. data/assets/js/dataTables.bootstrap5.min.js +4 -0
  153. data/assets/js/dataTables.bootstrap5.min.mjs +4 -0
  154. data/assets/js/dataTables.bootstrap5.mjs +164 -0
  155. data/assets/js/jquery.js +10993 -0
  156. data/assets/js/jquery.min.js +2 -0
  157. data/assets/js/jquery.min.map +1 -0
  158. data/assets/js/jquery.slim.js +8894 -0
  159. data/assets/js/jquery.slim.min.js +2 -0
  160. data/assets/js/jquery.slim.min.map +1 -0
  161. data/assets/webfonts/Montserrat-Black.woff +0 -0
  162. data/assets/webfonts/Montserrat-Black.woff2 +0 -0
  163. data/assets/webfonts/Montserrat-BlackItalic.woff +0 -0
  164. data/assets/webfonts/Montserrat-BlackItalic.woff2 +0 -0
  165. data/assets/webfonts/Montserrat-Bold.woff +0 -0
  166. data/assets/webfonts/Montserrat-Bold.woff2 +0 -0
  167. data/assets/webfonts/Montserrat-BoldItalic.woff +0 -0
  168. data/assets/webfonts/Montserrat-BoldItalic.woff2 +0 -0
  169. data/assets/webfonts/Montserrat-ExtraBold.woff +0 -0
  170. data/assets/webfonts/Montserrat-ExtraBold.woff2 +0 -0
  171. data/assets/webfonts/Montserrat-ExtraBoldItalic.woff +0 -0
  172. data/assets/webfonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
  173. data/assets/webfonts/Montserrat-ExtraLight.woff +0 -0
  174. data/assets/webfonts/Montserrat-ExtraLight.woff2 +0 -0
  175. data/assets/webfonts/Montserrat-ExtraLightItalic.woff +0 -0
  176. data/assets/webfonts/Montserrat-ExtraLightItalic.woff2 +0 -0
  177. data/assets/webfonts/Montserrat-Italic.woff +0 -0
  178. data/assets/webfonts/Montserrat-Italic.woff2 +0 -0
  179. data/assets/webfonts/Montserrat-Light.woff +0 -0
  180. data/assets/webfonts/Montserrat-Light.woff2 +0 -0
  181. data/assets/webfonts/Montserrat-LightItalic.woff +0 -0
  182. data/assets/webfonts/Montserrat-LightItalic.woff2 +0 -0
  183. data/assets/webfonts/Montserrat-Medium.woff +0 -0
  184. data/assets/webfonts/Montserrat-Medium.woff2 +0 -0
  185. data/assets/webfonts/Montserrat-MediumItalic.woff +0 -0
  186. data/assets/webfonts/Montserrat-MediumItalic.woff2 +0 -0
  187. data/assets/webfonts/Montserrat-Regular.woff +0 -0
  188. data/assets/webfonts/Montserrat-Regular.woff2 +0 -0
  189. data/assets/webfonts/Montserrat-SemiBold.woff +0 -0
  190. data/assets/webfonts/Montserrat-SemiBold.woff2 +0 -0
  191. data/assets/webfonts/Montserrat-SemiBoldItalic.woff +0 -0
  192. data/assets/webfonts/Montserrat-SemiBoldItalic.woff2 +0 -0
  193. data/assets/webfonts/Montserrat-Thin.woff +0 -0
  194. data/assets/webfonts/Montserrat-Thin.woff2 +0 -0
  195. data/assets/webfonts/Montserrat-ThinItalic.woff +0 -0
  196. data/assets/webfonts/Montserrat-ThinItalic.woff2 +0 -0
  197. data/assets/webfonts/MontserratAlternates-Black.woff +0 -0
  198. data/assets/webfonts/MontserratAlternates-Black.woff2 +0 -0
  199. data/assets/webfonts/MontserratAlternates-BlackItalic.woff +0 -0
  200. data/assets/webfonts/MontserratAlternates-BlackItalic.woff2 +0 -0
  201. data/assets/webfonts/MontserratAlternates-Bold.woff +0 -0
  202. data/assets/webfonts/MontserratAlternates-Bold.woff2 +0 -0
  203. data/assets/webfonts/MontserratAlternates-BoldItalic.woff +0 -0
  204. data/assets/webfonts/MontserratAlternates-BoldItalic.woff2 +0 -0
  205. data/assets/webfonts/MontserratAlternates-ExtraBold.woff +0 -0
  206. data/assets/webfonts/MontserratAlternates-ExtraBold.woff2 +0 -0
  207. data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff +0 -0
  208. data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
  209. data/assets/webfonts/MontserratAlternates-ExtraLight.woff +0 -0
  210. data/assets/webfonts/MontserratAlternates-ExtraLight.woff2 +0 -0
  211. data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff +0 -0
  212. data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
  213. data/assets/webfonts/MontserratAlternates-Italic.woff +0 -0
  214. data/assets/webfonts/MontserratAlternates-Italic.woff2 +0 -0
  215. data/assets/webfonts/MontserratAlternates-Light.woff +0 -0
  216. data/assets/webfonts/MontserratAlternates-Light.woff2 +0 -0
  217. data/assets/webfonts/MontserratAlternates-LightItalic.woff +0 -0
  218. data/assets/webfonts/MontserratAlternates-LightItalic.woff2 +0 -0
  219. data/assets/webfonts/MontserratAlternates-Medium.woff +0 -0
  220. data/assets/webfonts/MontserratAlternates-Medium.woff2 +0 -0
  221. data/assets/webfonts/MontserratAlternates-MediumItalic.woff +0 -0
  222. data/assets/webfonts/MontserratAlternates-MediumItalic.woff2 +0 -0
  223. data/assets/webfonts/MontserratAlternates-Regular.woff +0 -0
  224. data/assets/webfonts/MontserratAlternates-Regular.woff2 +0 -0
  225. data/assets/webfonts/MontserratAlternates-SemiBold.woff +0 -0
  226. data/assets/webfonts/MontserratAlternates-SemiBold.woff2 +0 -0
  227. data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff +0 -0
  228. data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
  229. data/assets/webfonts/MontserratAlternates-Thin.woff +0 -0
  230. data/assets/webfonts/MontserratAlternates-Thin.woff2 +0 -0
  231. data/assets/webfonts/MontserratAlternates-ThinItalic.woff +0 -0
  232. data/assets/webfonts/MontserratAlternates-ThinItalic.woff2 +0 -0
  233. data/assets/webfonts/fa-brands-400.ttf +0 -0
  234. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  235. data/assets/webfonts/fa-regular-400.ttf +0 -0
  236. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  237. data/assets/webfonts/fa-solid-900.ttf +0 -0
  238. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  239. data/assets/webfonts/fa-v4compatibility.ttf +0 -0
  240. data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
  241. data/assets/webfonts/overpass-mono-bold.woff +0 -0
  242. data/assets/webfonts/overpass-mono-bold.woff2 +0 -0
  243. data/assets/webfonts/overpass-mono-light.woff +0 -0
  244. data/assets/webfonts/overpass-mono-light.woff2 +0 -0
  245. data/assets/webfonts/overpass-mono-regular.woff +0 -0
  246. data/assets/webfonts/overpass-mono-regular.woff2 +0 -0
  247. data/assets/webfonts/overpass-mono-semibold.woff +0 -0
  248. data/assets/webfonts/overpass-mono-semibold.woff2 +0 -0
  249. metadata +247 -1
@@ -0,0 +1,43 @@
1
+ // base icon class definition
2
+ // -------------------------
3
+
4
+ .#{$fa-css-prefix} {
5
+ font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
6
+ font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
7
+ }
8
+
9
+ .#{$fa-css-prefix},
10
+ .#{$fa-css-prefix}-classic,
11
+ .#{$fa-css-prefix}-sharp,
12
+ .fas,
13
+ .#{$fa-css-prefix}-solid,
14
+ .far,
15
+ .#{$fa-css-prefix}-regular,
16
+ .fab,
17
+ .#{$fa-css-prefix}-brands {
18
+ -moz-osx-font-smoothing: grayscale;
19
+ -webkit-font-smoothing: antialiased;
20
+ display: var(--#{$fa-css-prefix}-display, #{$fa-display});
21
+ font-style: normal;
22
+ font-variant: normal;
23
+ line-height: 1;
24
+ text-rendering: auto;
25
+ }
26
+
27
+ .fas,
28
+ .#{$fa-css-prefix}-classic,
29
+ .#{$fa-css-prefix}-solid,
30
+ .far,
31
+ .#{$fa-css-prefix}-regular {
32
+ font-family: 'Font Awesome 6 Free';
33
+ }
34
+
35
+ .fab,
36
+ .#{$fa-css-prefix}-brands {
37
+ font-family: 'Font Awesome 6 Brands';
38
+ }
39
+
40
+
41
+ %fa-icon {
42
+ @include fa-icon;
43
+ }
@@ -0,0 +1,7 @@
1
+ // fixed-width icons
2
+ // -------------------------
3
+
4
+ .#{$fa-css-prefix}-fw {
5
+ text-align: center;
6
+ width: $fa-fw-width;
7
+ }
@@ -0,0 +1,57 @@
1
+ // functions
2
+ // --------------------------
3
+
4
+ // fa-content: convenience function used to set content property
5
+ @function fa-content($fa-var) {
6
+ @return unquote("\"#{ $fa-var }\"");
7
+ }
8
+
9
+ // fa-divide: Originally obtained from the Bootstrap https://github.com/twbs/bootstrap
10
+ //
11
+ // Licensed under: The MIT License (MIT)
12
+ //
13
+ // Copyright (c) 2011-2021 Twitter, Inc.
14
+ // Copyright (c) 2011-2021 The Bootstrap Authors
15
+ //
16
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ // of this software and associated documentation files (the "Software"), to deal
18
+ // in the Software without restriction, including without limitation the rights
19
+ // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ // copies of the Software, and to permit persons to whom the Software is
21
+ // furnished to do so, subject to the following conditions:
22
+ //
23
+ // The above copyright notice and this permission notice shall be included in
24
+ // all copies or substantial portions of the Software.
25
+ //
26
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
32
+ // THE SOFTWARE.
33
+
34
+ @function fa-divide($dividend, $divisor, $precision: 10) {
35
+ $sign: if($dividend > 0 and $divisor > 0, 1, -1);
36
+ $dividend: abs($dividend);
37
+ $divisor: abs($divisor);
38
+ $quotient: 0;
39
+ $remainder: $dividend;
40
+ @if $dividend == 0 {
41
+ @return 0;
42
+ }
43
+ @if $divisor == 0 {
44
+ @error "Cannot divide by 0";
45
+ }
46
+ @if $divisor == 1 {
47
+ @return $dividend;
48
+ }
49
+ @while $remainder >= $divisor {
50
+ $quotient: $quotient + 1;
51
+ $remainder: $remainder - $divisor;
52
+ }
53
+ @if $remainder > 0 and $precision > 0 {
54
+ $remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * .1;
55
+ }
56
+ @return ($quotient + $remainder) * $sign;
57
+ }
@@ -0,0 +1,9 @@
1
+ // specific icon class definition
2
+ // -------------------------
3
+
4
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
5
+ readers do not read off random characters that represent icons */
6
+
7
+ @each $name, $icon in $fa-icons {
8
+ .#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
9
+ }
@@ -0,0 +1,18 @@
1
+ // icons in a list
2
+ // -------------------------
3
+
4
+ .#{$fa-css-prefix}-ul {
5
+ list-style-type: none;
6
+ margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
7
+ padding-left: 0;
8
+
9
+ > li { position: relative; }
10
+ }
11
+
12
+ .#{$fa-css-prefix}-li {
13
+ left: calc(var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}) * -1);
14
+ position: absolute;
15
+ text-align: center;
16
+ width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
17
+ line-height: inherit;
18
+ }
@@ -0,0 +1,75 @@
1
+ // mixins
2
+ // --------------------------
3
+
4
+ // base rendering for an icon
5
+ @mixin fa-icon {
6
+ -webkit-font-smoothing: antialiased;
7
+ -moz-osx-font-smoothing: grayscale;
8
+ display: inline-block;
9
+ font-style: normal;
10
+ font-variant: normal;
11
+ font-weight: normal;
12
+ line-height: 1;
13
+ }
14
+
15
+ // sets relative font-sizing and alignment (in _sizing)
16
+ @mixin fa-size ($font-size) {
17
+ font-size: fa-divide($font-size, $fa-size-scale-base) * 1em; // converts step in sizing scale into an em-based value that's relative to the scale's base
18
+ line-height: fa-divide(1, $font-size) * 1em; // sets the line-height of the icon back to that of it's parent
19
+ vertical-align: (fa-divide(6, $font-size) - fa-divide(3, 8)) * 1em; // vertically centers the icon taking into account the surrounding text's descender
20
+ }
21
+
22
+ // only display content to screen readers
23
+ // see: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
24
+ // see: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
25
+ @mixin fa-sr-only() {
26
+ position: absolute;
27
+ width: 1px;
28
+ height: 1px;
29
+ padding: 0;
30
+ margin: -1px;
31
+ overflow: hidden;
32
+ clip: rect(0, 0, 0, 0);
33
+ white-space: nowrap;
34
+ border-width: 0;
35
+ }
36
+
37
+ // use in conjunction with .sr-only to only display content when it's focused
38
+ @mixin fa-sr-only-focusable() {
39
+ &:not(:focus) {
40
+ @include fa-sr-only();
41
+ }
42
+ }
43
+
44
+ // sets a specific icon family to use alongside style + icon mixins
45
+
46
+ // convenience mixins for declaring pseudo-elements by CSS variable,
47
+ // including all style-specific font properties, and both the ::before
48
+ // and ::after elements in the duotone case.
49
+ @mixin fa-icon-solid($fa-var) {
50
+ @extend %fa-icon;
51
+ @extend .fa-solid;
52
+
53
+ &::before {
54
+ content: unquote("\"#{ $fa-var }\"");
55
+ }
56
+ }
57
+
58
+ @mixin fa-icon-regular($fa-var) {
59
+ @extend %fa-icon;
60
+ @extend .fa-regular;
61
+
62
+ &::before {
63
+ content: unquote("\"#{ $fa-var }\"");
64
+ }
65
+ }
66
+
67
+ @mixin fa-icon-brands($fa-var) {
68
+ @extend %fa-icon;
69
+ @extend .fa-brands;
70
+
71
+ &::before {
72
+ content: unquote("\"#{ $fa-var }\"");
73
+ }
74
+ }
75
+
@@ -0,0 +1,31 @@
1
+ // rotating + flipping icons
2
+ // -------------------------
3
+
4
+ .#{$fa-css-prefix}-rotate-90 {
5
+ transform: rotate(90deg);
6
+ }
7
+
8
+ .#{$fa-css-prefix}-rotate-180 {
9
+ transform: rotate(180deg);
10
+ }
11
+
12
+ .#{$fa-css-prefix}-rotate-270 {
13
+ transform: rotate(270deg);
14
+ }
15
+
16
+ .#{$fa-css-prefix}-flip-horizontal {
17
+ transform: scale(-1, 1);
18
+ }
19
+
20
+ .#{$fa-css-prefix}-flip-vertical {
21
+ transform: scale(1, -1);
22
+ }
23
+
24
+ .#{$fa-css-prefix}-flip-both,
25
+ .#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
26
+ transform: scale(-1, -1);
27
+ }
28
+
29
+ .#{$fa-css-prefix}-rotate-by {
30
+ transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, none));
31
+ }
@@ -0,0 +1,14 @@
1
+ // screen-reader utilities
2
+ // -------------------------
3
+
4
+ // only display content to screen readers
5
+ .sr-only,
6
+ .#{$fa-css-prefix}-sr-only {
7
+ @include fa-sr-only;
8
+ }
9
+
10
+ // use in conjunction with .sr-only to only display content when it's focused
11
+ .sr-only-focusable,
12
+ .#{$fa-css-prefix}-sr-only-focusable {
13
+ @include fa-sr-only-focusable;
14
+ }