jekyll-theme-apcsp 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/_includes/alert.md +0 -0
- data/_includes/footer.md +0 -0
- data/_includes/head.html +0 -0
- data/_includes/header.md +1 -0
- data/_includes/nav.md +0 -0
- data/_layouts/page.html +308 -0
- data/_layouts/redirect.html +12 -0
- data/_sass/bootstrap/LICENSE +22 -0
- data/_sass/bootstrap/scss/_accordion.scss +146 -0
- data/_sass/bootstrap/scss/_alert.scss +71 -0
- data/_sass/bootstrap/scss/_badge.scss +40 -0
- data/_sass/bootstrap/scss/_breadcrumb.scss +42 -0
- data/_sass/bootstrap/scss/_button-group.scss +142 -0
- data/_sass/bootstrap/scss/_buttons.scss +158 -0
- data/_sass/bootstrap/scss/_card.scss +234 -0
- data/_sass/bootstrap/scss/_carousel.scss +229 -0
- data/_sass/bootstrap/scss/_close.scss +40 -0
- data/_sass/bootstrap/scss/_code.scss +48 -0
- data/_sass/bootstrap/scss/_containers.scss +41 -0
- data/_sass/bootstrap/scss/_custom-forms.scss +526 -0
- data/_sass/bootstrap/scss/_dropdown.scss +248 -0
- data/_sass/bootstrap/scss/_forms.scss +9 -0
- data/_sass/bootstrap/scss/_functions.scss +302 -0
- data/_sass/bootstrap/scss/_grid.scss +33 -0
- data/_sass/bootstrap/scss/_helpers.scss +10 -0
- data/_sass/bootstrap/scss/_images.scss +42 -0
- data/_sass/bootstrap/scss/_input-group.scss +208 -0
- data/_sass/bootstrap/scss/_jumbotron.scss +17 -0
- data/_sass/bootstrap/scss/_list-group.scss +191 -0
- data/_sass/bootstrap/scss/_maps.scss +54 -0
- data/_sass/bootstrap/scss/_media.scss +8 -0
- data/_sass/bootstrap/scss/_mixins.scss +43 -0
- data/_sass/bootstrap/scss/_modal.scss +237 -0
- data/_sass/bootstrap/scss/_nav.scss +172 -0
- data/_sass/bootstrap/scss/_navbar.scss +274 -0
- data/_sass/bootstrap/scss/_offcanvas.scss +143 -0
- data/_sass/bootstrap/scss/_pagination.scss +111 -0
- data/_sass/bootstrap/scss/_placeholders.scss +51 -0
- data/_sass/bootstrap/scss/_popover.scss +198 -0
- data/_sass/bootstrap/scss/_print.scss +141 -0
- data/_sass/bootstrap/scss/_progress.scss +59 -0
- data/_sass/bootstrap/scss/_reboot.scss +610 -0
- data/_sass/bootstrap/scss/_root.scss +76 -0
- data/_sass/bootstrap/scss/_spinners.scss +85 -0
- data/_sass/bootstrap/scss/_tables.scss +164 -0
- data/_sass/bootstrap/scss/_toasts.scss +70 -0
- data/_sass/bootstrap/scss/_tooltip.scss +122 -0
- data/_sass/bootstrap/scss/_transitions.scss +27 -0
- data/_sass/bootstrap/scss/_type.scss +104 -0
- data/_sass/bootstrap/scss/_utilities.scss +647 -0
- data/_sass/bootstrap/scss/_variables.scss +1631 -0
- data/_sass/bootstrap/scss/bootstrap-grid.scss +68 -0
- data/_sass/bootstrap/scss/bootstrap-reboot.scss +14 -0
- data/_sass/bootstrap/scss/bootstrap-utilities.scss +19 -0
- data/_sass/bootstrap/scss/bootstrap.scss +54 -0
- data/_sass/bootstrap/scss/forms/_floating-labels.scss +70 -0
- data/_sass/bootstrap/scss/forms/_form-check.scss +175 -0
- data/_sass/bootstrap/scss/forms/_form-control.scss +189 -0
- data/_sass/bootstrap/scss/forms/_form-range.scss +91 -0
- data/_sass/bootstrap/scss/forms/_form-select.scss +71 -0
- data/_sass/bootstrap/scss/forms/_form-text.scss +11 -0
- data/_sass/bootstrap/scss/forms/_input-group.scss +121 -0
- data/_sass/bootstrap/scss/forms/_labels.scss +36 -0
- data/_sass/bootstrap/scss/forms/_validation.scss +12 -0
- data/_sass/bootstrap/scss/helpers/_clearfix.scss +3 -0
- data/_sass/bootstrap/scss/helpers/_color-bg.scss +10 -0
- data/_sass/bootstrap/scss/helpers/_colored-links.scss +12 -0
- data/_sass/bootstrap/scss/helpers/_position.scss +36 -0
- data/_sass/bootstrap/scss/helpers/_ratio.scss +26 -0
- data/_sass/bootstrap/scss/helpers/_stacks.scss +15 -0
- data/_sass/bootstrap/scss/helpers/_stretched-link.scss +15 -0
- data/_sass/bootstrap/scss/helpers/_text-truncation.scss +7 -0
- data/_sass/bootstrap/scss/helpers/_visually-hidden.scss +8 -0
- data/_sass/bootstrap/scss/helpers/_vr.scss +8 -0
- data/_sass/bootstrap/scss/mixins/_alert.scss +15 -0
- data/_sass/bootstrap/scss/mixins/_backdrop.scss +14 -0
- data/_sass/bootstrap/scss/mixins/_background-variant.scss +23 -0
- data/_sass/bootstrap/scss/mixins/_badge.scss +17 -0
- data/_sass/bootstrap/scss/mixins/_border-radius.scss +78 -0
- data/_sass/bootstrap/scss/mixins/_box-shadow.scss +18 -0
- data/_sass/bootstrap/scss/mixins/_breakpoints.scss +127 -0
- data/_sass/bootstrap/scss/mixins/_buttons.scss +71 -0
- data/_sass/bootstrap/scss/mixins/_caret.scss +64 -0
- data/_sass/bootstrap/scss/mixins/_clearfix.scss +9 -0
- data/_sass/bootstrap/scss/mixins/_color-scheme.scss +7 -0
- data/_sass/bootstrap/scss/mixins/_container.scss +11 -0
- data/_sass/bootstrap/scss/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/scss/mixins/_float.scss +14 -0
- data/_sass/bootstrap/scss/mixins/_forms.scss +152 -0
- data/_sass/bootstrap/scss/mixins/_gradients.scss +47 -0
- data/_sass/bootstrap/scss/mixins/_grid-framework.scss +80 -0
- data/_sass/bootstrap/scss/mixins/_grid.scss +151 -0
- data/_sass/bootstrap/scss/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/scss/mixins/_image.scss +16 -0
- data/_sass/bootstrap/scss/mixins/_list-group.scss +24 -0
- data/_sass/bootstrap/scss/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/scss/mixins/_nav-divider.scss +11 -0
- data/_sass/bootstrap/scss/mixins/_pagination.scss +10 -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 +34 -0
- data/_sass/bootstrap/scss/mixins/_size.scss +7 -0
- data/_sass/bootstrap/scss/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/scss/mixins/_table-variants.scss +24 -0
- data/_sass/bootstrap/scss/mixins/_text-emphasis.scss +17 -0
- data/_sass/bootstrap/scss/mixins/_text-hide.scss +11 -0
- data/_sass/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/scss/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/scss/mixins/_utilities.scss +92 -0
- data/_sass/bootstrap/scss/mixins/_visibility.scss +8 -0
- data/_sass/bootstrap/scss/mixins/_visually-hidden.scss +29 -0
- data/_sass/bootstrap/scss/utilities/_align.scss +8 -0
- data/_sass/bootstrap/scss/utilities/_api.scss +47 -0
- data/_sass/bootstrap/scss/utilities/_background.scss +19 -0
- data/_sass/bootstrap/scss/utilities/_borders.scss +75 -0
- data/_sass/bootstrap/scss/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/scss/utilities/_display.scss +26 -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 +11 -0
- data/_sass/bootstrap/scss/utilities/_interactions.scss +5 -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/_stretched-link.scss +19 -0
- data/_sass/bootstrap/scss/utilities/_text.scss +72 -0
- data/_sass/bootstrap/scss/utilities/_visibility.scss +13 -0
- data/_sass/bootstrap/scss/vendor/_rfs.scss +354 -0
- data/_sass/jekyll-theme-cs50.scss +298 -0
- data/_sass/page.scss +228 -0
- data/_sass/rouge.scss +35 -0
- data/assets/@fortawesome/fontawesome-free/css/all.min.css +5 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg +3717 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg +801 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg +5034 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff +0 -0
- data/assets/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/algolia-min.css +1 -0
- data/assets/algoliasearch/dist/algoliasearch-lite.umd.js +2 -0
- data/assets/algoliasearchLite.min.js +3 -0
- data/assets/bootstrap/LICENSE +22 -0
- data/assets/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
- data/assets/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
- data/assets/bootstrap/dist/js/bootstrap.min.js +7 -0
- data/assets/bootstrap-table/LICENSE +21 -0
- data/assets/bootstrap-table/dist/bootstrap-table.min.css +10 -0
- data/assets/bootstrap-table/dist/bootstrap-table.min.js +10 -0
- data/assets/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.min.js +10 -0
- data/assets/instantsearch.js/LICENSE +21 -0
- data/assets/instantsearch.js/dist/instantsearch.production.min.js +3 -0
- data/assets/instantsearch.js/dist/instantsearch.production.min.js.map +1 -0
- data/assets/instantsearch.production.min.js +3 -0
- data/assets/jekyll-theme-cs50.js +620 -0
- data/assets/jquery/LICENSE.txt +20 -0
- data/assets/jquery/dist/jquery.min.js +2 -0
- data/assets/luxon.min.js +1 -0
- data/assets/moment-timezone-with-data.min.js +1 -0
- data/assets/moment.min.js +1 -0
- data/assets/page.js +4 -0
- data/assets/page.scss +4 -0
- data/assets/popper.js/dist/umd/popper.min.js +5 -0
- data/assets/reset-min.css +1 -0
- data/assets/scratchblocks.min.js +11 -0
- data/assets/scratchblocks.min.js.map +1 -0
- data/lib/jekyll-theme-cs50/constants.rb +59 -0
- data/lib/jekyll-theme-cs50.rb +606 -0
- data/lib/liquid-tag-parser.rb +1 -0
- metadata +350 -0
@@ -0,0 +1,143 @@
|
|
1
|
+
// stylelint-disable function-disallowed-list
|
2
|
+
|
3
|
+
%offcanvas-css-vars {
|
4
|
+
// scss-docs-start offcanvas-css-vars
|
5
|
+
--#{$prefix}offcanvas-width: #{$offcanvas-horizontal-width};
|
6
|
+
--#{$prefix}offcanvas-height: #{$offcanvas-vertical-height};
|
7
|
+
--#{$prefix}offcanvas-padding-x: #{$offcanvas-padding-x};
|
8
|
+
--#{$prefix}offcanvas-padding-y: #{$offcanvas-padding-y};
|
9
|
+
--#{$prefix}offcanvas-color: #{$offcanvas-color};
|
10
|
+
--#{$prefix}offcanvas-bg: #{$offcanvas-bg-color};
|
11
|
+
--#{$prefix}offcanvas-border-width: #{$offcanvas-border-width};
|
12
|
+
--#{$prefix}offcanvas-border-color: #{$offcanvas-border-color};
|
13
|
+
--#{$prefix}offcanvas-box-shadow: #{$offcanvas-box-shadow};
|
14
|
+
// scss-docs-end offcanvas-css-vars
|
15
|
+
}
|
16
|
+
|
17
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
18
|
+
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
19
|
+
$infix: breakpoint-infix($next, $grid-breakpoints);
|
20
|
+
|
21
|
+
.offcanvas#{$infix} {
|
22
|
+
@extend %offcanvas-css-vars;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
27
|
+
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
28
|
+
$infix: breakpoint-infix($next, $grid-breakpoints);
|
29
|
+
|
30
|
+
.offcanvas#{$infix} {
|
31
|
+
@include media-breakpoint-down($next) {
|
32
|
+
position: fixed;
|
33
|
+
bottom: 0;
|
34
|
+
z-index: $zindex-offcanvas;
|
35
|
+
display: flex;
|
36
|
+
flex-direction: column;
|
37
|
+
max-width: 100%;
|
38
|
+
color: var(--#{$prefix}offcanvas-color);
|
39
|
+
visibility: hidden;
|
40
|
+
background-color: var(--#{$prefix}offcanvas-bg);
|
41
|
+
background-clip: padding-box;
|
42
|
+
outline: 0;
|
43
|
+
@include box-shadow(var(--#{$prefix}offcanvas-box-shadow));
|
44
|
+
@include transition(transform $offcanvas-transition-duration ease-in-out);
|
45
|
+
|
46
|
+
&.showing,
|
47
|
+
&.show:not(.hiding) {
|
48
|
+
transform: none;
|
49
|
+
}
|
50
|
+
|
51
|
+
&.showing,
|
52
|
+
&.hiding,
|
53
|
+
&.show {
|
54
|
+
visibility: visible;
|
55
|
+
}
|
56
|
+
|
57
|
+
&.offcanvas-start {
|
58
|
+
top: 0;
|
59
|
+
left: 0;
|
60
|
+
width: var(--#{$prefix}offcanvas-width);
|
61
|
+
border-right: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);
|
62
|
+
transform: translateX(-100%);
|
63
|
+
}
|
64
|
+
|
65
|
+
&.offcanvas-end {
|
66
|
+
top: 0;
|
67
|
+
right: 0;
|
68
|
+
width: var(--#{$prefix}offcanvas-width);
|
69
|
+
border-left: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);
|
70
|
+
transform: translateX(100%);
|
71
|
+
}
|
72
|
+
|
73
|
+
&.offcanvas-top {
|
74
|
+
top: 0;
|
75
|
+
right: 0;
|
76
|
+
left: 0;
|
77
|
+
height: var(--#{$prefix}offcanvas-height);
|
78
|
+
max-height: 100%;
|
79
|
+
border-bottom: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);
|
80
|
+
transform: translateY(-100%);
|
81
|
+
}
|
82
|
+
|
83
|
+
&.offcanvas-bottom {
|
84
|
+
right: 0;
|
85
|
+
left: 0;
|
86
|
+
height: var(--#{$prefix}offcanvas-height);
|
87
|
+
max-height: 100%;
|
88
|
+
border-top: var(--#{$prefix}offcanvas-border-width) solid var(--#{$prefix}offcanvas-border-color);
|
89
|
+
transform: translateY(100%);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
@if not ($infix == "") {
|
94
|
+
@include media-breakpoint-up($next) {
|
95
|
+
--#{$prefix}offcanvas-height: auto;
|
96
|
+
--#{$prefix}offcanvas-border-width: 0;
|
97
|
+
background-color: transparent !important; // stylelint-disable-line declaration-no-important
|
98
|
+
|
99
|
+
.offcanvas-header {
|
100
|
+
display: none;
|
101
|
+
}
|
102
|
+
|
103
|
+
.offcanvas-body {
|
104
|
+
display: flex;
|
105
|
+
flex-grow: 0;
|
106
|
+
padding: 0;
|
107
|
+
overflow-y: visible;
|
108
|
+
// Reset `background-color` in case `.bg-*` classes are used in offcanvas
|
109
|
+
background-color: transparent !important; // stylelint-disable-line declaration-no-important
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.offcanvas-backdrop {
|
117
|
+
@include overlay-backdrop($zindex-offcanvas-backdrop, $offcanvas-backdrop-bg, $offcanvas-backdrop-opacity);
|
118
|
+
}
|
119
|
+
|
120
|
+
.offcanvas-header {
|
121
|
+
display: flex;
|
122
|
+
align-items: center;
|
123
|
+
justify-content: space-between;
|
124
|
+
padding: var(--#{$prefix}offcanvas-padding-y) var(--#{$prefix}offcanvas-padding-x);
|
125
|
+
|
126
|
+
.btn-close {
|
127
|
+
padding: calc(var(--#{$prefix}offcanvas-padding-y) * .5) calc(var(--#{$prefix}offcanvas-padding-x) * .5);
|
128
|
+
margin-top: calc(var(--#{$prefix}offcanvas-padding-y) * -.5);
|
129
|
+
margin-right: calc(var(--#{$prefix}offcanvas-padding-x) * -.5);
|
130
|
+
margin-bottom: calc(var(--#{$prefix}offcanvas-padding-y) * -.5);
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.offcanvas-title {
|
135
|
+
margin-bottom: 0;
|
136
|
+
line-height: $offcanvas-title-line-height;
|
137
|
+
}
|
138
|
+
|
139
|
+
.offcanvas-body {
|
140
|
+
flex-grow: 1;
|
141
|
+
padding: var(--#{$prefix}offcanvas-padding-y) var(--#{$prefix}offcanvas-padding-x);
|
142
|
+
overflow-y: auto;
|
143
|
+
}
|
@@ -0,0 +1,111 @@
|
|
1
|
+
// stylelint-disable custom-property-empty-line-before
|
2
|
+
|
3
|
+
.pagination {
|
4
|
+
// scss-docs-start pagination-css-vars
|
5
|
+
--#{$prefix}pagination-padding-x: #{$pagination-padding-x};
|
6
|
+
--#{$prefix}pagination-padding-y: #{$pagination-padding-y};
|
7
|
+
@include rfs($pagination-font-size, --#{$prefix}pagination-font-size);
|
8
|
+
--#{$prefix}pagination-color: #{$pagination-color};
|
9
|
+
--#{$prefix}pagination-bg: #{$pagination-bg};
|
10
|
+
--#{$prefix}pagination-border-width: #{$pagination-border-width};
|
11
|
+
--#{$prefix}pagination-border-color: #{$pagination-border-color};
|
12
|
+
--#{$prefix}pagination-border-radius: #{$pagination-border-radius};
|
13
|
+
--#{$prefix}pagination-hover-color: #{$pagination-hover-color};
|
14
|
+
--#{$prefix}pagination-hover-bg: #{$pagination-hover-bg};
|
15
|
+
--#{$prefix}pagination-hover-border-color: #{$pagination-hover-border-color};
|
16
|
+
--#{$prefix}pagination-focus-color: #{$pagination-focus-color};
|
17
|
+
--#{$prefix}pagination-focus-bg: #{$pagination-focus-bg};
|
18
|
+
--#{$prefix}pagination-focus-box-shadow: #{$pagination-focus-box-shadow};
|
19
|
+
--#{$prefix}pagination-active-color: #{$pagination-active-color};
|
20
|
+
--#{$prefix}pagination-active-bg: #{$pagination-active-bg};
|
21
|
+
--#{$prefix}pagination-active-border-color: #{$pagination-active-border-color};
|
22
|
+
--#{$prefix}pagination-disabled-color: #{$pagination-disabled-color};
|
23
|
+
--#{$prefix}pagination-disabled-bg: #{$pagination-disabled-bg};
|
24
|
+
--#{$prefix}pagination-disabled-border-color: #{$pagination-disabled-border-color};
|
25
|
+
// scss-docs-end pagination-css-vars
|
26
|
+
|
27
|
+
display: flex;
|
28
|
+
@include list-unstyled();
|
29
|
+
}
|
30
|
+
|
31
|
+
.page-link {
|
32
|
+
position: relative;
|
33
|
+
display: block;
|
34
|
+
padding: var(--#{$prefix}pagination-padding-y) var(--#{$prefix}pagination-padding-x);
|
35
|
+
@include font-size(var(--#{$prefix}pagination-font-size));
|
36
|
+
color: var(--#{$prefix}pagination-color);
|
37
|
+
text-decoration: if($link-decoration == none, null, none);
|
38
|
+
background-color: var(--#{$prefix}pagination-bg);
|
39
|
+
border: var(--#{$prefix}pagination-border-width) solid var(--#{$prefix}pagination-border-color);
|
40
|
+
@include transition($pagination-transition);
|
41
|
+
|
42
|
+
&:hover {
|
43
|
+
z-index: 2;
|
44
|
+
color: var(--#{$prefix}pagination-hover-color);
|
45
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
46
|
+
background-color: var(--#{$prefix}pagination-hover-bg);
|
47
|
+
border-color: var(--#{$prefix}pagination-hover-border-color);
|
48
|
+
}
|
49
|
+
|
50
|
+
&:focus {
|
51
|
+
z-index: 3;
|
52
|
+
color: var(--#{$prefix}pagination-focus-color);
|
53
|
+
background-color: var(--#{$prefix}pagination-focus-bg);
|
54
|
+
outline: $pagination-focus-outline;
|
55
|
+
box-shadow: var(--#{$prefix}pagination-focus-box-shadow);
|
56
|
+
}
|
57
|
+
|
58
|
+
&.active,
|
59
|
+
.active > & {
|
60
|
+
z-index: 3;
|
61
|
+
color: var(--#{$prefix}pagination-active-color);
|
62
|
+
@include gradient-bg(var(--#{$prefix}pagination-active-bg));
|
63
|
+
border-color: var(--#{$prefix}pagination-active-border-color);
|
64
|
+
}
|
65
|
+
|
66
|
+
&.disabled,
|
67
|
+
.disabled > & {
|
68
|
+
color: var(--#{$prefix}pagination-disabled-color);
|
69
|
+
pointer-events: none;
|
70
|
+
background-color: var(--#{$prefix}pagination-disabled-bg);
|
71
|
+
border-color: var(--#{$prefix}pagination-disabled-border-color);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
.page-item {
|
76
|
+
&:not(:first-child) .page-link {
|
77
|
+
margin-left: $pagination-margin-start;
|
78
|
+
}
|
79
|
+
|
80
|
+
@if $pagination-margin-start == (calc($pagination-border-width * -1)) {
|
81
|
+
&:first-child {
|
82
|
+
.page-link {
|
83
|
+
@include border-start-radius(var(--#{$prefix}pagination-border-radius));
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
&:last-child {
|
88
|
+
.page-link {
|
89
|
+
@include border-end-radius(var(--#{$prefix}pagination-border-radius));
|
90
|
+
}
|
91
|
+
}
|
92
|
+
} @else {
|
93
|
+
// Add border-radius to all pageLinks in case they have left margin
|
94
|
+
.page-link {
|
95
|
+
@include border-radius(var(--#{$prefix}pagination-border-radius));
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
//
|
102
|
+
// Sizing
|
103
|
+
//
|
104
|
+
|
105
|
+
.pagination-lg {
|
106
|
+
@include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $pagination-border-radius-lg);
|
107
|
+
}
|
108
|
+
|
109
|
+
.pagination-sm {
|
110
|
+
@include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $pagination-border-radius-sm);
|
111
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
.placeholder {
|
2
|
+
display: inline-block;
|
3
|
+
min-height: 1em;
|
4
|
+
vertical-align: middle;
|
5
|
+
cursor: wait;
|
6
|
+
background-color: currentcolor;
|
7
|
+
opacity: $placeholder-opacity-max;
|
8
|
+
|
9
|
+
&.btn::before {
|
10
|
+
display: inline-block;
|
11
|
+
content: "";
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
// Sizing
|
16
|
+
.placeholder-xs {
|
17
|
+
min-height: .6em;
|
18
|
+
}
|
19
|
+
|
20
|
+
.placeholder-sm {
|
21
|
+
min-height: .8em;
|
22
|
+
}
|
23
|
+
|
24
|
+
.placeholder-lg {
|
25
|
+
min-height: 1.2em;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Animation
|
29
|
+
.placeholder-glow {
|
30
|
+
.placeholder {
|
31
|
+
animation: placeholder-glow 2s ease-in-out infinite;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@keyframes placeholder-glow {
|
36
|
+
50% {
|
37
|
+
opacity: $placeholder-opacity-min;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.placeholder-wave {
|
42
|
+
mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%);
|
43
|
+
mask-size: 200% 100%;
|
44
|
+
animation: placeholder-wave 2s linear infinite;
|
45
|
+
}
|
46
|
+
|
47
|
+
@keyframes placeholder-wave {
|
48
|
+
100% {
|
49
|
+
mask-position: -200% 0%;
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,198 @@
|
|
1
|
+
// stylelint-disable custom-property-empty-line-before
|
2
|
+
|
3
|
+
.popover {
|
4
|
+
// scss-docs-start popover-css-vars
|
5
|
+
--#{$prefix}popover-zindex: #{$zindex-popover};
|
6
|
+
--#{$prefix}popover-max-width: #{$popover-max-width};
|
7
|
+
@include rfs($popover-font-size, --#{$prefix}popover-font-size);
|
8
|
+
--#{$prefix}popover-bg: #{$popover-bg};
|
9
|
+
--#{$prefix}popover-border-width: #{$popover-border-width};
|
10
|
+
--#{$prefix}popover-border-color: #{$popover-border-color};
|
11
|
+
--#{$prefix}popover-border-radius: #{$popover-border-radius};
|
12
|
+
--#{$prefix}popover-inner-border-radius: #{$popover-inner-border-radius};
|
13
|
+
--#{$prefix}popover-box-shadow: #{$popover-box-shadow};
|
14
|
+
--#{$prefix}popover-header-padding-x: #{$popover-header-padding-x};
|
15
|
+
--#{$prefix}popover-header-padding-y: #{$popover-header-padding-y};
|
16
|
+
@include rfs($popover-header-font-size, --#{$prefix}popover-header-font-size);
|
17
|
+
--#{$prefix}popover-header-color: #{$popover-header-color};
|
18
|
+
--#{$prefix}popover-header-bg: #{$popover-header-bg};
|
19
|
+
--#{$prefix}popover-body-padding-x: #{$popover-body-padding-x};
|
20
|
+
--#{$prefix}popover-body-padding-y: #{$popover-body-padding-y};
|
21
|
+
--#{$prefix}popover-body-color: #{$popover-body-color};
|
22
|
+
--#{$prefix}popover-arrow-width: #{$popover-arrow-width};
|
23
|
+
--#{$prefix}popover-arrow-height: #{$popover-arrow-height};
|
24
|
+
--#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);
|
25
|
+
// scss-docs-end popover-css-vars
|
26
|
+
|
27
|
+
z-index: var(--#{$prefix}popover-zindex);
|
28
|
+
display: block;
|
29
|
+
max-width: var(--#{$prefix}popover-max-width);
|
30
|
+
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
31
|
+
// So reset our font and text properties to avoid inheriting weird values.
|
32
|
+
@include reset-text();
|
33
|
+
@include font-size(var(--#{$prefix}popover-font-size));
|
34
|
+
// Allow breaking very long words so they don't overflow the popover's bounds
|
35
|
+
word-wrap: break-word;
|
36
|
+
background-color: var(--#{$prefix}popover-bg);
|
37
|
+
background-clip: padding-box;
|
38
|
+
border: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
39
|
+
@include border-radius(var(--#{$prefix}popover-border-radius));
|
40
|
+
@include box-shadow(var(--#{$prefix}popover-box-shadow));
|
41
|
+
|
42
|
+
.popover-arrow {
|
43
|
+
display: block;
|
44
|
+
width: var(--#{$prefix}popover-arrow-width);
|
45
|
+
height: var(--#{$prefix}popover-arrow-height);
|
46
|
+
|
47
|
+
&::before,
|
48
|
+
&::after {
|
49
|
+
position: absolute;
|
50
|
+
display: block;
|
51
|
+
content: "";
|
52
|
+
border-color: transparent;
|
53
|
+
border-style: solid;
|
54
|
+
border-width: 0;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.bs-popover-top {
|
60
|
+
> .popover-arrow {
|
61
|
+
bottom: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
62
|
+
|
63
|
+
&::before,
|
64
|
+
&::after {
|
65
|
+
border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
66
|
+
}
|
67
|
+
|
68
|
+
&::before {
|
69
|
+
bottom: 0;
|
70
|
+
border-top-color: var(--#{$prefix}popover-arrow-border);
|
71
|
+
}
|
72
|
+
|
73
|
+
&::after {
|
74
|
+
bottom: var(--#{$prefix}popover-border-width);
|
75
|
+
border-top-color: var(--#{$prefix}popover-bg);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
/* rtl:begin:ignore */
|
81
|
+
.bs-popover-end {
|
82
|
+
> .popover-arrow {
|
83
|
+
left: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
84
|
+
width: var(--#{$prefix}popover-arrow-height);
|
85
|
+
height: var(--#{$prefix}popover-arrow-width);
|
86
|
+
|
87
|
+
&::before,
|
88
|
+
&::after {
|
89
|
+
border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
|
90
|
+
}
|
91
|
+
|
92
|
+
&::before {
|
93
|
+
left: 0;
|
94
|
+
border-right-color: var(--#{$prefix}popover-arrow-border);
|
95
|
+
}
|
96
|
+
|
97
|
+
&::after {
|
98
|
+
left: var(--#{$prefix}popover-border-width);
|
99
|
+
border-right-color: var(--#{$prefix}popover-bg);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
/* rtl:end:ignore */
|
105
|
+
|
106
|
+
.bs-popover-bottom {
|
107
|
+
> .popover-arrow {
|
108
|
+
top: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
109
|
+
|
110
|
+
&::before,
|
111
|
+
&::after {
|
112
|
+
border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
113
|
+
}
|
114
|
+
|
115
|
+
&::before {
|
116
|
+
top: 0;
|
117
|
+
border-bottom-color: var(--#{$prefix}popover-arrow-border);
|
118
|
+
}
|
119
|
+
|
120
|
+
&::after {
|
121
|
+
top: var(--#{$prefix}popover-border-width);
|
122
|
+
border-bottom-color: var(--#{$prefix}popover-bg);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
// This will remove the popover-header's border just below the arrow
|
127
|
+
.popover-header::before {
|
128
|
+
position: absolute;
|
129
|
+
top: 0;
|
130
|
+
left: 50%;
|
131
|
+
display: block;
|
132
|
+
width: var(--#{$prefix}popover-arrow-width);
|
133
|
+
margin-left: calc(var(--#{$prefix}popover-arrow-width) * -.5); // stylelint-disable-line function-disallowed-list
|
134
|
+
content: "";
|
135
|
+
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
/* rtl:begin:ignore */
|
140
|
+
.bs-popover-start {
|
141
|
+
> .popover-arrow {
|
142
|
+
right: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
|
143
|
+
width: var(--#{$prefix}popover-arrow-height);
|
144
|
+
height: var(--#{$prefix}popover-arrow-width);
|
145
|
+
|
146
|
+
&::before,
|
147
|
+
&::after {
|
148
|
+
border-width: calc(var(--#{$prefix}popover-arrow-width) * .5) 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
149
|
+
}
|
150
|
+
|
151
|
+
&::before {
|
152
|
+
right: 0;
|
153
|
+
border-left-color: var(--#{$prefix}popover-arrow-border);
|
154
|
+
}
|
155
|
+
|
156
|
+
&::after {
|
157
|
+
right: var(--#{$prefix}popover-border-width);
|
158
|
+
border-left-color: var(--#{$prefix}popover-bg);
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
/* rtl:end:ignore */
|
164
|
+
|
165
|
+
.bs-popover-auto {
|
166
|
+
&[data-popper-placement^="top"] {
|
167
|
+
@extend .bs-popover-top;
|
168
|
+
}
|
169
|
+
&[data-popper-placement^="right"] {
|
170
|
+
@extend .bs-popover-end;
|
171
|
+
}
|
172
|
+
&[data-popper-placement^="bottom"] {
|
173
|
+
@extend .bs-popover-bottom;
|
174
|
+
}
|
175
|
+
&[data-popper-placement^="left"] {
|
176
|
+
@extend .bs-popover-start;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
// Offset the popover to account for the popover arrow
|
181
|
+
.popover-header {
|
182
|
+
padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);
|
183
|
+
margin-bottom: 0; // Reset the default from Reboot
|
184
|
+
@include font-size(var(--#{$prefix}popover-header-font-size));
|
185
|
+
color: var(--#{$prefix}popover-header-color);
|
186
|
+
background-color: var(--#{$prefix}popover-header-bg);
|
187
|
+
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
188
|
+
@include border-top-radius(var(--#{$prefix}popover-inner-border-radius));
|
189
|
+
|
190
|
+
&:empty {
|
191
|
+
display: none;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
.popover-body {
|
196
|
+
padding: var(--#{$prefix}popover-body-padding-y) var(--#{$prefix}popover-body-padding-x);
|
197
|
+
color: var(--#{$prefix}popover-body-color);
|
198
|
+
}
|
@@ -0,0 +1,141 @@
|
|
1
|
+
// stylelint-disable declaration-no-important, selector-no-qualifying-type
|
2
|
+
|
3
|
+
// Source: https://github.com/h5bp/main.css/blob/master/src/_print.css
|
4
|
+
|
5
|
+
// ==========================================================================
|
6
|
+
// Print styles.
|
7
|
+
// Inlined to avoid the additional HTTP request:
|
8
|
+
// https://www.phpied.com/delay-loading-your-print-css/
|
9
|
+
// ==========================================================================
|
10
|
+
|
11
|
+
@if $enable-print-styles {
|
12
|
+
@media print {
|
13
|
+
*,
|
14
|
+
*::before,
|
15
|
+
*::after {
|
16
|
+
// Bootstrap specific; comment out `color` and `background`
|
17
|
+
//color: $black !important; // Black prints faster
|
18
|
+
text-shadow: none !important;
|
19
|
+
//background: transparent !important;
|
20
|
+
box-shadow: none !important;
|
21
|
+
}
|
22
|
+
|
23
|
+
a {
|
24
|
+
&:not(.btn) {
|
25
|
+
text-decoration: underline;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
// Bootstrap specific; comment the following selector out
|
30
|
+
//a[href]::after {
|
31
|
+
// content: " (" attr(href) ")";
|
32
|
+
//}
|
33
|
+
|
34
|
+
abbr[title]::after {
|
35
|
+
content: " (" attr(title) ")";
|
36
|
+
}
|
37
|
+
|
38
|
+
// Bootstrap specific; comment the following selector out
|
39
|
+
//
|
40
|
+
// Don't show links that are fragment identifiers,
|
41
|
+
// or use the `javascript:` pseudo protocol
|
42
|
+
//
|
43
|
+
|
44
|
+
//a[href^="#"]::after,
|
45
|
+
//a[href^="javascript:"]::after {
|
46
|
+
// content: "";
|
47
|
+
//}
|
48
|
+
|
49
|
+
pre {
|
50
|
+
white-space: pre-wrap !important;
|
51
|
+
}
|
52
|
+
pre,
|
53
|
+
blockquote {
|
54
|
+
border: $border-width solid $gray-500; // Bootstrap custom code; using `$border-width` instead of 1px
|
55
|
+
page-break-inside: avoid;
|
56
|
+
}
|
57
|
+
|
58
|
+
//
|
59
|
+
// Printing Tables:
|
60
|
+
// https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
|
61
|
+
//
|
62
|
+
|
63
|
+
thead {
|
64
|
+
display: table-header-group;
|
65
|
+
}
|
66
|
+
|
67
|
+
tr,
|
68
|
+
img {
|
69
|
+
page-break-inside: avoid;
|
70
|
+
}
|
71
|
+
|
72
|
+
p,
|
73
|
+
h2,
|
74
|
+
h3 {
|
75
|
+
orphans: 3;
|
76
|
+
widows: 3;
|
77
|
+
}
|
78
|
+
|
79
|
+
h2,
|
80
|
+
h3 {
|
81
|
+
page-break-after: avoid;
|
82
|
+
}
|
83
|
+
|
84
|
+
// Bootstrap specific changes start
|
85
|
+
|
86
|
+
// Specify a size and min-width to make printing closer across browsers.
|
87
|
+
// We don't set margin here because it breaks `size` in Chrome. We also
|
88
|
+
// don't use `!important` on `size` as it breaks in Chrome.
|
89
|
+
@page {
|
90
|
+
size: $print-page-size;
|
91
|
+
}
|
92
|
+
body {
|
93
|
+
min-width: $print-body-min-width !important;
|
94
|
+
}
|
95
|
+
.container {
|
96
|
+
min-width: $print-body-min-width !important;
|
97
|
+
}
|
98
|
+
|
99
|
+
// Bootstrap components
|
100
|
+
.navbar {
|
101
|
+
display: none;
|
102
|
+
}
|
103
|
+
.badge {
|
104
|
+
border: $border-width solid $black;
|
105
|
+
}
|
106
|
+
|
107
|
+
.table {
|
108
|
+
border-collapse: collapse !important;
|
109
|
+
|
110
|
+
td,
|
111
|
+
th {
|
112
|
+
background-color: $white !important;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.table-bordered {
|
117
|
+
th,
|
118
|
+
td {
|
119
|
+
border: 1px solid $gray-300 !important;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.table-dark {
|
124
|
+
color: inherit;
|
125
|
+
|
126
|
+
th,
|
127
|
+
td,
|
128
|
+
thead th,
|
129
|
+
tbody + tbody {
|
130
|
+
border-color: $table-border-color;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.table .thead-dark th {
|
135
|
+
color: inherit;
|
136
|
+
border-color: $table-border-color;
|
137
|
+
}
|
138
|
+
|
139
|
+
// Bootstrap specific changes end
|
140
|
+
}
|
141
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Disable animation if transitions are disabled
|
2
|
+
|
3
|
+
// scss-docs-start progress-keyframes
|
4
|
+
@if $enable-transitions {
|
5
|
+
@keyframes progress-bar-stripes {
|
6
|
+
0% { background-position-x: $progress-height; }
|
7
|
+
}
|
8
|
+
}
|
9
|
+
// scss-docs-end progress-keyframes
|
10
|
+
|
11
|
+
.progress {
|
12
|
+
// scss-docs-start progress-css-vars
|
13
|
+
--#{$prefix}progress-height: #{$progress-height};
|
14
|
+
@include rfs($progress-font-size, --#{$prefix}progress-font-size);
|
15
|
+
--#{$prefix}progress-bg: #{$progress-bg}; // stylelint-disable-line custom-property-empty-line-before
|
16
|
+
--#{$prefix}progress-border-radius: #{$progress-border-radius};
|
17
|
+
--#{$prefix}progress-box-shadow: #{$progress-box-shadow};
|
18
|
+
--#{$prefix}progress-bar-color: #{$progress-bar-color};
|
19
|
+
--#{$prefix}progress-bar-bg: #{$progress-bar-bg};
|
20
|
+
--#{$prefix}progress-bar-transition: #{$progress-bar-transition};
|
21
|
+
// scss-docs-end progress-css-vars
|
22
|
+
|
23
|
+
display: flex;
|
24
|
+
height: var(--#{$prefix}progress-height);
|
25
|
+
overflow: hidden; // force rounded corners by cropping it
|
26
|
+
@include font-size(var(--#{$prefix}progress-font-size));
|
27
|
+
background-color: var(--#{$prefix}progress-bg);
|
28
|
+
@include border-radius(var(--#{$prefix}progress-border-radius));
|
29
|
+
@include box-shadow(var(--#{$prefix}progress-box-shadow));
|
30
|
+
}
|
31
|
+
|
32
|
+
.progress-bar {
|
33
|
+
display: flex;
|
34
|
+
flex-direction: column;
|
35
|
+
justify-content: center;
|
36
|
+
overflow: hidden;
|
37
|
+
color: var(--#{$prefix}progress-bar-color);
|
38
|
+
text-align: center;
|
39
|
+
white-space: nowrap;
|
40
|
+
background-color: var(--#{$prefix}progress-bar-bg);
|
41
|
+
@include transition(var(--#{$prefix}progress-bar-transition));
|
42
|
+
}
|
43
|
+
|
44
|
+
.progress-bar-striped {
|
45
|
+
@include gradient-striped();
|
46
|
+
background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height);
|
47
|
+
}
|
48
|
+
|
49
|
+
@if $enable-transitions {
|
50
|
+
.progress-bar-animated {
|
51
|
+
animation: $progress-bar-animation-timing progress-bar-stripes;
|
52
|
+
|
53
|
+
@if $enable-reduced-motion {
|
54
|
+
@media (prefers-reduced-motion: reduce) {
|
55
|
+
animation: none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|