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,64 @@
|
|
1
|
+
@import "mixins/banner";
|
2
|
+
@include bsBanner(Grid);
|
3
|
+
|
4
|
+
$include-column-box-sizing: true !default;
|
5
|
+
|
6
|
+
@import "functions";
|
7
|
+
@import "variables";
|
8
|
+
@import "maps";
|
9
|
+
|
10
|
+
@import "mixins/lists";
|
11
|
+
@import "mixins/breakpoints";
|
12
|
+
@import "mixins/container";
|
13
|
+
@import "mixins/grid";
|
14
|
+
@import "mixins/utilities";
|
15
|
+
|
16
|
+
@import "vendor/rfs";
|
17
|
+
|
18
|
+
@import "root";
|
19
|
+
|
20
|
+
@import "containers";
|
21
|
+
@import "grid";
|
22
|
+
|
23
|
+
@import "utilities";
|
24
|
+
// Only use the utilities we need
|
25
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
26
|
+
$utilities: map-get-multiple(
|
27
|
+
$utilities,
|
28
|
+
(
|
29
|
+
"display",
|
30
|
+
"order",
|
31
|
+
"flex",
|
32
|
+
"flex-direction",
|
33
|
+
"flex-grow",
|
34
|
+
"flex-shrink",
|
35
|
+
"flex-wrap",
|
36
|
+
"justify-content",
|
37
|
+
"align-items",
|
38
|
+
"align-content",
|
39
|
+
"align-self",
|
40
|
+
"margin",
|
41
|
+
"margin-x",
|
42
|
+
"margin-y",
|
43
|
+
"margin-top",
|
44
|
+
"margin-end",
|
45
|
+
"margin-bottom",
|
46
|
+
"margin-start",
|
47
|
+
"negative-margin",
|
48
|
+
"negative-margin-x",
|
49
|
+
"negative-margin-y",
|
50
|
+
"negative-margin-top",
|
51
|
+
"negative-margin-end",
|
52
|
+
"negative-margin-bottom",
|
53
|
+
"negative-margin-start",
|
54
|
+
"padding",
|
55
|
+
"padding-x",
|
56
|
+
"padding-y",
|
57
|
+
"padding-top",
|
58
|
+
"padding-end",
|
59
|
+
"padding-bottom",
|
60
|
+
"padding-start",
|
61
|
+
)
|
62
|
+
);
|
63
|
+
|
64
|
+
@import "utilities/api";
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@import "mixins/banner";
|
2
|
+
@include bsBanner(Utilities);
|
3
|
+
|
4
|
+
// Configuration
|
5
|
+
@import "functions";
|
6
|
+
@import "variables";
|
7
|
+
@import "maps";
|
8
|
+
@import "mixins";
|
9
|
+
@import "utilities";
|
10
|
+
|
11
|
+
// Layout & components
|
12
|
+
@import "root";
|
13
|
+
|
14
|
+
// Helpers
|
15
|
+
@import "helpers";
|
16
|
+
|
17
|
+
// Utilities
|
18
|
+
@import "utilities/api";
|
@@ -0,0 +1,51 @@
|
|
1
|
+
@import "mixins/banner";
|
2
|
+
@include bsBanner("");
|
3
|
+
|
4
|
+
|
5
|
+
// scss-docs-start import-stack
|
6
|
+
// Configuration
|
7
|
+
@import "functions";
|
8
|
+
@import "variables";
|
9
|
+
@import "maps";
|
10
|
+
@import "mixins";
|
11
|
+
@import "utilities";
|
12
|
+
|
13
|
+
// Layout & components
|
14
|
+
@import "root";
|
15
|
+
@import "reboot";
|
16
|
+
@import "type";
|
17
|
+
@import "images";
|
18
|
+
@import "containers";
|
19
|
+
@import "grid";
|
20
|
+
@import "tables";
|
21
|
+
@import "forms";
|
22
|
+
@import "buttons";
|
23
|
+
@import "transitions";
|
24
|
+
@import "dropdown";
|
25
|
+
@import "button-group";
|
26
|
+
@import "nav";
|
27
|
+
@import "navbar";
|
28
|
+
@import "card";
|
29
|
+
@import "accordion";
|
30
|
+
@import "breadcrumb";
|
31
|
+
@import "pagination";
|
32
|
+
@import "badge";
|
33
|
+
@import "alert";
|
34
|
+
@import "progress";
|
35
|
+
@import "list-group";
|
36
|
+
@import "close";
|
37
|
+
@import "toasts";
|
38
|
+
@import "modal";
|
39
|
+
@import "tooltip";
|
40
|
+
@import "popover";
|
41
|
+
@import "carousel";
|
42
|
+
@import "spinners";
|
43
|
+
@import "offcanvas";
|
44
|
+
@import "placeholders";
|
45
|
+
|
46
|
+
// Helpers
|
47
|
+
@import "helpers";
|
48
|
+
|
49
|
+
// Utilities
|
50
|
+
@import "utilities/api";
|
51
|
+
// scss-docs-end import-stack
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.form-floating {
|
2
|
+
position: relative;
|
3
|
+
|
4
|
+
> .form-control,
|
5
|
+
> .form-control-plaintext,
|
6
|
+
> .form-select {
|
7
|
+
height: $form-floating-height;
|
8
|
+
line-height: $form-floating-line-height;
|
9
|
+
}
|
10
|
+
|
11
|
+
> label {
|
12
|
+
position: absolute;
|
13
|
+
top: 0;
|
14
|
+
left: 0;
|
15
|
+
width: 100%;
|
16
|
+
height: 100%; // allow textareas
|
17
|
+
padding: $form-floating-padding-y $form-floating-padding-x;
|
18
|
+
overflow: hidden;
|
19
|
+
text-align: start;
|
20
|
+
text-overflow: ellipsis;
|
21
|
+
white-space: nowrap;
|
22
|
+
pointer-events: none;
|
23
|
+
border: $input-border-width solid transparent; // Required for aligning label's text with the input as it affects inner box model
|
24
|
+
transform-origin: 0 0;
|
25
|
+
@include transition($form-floating-transition);
|
26
|
+
}
|
27
|
+
|
28
|
+
> .form-control,
|
29
|
+
> .form-control-plaintext {
|
30
|
+
padding: $form-floating-padding-y $form-floating-padding-x;
|
31
|
+
|
32
|
+
&::placeholder {
|
33
|
+
color: transparent;
|
34
|
+
}
|
35
|
+
|
36
|
+
&:focus,
|
37
|
+
&:not(:placeholder-shown) {
|
38
|
+
padding-top: $form-floating-input-padding-t;
|
39
|
+
padding-bottom: $form-floating-input-padding-b;
|
40
|
+
}
|
41
|
+
// Duplicated because `:-webkit-autofill` invalidates other selectors when grouped
|
42
|
+
&:-webkit-autofill {
|
43
|
+
padding-top: $form-floating-input-padding-t;
|
44
|
+
padding-bottom: $form-floating-input-padding-b;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
> .form-select {
|
49
|
+
padding-top: $form-floating-input-padding-t;
|
50
|
+
padding-bottom: $form-floating-input-padding-b;
|
51
|
+
}
|
52
|
+
|
53
|
+
> .form-control:focus,
|
54
|
+
> .form-control:not(:placeholder-shown),
|
55
|
+
> .form-control-plaintext,
|
56
|
+
> .form-select {
|
57
|
+
~ label {
|
58
|
+
opacity: $form-floating-label-opacity;
|
59
|
+
transform: $form-floating-label-transform;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
// Duplicated because `:-webkit-autofill` invalidates other selectors when grouped
|
63
|
+
> .form-control:-webkit-autofill {
|
64
|
+
~ label {
|
65
|
+
opacity: $form-floating-label-opacity;
|
66
|
+
transform: $form-floating-label-transform;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
> .form-control-plaintext {
|
71
|
+
~ label {
|
72
|
+
border-width: $input-border-width 0; // Required to properly position label text - as explained above
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
//
|
2
|
+
// Check/radio
|
3
|
+
//
|
4
|
+
|
5
|
+
.form-check {
|
6
|
+
display: block;
|
7
|
+
min-height: $form-check-min-height;
|
8
|
+
padding-left: $form-check-padding-start;
|
9
|
+
margin-bottom: $form-check-margin-bottom;
|
10
|
+
|
11
|
+
.form-check-input {
|
12
|
+
float: left;
|
13
|
+
margin-left: $form-check-padding-start * -1;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.form-check-reverse {
|
18
|
+
padding-right: $form-check-padding-start;
|
19
|
+
padding-left: 0;
|
20
|
+
text-align: right;
|
21
|
+
|
22
|
+
.form-check-input {
|
23
|
+
float: right;
|
24
|
+
margin-right: $form-check-padding-start * -1;
|
25
|
+
margin-left: 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.form-check-input {
|
30
|
+
width: $form-check-input-width;
|
31
|
+
height: $form-check-input-width;
|
32
|
+
margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
|
33
|
+
vertical-align: top;
|
34
|
+
background-color: $form-check-input-bg;
|
35
|
+
background-repeat: no-repeat;
|
36
|
+
background-position: center;
|
37
|
+
background-size: contain;
|
38
|
+
border: $form-check-input-border;
|
39
|
+
appearance: none;
|
40
|
+
print-color-adjust: exact; // Keep themed appearance for print
|
41
|
+
@include transition($form-check-transition);
|
42
|
+
|
43
|
+
&[type="checkbox"] {
|
44
|
+
@include border-radius($form-check-input-border-radius);
|
45
|
+
}
|
46
|
+
|
47
|
+
&[type="radio"] {
|
48
|
+
// stylelint-disable-next-line property-disallowed-list
|
49
|
+
border-radius: $form-check-radio-border-radius;
|
50
|
+
}
|
51
|
+
|
52
|
+
&:active {
|
53
|
+
filter: $form-check-input-active-filter;
|
54
|
+
}
|
55
|
+
|
56
|
+
&:focus {
|
57
|
+
border-color: $form-check-input-focus-border;
|
58
|
+
outline: 0;
|
59
|
+
box-shadow: $form-check-input-focus-box-shadow;
|
60
|
+
}
|
61
|
+
|
62
|
+
&:checked {
|
63
|
+
background-color: $form-check-input-checked-bg-color;
|
64
|
+
border-color: $form-check-input-checked-border-color;
|
65
|
+
|
66
|
+
&[type="checkbox"] {
|
67
|
+
@if $enable-gradients {
|
68
|
+
background-image: escape-svg($form-check-input-checked-bg-image), var(--#{$prefix}gradient);
|
69
|
+
} @else {
|
70
|
+
background-image: escape-svg($form-check-input-checked-bg-image);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
&[type="radio"] {
|
75
|
+
@if $enable-gradients {
|
76
|
+
background-image: escape-svg($form-check-radio-checked-bg-image), var(--#{$prefix}gradient);
|
77
|
+
} @else {
|
78
|
+
background-image: escape-svg($form-check-radio-checked-bg-image);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
&[type="checkbox"]:indeterminate {
|
84
|
+
background-color: $form-check-input-indeterminate-bg-color;
|
85
|
+
border-color: $form-check-input-indeterminate-border-color;
|
86
|
+
|
87
|
+
@if $enable-gradients {
|
88
|
+
background-image: escape-svg($form-check-input-indeterminate-bg-image), var(--#{$prefix}gradient);
|
89
|
+
} @else {
|
90
|
+
background-image: escape-svg($form-check-input-indeterminate-bg-image);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
&:disabled {
|
95
|
+
pointer-events: none;
|
96
|
+
filter: none;
|
97
|
+
opacity: $form-check-input-disabled-opacity;
|
98
|
+
}
|
99
|
+
|
100
|
+
// Use disabled attribute in addition of :disabled pseudo-class
|
101
|
+
// See: https://github.com/twbs/bootstrap/issues/28247
|
102
|
+
&[disabled],
|
103
|
+
&:disabled {
|
104
|
+
~ .form-check-label {
|
105
|
+
cursor: default;
|
106
|
+
opacity: $form-check-label-disabled-opacity;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
.form-check-label {
|
112
|
+
color: $form-check-label-color;
|
113
|
+
cursor: $form-check-label-cursor;
|
114
|
+
}
|
115
|
+
|
116
|
+
//
|
117
|
+
// Switch
|
118
|
+
//
|
119
|
+
|
120
|
+
.form-switch {
|
121
|
+
padding-left: $form-switch-padding-start;
|
122
|
+
|
123
|
+
.form-check-input {
|
124
|
+
width: $form-switch-width;
|
125
|
+
margin-left: $form-switch-padding-start * -1;
|
126
|
+
background-image: escape-svg($form-switch-bg-image);
|
127
|
+
background-position: left center;
|
128
|
+
@include border-radius($form-switch-border-radius);
|
129
|
+
@include transition($form-switch-transition);
|
130
|
+
|
131
|
+
&:focus {
|
132
|
+
background-image: escape-svg($form-switch-focus-bg-image);
|
133
|
+
}
|
134
|
+
|
135
|
+
&:checked {
|
136
|
+
background-position: $form-switch-checked-bg-position;
|
137
|
+
|
138
|
+
@if $enable-gradients {
|
139
|
+
background-image: escape-svg($form-switch-checked-bg-image), var(--#{$prefix}gradient);
|
140
|
+
} @else {
|
141
|
+
background-image: escape-svg($form-switch-checked-bg-image);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
&.form-check-reverse {
|
147
|
+
padding-right: $form-switch-padding-start;
|
148
|
+
padding-left: 0;
|
149
|
+
|
150
|
+
.form-check-input {
|
151
|
+
margin-right: $form-switch-padding-start * -1;
|
152
|
+
margin-left: 0;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
.form-check-inline {
|
158
|
+
display: inline-block;
|
159
|
+
margin-right: $form-check-inline-margin-end;
|
160
|
+
}
|
161
|
+
|
162
|
+
.btn-check {
|
163
|
+
position: absolute;
|
164
|
+
clip: rect(0, 0, 0, 0);
|
165
|
+
pointer-events: none;
|
166
|
+
|
167
|
+
&[disabled],
|
168
|
+
&:disabled {
|
169
|
+
+ .btn {
|
170
|
+
pointer-events: none;
|
171
|
+
filter: none;
|
172
|
+
opacity: $form-check-btn-check-disabled-opacity;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
@@ -0,0 +1,194 @@
|
|
1
|
+
//
|
2
|
+
// General form controls (plus a few specific high-level interventions)
|
3
|
+
//
|
4
|
+
|
5
|
+
.form-control {
|
6
|
+
display: block;
|
7
|
+
width: 100%;
|
8
|
+
padding: $input-padding-y $input-padding-x;
|
9
|
+
font-family: $input-font-family;
|
10
|
+
@include font-size($input-font-size);
|
11
|
+
font-weight: $input-font-weight;
|
12
|
+
line-height: $input-line-height;
|
13
|
+
color: $input-color;
|
14
|
+
background-color: $input-bg;
|
15
|
+
background-clip: padding-box;
|
16
|
+
border: $input-border-width solid $input-border-color;
|
17
|
+
appearance: none; // Fix appearance for date inputs in Safari
|
18
|
+
|
19
|
+
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
|
20
|
+
@include border-radius($input-border-radius, 0);
|
21
|
+
|
22
|
+
@include box-shadow($input-box-shadow);
|
23
|
+
@include transition($input-transition);
|
24
|
+
|
25
|
+
&[type="file"] {
|
26
|
+
overflow: hidden; // prevent pseudo element button overlap
|
27
|
+
|
28
|
+
&:not(:disabled):not([readonly]) {
|
29
|
+
cursor: pointer;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Customize the `:focus` state to imitate native WebKit styles.
|
34
|
+
&:focus {
|
35
|
+
color: $input-focus-color;
|
36
|
+
background-color: $input-focus-bg;
|
37
|
+
border-color: $input-focus-border-color;
|
38
|
+
outline: 0;
|
39
|
+
@if $enable-shadows {
|
40
|
+
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
|
41
|
+
} @else {
|
42
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
43
|
+
box-shadow: $input-focus-box-shadow;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
// Add some height to date inputs on iOS
|
48
|
+
// https://github.com/twbs/bootstrap/issues/23307
|
49
|
+
// TODO: we can remove this workaround once https://bugs.webkit.org/show_bug.cgi?id=198959 is resolved
|
50
|
+
&::-webkit-date-and-time-value {
|
51
|
+
// Multiply line-height by 1em if it has no unit
|
52
|
+
height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height);
|
53
|
+
}
|
54
|
+
|
55
|
+
// Placeholder
|
56
|
+
&::placeholder {
|
57
|
+
color: $input-placeholder-color;
|
58
|
+
// Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
|
59
|
+
opacity: 1;
|
60
|
+
}
|
61
|
+
|
62
|
+
// Disabled inputs
|
63
|
+
//
|
64
|
+
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
65
|
+
// disabled if the fieldset is disabled. Due to implementation difficulty, we
|
66
|
+
// don't honor that edge case; we style them as disabled anyway.
|
67
|
+
&:disabled {
|
68
|
+
color: $input-disabled-color;
|
69
|
+
background-color: $input-disabled-bg;
|
70
|
+
border-color: $input-disabled-border-color;
|
71
|
+
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
|
72
|
+
opacity: 1;
|
73
|
+
}
|
74
|
+
|
75
|
+
// File input buttons theming
|
76
|
+
&::file-selector-button {
|
77
|
+
padding: $input-padding-y $input-padding-x;
|
78
|
+
margin: (-$input-padding-y) (-$input-padding-x);
|
79
|
+
margin-inline-end: $input-padding-x;
|
80
|
+
color: $form-file-button-color;
|
81
|
+
@include gradient-bg($form-file-button-bg);
|
82
|
+
pointer-events: none;
|
83
|
+
border-color: inherit;
|
84
|
+
border-style: solid;
|
85
|
+
border-width: 0;
|
86
|
+
border-inline-end-width: $input-border-width;
|
87
|
+
border-radius: 0; // stylelint-disable-line property-disallowed-list
|
88
|
+
@include transition($btn-transition);
|
89
|
+
}
|
90
|
+
|
91
|
+
&:hover:not(:disabled):not([readonly])::file-selector-button {
|
92
|
+
background-color: $form-file-button-hover-bg;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
// Readonly controls as plain text
|
97
|
+
//
|
98
|
+
// Apply class to a readonly input to make it appear like regular plain
|
99
|
+
// text (without any border, background color, focus indicator)
|
100
|
+
|
101
|
+
.form-control-plaintext {
|
102
|
+
display: block;
|
103
|
+
width: 100%;
|
104
|
+
padding: $input-padding-y 0;
|
105
|
+
margin-bottom: 0; // match inputs if this class comes on inputs with default margins
|
106
|
+
line-height: $input-line-height;
|
107
|
+
color: $input-plaintext-color;
|
108
|
+
background-color: transparent;
|
109
|
+
border: solid transparent;
|
110
|
+
border-width: $input-border-width 0;
|
111
|
+
|
112
|
+
&:focus {
|
113
|
+
outline: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
&.form-control-sm,
|
117
|
+
&.form-control-lg {
|
118
|
+
padding-right: 0;
|
119
|
+
padding-left: 0;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
// Form control sizing
|
124
|
+
//
|
125
|
+
// Build on `.form-control` with modifier classes to decrease or increase the
|
126
|
+
// height and font-size of form controls.
|
127
|
+
//
|
128
|
+
// Repeated in `_input_group.scss` to avoid Sass extend issues.
|
129
|
+
|
130
|
+
.form-control-sm {
|
131
|
+
min-height: $input-height-sm;
|
132
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
133
|
+
@include font-size($input-font-size-sm);
|
134
|
+
@include border-radius($input-border-radius-sm);
|
135
|
+
|
136
|
+
&::file-selector-button {
|
137
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
138
|
+
margin: (-$input-padding-y-sm) (-$input-padding-x-sm);
|
139
|
+
margin-inline-end: $input-padding-x-sm;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.form-control-lg {
|
144
|
+
min-height: $input-height-lg;
|
145
|
+
padding: $input-padding-y-lg $input-padding-x-lg;
|
146
|
+
@include font-size($input-font-size-lg);
|
147
|
+
@include border-radius($input-border-radius-lg);
|
148
|
+
|
149
|
+
&::file-selector-button {
|
150
|
+
padding: $input-padding-y-lg $input-padding-x-lg;
|
151
|
+
margin: (-$input-padding-y-lg) (-$input-padding-x-lg);
|
152
|
+
margin-inline-end: $input-padding-x-lg;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
// Make sure textareas don't shrink too much when resized
|
157
|
+
// https://github.com/twbs/bootstrap/pull/29124
|
158
|
+
// stylelint-disable selector-no-qualifying-type
|
159
|
+
textarea {
|
160
|
+
&.form-control {
|
161
|
+
min-height: $input-height;
|
162
|
+
}
|
163
|
+
|
164
|
+
&.form-control-sm {
|
165
|
+
min-height: $input-height-sm;
|
166
|
+
}
|
167
|
+
|
168
|
+
&.form-control-lg {
|
169
|
+
min-height: $input-height-lg;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
// stylelint-enable selector-no-qualifying-type
|
173
|
+
|
174
|
+
.form-control-color {
|
175
|
+
width: $form-color-width;
|
176
|
+
height: $input-height;
|
177
|
+
padding: $input-padding-y;
|
178
|
+
|
179
|
+
&:not(:disabled):not([readonly]) {
|
180
|
+
cursor: pointer;
|
181
|
+
}
|
182
|
+
|
183
|
+
&::-moz-color-swatch {
|
184
|
+
border: 0 !important; // stylelint-disable-line declaration-no-important
|
185
|
+
@include border-radius($input-border-radius);
|
186
|
+
}
|
187
|
+
|
188
|
+
&::-webkit-color-swatch {
|
189
|
+
@include border-radius($input-border-radius);
|
190
|
+
}
|
191
|
+
|
192
|
+
&.form-control-sm { height: $input-height-sm; }
|
193
|
+
&.form-control-lg { height: $input-height-lg; }
|
194
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
// Range
|
2
|
+
//
|
3
|
+
// Style range inputs the same across browsers. Vendor-specific rules for pseudo
|
4
|
+
// elements cannot be mixed. As such, there are no shared styles for focus or
|
5
|
+
// active states on prefixed selectors.
|
6
|
+
|
7
|
+
.form-range {
|
8
|
+
width: 100%;
|
9
|
+
height: add($form-range-thumb-height, $form-range-thumb-focus-box-shadow-width * 2);
|
10
|
+
padding: 0; // Need to reset padding
|
11
|
+
background-color: transparent;
|
12
|
+
appearance: none;
|
13
|
+
|
14
|
+
&:focus {
|
15
|
+
outline: 0;
|
16
|
+
|
17
|
+
// Pseudo-elements must be split across multiple rulesets to have an effect.
|
18
|
+
// No box-shadow() mixin for focus accessibility.
|
19
|
+
&::-webkit-slider-thumb { box-shadow: $form-range-thumb-focus-box-shadow; }
|
20
|
+
&::-moz-range-thumb { box-shadow: $form-range-thumb-focus-box-shadow; }
|
21
|
+
}
|
22
|
+
|
23
|
+
&::-moz-focus-outer {
|
24
|
+
border: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
&::-webkit-slider-thumb {
|
28
|
+
width: $form-range-thumb-width;
|
29
|
+
height: $form-range-thumb-height;
|
30
|
+
margin-top: ($form-range-track-height - $form-range-thumb-height) * .5; // Webkit specific
|
31
|
+
@include gradient-bg($form-range-thumb-bg);
|
32
|
+
border: $form-range-thumb-border;
|
33
|
+
@include border-radius($form-range-thumb-border-radius);
|
34
|
+
@include box-shadow($form-range-thumb-box-shadow);
|
35
|
+
@include transition($form-range-thumb-transition);
|
36
|
+
appearance: none;
|
37
|
+
|
38
|
+
&:active {
|
39
|
+
@include gradient-bg($form-range-thumb-active-bg);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
&::-webkit-slider-runnable-track {
|
44
|
+
width: $form-range-track-width;
|
45
|
+
height: $form-range-track-height;
|
46
|
+
color: transparent; // Why?
|
47
|
+
cursor: $form-range-track-cursor;
|
48
|
+
background-color: $form-range-track-bg;
|
49
|
+
border-color: transparent;
|
50
|
+
@include border-radius($form-range-track-border-radius);
|
51
|
+
@include box-shadow($form-range-track-box-shadow);
|
52
|
+
}
|
53
|
+
|
54
|
+
&::-moz-range-thumb {
|
55
|
+
width: $form-range-thumb-width;
|
56
|
+
height: $form-range-thumb-height;
|
57
|
+
@include gradient-bg($form-range-thumb-bg);
|
58
|
+
border: $form-range-thumb-border;
|
59
|
+
@include border-radius($form-range-thumb-border-radius);
|
60
|
+
@include box-shadow($form-range-thumb-box-shadow);
|
61
|
+
@include transition($form-range-thumb-transition);
|
62
|
+
appearance: none;
|
63
|
+
|
64
|
+
&:active {
|
65
|
+
@include gradient-bg($form-range-thumb-active-bg);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
&::-moz-range-track {
|
70
|
+
width: $form-range-track-width;
|
71
|
+
height: $form-range-track-height;
|
72
|
+
color: transparent;
|
73
|
+
cursor: $form-range-track-cursor;
|
74
|
+
background-color: $form-range-track-bg;
|
75
|
+
border-color: transparent; // Firefox specific?
|
76
|
+
@include border-radius($form-range-track-border-radius);
|
77
|
+
@include box-shadow($form-range-track-box-shadow);
|
78
|
+
}
|
79
|
+
|
80
|
+
&:disabled {
|
81
|
+
pointer-events: none;
|
82
|
+
|
83
|
+
&::-webkit-slider-thumb {
|
84
|
+
background-color: $form-range-thumb-disabled-bg;
|
85
|
+
}
|
86
|
+
|
87
|
+
&::-moz-range-thumb {
|
88
|
+
background-color: $form-range-thumb-disabled-bg;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|