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.
- checksums.yaml +4 -4
- data/_includes/people/header.html +1 -1
- data/_sass/bootstrap/_accordion.scss +149 -0
- data/_sass/bootstrap/_alert.scss +71 -0
- data/_sass/bootstrap/_badge.scss +38 -0
- data/_sass/bootstrap/_breadcrumb.scss +40 -0
- data/_sass/bootstrap/_button-group.scss +142 -0
- data/_sass/bootstrap/_buttons.scss +207 -0
- data/_sass/bootstrap/_card.scss +234 -0
- data/_sass/bootstrap/_carousel.scss +226 -0
- data/_sass/bootstrap/_close.scss +40 -0
- data/_sass/bootstrap/_containers.scss +41 -0
- data/_sass/bootstrap/_dropdown.scss +249 -0
- data/_sass/bootstrap/_forms.scss +9 -0
- data/_sass/bootstrap/_functions.scss +302 -0
- data/_sass/bootstrap/_grid.scss +33 -0
- data/_sass/bootstrap/_helpers.scss +10 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_list-group.scss +192 -0
- data/_sass/bootstrap/_maps.scss +54 -0
- data/_sass/bootstrap/_mixins.scss +43 -0
- data/_sass/bootstrap/_modal.scss +237 -0
- data/_sass/bootstrap/_nav.scss +172 -0
- data/_sass/bootstrap/_navbar.scss +278 -0
- data/_sass/bootstrap/_offcanvas.scss +144 -0
- data/_sass/bootstrap/_pagination.scss +109 -0
- data/_sass/bootstrap/_placeholders.scss +51 -0
- data/_sass/bootstrap/_popover.scss +196 -0
- data/_sass/bootstrap/_progress.scss +59 -0
- data/_sass/bootstrap/_reboot.scss +610 -0
- data/_sass/bootstrap/_root.scss +73 -0
- data/_sass/bootstrap/_spinners.scss +85 -0
- data/_sass/bootstrap/_tables.scss +164 -0
- data/_sass/bootstrap/_toasts.scss +73 -0
- data/_sass/bootstrap/_tooltip.scss +120 -0
- data/_sass/bootstrap/_transitions.scss +27 -0
- data/_sass/bootstrap/_type.scss +106 -0
- data/_sass/bootstrap/_utilities.scss +647 -0
- data/_sass/bootstrap/_variables.scss +1634 -0
- data/_sass/bootstrap/bootstrap-grid.scss +64 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +9 -0
- data/_sass/bootstrap/bootstrap-utilities.scss +18 -0
- data/_sass/bootstrap/bootstrap.scss +51 -0
- data/_sass/bootstrap/forms/_floating-labels.scss +75 -0
- data/_sass/bootstrap/forms/_form-check.scss +175 -0
- data/_sass/bootstrap/forms/_form-control.scss +194 -0
- data/_sass/bootstrap/forms/_form-range.scss +91 -0
- data/_sass/bootstrap/forms/_form-select.scss +71 -0
- data/_sass/bootstrap/forms/_form-text.scss +11 -0
- data/_sass/bootstrap/forms/_input-group.scss +132 -0
- data/_sass/bootstrap/forms/_labels.scss +36 -0
- data/_sass/bootstrap/forms/_validation.scss +12 -0
- data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
- data/_sass/bootstrap/helpers/_color-bg.scss +10 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +12 -0
- data/_sass/bootstrap/helpers/_position.scss +36 -0
- data/_sass/bootstrap/helpers/_ratio.scss +26 -0
- data/_sass/bootstrap/helpers/_stacks.scss +15 -0
- data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
- data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
- data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/_sass/bootstrap/helpers/_vr.scss +8 -0
- data/_sass/bootstrap/mixins/_alert.scss +15 -0
- data/_sass/bootstrap/mixins/_backdrop.scss +14 -0
- data/_sass/bootstrap/mixins/_banner.scss +9 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +78 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
- data/_sass/bootstrap/mixins/_buttons.scss +70 -0
- data/_sass/bootstrap/mixins/_caret.scss +64 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
- data/_sass/bootstrap/mixins/_color-scheme.scss +7 -0
- data/_sass/bootstrap/mixins/_container.scss +11 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_forms.scss +152 -0
- data/_sass/bootstrap/mixins/_gradients.scss +47 -0
- data/_sass/bootstrap/mixins/_grid.scss +151 -0
- data/_sass/bootstrap/mixins/_image.scss +16 -0
- data/_sass/bootstrap/mixins/_list-group.scss +24 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_pagination.scss +10 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_table-variants.scss +24 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_utilities.scss +97 -0
- data/_sass/bootstrap/mixins/_visually-hidden.scss +29 -0
- data/_sass/bootstrap/utilities/_api.scss +47 -0
- data/_sass/bootstrap/vendor/_rfs.scss +354 -0
- data/_sass/fontawesome-free/_animated.scss +153 -0
- data/_sass/fontawesome-free/_bordered-pulled.scss +20 -0
- data/_sass/fontawesome-free/_core.scss +43 -0
- data/_sass/fontawesome-free/_fixed-width.scss +7 -0
- data/_sass/fontawesome-free/_functions.scss +57 -0
- data/_sass/fontawesome-free/_icons.scss +9 -0
- data/_sass/fontawesome-free/_list.scss +18 -0
- data/_sass/fontawesome-free/_mixins.scss +75 -0
- data/_sass/fontawesome-free/_rotated-flipped.scss +31 -0
- data/_sass/fontawesome-free/_screen-reader.scss +14 -0
- data/_sass/fontawesome-free/_shims.scss +2042 -0
- data/_sass/fontawesome-free/_sizing.scss +16 -0
- data/_sass/fontawesome-free/_stacked.scss +32 -0
- data/_sass/fontawesome-free/_variables.scss +4957 -0
- data/_sass/fontawesome-free/brands.scss +30 -0
- data/_sass/fontawesome-free/fontawesome.scss +21 -0
- data/_sass/fontawesome-free/regular.scss +26 -0
- data/_sass/fontawesome-free/solid.scss +26 -0
- data/_sass/fontawesome-free/v4-shims.scss +11 -0
- data/assets/css/dataTables.bootstrap5.css +416 -0
- data/assets/css/dataTables.bootstrap5.min.css +5 -0
- data/assets/img/anaconda-symbolic.svg +149 -0
- data/assets/img/anaconda.svg +183 -0
- data/assets/img/centos-dynamicmsg-logo.svg +182 -0
- data/assets/img/centos-dynamicmsg-type.svg +136 -0
- data/assets/img/centos-dynamicmsg-whitelogo.svg +172 -0
- data/assets/img/centos-dynamicmsg-whitetype.svg +142 -0
- data/assets/img/centos-gdm-whitelogo.svg +184 -0
- data/assets/img/centos-ipa-whiteheader.svg +162 -0
- data/assets/img/centos-logo-2bits.svg +142 -0
- data/assets/img/centos-logo.svg +171 -0
- data/assets/img/centos-message-logo.svg +304 -0
- data/assets/img/centos-motif.png +0 -0
- data/assets/img/centos-poweredby-logo.svg +258 -0
- data/assets/img/centos-symbol-2bits.svg +102 -0
- data/assets/img/centos-symbol.svg +121 -0
- data/assets/img/centos-type.svg +125 -0
- data/assets/img/centos-vertical-logo.svg +168 -0
- data/assets/img/centos-vertical-message-logo.svg +316 -0
- data/assets/img/centos-whitelogo.svg +161 -0
- data/assets/img/favicon.svg +121 -0
- data/assets/img/sort_asc.png +0 -0
- data/assets/img/sort_asc_disabled.png +0 -0
- data/assets/img/sort_both.png +0 -0
- data/assets/img/sort_desc.png +0 -0
- data/assets/img/sort_desc_disabled.png +0 -0
- data/assets/js/bootstrap.bundle.js +7075 -0
- data/assets/js/bootstrap.bundle.js.map +1 -0
- data/assets/js/bootstrap.bundle.min.js +7 -0
- data/assets/js/bootstrap.bundle.min.js.map +1 -0
- data/assets/js/bootstrap.esm.js +5202 -0
- data/assets/js/bootstrap.esm.js.map +1 -0
- data/assets/js/bootstrap.esm.min.js +7 -0
- data/assets/js/bootstrap.esm.min.js.map +1 -0
- data/assets/js/bootstrap.js +5249 -0
- data/assets/js/bootstrap.js.map +1 -0
- data/assets/js/bootstrap.min.js +7 -0
- data/assets/js/bootstrap.min.js.map +1 -0
- data/assets/js/clipboard.js +890 -0
- data/assets/js/clipboard.min.js +7 -0
- data/assets/js/dataTables.bootstrap5.js +200 -0
- data/assets/js/dataTables.bootstrap5.min.js +4 -0
- data/assets/js/dataTables.bootstrap5.min.mjs +4 -0
- data/assets/js/dataTables.bootstrap5.mjs +164 -0
- data/assets/js/jquery.js +10993 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/jquery.min.map +1 -0
- data/assets/js/jquery.slim.js +8894 -0
- data/assets/js/jquery.slim.min.js +2 -0
- data/assets/js/jquery.slim.min.map +1 -0
- data/assets/webfonts/Montserrat-Black.woff +0 -0
- data/assets/webfonts/Montserrat-Black.woff2 +0 -0
- data/assets/webfonts/Montserrat-BlackItalic.woff +0 -0
- data/assets/webfonts/Montserrat-BlackItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Bold.woff +0 -0
- data/assets/webfonts/Montserrat-Bold.woff2 +0 -0
- data/assets/webfonts/Montserrat-BoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-BoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraBold.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraBold.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraBoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraLight.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraLight.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraLightItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Italic.woff +0 -0
- data/assets/webfonts/Montserrat-Italic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Light.woff +0 -0
- data/assets/webfonts/Montserrat-Light.woff2 +0 -0
- data/assets/webfonts/Montserrat-LightItalic.woff +0 -0
- data/assets/webfonts/Montserrat-LightItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Medium.woff +0 -0
- data/assets/webfonts/Montserrat-Medium.woff2 +0 -0
- data/assets/webfonts/Montserrat-MediumItalic.woff +0 -0
- data/assets/webfonts/Montserrat-MediumItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Regular.woff +0 -0
- data/assets/webfonts/Montserrat-Regular.woff2 +0 -0
- data/assets/webfonts/Montserrat-SemiBold.woff +0 -0
- data/assets/webfonts/Montserrat-SemiBold.woff2 +0 -0
- data/assets/webfonts/Montserrat-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Thin.woff +0 -0
- data/assets/webfonts/Montserrat-Thin.woff2 +0 -0
- data/assets/webfonts/Montserrat-ThinItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ThinItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Black.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Black.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-BlackItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-BlackItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Bold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Bold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-BoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-BoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLight.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLight.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Italic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Italic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Light.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Light.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-LightItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-LightItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Medium.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Medium.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-MediumItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-MediumItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Regular.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Regular.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Thin.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Thin.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ThinItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ThinItalic.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- data/assets/webfonts/overpass-mono-bold.woff +0 -0
- data/assets/webfonts/overpass-mono-bold.woff2 +0 -0
- data/assets/webfonts/overpass-mono-light.woff +0 -0
- data/assets/webfonts/overpass-mono-light.woff2 +0 -0
- data/assets/webfonts/overpass-mono-regular.woff +0 -0
- data/assets/webfonts/overpass-mono-regular.woff2 +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff2 +0 -0
- 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,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
|
+
}
|