jekyll-bootstrap 4.0.0.pre.beta.2.1
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 +46 -0
- data/_includes/footer.html +16 -0
- data/_includes/head.html +16 -0
- data/_includes/header.html +24 -0
- data/_layouts/default.html +9 -0
- data/_layouts/home.html +71 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +24 -0
- data/_sass/_alert.scss +49 -0
- data/_sass/_badge.scss +47 -0
- data/_sass/_breadcrumb.scss +38 -0
- data/_sass/_button-group.scss +207 -0
- data/_sass/_buttons.scss +136 -0
- data/_sass/_card.scss +259 -0
- data/_sass/_carousel.scss +191 -0
- data/_sass/_close.scss +29 -0
- data/_sass/_code.scss +64 -0
- data/_sass/_custom-forms.scss +257 -0
- data/_sass/_dropdown.scss +103 -0
- data/_sass/_forms.scss +358 -0
- data/_sass/_functions.scss +86 -0
- data/_sass/_grid.scss +52 -0
- data/_sass/_images.scss +43 -0
- data/_sass/_input-group.scss +186 -0
- data/_sass/_jumbotron.scss +16 -0
- data/_sass/_list-group.scss +114 -0
- data/_sass/_media.scss +8 -0
- data/_sass/_mixins.scss +42 -0
- data/_sass/_modal.scss +153 -0
- data/_sass/_nav.scss +118 -0
- data/_sass/_navbar.scss +306 -0
- data/_sass/_pagination.scss +64 -0
- data/_sass/_popover.scss +194 -0
- data/_sass/_print.scss +110 -0
- data/_sass/_progress.scss +30 -0
- data/_sass/_reboot.scss +504 -0
- data/_sass/_root.scss +19 -0
- data/_sass/_tables.scss +180 -0
- data/_sass/_tooltip.scss +107 -0
- data/_sass/_transitions.scss +36 -0
- data/_sass/_type.scss +125 -0
- data/_sass/_utilities.scss +14 -0
- data/_sass/_variables.scss +828 -0
- data/_sass/bootstrap-grid.scss +35 -0
- data/_sass/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap.scss +42 -0
- data/_sass/mixins/_alert.scss +13 -0
- data/_sass/mixins/_background-variant.scss +20 -0
- data/_sass/mixins/_badge.scss +12 -0
- data/_sass/mixins/_border-radius.scss +35 -0
- data/_sass/mixins/_box-shadow.scss +5 -0
- data/_sass/mixins/_breakpoints.scss +119 -0
- data/_sass/mixins/_buttons.scss +94 -0
- data/_sass/mixins/_caret.scss +35 -0
- data/_sass/mixins/_clearfix.scss +7 -0
- data/_sass/mixins/_float.scss +11 -0
- data/_sass/mixins/_forms.scss +108 -0
- data/_sass/mixins/_gradients.scss +45 -0
- data/_sass/mixins/_grid-framework.scss +69 -0
- data/_sass/mixins/_grid.scss +52 -0
- data/_sass/mixins/_hover.scss +61 -0
- data/_sass/mixins/_image.scss +36 -0
- data/_sass/mixins/_list-group.scss +24 -0
- data/_sass/mixins/_lists.scss +7 -0
- data/_sass/mixins/_nav-divider.scss +10 -0
- data/_sass/mixins/_navbar-align.scss +10 -0
- data/_sass/mixins/_pagination.scss +22 -0
- data/_sass/mixins/_reset-text.scss +17 -0
- data/_sass/mixins/_resize.scss +6 -0
- data/_sass/mixins/_screen-reader.scss +35 -0
- data/_sass/mixins/_size.scss +6 -0
- data/_sass/mixins/_table-row.scss +30 -0
- data/_sass/mixins/_text-emphasis.scss +14 -0
- data/_sass/mixins/_text-hide.scss +8 -0
- data/_sass/mixins/_text-truncate.scss +8 -0
- data/_sass/mixins/_transition.scss +9 -0
- data/_sass/mixins/_visibility.scss +7 -0
- data/_sass/syntax_highlight.scss +70 -0
- data/_sass/utilities/_align.scss +8 -0
- data/_sass/utilities/_background.scss +19 -0
- data/_sass/utilities/_borders.scss +54 -0
- data/_sass/utilities/_clearfix.scss +3 -0
- data/_sass/utilities/_display.scss +56 -0
- data/_sass/utilities/_embed.scss +52 -0
- data/_sass/utilities/_flex.scss +46 -0
- data/_sass/utilities/_float.scss +9 -0
- data/_sass/utilities/_position.scss +36 -0
- data/_sass/utilities/_screenreaders.scss +11 -0
- data/_sass/utilities/_sizing.scss +12 -0
- data/_sass/utilities/_spacing.scss +51 -0
- data/_sass/utilities/_text.scss +52 -0
- data/_sass/utilities/_visibility.scss +11 -0
- data/assets/css/main.scss +15 -0
- metadata +195 -0
@@ -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,35 @@
|
|
1
|
+
// Only display content to screen readers
|
2
|
+
//
|
3
|
+
// See: http://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
|
+
clip-path: inset(50%);
|
15
|
+
border: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
// Use in conjunction with .sr-only to only display content when it's focused.
|
19
|
+
//
|
20
|
+
// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
21
|
+
//
|
22
|
+
// Credit: HTML5 Boilerplate
|
23
|
+
|
24
|
+
@mixin sr-only-focusable {
|
25
|
+
&:active,
|
26
|
+
&:focus {
|
27
|
+
position: static;
|
28
|
+
width: auto;
|
29
|
+
height: auto;
|
30
|
+
overflow: visible;
|
31
|
+
clip: auto;
|
32
|
+
white-space: normal;
|
33
|
+
clip-path: none;
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Tables
|
2
|
+
|
3
|
+
@mixin table-row-variant($state, $background) {
|
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
|
+
|
14
|
+
// Hover states for `.table-hover`
|
15
|
+
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
16
|
+
.table-hover {
|
17
|
+
$hover-background: darken($background, 5%);
|
18
|
+
|
19
|
+
.table-#{$state} {
|
20
|
+
@include hover {
|
21
|
+
background-color: $hover-background;
|
22
|
+
|
23
|
+
> td,
|
24
|
+
> th {
|
25
|
+
background-color: $hover-background;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -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, 10%) !important;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
*/
|
4
|
+
.highlight {
|
5
|
+
background: #fff;
|
6
|
+
|
7
|
+
.highlighter-rouge & {
|
8
|
+
background: #eef;
|
9
|
+
}
|
10
|
+
|
11
|
+
.c { color: #998; font-style: italic } // Comment
|
12
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
13
|
+
.k { font-weight: bold } // Keyword
|
14
|
+
.o { font-weight: bold } // Operator
|
15
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
16
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
17
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
18
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
19
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
20
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
21
|
+
.ge { font-style: italic } // Generic.Emph
|
22
|
+
.gr { color: #a00 } // Generic.Error
|
23
|
+
.gh { color: #999 } // Generic.Heading
|
24
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
25
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
26
|
+
.go { color: #888 } // Generic.Output
|
27
|
+
.gp { color: #555 } // Generic.Prompt
|
28
|
+
.gs { font-weight: bold } // Generic.Strong
|
29
|
+
.gu { color: #aaa } // Generic.Subheading
|
30
|
+
.gt { color: #a00 } // Generic.Traceback
|
31
|
+
.kc { font-weight: bold } // Keyword.Constant
|
32
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
33
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
34
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
35
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
36
|
+
.m { color: #099 } // Literal.Number
|
37
|
+
.s { color: #d14 } // Literal.String
|
38
|
+
.na { color: #008080 } // Name.Attribute
|
39
|
+
.nb { color: #0086B3 } // Name.Builtin
|
40
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
41
|
+
.no { color: #008080 } // Name.Constant
|
42
|
+
.ni { color: #800080 } // Name.Entity
|
43
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
44
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
45
|
+
.nn { color: #555 } // Name.Namespace
|
46
|
+
.nt { color: #000080 } // Name.Tag
|
47
|
+
.nv { color: #008080 } // Name.Variable
|
48
|
+
.ow { font-weight: bold } // Operator.Word
|
49
|
+
.w { color: #bbb } // Text.Whitespace
|
50
|
+
.mf { color: #099 } // Literal.Number.Float
|
51
|
+
.mh { color: #099 } // Literal.Number.Hex
|
52
|
+
.mi { color: #099 } // Literal.Number.Integer
|
53
|
+
.mo { color: #099 } // Literal.Number.Oct
|
54
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
55
|
+
.sc { color: #d14 } // Literal.String.Char
|
56
|
+
.sd { color: #d14 } // Literal.String.Doc
|
57
|
+
.s2 { color: #d14 } // Literal.String.Double
|
58
|
+
.se { color: #d14 } // Literal.String.Escape
|
59
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
60
|
+
.si { color: #d14 } // Literal.String.Interpol
|
61
|
+
.sx { color: #d14 } // Literal.String.Other
|
62
|
+
.sr { color: #009926 } // Literal.String.Regex
|
63
|
+
.s1 { color: #d14 } // Literal.String.Single
|
64
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
65
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
66
|
+
.vc { color: #008080 } // Name.Variable.Class
|
67
|
+
.vg { color: #008080 } // Name.Variable.Global
|
68
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
69
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
70
|
+
}
|
@@ -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,54 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
|
3
|
+
//
|
4
|
+
// Border
|
5
|
+
//
|
6
|
+
|
7
|
+
.border { border: $border-width solid $border-color !important; }
|
8
|
+
.border-0 { border: 0 !important; }
|
9
|
+
.border-top-0 { border-top: 0 !important; }
|
10
|
+
.border-right-0 { border-right: 0 !important; }
|
11
|
+
.border-bottom-0 { border-bottom: 0 !important; }
|
12
|
+
.border-left-0 { border-left: 0 !important; }
|
13
|
+
|
14
|
+
@each $color, $value in $theme-colors {
|
15
|
+
.border-#{$color} {
|
16
|
+
border-color: $value !important;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.border-white {
|
21
|
+
border-color: $white !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
//
|
25
|
+
// Border-radius
|
26
|
+
//
|
27
|
+
|
28
|
+
.rounded {
|
29
|
+
border-radius: $border-radius !important;
|
30
|
+
}
|
31
|
+
.rounded-top {
|
32
|
+
border-top-left-radius: $border-radius !important;
|
33
|
+
border-top-right-radius: $border-radius !important;
|
34
|
+
}
|
35
|
+
.rounded-right {
|
36
|
+
border-top-right-radius: $border-radius !important;
|
37
|
+
border-bottom-right-radius: $border-radius !important;
|
38
|
+
}
|
39
|
+
.rounded-bottom {
|
40
|
+
border-bottom-right-radius: $border-radius !important;
|
41
|
+
border-bottom-left-radius: $border-radius !important;
|
42
|
+
}
|
43
|
+
.rounded-left {
|
44
|
+
border-top-left-radius: $border-radius !important;
|
45
|
+
border-bottom-left-radius: $border-radius !important;
|
46
|
+
}
|
47
|
+
|
48
|
+
.rounded-circle {
|
49
|
+
border-radius: 50% !important;
|
50
|
+
}
|
51
|
+
|
52
|
+
.rounded-0 {
|
53
|
+
border-radius: 0 !important;
|
54
|
+
}
|
@@ -0,0 +1,56 @@
|
|
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
|
+
.d-print-block {
|
29
|
+
display: none !important;
|
30
|
+
|
31
|
+
@media print {
|
32
|
+
display: block !important;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.d-print-inline {
|
37
|
+
display: none !important;
|
38
|
+
|
39
|
+
@media print {
|
40
|
+
display: inline !important;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.d-print-inline-block {
|
45
|
+
display: none !important;
|
46
|
+
|
47
|
+
@media print {
|
48
|
+
display: inline-block !important;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.d-print-none {
|
53
|
+
@media print {
|
54
|
+
display: none !important;
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,52 @@
|
|
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
|
+
.embed-responsive-21by9 {
|
31
|
+
&::before {
|
32
|
+
padding-top: percentage(9 / 21);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.embed-responsive-16by9 {
|
37
|
+
&::before {
|
38
|
+
padding-top: percentage(9 / 16);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.embed-responsive-4by3 {
|
43
|
+
&::before {
|
44
|
+
padding-top: percentage(3 / 4);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.embed-responsive-1by1 {
|
49
|
+
&::before {
|
50
|
+
padding-top: percentage(1 / 1);
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,46 @@
|
|
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
|
+
|
20
|
+
.justify-content#{$infix}-start { justify-content: flex-start !important; }
|
21
|
+
.justify-content#{$infix}-end { justify-content: flex-end !important; }
|
22
|
+
.justify-content#{$infix}-center { justify-content: center !important; }
|
23
|
+
.justify-content#{$infix}-between { justify-content: space-between !important; }
|
24
|
+
.justify-content#{$infix}-around { justify-content: space-around !important; }
|
25
|
+
|
26
|
+
.align-items#{$infix}-start { align-items: flex-start !important; }
|
27
|
+
.align-items#{$infix}-end { align-items: flex-end !important; }
|
28
|
+
.align-items#{$infix}-center { align-items: center !important; }
|
29
|
+
.align-items#{$infix}-baseline { align-items: baseline !important; }
|
30
|
+
.align-items#{$infix}-stretch { align-items: stretch !important; }
|
31
|
+
|
32
|
+
.align-content#{$infix}-start { align-content: flex-start !important; }
|
33
|
+
.align-content#{$infix}-end { align-content: flex-end !important; }
|
34
|
+
.align-content#{$infix}-center { align-content: center !important; }
|
35
|
+
.align-content#{$infix}-between { align-content: space-between !important; }
|
36
|
+
.align-content#{$infix}-around { align-content: space-around !important; }
|
37
|
+
.align-content#{$infix}-stretch { align-content: stretch !important; }
|
38
|
+
|
39
|
+
.align-self#{$infix}-auto { align-self: auto !important; }
|
40
|
+
.align-self#{$infix}-start { align-self: flex-start !important; }
|
41
|
+
.align-self#{$infix}-end { align-self: flex-end !important; }
|
42
|
+
.align-self#{$infix}-center { align-self: center !important; }
|
43
|
+
.align-self#{$infix}-baseline { align-self: baseline !important; }
|
44
|
+
.align-self#{$infix}-stretch { align-self: stretch !important; }
|
45
|
+
}
|
46
|
+
}
|