vertx-howtos-jekyll-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_layouts/page.html +61 -0
- data/_sass/bootstrap/js/dist/alert.js +199 -0
- data/_sass/bootstrap/js/dist/alert.js.map +1 -0
- data/_sass/bootstrap/js/dist/button.js +187 -0
- data/_sass/bootstrap/js/dist/button.js.map +1 -0
- data/_sass/bootstrap/js/dist/carousel.js +666 -0
- data/_sass/bootstrap/js/dist/carousel.js.map +1 -0
- data/_sass/bootstrap/js/dist/collapse.js +428 -0
- data/_sass/bootstrap/js/dist/collapse.js.map +1 -0
- data/_sass/bootstrap/js/dist/dropdown.js +591 -0
- data/_sass/bootstrap/js/dist/dropdown.js.map +1 -0
- data/_sass/bootstrap/js/dist/index.js +23 -0
- data/_sass/bootstrap/js/dist/index.js.map +1 -0
- data/_sass/bootstrap/js/dist/modal.js +644 -0
- data/_sass/bootstrap/js/dist/modal.js.map +1 -0
- data/_sass/bootstrap/js/dist/popover.js +261 -0
- data/_sass/bootstrap/js/dist/popover.js.map +1 -0
- data/_sass/bootstrap/js/dist/scrollspy.js +375 -0
- data/_sass/bootstrap/js/dist/scrollspy.js.map +1 -0
- data/_sass/bootstrap/js/dist/tab.js +266 -0
- data/_sass/bootstrap/js/dist/tab.js.map +1 -0
- data/_sass/bootstrap/js/dist/toast.js +278 -0
- data/_sass/bootstrap/js/dist/toast.js.map +1 -0
- data/_sass/bootstrap/js/dist/tooltip.js +745 -0
- data/_sass/bootstrap/js/dist/tooltip.js.map +1 -0
- data/_sass/bootstrap/js/dist/util.js +168 -0
- data/_sass/bootstrap/js/dist/util.js.map +1 -0
- data/_sass/bootstrap/js/src/alert.js +179 -0
- data/_sass/bootstrap/js/src/button.js +171 -0
- data/_sass/bootstrap/js/src/carousel.js +604 -0
- data/_sass/bootstrap/js/src/collapse.js +402 -0
- data/_sass/bootstrap/js/src/dropdown.js +538 -0
- data/_sass/bootstrap/js/src/index.js +52 -0
- data/_sass/bootstrap/js/src/modal.js +587 -0
- data/_sass/bootstrap/js/src/popover.js +184 -0
- data/_sass/bootstrap/js/src/scrollspy.js +326 -0
- data/_sass/bootstrap/js/src/tab.js +257 -0
- data/_sass/bootstrap/js/src/toast.js +223 -0
- data/_sass/bootstrap/js/src/tooltip.js +735 -0
- data/_sass/bootstrap/js/src/util.js +173 -0
- data/_sass/bootstrap/js/tests/README.md +69 -0
- data/_sass/bootstrap/js/tests/browsers.js +82 -0
- data/_sass/bootstrap/js/tests/index.html +145 -0
- data/_sass/bootstrap/js/tests/integration/bundle.js +8 -0
- data/_sass/bootstrap/js/tests/integration/index.html +66 -0
- data/_sass/bootstrap/js/tests/integration/rollup.bundle.js +20 -0
- data/_sass/bootstrap/js/tests/karma.conf.js +145 -0
- data/_sass/bootstrap/js/tests/unit/.eslintrc.json +40 -0
- data/_sass/bootstrap/js/tests/unit/alert.js +123 -0
- data/_sass/bootstrap/js/tests/unit/button.js +222 -0
- data/_sass/bootstrap/js/tests/unit/carousel.js +1273 -0
- data/_sass/bootstrap/js/tests/unit/collapse.js +892 -0
- data/_sass/bootstrap/js/tests/unit/dropdown.js +1364 -0
- data/_sass/bootstrap/js/tests/unit/modal.js +796 -0
- data/_sass/bootstrap/js/tests/unit/popover.js +471 -0
- data/_sass/bootstrap/js/tests/unit/scrollspy.js +728 -0
- data/_sass/bootstrap/js/tests/unit/tab.js +462 -0
- data/_sass/bootstrap/js/tests/unit/toast.js +239 -0
- data/_sass/bootstrap/js/tests/unit/tooltip.js +1072 -0
- data/_sass/bootstrap/js/tests/unit/util.js +164 -0
- data/_sass/bootstrap/js/tests/visual/alert.html +58 -0
- data/_sass/bootstrap/js/tests/visual/button.html +51 -0
- data/_sass/bootstrap/js/tests/visual/carousel.html +66 -0
- data/_sass/bootstrap/js/tests/visual/collapse.html +78 -0
- data/_sass/bootstrap/js/tests/visual/dropdown.html +212 -0
- data/_sass/bootstrap/js/tests/visual/modal.html +268 -0
- data/_sass/bootstrap/js/tests/visual/popover.html +46 -0
- data/_sass/bootstrap/js/tests/visual/scrollspy.html +95 -0
- data/_sass/bootstrap/js/tests/visual/tab.html +234 -0
- data/_sass/bootstrap/js/tests/visual/toast.html +72 -0
- data/_sass/bootstrap/js/tests/visual/tooltip.html +106 -0
- data/_sass/bootstrap/scss/_alert.scss +51 -0
- data/_sass/bootstrap/scss/_badge.scss +53 -0
- data/_sass/bootstrap/scss/_breadcrumb.scss +41 -0
- data/_sass/bootstrap/scss/_button-group.scss +163 -0
- data/_sass/bootstrap/scss/_buttons.scss +140 -0
- data/_sass/bootstrap/scss/_card.scss +310 -0
- data/_sass/bootstrap/scss/_carousel.scss +198 -0
- data/_sass/bootstrap/scss/_close.scss +44 -0
- data/_sass/bootstrap/scss/_code.scss +48 -0
- data/_sass/bootstrap/scss/_custom-forms.scss +507 -0
- data/_sass/bootstrap/scss/_dropdown.scss +191 -0
- data/_sass/bootstrap/scss/_forms.scss +334 -0
- data/_sass/bootstrap/scss/_functions.scss +86 -0
- data/_sass/bootstrap/scss/_grid.scss +52 -0
- data/_sass/bootstrap/scss/_images.scss +42 -0
- data/_sass/bootstrap/scss/_input-group.scss +193 -0
- data/_sass/bootstrap/scss/_jumbotron.scss +16 -0
- data/_sass/bootstrap/scss/_list-group.scss +121 -0
- data/_sass/bootstrap/scss/_media.scss +8 -0
- data/_sass/bootstrap/scss/_mixins.scss +41 -0
- data/_sass/bootstrap/scss/_modal.scss +186 -0
- data/_sass/bootstrap/scss/_nav.scss +120 -0
- data/_sass/bootstrap/scss/_navbar.scss +299 -0
- data/_sass/bootstrap/scss/_pagination.scss +78 -0
- data/_sass/bootstrap/scss/_popover.scss +183 -0
- data/_sass/bootstrap/scss/_print.scss +141 -0
- data/_sass/bootstrap/scss/_progress.scss +34 -0
- data/_sass/bootstrap/scss/_reboot.scss +462 -0
- data/_sass/bootstrap/scss/_root.scss +19 -0
- data/_sass/bootstrap/scss/_spinners.scss +53 -0
- data/_sass/bootstrap/scss/_tables.scss +187 -0
- data/_sass/bootstrap/scss/_toasts.scss +43 -0
- data/_sass/bootstrap/scss/_tooltip.scss +115 -0
- data/_sass/bootstrap/scss/_transitions.scss +22 -0
- data/_sass/bootstrap/scss/_type.scss +125 -0
- data/_sass/bootstrap/scss/_utilities.scss +16 -0
- data/_sass/bootstrap/scss/_variables.scss +1091 -0
- data/_sass/bootstrap/scss/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/scss/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/scss/bootstrap.scss +44 -0
- data/_sass/bootstrap/scss/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/scss/mixins/_background-variant.scss +21 -0
- data/_sass/bootstrap/scss/mixins/_badge.scss +11 -0
- data/_sass/bootstrap/scss/mixins/_border-radius.scss +35 -0
- data/_sass/bootstrap/scss/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/scss/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/scss/mixins/_buttons.scss +111 -0
- data/_sass/bootstrap/scss/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/scss/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/scss/mixins/_float.scss +11 -0
- data/_sass/bootstrap/scss/mixins/_forms.scss +198 -0
- data/_sass/bootstrap/scss/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/scss/mixins/_grid-framework.scss +66 -0
- data/_sass/bootstrap/scss/mixins/_grid.scss +51 -0
- data/_sass/bootstrap/scss/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/scss/mixins/_image.scss +36 -0
- data/_sass/bootstrap/scss/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/scss/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/scss/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/scss/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/scss/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/scss/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/scss/mixins/_screen-reader.scss +33 -0
- data/_sass/bootstrap/scss/mixins/_size.scss +6 -0
- data/_sass/bootstrap/scss/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/scss/mixins/_text-emphasis.scss +14 -0
- data/_sass/bootstrap/scss/mixins/_text-hide.scss +13 -0
- data/_sass/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/scss/mixins/_transition.scss +16 -0
- data/_sass/bootstrap/scss/mixins/_visibility.scss +7 -0
- data/_sass/bootstrap/scss/utilities/_align.scss +8 -0
- data/_sass/bootstrap/scss/utilities/_background.scss +19 -0
- data/_sass/bootstrap/scss/utilities/_borders.scss +63 -0
- data/_sass/bootstrap/scss/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/scss/utilities/_display.scss +38 -0
- data/_sass/bootstrap/scss/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/scss/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/scss/utilities/_float.scss +9 -0
- data/_sass/bootstrap/scss/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/scss/utilities/_position.scss +32 -0
- data/_sass/bootstrap/scss/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/scss/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/scss/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/scss/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/scss/utilities/_text.scss +67 -0
- data/_sass/bootstrap/scss/utilities/_visibility.scss +11 -0
- data/_sass/custom.scss +1 -0
- data/assets/css/style.scss +65 -0
- data/assets/images/vertx-square.svg +1 -0
- metadata +248 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
// List Groups
|
2
|
+
|
3
|
+
@mixin list-group-item-variant($state, $background, $color) {
|
4
|
+
.list-group-item-#{$state} {
|
5
|
+
color: $color;
|
6
|
+
background-color: $background;
|
7
|
+
|
8
|
+
&.list-group-item-action {
|
9
|
+
@include hover-focus {
|
10
|
+
color: $color;
|
11
|
+
background-color: darken($background, 5%);
|
12
|
+
}
|
13
|
+
|
14
|
+
&.active {
|
15
|
+
color: $white;
|
16
|
+
background-color: $color;
|
17
|
+
border-color: $color;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Horizontal dividers
|
2
|
+
//
|
3
|
+
// Dividers (basically an hr) within dropdowns and nav lists
|
4
|
+
|
5
|
+
@mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y) {
|
6
|
+
height: 0;
|
7
|
+
margin: $margin-y 0;
|
8
|
+
overflow: hidden;
|
9
|
+
border-top: 1px solid $color;
|
10
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
// Pagination
|
2
|
+
|
3
|
+
@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
|
4
|
+
.page-link {
|
5
|
+
padding: $padding-y $padding-x;
|
6
|
+
font-size: $font-size;
|
7
|
+
line-height: $line-height;
|
8
|
+
}
|
9
|
+
|
10
|
+
.page-item {
|
11
|
+
&:first-child {
|
12
|
+
.page-link {
|
13
|
+
@include border-left-radius($border-radius);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
&:last-child {
|
17
|
+
.page-link {
|
18
|
+
@include border-right-radius($border-radius);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
@mixin reset-text {
|
2
|
+
font-family: $font-family-base;
|
3
|
+
// We deliberately do NOT reset font-size or word-wrap.
|
4
|
+
font-style: normal;
|
5
|
+
font-weight: $font-weight-normal;
|
6
|
+
line-height: $line-height-base;
|
7
|
+
text-align: left; // Fallback for where `start` is not supported
|
8
|
+
text-align: start; // stylelint-disable-line declaration-block-no-duplicate-properties
|
9
|
+
text-decoration: none;
|
10
|
+
text-shadow: none;
|
11
|
+
text-transform: none;
|
12
|
+
letter-spacing: normal;
|
13
|
+
word-break: normal;
|
14
|
+
word-spacing: normal;
|
15
|
+
white-space: normal;
|
16
|
+
line-break: auto;
|
17
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
// Only display content to screen readers
|
2
|
+
//
|
3
|
+
// See: https://a11yproject.com/posts/how-to-hide-content/
|
4
|
+
// See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
|
5
|
+
|
6
|
+
@mixin sr-only {
|
7
|
+
position: absolute;
|
8
|
+
width: 1px;
|
9
|
+
height: 1px;
|
10
|
+
padding: 0;
|
11
|
+
overflow: hidden;
|
12
|
+
clip: rect(0, 0, 0, 0);
|
13
|
+
white-space: nowrap;
|
14
|
+
border: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
// Use in conjunction with .sr-only to only display content when it's focused.
|
18
|
+
//
|
19
|
+
// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
20
|
+
//
|
21
|
+
// Credit: HTML5 Boilerplate
|
22
|
+
|
23
|
+
@mixin sr-only-focusable {
|
24
|
+
&:active,
|
25
|
+
&:focus {
|
26
|
+
position: static;
|
27
|
+
width: auto;
|
28
|
+
height: auto;
|
29
|
+
overflow: visible;
|
30
|
+
clip: auto;
|
31
|
+
white-space: normal;
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// Tables
|
2
|
+
|
3
|
+
@mixin table-row-variant($state, $background, $border: null) {
|
4
|
+
// Exact selectors below required to override `.table-striped` and prevent
|
5
|
+
// inheritance to nested tables.
|
6
|
+
.table-#{$state} {
|
7
|
+
&,
|
8
|
+
> th,
|
9
|
+
> td {
|
10
|
+
background-color: $background;
|
11
|
+
}
|
12
|
+
|
13
|
+
@if $border != null {
|
14
|
+
th,
|
15
|
+
td,
|
16
|
+
thead th,
|
17
|
+
tbody + tbody {
|
18
|
+
border-color: $border;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Hover states for `.table-hover`
|
24
|
+
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
25
|
+
.table-hover {
|
26
|
+
$hover-background: darken($background, 5%);
|
27
|
+
|
28
|
+
.table-#{$state} {
|
29
|
+
@include hover {
|
30
|
+
background-color: $hover-background;
|
31
|
+
|
32
|
+
> td,
|
33
|
+
> th {
|
34
|
+
background-color: $hover-background;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
// Typography
|
4
|
+
|
5
|
+
@mixin text-emphasis-variant($parent, $color) {
|
6
|
+
#{$parent} {
|
7
|
+
color: $color !important;
|
8
|
+
}
|
9
|
+
a#{$parent} {
|
10
|
+
@include hover-focus {
|
11
|
+
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// CSS image replacement
|
2
|
+
@mixin text-hide($ignore-warning: false) {
|
3
|
+
// stylelint-disable-next-line font-family-no-missing-generic-family-keyword
|
4
|
+
font: 0/0 a;
|
5
|
+
color: transparent;
|
6
|
+
text-shadow: none;
|
7
|
+
background-color: transparent;
|
8
|
+
border: 0;
|
9
|
+
|
10
|
+
@if ($ignore-warning != true) {
|
11
|
+
@warn "The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5.";
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// stylelint-disable property-blacklist
|
2
|
+
@mixin transition($transition...) {
|
3
|
+
@if $enable-transitions {
|
4
|
+
@if length($transition) == 0 {
|
5
|
+
transition: $transition-base;
|
6
|
+
} @else {
|
7
|
+
transition: $transition;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
@if $enable-prefers-reduced-motion-media-query {
|
12
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
13
|
+
transition: none;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
.align-baseline { vertical-align: baseline !important; } // Browser default
|
4
|
+
.align-top { vertical-align: top !important; }
|
5
|
+
.align-middle { vertical-align: middle !important; }
|
6
|
+
.align-bottom { vertical-align: bottom !important; }
|
7
|
+
.align-text-bottom { vertical-align: text-bottom !important; }
|
8
|
+
.align-text-top { vertical-align: text-top !important; }
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
@each $color, $value in $theme-colors {
|
4
|
+
@include bg-variant(".bg-#{$color}", $value);
|
5
|
+
}
|
6
|
+
|
7
|
+
@if $enable-gradients {
|
8
|
+
@each $color, $value in $theme-colors {
|
9
|
+
@include bg-gradient-variant(".bg-gradient-#{$color}", $value);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.bg-white {
|
14
|
+
background-color: $white !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.bg-transparent {
|
18
|
+
background-color: transparent !important;
|
19
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
//
|
4
|
+
// Border
|
5
|
+
//
|
6
|
+
|
7
|
+
.border { border: $border-width solid $border-color !important; }
|
8
|
+
.border-top { border-top: $border-width solid $border-color !important; }
|
9
|
+
.border-right { border-right: $border-width solid $border-color !important; }
|
10
|
+
.border-bottom { border-bottom: $border-width solid $border-color !important; }
|
11
|
+
.border-left { border-left: $border-width solid $border-color !important; }
|
12
|
+
|
13
|
+
.border-0 { border: 0 !important; }
|
14
|
+
.border-top-0 { border-top: 0 !important; }
|
15
|
+
.border-right-0 { border-right: 0 !important; }
|
16
|
+
.border-bottom-0 { border-bottom: 0 !important; }
|
17
|
+
.border-left-0 { border-left: 0 !important; }
|
18
|
+
|
19
|
+
@each $color, $value in $theme-colors {
|
20
|
+
.border-#{$color} {
|
21
|
+
border-color: $value !important;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.border-white {
|
26
|
+
border-color: $white !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
//
|
30
|
+
// Border-radius
|
31
|
+
//
|
32
|
+
|
33
|
+
.rounded {
|
34
|
+
border-radius: $border-radius !important;
|
35
|
+
}
|
36
|
+
.rounded-top {
|
37
|
+
border-top-left-radius: $border-radius !important;
|
38
|
+
border-top-right-radius: $border-radius !important;
|
39
|
+
}
|
40
|
+
.rounded-right {
|
41
|
+
border-top-right-radius: $border-radius !important;
|
42
|
+
border-bottom-right-radius: $border-radius !important;
|
43
|
+
}
|
44
|
+
.rounded-bottom {
|
45
|
+
border-bottom-right-radius: $border-radius !important;
|
46
|
+
border-bottom-left-radius: $border-radius !important;
|
47
|
+
}
|
48
|
+
.rounded-left {
|
49
|
+
border-top-left-radius: $border-radius !important;
|
50
|
+
border-bottom-left-radius: $border-radius !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
.rounded-circle {
|
54
|
+
border-radius: 50% !important;
|
55
|
+
}
|
56
|
+
|
57
|
+
.rounded-pill {
|
58
|
+
border-radius: $rounded-pill !important;
|
59
|
+
}
|
60
|
+
|
61
|
+
.rounded-0 {
|
62
|
+
border-radius: 0 !important;
|
63
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
//
|
4
|
+
// Utilities for common `display` values
|
5
|
+
//
|
6
|
+
|
7
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
8
|
+
@include media-breakpoint-up($breakpoint) {
|
9
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
10
|
+
|
11
|
+
.d#{$infix}-none { display: none !important; }
|
12
|
+
.d#{$infix}-inline { display: inline !important; }
|
13
|
+
.d#{$infix}-inline-block { display: inline-block !important; }
|
14
|
+
.d#{$infix}-block { display: block !important; }
|
15
|
+
.d#{$infix}-table { display: table !important; }
|
16
|
+
.d#{$infix}-table-row { display: table-row !important; }
|
17
|
+
.d#{$infix}-table-cell { display: table-cell !important; }
|
18
|
+
.d#{$infix}-flex { display: flex !important; }
|
19
|
+
.d#{$infix}-inline-flex { display: inline-flex !important; }
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
//
|
25
|
+
// Utilities for toggling `display` in print
|
26
|
+
//
|
27
|
+
|
28
|
+
@media print {
|
29
|
+
.d-print-none { display: none !important; }
|
30
|
+
.d-print-inline { display: inline !important; }
|
31
|
+
.d-print-inline-block { display: inline-block !important; }
|
32
|
+
.d-print-block { display: block !important; }
|
33
|
+
.d-print-table { display: table !important; }
|
34
|
+
.d-print-table-row { display: table-row !important; }
|
35
|
+
.d-print-table-cell { display: table-cell !important; }
|
36
|
+
.d-print-flex { display: flex !important; }
|
37
|
+
.d-print-inline-flex { display: inline-flex !important; }
|
38
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// Credit: Nicolas Gallagher and SUIT CSS.
|
2
|
+
|
3
|
+
.embed-responsive {
|
4
|
+
position: relative;
|
5
|
+
display: block;
|
6
|
+
width: 100%;
|
7
|
+
padding: 0;
|
8
|
+
overflow: hidden;
|
9
|
+
|
10
|
+
&::before {
|
11
|
+
display: block;
|
12
|
+
content: "";
|
13
|
+
}
|
14
|
+
|
15
|
+
.embed-responsive-item,
|
16
|
+
iframe,
|
17
|
+
embed,
|
18
|
+
object,
|
19
|
+
video {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
bottom: 0;
|
23
|
+
left: 0;
|
24
|
+
width: 100%;
|
25
|
+
height: 100%;
|
26
|
+
border: 0;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@each $embed-responsive-aspect-ratio in $embed-responsive-aspect-ratios {
|
31
|
+
$embed-responsive-aspect-ratio-x: nth($embed-responsive-aspect-ratio, 1);
|
32
|
+
$embed-responsive-aspect-ratio-y: nth($embed-responsive-aspect-ratio, 2);
|
33
|
+
|
34
|
+
.embed-responsive-#{$embed-responsive-aspect-ratio-x}by#{$embed-responsive-aspect-ratio-y} {
|
35
|
+
&::before {
|
36
|
+
padding-top: percentage($embed-responsive-aspect-ratio-y / $embed-responsive-aspect-ratio-x);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
// Flex variation
|
4
|
+
//
|
5
|
+
// Custom styles for additional flex alignment options.
|
6
|
+
|
7
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
8
|
+
@include media-breakpoint-up($breakpoint) {
|
9
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
10
|
+
|
11
|
+
.flex#{$infix}-row { flex-direction: row !important; }
|
12
|
+
.flex#{$infix}-column { flex-direction: column !important; }
|
13
|
+
.flex#{$infix}-row-reverse { flex-direction: row-reverse !important; }
|
14
|
+
.flex#{$infix}-column-reverse { flex-direction: column-reverse !important; }
|
15
|
+
|
16
|
+
.flex#{$infix}-wrap { flex-wrap: wrap !important; }
|
17
|
+
.flex#{$infix}-nowrap { flex-wrap: nowrap !important; }
|
18
|
+
.flex#{$infix}-wrap-reverse { flex-wrap: wrap-reverse !important; }
|
19
|
+
.flex#{$infix}-fill { flex: 1 1 auto !important; }
|
20
|
+
.flex#{$infix}-grow-0 { flex-grow: 0 !important; }
|
21
|
+
.flex#{$infix}-grow-1 { flex-grow: 1 !important; }
|
22
|
+
.flex#{$infix}-shrink-0 { flex-shrink: 0 !important; }
|
23
|
+
.flex#{$infix}-shrink-1 { flex-shrink: 1 !important; }
|
24
|
+
|
25
|
+
.justify-content#{$infix}-start { justify-content: flex-start !important; }
|
26
|
+
.justify-content#{$infix}-end { justify-content: flex-end !important; }
|
27
|
+
.justify-content#{$infix}-center { justify-content: center !important; }
|
28
|
+
.justify-content#{$infix}-between { justify-content: space-between !important; }
|
29
|
+
.justify-content#{$infix}-around { justify-content: space-around !important; }
|
30
|
+
|
31
|
+
.align-items#{$infix}-start { align-items: flex-start !important; }
|
32
|
+
.align-items#{$infix}-end { align-items: flex-end !important; }
|
33
|
+
.align-items#{$infix}-center { align-items: center !important; }
|
34
|
+
.align-items#{$infix}-baseline { align-items: baseline !important; }
|
35
|
+
.align-items#{$infix}-stretch { align-items: stretch !important; }
|
36
|
+
|
37
|
+
.align-content#{$infix}-start { align-content: flex-start !important; }
|
38
|
+
.align-content#{$infix}-end { align-content: flex-end !important; }
|
39
|
+
.align-content#{$infix}-center { align-content: center !important; }
|
40
|
+
.align-content#{$infix}-between { align-content: space-between !important; }
|
41
|
+
.align-content#{$infix}-around { align-content: space-around !important; }
|
42
|
+
.align-content#{$infix}-stretch { align-content: stretch !important; }
|
43
|
+
|
44
|
+
.align-self#{$infix}-auto { align-self: auto !important; }
|
45
|
+
.align-self#{$infix}-start { align-self: flex-start !important; }
|
46
|
+
.align-self#{$infix}-end { align-self: flex-end !important; }
|
47
|
+
.align-self#{$infix}-center { align-self: center !important; }
|
48
|
+
.align-self#{$infix}-baseline { align-self: baseline !important; }
|
49
|
+
.align-self#{$infix}-stretch { align-self: stretch !important; }
|
50
|
+
}
|
51
|
+
}
|