jekyll-theme-centos 2.2.0.pre.true.3 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/aws-images.csv +81 -0
- data/_data/full-altarchlist.csv +74 -0
- data/_data/full-mirrorlist.csv +609 -0
- data/_includes/breadcrumbs.html +1 -1
- data/_includes/default/header.html +10 -2
- data/_includes/footer.html +1 -1
- data/_includes/head-datatables.html +3 -3
- data/_includes/head.html +1 -1
- data/_includes/home/distributions.html +1 -1
- data/_includes/home/header.html +2 -2
- data/_includes/home/news-and-events.html +6 -9
- data/_includes/home/planet.html +9 -10
- data/_includes/home/sponsors.html +1 -1
- data/_includes/people/about.html +12 -14
- data/_includes/people/posts.html +16 -14
- data/_includes/people/projects.html +19 -17
- data/_includes/people/pubkeys.html +15 -16
- data/_includes/people/support.html +13 -10
- data/_includes/post-nav-explorer.html +1 -1
- data/_includes/search.html +2 -2
- data/_layouts/blog.html +1 -1
- data/_layouts/default.html +2 -10
- data/_layouts/home.html +0 -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/centos/_headings.scss +17 -0
- data/_sass/centos/_links.scss +5 -56
- data/_sass/centos/_variables.scss +2 -4
- 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/_sass/montserrat/_montserrat.scss +79 -0
- data/_sass/overpass-mono/_overpass-mono.scss +33 -0
- data/assets/css/dataTables.bootstrap5.css +416 -0
- data/assets/css/dataTables.bootstrap5.min.css +2 -2
- data/assets/css/stylesheet.min.scss +15 -12
- data/assets/img/anaconda-symbolic.svg +1 -0
- data/assets/img/anaconda.svg +1 -0
- data/assets/img/centos-dynamicmsg-logo.svg +1 -0
- data/assets/img/centos-dynamicmsg-type.svg +1 -0
- data/assets/img/centos-dynamicmsg-whitelogo.svg +1 -0
- data/assets/img/centos-dynamicmsg-whitetype.svg +1 -0
- data/assets/img/centos-gdm-whitelogo.svg +1 -0
- data/assets/img/centos-ipa-whiteheader.svg +1 -0
- data/assets/img/centos-logo-2bits.svg +1 -0
- data/assets/img/centos-logo.svg +1 -103
- data/assets/img/centos-message-logo.svg +1 -0
- data/assets/img/centos-motif.png +0 -0
- data/assets/img/centos-poweredby-logo.svg +1 -0
- data/assets/img/centos-symbol-2bits.svg +1 -0
- data/assets/img/centos-symbol.svg +1 -69
- data/assets/img/centos-type.svg +1 -0
- data/assets/img/centos-vertical-logo.svg +1 -0
- data/assets/img/centos-vertical-message-logo.svg +1 -0
- data/assets/img/centos-whitelogo.svg +1 -109
- data/assets/js/bootstrap.bundle.js +7075 -0
- data/assets/js/bootstrap.bundle.js.map +1 -0
- data/assets/js/bootstrap.bundle.min.js +2 -2
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- 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 +0 -0
- data/assets/js/dataTables.bootstrap5.js +200 -0
- data/assets/js/dataTables.bootstrap5.min.js +4 -14
- 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 -2
- data/assets/js/jquery.min.map +1 -1
- 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/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
- data/default.md +165 -0
- data/index.md +9 -0
- data/people.md +63 -0
- metadata +186 -145
- data/_sass/centos/centos-blog.scss +0 -46
- data/_sass/centos/centos-httpd.scss +0 -27
- data/_sass/centos/centos-lists.scss +0 -161
- data/_sass/centos/fonts/_montserrat.scss +0 -253
- data/_sass/centos/fonts/_overpass.scss +0 -43
- data/assets/img/centos-symbol-with-shadow.svg +0 -89
- data/assets/img/centos-symbol.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-1.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-2.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-3.png +0 -0
- data/assets/img/distributions/centos-linux/7/screenshot-4.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-1.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-2.png +0 -0
- data/assets/img/distributions/centos-stream/9/screenshot-3.png +0 -0
- data/assets/img/favicon.png +0 -0
- data/assets/img/sponsors/15minuteservers.png +0 -0
- data/assets/img/sponsors/2014-11-10-vi.gif +0 -0
- data/assets/img/sponsors/45drives.png +0 -0
- data/assets/img/sponsors/BackupVault.png +0 -0
- data/assets/img/sponsors/Banner_Castlegem_240x60.gif +0 -0
- data/assets/img/sponsors/CentOS-CBSL-02.png +0 -0
- data/assets/img/sponsors/GameHost.png +0 -0
- data/assets/img/sponsors/HOST1PLUS_240x60.jpg +0 -0
- data/assets/img/sponsors/HostDime_Logo_Slogan_300_71.png +0 -0
- data/assets/img/sponsors/NDCHost.png +0 -0
- data/assets/img/sponsors/OffshoreServers.png +0 -0
- data/assets/img/sponsors/OffshoreVPS.png +0 -0
- data/assets/img/sponsors/PNAP-Logo-CMYK.JPG +0 -0
- data/assets/img/sponsors/PNAP_Banner.gif +0 -0
- data/assets/img/sponsors/PSW_Banner_240x60.jpg +0 -0
- data/assets/img/sponsors/ad_lfcpxen_240x60.png +0 -0
- data/assets/img/sponsors/altushost.png +0 -0
- data/assets/img/sponsors/am-logo.png +0 -0
- data/assets/img/sponsors/aws.png +0 -0
- data/assets/img/sponsors/baseip_240x60.jpg +0 -0
- data/assets/img/sponsors/cdn77.png +0 -0
- data/assets/img/sponsors/centos-serverhub.png +0 -0
- data/assets/img/sponsors/clientvps.png +0 -0
- data/assets/img/sponsors/codero.png +0 -0
- data/assets/img/sponsors/codero_small.gif +0 -0
- data/assets/img/sponsors/coloau.png +0 -0
- data/assets/img/sponsors/colocation-america.png +0 -0
- data/assets/img/sponsors/cologuard.png +0 -0
- data/assets/img/sponsors/constant.png +0 -0
- data/assets/img/sponsors/coreix.jpg +0 -0
- data/assets/img/sponsors/cpanel.png +0 -0
- data/assets/img/sponsors/dbd_240_60.jpg +0 -0
- data/assets/img/sponsors/dedicatednow.gif +0 -0
- data/assets/img/sponsors/dedicatedsolutions.png +0 -0
- data/assets/img/sponsors/dtsnet.png +0 -0
- data/assets/img/sponsors/eStruxture.png +0 -0
- data/assets/img/sponsors/equinix.png +0 -0
- data/assets/img/sponsors/eukhost.png +0 -0
- data/assets/img/sponsors/exabytes.png +0 -0
- data/assets/img/sponsors/fasthosts.png +0 -0
- data/assets/img/sponsors/galaxy_small.gif +0 -0
- data/assets/img/sponsors/globotech.png +0 -0
- data/assets/img/sponsors/godaddy.jpg +0 -0
- data/assets/img/sponsors/heficed.png +0 -0
- data/assets/img/sponsors/host-engine.png +0 -0
- data/assets/img/sponsors/host-stage.png +0 -0
- data/assets/img/sponsors/host1plus_logo.png +0 -0
- data/assets/img/sponsors/hostasaurus240x60banner.gif +0 -0
- data/assets/img/sponsors/hostdime_br_small.jpg +0 -0
- data/assets/img/sponsors/hostingswift240x60.gif +0 -0
- data/assets/img/sponsors/hostiserver.png +0 -0
- data/assets/img/sponsors/hostkey_small.gif +0 -0
- data/assets/img/sponsors/internap.png +0 -0
- data/assets/img/sponsors/internetx.gif +0 -0
- data/assets/img/sponsors/intevation.png +0 -0
- data/assets/img/sponsors/iomart-240x60.gif +0 -0
- data/assets/img/sponsors/iomart.png +0 -0
- data/assets/img/sponsors/itsyndicate.png +0 -0
- data/assets/img/sponsors/leaseweb.png +0 -0
- data/assets/img/sponsors/liquidweb.png +0 -0
- data/assets/img/sponsors/lyrahosting.png +0 -0
- data/assets/img/sponsors/miva.png +0 -0
- data/assets/img/sponsors/multacom-240x60.gif +0 -0
- data/assets/img/sponsors/ndc_host_240.gif +0 -0
- data/assets/img/sponsors/netelligent_small.png +0 -0
- data/assets/img/sponsors/nexcess.png +0 -0
- data/assets/img/sponsors/packet.png +0 -0
- data/assets/img/sponsors/pidginhost.png +0 -0
- data/assets/img/sponsors/profvds.png +0 -0
- data/assets/img/sponsors/psychz-234x60.jpg +0 -0
- data/assets/img/sponsors/psychz_net.gif +0 -0
- data/assets/img/sponsors/ptisp.png +0 -0
- data/assets/img/sponsors/redstation.png +0 -0
- data/assets/img/sponsors/scaleway_logo.png +0 -0
- data/assets/img/sponsors/seedvps.png +0 -0
- data/assets/img/sponsors/serverel.png +0 -0
- data/assets/img/sponsors/servermania.gif +0 -0
- data/assets/img/sponsors/serverpoint.png +0 -0
- data/assets/img/sponsors/serverpronto_small.gif +0 -0
- data/assets/img/sponsors/shinjirubanner260x60.gif +0 -0
- data/assets/img/sponsors/space-hosting.png +0 -0
- data/assets/img/sponsors/sponsor_placeholder-240-60.png +0 -0
- data/assets/img/sponsors/steadfast.png +0 -0
- data/assets/img/sponsors/steadfast_234x60.gif +0 -0
- data/assets/img/sponsors/tailoredservers.png +0 -0
- data/assets/img/sponsors/trabia.png +0 -0
- data/assets/img/sponsors/vhostvn.gif +0 -0
- data/assets/img/sponsors/vitelity.png +0 -0
- data/assets/img/sponsors/voyant.png +0 -0
- data/assets/img/sponsors/vsys.png +0 -0
- data/assets/img/sponsors/webnx1.png +0 -0
- data/assets/img/sponsors/wehaveservers.png +0 -0
- data/assets/img/sponsors/whitelabelitsolutions.gif +0 -0
- data/assets/img/sponsors/wow.234x60.gif +0 -0
- data/assets/js/jquery.dataTables.min.js +0 -192
- data/assets/webfonts/Overpass-Black.woff2 +0 -0
- data/assets/webfonts/Overpass-BlackItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Bold.woff2 +0 -0
- data/assets/webfonts/Overpass-BoldItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraBold.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraLight.woff2 +0 -0
- data/assets/webfonts/Overpass-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Italic.woff2 +0 -0
- data/assets/webfonts/Overpass-Light.woff2 +0 -0
- data/assets/webfonts/Overpass-LightItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Medium.woff2 +0 -0
- data/assets/webfonts/Overpass-MediumItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Regular.woff2 +0 -0
- data/assets/webfonts/Overpass-SemiBold.woff2 +0 -0
- data/assets/webfonts/Overpass-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/Overpass-Thin.woff2 +0 -0
- data/assets/webfonts/Overpass-ThinItalic.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Bold.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Light.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Medium.woff2 +0 -0
- data/assets/webfonts/OverpassMono-Regular.woff2 +0 -0
- data/assets/webfonts/OverpassMono-SemiBold.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
// Select
|
2
|
+
//
|
3
|
+
// Replaces the browser default select with a custom one, mostly pulled from
|
4
|
+
// https://primer.github.io/.
|
5
|
+
|
6
|
+
.form-select {
|
7
|
+
display: block;
|
8
|
+
width: 100%;
|
9
|
+
padding: $form-select-padding-y $form-select-indicator-padding $form-select-padding-y $form-select-padding-x;
|
10
|
+
-moz-padding-start: subtract($form-select-padding-x, 3px); // See https://github.com/twbs/bootstrap/issues/32636
|
11
|
+
font-family: $form-select-font-family;
|
12
|
+
@include font-size($form-select-font-size);
|
13
|
+
font-weight: $form-select-font-weight;
|
14
|
+
line-height: $form-select-line-height;
|
15
|
+
color: $form-select-color;
|
16
|
+
background-color: $form-select-bg;
|
17
|
+
background-image: escape-svg($form-select-indicator);
|
18
|
+
background-repeat: no-repeat;
|
19
|
+
background-position: $form-select-bg-position;
|
20
|
+
background-size: $form-select-bg-size;
|
21
|
+
border: $form-select-border-width solid $form-select-border-color;
|
22
|
+
@include border-radius($form-select-border-radius, 0);
|
23
|
+
@include box-shadow($form-select-box-shadow);
|
24
|
+
@include transition($form-select-transition);
|
25
|
+
appearance: none;
|
26
|
+
|
27
|
+
&:focus {
|
28
|
+
border-color: $form-select-focus-border-color;
|
29
|
+
outline: 0;
|
30
|
+
@if $enable-shadows {
|
31
|
+
@include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow);
|
32
|
+
} @else {
|
33
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
34
|
+
box-shadow: $form-select-focus-box-shadow;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
&[multiple],
|
39
|
+
&[size]:not([size="1"]) {
|
40
|
+
padding-right: $form-select-padding-x;
|
41
|
+
background-image: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
&:disabled {
|
45
|
+
color: $form-select-disabled-color;
|
46
|
+
background-color: $form-select-disabled-bg;
|
47
|
+
border-color: $form-select-disabled-border-color;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Remove outline from select box in FF
|
51
|
+
&:-moz-focusring {
|
52
|
+
color: transparent;
|
53
|
+
text-shadow: 0 0 0 $form-select-color;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.form-select-sm {
|
58
|
+
padding-top: $form-select-padding-y-sm;
|
59
|
+
padding-bottom: $form-select-padding-y-sm;
|
60
|
+
padding-left: $form-select-padding-x-sm;
|
61
|
+
@include font-size($form-select-font-size-sm);
|
62
|
+
@include border-radius($form-select-border-radius-sm);
|
63
|
+
}
|
64
|
+
|
65
|
+
.form-select-lg {
|
66
|
+
padding-top: $form-select-padding-y-lg;
|
67
|
+
padding-bottom: $form-select-padding-y-lg;
|
68
|
+
padding-left: $form-select-padding-x-lg;
|
69
|
+
@include font-size($form-select-font-size-lg);
|
70
|
+
@include border-radius($form-select-border-radius-lg);
|
71
|
+
}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.input-group {
|
6
|
+
position: relative;
|
7
|
+
display: flex;
|
8
|
+
flex-wrap: wrap; // For form validation feedback
|
9
|
+
align-items: stretch;
|
10
|
+
width: 100%;
|
11
|
+
|
12
|
+
> .form-control,
|
13
|
+
> .form-select,
|
14
|
+
> .form-floating {
|
15
|
+
position: relative; // For focus state's z-index
|
16
|
+
flex: 1 1 auto;
|
17
|
+
width: 1%;
|
18
|
+
min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
|
19
|
+
}
|
20
|
+
|
21
|
+
// Bring the "active" form control to the top of surrounding elements
|
22
|
+
> .form-control:focus,
|
23
|
+
> .form-select:focus,
|
24
|
+
> .form-floating:focus-within {
|
25
|
+
z-index: 5;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Ensure buttons are always above inputs for more visually pleasing borders.
|
29
|
+
// This isn't needed for `.input-group-text` since it shares the same border-color
|
30
|
+
// as our inputs.
|
31
|
+
.btn {
|
32
|
+
position: relative;
|
33
|
+
z-index: 2;
|
34
|
+
|
35
|
+
&:focus {
|
36
|
+
z-index: 5;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
// Textual addons
|
43
|
+
//
|
44
|
+
// Serves as a catch-all element for any text or radio/checkbox input you wish
|
45
|
+
// to prepend or append to an input.
|
46
|
+
|
47
|
+
.input-group-text {
|
48
|
+
display: flex;
|
49
|
+
align-items: center;
|
50
|
+
padding: $input-group-addon-padding-y $input-group-addon-padding-x;
|
51
|
+
@include font-size($input-font-size); // Match inputs
|
52
|
+
font-weight: $input-group-addon-font-weight;
|
53
|
+
line-height: $input-line-height;
|
54
|
+
color: $input-group-addon-color;
|
55
|
+
text-align: center;
|
56
|
+
white-space: nowrap;
|
57
|
+
background-color: $input-group-addon-bg;
|
58
|
+
border: $input-border-width solid $input-group-addon-border-color;
|
59
|
+
@include border-radius($input-border-radius);
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
// Sizing
|
64
|
+
//
|
65
|
+
// Remix the default form control sizing classes into new ones for easier
|
66
|
+
// manipulation.
|
67
|
+
|
68
|
+
.input-group-lg > .form-control,
|
69
|
+
.input-group-lg > .form-select,
|
70
|
+
.input-group-lg > .input-group-text,
|
71
|
+
.input-group-lg > .btn {
|
72
|
+
padding: $input-padding-y-lg $input-padding-x-lg;
|
73
|
+
@include font-size($input-font-size-lg);
|
74
|
+
@include border-radius($input-border-radius-lg);
|
75
|
+
}
|
76
|
+
|
77
|
+
.input-group-sm > .form-control,
|
78
|
+
.input-group-sm > .form-select,
|
79
|
+
.input-group-sm > .input-group-text,
|
80
|
+
.input-group-sm > .btn {
|
81
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
82
|
+
@include font-size($input-font-size-sm);
|
83
|
+
@include border-radius($input-border-radius-sm);
|
84
|
+
}
|
85
|
+
|
86
|
+
.input-group-lg > .form-select,
|
87
|
+
.input-group-sm > .form-select {
|
88
|
+
padding-right: $form-select-padding-x + $form-select-indicator-padding;
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
// Rounded corners
|
93
|
+
//
|
94
|
+
// These rulesets must come after the sizing ones to properly override sm and lg
|
95
|
+
// border-radius values when extending. They're more specific than we'd like
|
96
|
+
// with the `.input-group >` part, but without it, we cannot override the sizing.
|
97
|
+
|
98
|
+
// stylelint-disable-next-line no-duplicate-selectors
|
99
|
+
.input-group {
|
100
|
+
&:not(.has-validation) {
|
101
|
+
> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
102
|
+
> .dropdown-toggle:nth-last-child(n + 3),
|
103
|
+
> .form-floating:not(:last-child) > .form-control,
|
104
|
+
> .form-floating:not(:last-child) > .form-select {
|
105
|
+
@include border-end-radius(0);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
&.has-validation {
|
110
|
+
> :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
111
|
+
> .dropdown-toggle:nth-last-child(n + 4),
|
112
|
+
> .form-floating:nth-last-child(n + 3) > .form-control,
|
113
|
+
> .form-floating:nth-last-child(n + 3) > .form-select {
|
114
|
+
@include border-end-radius(0);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
$validation-messages: "";
|
119
|
+
@each $state in map-keys($form-validation-states) {
|
120
|
+
$validation-messages: $validation-messages + ":not(." + unquote($state) + "-tooltip)" + ":not(." + unquote($state) + "-feedback)";
|
121
|
+
}
|
122
|
+
|
123
|
+
> :not(:first-child):not(.dropdown-menu)#{$validation-messages} {
|
124
|
+
margin-left: -$input-border-width;
|
125
|
+
@include border-start-radius(0);
|
126
|
+
}
|
127
|
+
|
128
|
+
> .form-floating:not(:first-child) > .form-control,
|
129
|
+
> .form-floating:not(:first-child) > .form-select {
|
130
|
+
@include border-start-radius(0);
|
131
|
+
}
|
132
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
//
|
2
|
+
// Labels
|
3
|
+
//
|
4
|
+
|
5
|
+
.form-label {
|
6
|
+
margin-bottom: $form-label-margin-bottom;
|
7
|
+
@include font-size($form-label-font-size);
|
8
|
+
font-style: $form-label-font-style;
|
9
|
+
font-weight: $form-label-font-weight;
|
10
|
+
color: $form-label-color;
|
11
|
+
}
|
12
|
+
|
13
|
+
// For use with horizontal and inline forms, when you need the label (or legend)
|
14
|
+
// text to align with the form controls.
|
15
|
+
.col-form-label {
|
16
|
+
padding-top: add($input-padding-y, $input-border-width);
|
17
|
+
padding-bottom: add($input-padding-y, $input-border-width);
|
18
|
+
margin-bottom: 0; // Override the `<legend>` default
|
19
|
+
@include font-size(inherit); // Override the `<legend>` default
|
20
|
+
font-style: $form-label-font-style;
|
21
|
+
font-weight: $form-label-font-weight;
|
22
|
+
line-height: $input-line-height;
|
23
|
+
color: $form-label-color;
|
24
|
+
}
|
25
|
+
|
26
|
+
.col-form-label-lg {
|
27
|
+
padding-top: add($input-padding-y-lg, $input-border-width);
|
28
|
+
padding-bottom: add($input-padding-y-lg, $input-border-width);
|
29
|
+
@include font-size($input-font-size-lg);
|
30
|
+
}
|
31
|
+
|
32
|
+
.col-form-label-sm {
|
33
|
+
padding-top: add($input-padding-y-sm, $input-border-width);
|
34
|
+
padding-bottom: add($input-padding-y-sm, $input-border-width);
|
35
|
+
@include font-size($input-font-size-sm);
|
36
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
// Form validation
|
2
|
+
//
|
3
|
+
// Provide feedback to users when form field values are valid or invalid. Works
|
4
|
+
// primarily for client-side validation via scoped `:invalid` and `:valid`
|
5
|
+
// pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
|
6
|
+
// server-side validation.
|
7
|
+
|
8
|
+
// scss-docs-start form-validation-states-loop
|
9
|
+
@each $state, $data in $form-validation-states {
|
10
|
+
@include form-validation-state($state, $data...);
|
11
|
+
}
|
12
|
+
// scss-docs-end form-validation-states-loop
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// stylelint-disable function-name-case
|
2
|
+
|
3
|
+
// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
|
4
|
+
@each $color, $value in $theme-colors {
|
5
|
+
$color-rgb: to-rgb($value);
|
6
|
+
.text-bg-#{$color} {
|
7
|
+
color: color-contrast($value) if($enable-important-utilities, !important, null);
|
8
|
+
background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
|
9
|
+
}
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@each $color, $value in $theme-colors {
|
2
|
+
.link-#{$color} {
|
3
|
+
color: $value !important; // stylelint-disable-line declaration-no-important
|
4
|
+
|
5
|
+
@if $link-shade-percentage != 0 {
|
6
|
+
&:hover,
|
7
|
+
&:focus {
|
8
|
+
color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage)) !important; // stylelint-disable-line declaration-no-important
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// Shorthand
|
2
|
+
|
3
|
+
.fixed-top {
|
4
|
+
position: fixed;
|
5
|
+
top: 0;
|
6
|
+
right: 0;
|
7
|
+
left: 0;
|
8
|
+
z-index: $zindex-fixed;
|
9
|
+
}
|
10
|
+
|
11
|
+
.fixed-bottom {
|
12
|
+
position: fixed;
|
13
|
+
right: 0;
|
14
|
+
bottom: 0;
|
15
|
+
left: 0;
|
16
|
+
z-index: $zindex-fixed;
|
17
|
+
}
|
18
|
+
|
19
|
+
// Responsive sticky top and bottom
|
20
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
21
|
+
@include media-breakpoint-up($breakpoint) {
|
22
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
23
|
+
|
24
|
+
.sticky#{$infix}-top {
|
25
|
+
position: sticky;
|
26
|
+
top: 0;
|
27
|
+
z-index: $zindex-sticky;
|
28
|
+
}
|
29
|
+
|
30
|
+
.sticky#{$infix}-bottom {
|
31
|
+
position: sticky;
|
32
|
+
bottom: 0;
|
33
|
+
z-index: $zindex-sticky;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// Credit: Nicolas Gallagher and SUIT CSS.
|
2
|
+
|
3
|
+
.ratio {
|
4
|
+
position: relative;
|
5
|
+
width: 100%;
|
6
|
+
|
7
|
+
&::before {
|
8
|
+
display: block;
|
9
|
+
padding-top: var(--#{$prefix}aspect-ratio);
|
10
|
+
content: "";
|
11
|
+
}
|
12
|
+
|
13
|
+
> * {
|
14
|
+
position: absolute;
|
15
|
+
top: 0;
|
16
|
+
left: 0;
|
17
|
+
width: 100%;
|
18
|
+
height: 100%;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
@each $key, $ratio in $aspect-ratios {
|
23
|
+
.ratio-#{$key} {
|
24
|
+
--#{$prefix}aspect-ratio: #{$ratio};
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// scss-docs-start stacks
|
2
|
+
.hstack {
|
3
|
+
display: flex;
|
4
|
+
flex-direction: row;
|
5
|
+
align-items: center;
|
6
|
+
align-self: stretch;
|
7
|
+
}
|
8
|
+
|
9
|
+
.vstack {
|
10
|
+
display: flex;
|
11
|
+
flex: 1 1 auto;
|
12
|
+
flex-direction: column;
|
13
|
+
align-self: stretch;
|
14
|
+
}
|
15
|
+
// scss-docs-end stacks
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// scss-docs-start alert-variant-mixin
|
2
|
+
@mixin alert-variant($background, $border, $color) {
|
3
|
+
--#{$prefix}alert-color: #{$color};
|
4
|
+
--#{$prefix}alert-bg: #{$background};
|
5
|
+
--#{$prefix}alert-border-color: #{$border};
|
6
|
+
|
7
|
+
@if $enable-gradients {
|
8
|
+
background-image: var(--#{$prefix}gradient);
|
9
|
+
}
|
10
|
+
|
11
|
+
.alert-link {
|
12
|
+
color: shade-color($color, 20%);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
// scss-docs-end alert-variant-mixin
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// Shared between modals and offcanvases
|
2
|
+
@mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) {
|
3
|
+
position: fixed;
|
4
|
+
top: 0;
|
5
|
+
left: 0;
|
6
|
+
z-index: $zindex;
|
7
|
+
width: 100vw;
|
8
|
+
height: 100vh;
|
9
|
+
background-color: $backdrop-bg;
|
10
|
+
|
11
|
+
// Fade for backdrop
|
12
|
+
&.fade { opacity: 0; }
|
13
|
+
&.show { opacity: $backdrop-opacity; }
|
14
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
// stylelint-disable property-disallowed-list
|
2
|
+
// Single side border-radius
|
3
|
+
|
4
|
+
// Helper function to replace negative values with 0
|
5
|
+
@function valid-radius($radius) {
|
6
|
+
$return: ();
|
7
|
+
@each $value in $radius {
|
8
|
+
@if type-of($value) == number {
|
9
|
+
$return: append($return, max($value, 0));
|
10
|
+
} @else {
|
11
|
+
$return: append($return, $value);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
@return $return;
|
15
|
+
}
|
16
|
+
|
17
|
+
// scss-docs-start border-radius-mixins
|
18
|
+
@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {
|
19
|
+
@if $enable-rounded {
|
20
|
+
border-radius: valid-radius($radius);
|
21
|
+
}
|
22
|
+
@else if $fallback-border-radius != false {
|
23
|
+
border-radius: $fallback-border-radius;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin border-top-radius($radius: $border-radius) {
|
28
|
+
@if $enable-rounded {
|
29
|
+
border-top-left-radius: valid-radius($radius);
|
30
|
+
border-top-right-radius: valid-radius($radius);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
@mixin border-end-radius($radius: $border-radius) {
|
35
|
+
@if $enable-rounded {
|
36
|
+
border-top-right-radius: valid-radius($radius);
|
37
|
+
border-bottom-right-radius: valid-radius($radius);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
@mixin border-bottom-radius($radius: $border-radius) {
|
42
|
+
@if $enable-rounded {
|
43
|
+
border-bottom-right-radius: valid-radius($radius);
|
44
|
+
border-bottom-left-radius: valid-radius($radius);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin border-start-radius($radius: $border-radius) {
|
49
|
+
@if $enable-rounded {
|
50
|
+
border-top-left-radius: valid-radius($radius);
|
51
|
+
border-bottom-left-radius: valid-radius($radius);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
@mixin border-top-start-radius($radius: $border-radius) {
|
56
|
+
@if $enable-rounded {
|
57
|
+
border-top-left-radius: valid-radius($radius);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
@mixin border-top-end-radius($radius: $border-radius) {
|
62
|
+
@if $enable-rounded {
|
63
|
+
border-top-right-radius: valid-radius($radius);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
@mixin border-bottom-end-radius($radius: $border-radius) {
|
68
|
+
@if $enable-rounded {
|
69
|
+
border-bottom-right-radius: valid-radius($radius);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
@mixin border-bottom-start-radius($radius: $border-radius) {
|
74
|
+
@if $enable-rounded {
|
75
|
+
border-bottom-left-radius: valid-radius($radius);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
// scss-docs-end border-radius-mixins
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@mixin box-shadow($shadow...) {
|
2
|
+
@if $enable-shadows {
|
3
|
+
$result: ();
|
4
|
+
|
5
|
+
@each $value in $shadow {
|
6
|
+
@if $value != null {
|
7
|
+
$result: append($result, $value, "comma");
|
8
|
+
}
|
9
|
+
@if $value == none and length($shadow) > 1 {
|
10
|
+
@warn "The keyword 'none' must be used as a single argument.";
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@if (length($result) > 0) {
|
15
|
+
box-shadow: $result;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
// Breakpoint viewport sizes and media queries.
|
2
|
+
//
|
3
|
+
// Breakpoints are defined as a map of (name: minimum width), order from small to large:
|
4
|
+
//
|
5
|
+
// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px)
|
6
|
+
//
|
7
|
+
// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
|
8
|
+
|
9
|
+
// Name of the next breakpoint, or null for the last breakpoint.
|
10
|
+
//
|
11
|
+
// >> breakpoint-next(sm)
|
12
|
+
// md
|
13
|
+
// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))
|
14
|
+
// md
|
15
|
+
// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl xxl))
|
16
|
+
// md
|
17
|
+
@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {
|
18
|
+
$n: index($breakpoint-names, $name);
|
19
|
+
@if not $n {
|
20
|
+
@error "breakpoint `#{$name}` not found in `#{$breakpoints}`";
|
21
|
+
}
|
22
|
+
@return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);
|
23
|
+
}
|
24
|
+
|
25
|
+
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
|
26
|
+
//
|
27
|
+
// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))
|
28
|
+
// 576px
|
29
|
+
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
|
30
|
+
$min: map-get($breakpoints, $name);
|
31
|
+
@return if($min != 0, $min, null);
|
32
|
+
}
|
33
|
+
|
34
|
+
// Maximum breakpoint width.
|
35
|
+
// The maximum value is reduced by 0.02px to work around the limitations of
|
36
|
+
// `min-` and `max-` prefixes and viewports with fractional widths.
|
37
|
+
// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max
|
38
|
+
// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.
|
39
|
+
// See https://bugs.webkit.org/show_bug.cgi?id=178261
|
40
|
+
//
|
41
|
+
// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))
|
42
|
+
// 767.98px
|
43
|
+
@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
|
44
|
+
$max: map-get($breakpoints, $name);
|
45
|
+
@return if($max and $max > 0, $max - .02, null);
|
46
|
+
}
|
47
|
+
|
48
|
+
// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.
|
49
|
+
// Useful for making responsive utilities.
|
50
|
+
//
|
51
|
+
// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))
|
52
|
+
// "" (Returns a blank string)
|
53
|
+
// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px))
|
54
|
+
// "-sm"
|
55
|
+
@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
|
56
|
+
@return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}");
|
57
|
+
}
|
58
|
+
|
59
|
+
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|
60
|
+
// Makes the @content apply to the given breakpoint and wider.
|
61
|
+
@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
|
62
|
+
$min: breakpoint-min($name, $breakpoints);
|
63
|
+
@if $min {
|
64
|
+
@media (min-width: $min) {
|
65
|
+
@content;
|
66
|
+
}
|
67
|
+
} @else {
|
68
|
+
@content;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
|
73
|
+
// Makes the @content apply to the given breakpoint and narrower.
|
74
|
+
@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
|
75
|
+
$max: breakpoint-max($name, $breakpoints);
|
76
|
+
@if $max {
|
77
|
+
@media (max-width: $max) {
|
78
|
+
@content;
|
79
|
+
}
|
80
|
+
} @else {
|
81
|
+
@content;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// Media that spans multiple breakpoint widths.
|
86
|
+
// Makes the @content apply between the min and max breakpoints
|
87
|
+
@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
|
88
|
+
$min: breakpoint-min($lower, $breakpoints);
|
89
|
+
$max: breakpoint-max($upper, $breakpoints);
|
90
|
+
|
91
|
+
@if $min != null and $max != null {
|
92
|
+
@media (min-width: $min) and (max-width: $max) {
|
93
|
+
@content;
|
94
|
+
}
|
95
|
+
} @else if $max == null {
|
96
|
+
@include media-breakpoint-up($lower, $breakpoints) {
|
97
|
+
@content;
|
98
|
+
}
|
99
|
+
} @else if $min == null {
|
100
|
+
@include media-breakpoint-down($upper, $breakpoints) {
|
101
|
+
@content;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Media between the breakpoint's minimum and maximum widths.
|
107
|
+
// No minimum for the smallest breakpoint, and no maximum for the largest one.
|
108
|
+
// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
|
109
|
+
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
110
|
+
$min: breakpoint-min($name, $breakpoints);
|
111
|
+
$next: breakpoint-next($name, $breakpoints);
|
112
|
+
$max: breakpoint-max($next, $breakpoints);
|
113
|
+
|
114
|
+
@if $min != null and $max != null {
|
115
|
+
@media (min-width: $min) and (max-width: $max) {
|
116
|
+
@content;
|
117
|
+
}
|
118
|
+
} @else if $max == null {
|
119
|
+
@include media-breakpoint-up($name, $breakpoints) {
|
120
|
+
@content;
|
121
|
+
}
|
122
|
+
} @else if $min == null {
|
123
|
+
@include media-breakpoint-down($next, $breakpoints) {
|
124
|
+
@content;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|