mancalledmountain-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +59 -0
  4. data/_includes/sidebar.html +34 -0
  5. data/_layouts/default.html +38 -0
  6. data/_layouts/page.html +5 -0
  7. data/_layouts/post.html +11 -0
  8. data/_sass/README.md +7 -0
  9. data/_sass/_main.scss +38 -0
  10. data/_sass/abstracts/README.md +7 -0
  11. data/_sass/abstracts/_functions.scss +30 -0
  12. data/_sass/abstracts/_mixins.scss +33 -0
  13. data/_sass/abstracts/_variables.scss +71 -0
  14. data/_sass/base/README.md +5 -0
  15. data/_sass/base/_base.scss +35 -0
  16. data/_sass/base/_fonts.scss +3 -0
  17. data/_sass/base/_helpers.scss +72 -0
  18. data/_sass/base/_typography.scss +15 -0
  19. data/_sass/components/README.md +5 -0
  20. data/_sass/components/_button.scss +3 -0
  21. data/_sass/layout/README.md +5 -0
  22. data/_sass/layout/_footer.scss +11 -0
  23. data/_sass/layout/_header.scss +6 -0
  24. data/_sass/layout/_sidebar.scss +106 -0
  25. data/_sass/pages/README.md +7 -0
  26. data/_sass/pages/_default.scss +27 -0
  27. data/_sass/pages/_home.scss +3 -0
  28. data/_sass/themes/README.md +7 -0
  29. data/_sass/themes/_default.scss +9 -0
  30. data/_sass/vendors/README.md +7 -0
  31. data/_sass/vendors/_normalize.scss +461 -0
  32. data/_sass/vendors/bootstrap/_alert.scss +51 -0
  33. data/_sass/vendors/bootstrap/_badge.scss +54 -0
  34. data/_sass/vendors/bootstrap/_bootstrap.scss +44 -0
  35. data/_sass/vendors/bootstrap/_breadcrumb.scss +41 -0
  36. data/_sass/vendors/bootstrap/_button-group.scss +163 -0
  37. data/_sass/vendors/bootstrap/_buttons.scss +137 -0
  38. data/_sass/vendors/bootstrap/_card.scss +289 -0
  39. data/_sass/vendors/bootstrap/_carousel.scss +197 -0
  40. data/_sass/vendors/bootstrap/_close.scss +41 -0
  41. data/_sass/vendors/bootstrap/_code.scss +48 -0
  42. data/_sass/vendors/bootstrap/_custom-forms.scss +507 -0
  43. data/_sass/vendors/bootstrap/_dropdown.scss +191 -0
  44. data/_sass/vendors/bootstrap/_forms.scss +330 -0
  45. data/_sass/vendors/bootstrap/_functions.scss +86 -0
  46. data/_sass/vendors/bootstrap/_grid.scss +52 -0
  47. data/_sass/vendors/bootstrap/_images.scss +42 -0
  48. data/_sass/vendors/bootstrap/_input-group.scss +193 -0
  49. data/_sass/vendors/bootstrap/_jumbotron.scss +17 -0
  50. data/_sass/vendors/bootstrap/_list-group.scss +149 -0
  51. data/_sass/vendors/bootstrap/_media.scss +8 -0
  52. data/_sass/vendors/bootstrap/_mixins.scss +47 -0
  53. data/_sass/vendors/bootstrap/_modal.scss +229 -0
  54. data/_sass/vendors/bootstrap/_nav.scss +120 -0
  55. data/_sass/vendors/bootstrap/_navbar.scss +294 -0
  56. data/_sass/vendors/bootstrap/_pagination.scss +73 -0
  57. data/_sass/vendors/bootstrap/_popover.scss +171 -0
  58. data/_sass/vendors/bootstrap/_print.scss +141 -0
  59. data/_sass/vendors/bootstrap/_progress.scss +43 -0
  60. data/_sass/vendors/bootstrap/_reboot.scss +483 -0
  61. data/_sass/vendors/bootstrap/_root.scss +19 -0
  62. data/_sass/vendors/bootstrap/_spinners.scss +55 -0
  63. data/_sass/vendors/bootstrap/_tables.scss +185 -0
  64. data/_sass/vendors/bootstrap/_toasts.scss +44 -0
  65. data/_sass/vendors/bootstrap/_tooltip.scss +115 -0
  66. data/_sass/vendors/bootstrap/_transitions.scss +20 -0
  67. data/_sass/vendors/bootstrap/_type.scss +125 -0
  68. data/_sass/vendors/bootstrap/_utilities.scss +17 -0
  69. data/_sass/vendors/bootstrap/_variables.scss +1123 -0
  70. data/_sass/vendors/bootstrap/bootstrap-_grid.scss +29 -0
  71. data/_sass/vendors/bootstrap/bootstrap-_reboot.scss +12 -0
  72. data/_sass/vendors/bootstrap/mixins/_alert.scss +13 -0
  73. data/_sass/vendors/bootstrap/mixins/_background-variant.scss +21 -0
  74. data/_sass/vendors/bootstrap/mixins/_badge.scss +17 -0
  75. data/_sass/vendors/bootstrap/mixins/_border-radius.scss +63 -0
  76. data/_sass/vendors/bootstrap/mixins/_box-shadow.scss +20 -0
  77. data/_sass/vendors/bootstrap/mixins/_breakpoints.scss +123 -0
  78. data/_sass/vendors/bootstrap/mixins/_buttons.scss +107 -0
  79. data/_sass/vendors/bootstrap/mixins/_caret.scss +62 -0
  80. data/_sass/vendors/bootstrap/mixins/_clearfix.scss +7 -0
  81. data/_sass/vendors/bootstrap/mixins/_deprecate.scss +10 -0
  82. data/_sass/vendors/bootstrap/mixins/_float.scss +14 -0
  83. data/_sass/vendors/bootstrap/mixins/_forms.scss +192 -0
  84. data/_sass/vendors/bootstrap/mixins/_gradients.scss +45 -0
  85. data/_sass/vendors/bootstrap/mixins/_grid-framework.scss +66 -0
  86. data/_sass/vendors/bootstrap/mixins/_grid.scss +51 -0
  87. data/_sass/vendors/bootstrap/mixins/_hover.scss +37 -0
  88. data/_sass/vendors/bootstrap/mixins/_image.scss +36 -0
  89. data/_sass/vendors/bootstrap/mixins/_list-group.scss +21 -0
  90. data/_sass/vendors/bootstrap/mixins/_lists.scss +7 -0
  91. data/_sass/vendors/bootstrap/mixins/_nav-divider.scss +10 -0
  92. data/_sass/vendors/bootstrap/mixins/_pagination.scss +22 -0
  93. data/_sass/vendors/bootstrap/mixins/_reset-text.scss +17 -0
  94. data/_sass/vendors/bootstrap/mixins/_resize.scss +6 -0
  95. data/_sass/vendors/bootstrap/mixins/_screen-reader.scss +33 -0
  96. data/_sass/vendors/bootstrap/mixins/_size.scss +7 -0
  97. data/_sass/vendors/bootstrap/mixins/_table-row.scss +39 -0
  98. data/_sass/vendors/bootstrap/mixins/_text-emphasis.scss +16 -0
  99. data/_sass/vendors/bootstrap/mixins/_text-hide.scss +11 -0
  100. data/_sass/vendors/bootstrap/mixins/_text-truncate.scss +8 -0
  101. data/_sass/vendors/bootstrap/mixins/_transition.scss +16 -0
  102. data/_sass/vendors/bootstrap/mixins/_visibility.scss +8 -0
  103. data/_sass/vendors/bootstrap/utilities/_align.scss +8 -0
  104. data/_sass/vendors/bootstrap/utilities/_background.scss +19 -0
  105. data/_sass/vendors/bootstrap/utilities/_borders.scss +75 -0
  106. data/_sass/vendors/bootstrap/utilities/_clearfix.scss +3 -0
  107. data/_sass/vendors/bootstrap/utilities/_display.scss +26 -0
  108. data/_sass/vendors/bootstrap/utilities/_embed.scss +39 -0
  109. data/_sass/vendors/bootstrap/utilities/_flex.scss +51 -0
  110. data/_sass/vendors/bootstrap/utilities/_float.scss +11 -0
  111. data/_sass/vendors/bootstrap/utilities/_overflow.scss +5 -0
  112. data/_sass/vendors/bootstrap/utilities/_position.scss +32 -0
  113. data/_sass/vendors/bootstrap/utilities/_screenreaders.scss +11 -0
  114. data/_sass/vendors/bootstrap/utilities/_shadows.scss +6 -0
  115. data/_sass/vendors/bootstrap/utilities/_sizing.scss +20 -0
  116. data/_sass/vendors/bootstrap/utilities/_spacing.scss +73 -0
  117. data/_sass/vendors/bootstrap/utilities/_stretched-link.scss +19 -0
  118. data/_sass/vendors/bootstrap/utilities/_text.scss +72 -0
  119. data/_sass/vendors/bootstrap/utilities/_visibility.scss +13 -0
  120. data/_sass/vendors/bootstrap/vendor/_rfs.scss +204 -0
  121. data/assets/images/richard_mountain.jpg +0 -0
  122. data/assets/style.scss +3 -0
  123. metadata +206 -0
@@ -0,0 +1,294 @@
1
+ // Contents
2
+ //
3
+ // Navbar
4
+ // Navbar brand
5
+ // Navbar nav
6
+ // Navbar text
7
+ // Navbar divider
8
+ // Responsive navbar
9
+ // Navbar position
10
+ // Navbar themes
11
+
12
+
13
+ // Navbar
14
+ //
15
+ // Provide a static navbar from which we expand to create full-width, fixed, and
16
+ // other navbar variations.
17
+
18
+ .navbar {
19
+ position: relative;
20
+ display: flex;
21
+ flex-wrap: wrap; // allow us to do the line break for collapsing content
22
+ align-items: center;
23
+ justify-content: space-between; // space out brand from logo
24
+ padding: $navbar-padding-y $navbar-padding-x;
25
+
26
+ // Because flex properties aren't inherited, we need to redeclare these first
27
+ // few properties so that content nested within behave properly.
28
+ > .container,
29
+ > .container-fluid {
30
+ display: flex;
31
+ flex-wrap: wrap;
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ }
35
+ }
36
+
37
+
38
+ // Navbar brand
39
+ //
40
+ // Used for brand, project, or site names.
41
+
42
+ .navbar-brand {
43
+ display: inline-block;
44
+ padding-top: $navbar-brand-padding-y;
45
+ padding-bottom: $navbar-brand-padding-y;
46
+ margin-right: $navbar-padding-x;
47
+ @include font-size($navbar-brand-font-size);
48
+ line-height: inherit;
49
+ white-space: nowrap;
50
+
51
+ @include hover-focus {
52
+ text-decoration: none;
53
+ }
54
+ }
55
+
56
+
57
+ // Navbar nav
58
+ //
59
+ // Custom navbar navigation (doesn't require `.nav`, but does make use of `.nav-link`).
60
+
61
+ .navbar-nav {
62
+ display: flex;
63
+ flex-direction: column; // cannot use `inherit` to get the `.navbar`s value
64
+ padding-left: 0;
65
+ margin-bottom: 0;
66
+ list-style: none;
67
+
68
+ .nav-link {
69
+ padding-right: 0;
70
+ padding-left: 0;
71
+ }
72
+
73
+ .dropdown-menu {
74
+ position: static;
75
+ float: none;
76
+ }
77
+ }
78
+
79
+
80
+ // Navbar text
81
+ //
82
+ //
83
+
84
+ .navbar-text {
85
+ display: inline-block;
86
+ padding-top: $nav-link-padding-y;
87
+ padding-bottom: $nav-link-padding-y;
88
+ }
89
+
90
+
91
+ // Responsive navbar
92
+ //
93
+ // Custom styles for responsive collapsing and toggling of navbar contents.
94
+ // Powered by the collapse Bootstrap JavaScript plugin.
95
+
96
+ // When collapsed, prevent the toggleable navbar contents from appearing in
97
+ // the default flexbox row orientation. Requires the use of `flex-wrap: wrap`
98
+ // on the `.navbar` parent.
99
+ .navbar-collapse {
100
+ flex-basis: 100%;
101
+ flex-grow: 1;
102
+ // For always expanded or extra full navbars, ensure content aligns itself
103
+ // properly vertically. Can be easily overridden with flex utilities.
104
+ align-items: center;
105
+ }
106
+
107
+ // Button for toggling the navbar when in its collapsed state
108
+ .navbar-toggler {
109
+ padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
110
+ @include font-size($navbar-toggler-font-size);
111
+ line-height: 1;
112
+ background-color: transparent; // remove default button style
113
+ border: $border-width solid transparent; // remove default button style
114
+ @include border-radius($navbar-toggler-border-radius);
115
+
116
+ @include hover-focus {
117
+ text-decoration: none;
118
+ }
119
+ }
120
+
121
+ // Keep as a separate element so folks can easily override it with another icon
122
+ // or image file as needed.
123
+ .navbar-toggler-icon {
124
+ display: inline-block;
125
+ width: 1.5em;
126
+ height: 1.5em;
127
+ vertical-align: middle;
128
+ content: "";
129
+ background: no-repeat center center;
130
+ background-size: 100% 100%;
131
+ }
132
+
133
+ // Generate series of `.navbar-expand-*` responsive classes for configuring
134
+ // where your navbar collapses.
135
+ .navbar-expand {
136
+ @each $breakpoint in map-keys($grid-breakpoints) {
137
+ $next: breakpoint-next($breakpoint, $grid-breakpoints);
138
+ $infix: breakpoint-infix($next, $grid-breakpoints);
139
+
140
+ &#{$infix} {
141
+ @include media-breakpoint-down($breakpoint) {
142
+ > .container,
143
+ > .container-fluid {
144
+ padding-right: 0;
145
+ padding-left: 0;
146
+ }
147
+ }
148
+
149
+ @include media-breakpoint-up($next) {
150
+ flex-flow: row nowrap;
151
+ justify-content: flex-start;
152
+
153
+ .navbar-nav {
154
+ flex-direction: row;
155
+
156
+ .dropdown-menu {
157
+ position: absolute;
158
+ }
159
+
160
+ .nav-link {
161
+ padding-right: $navbar-nav-link-padding-x;
162
+ padding-left: $navbar-nav-link-padding-x;
163
+ }
164
+ }
165
+
166
+ // For nesting containers, have to redeclare for alignment purposes
167
+ > .container,
168
+ > .container-fluid {
169
+ flex-wrap: nowrap;
170
+ }
171
+
172
+ .navbar-collapse {
173
+ display: flex !important; // stylelint-disable-line declaration-no-important
174
+
175
+ // Changes flex-bases to auto because of an IE10 bug
176
+ flex-basis: auto;
177
+ }
178
+
179
+ .navbar-toggler {
180
+ display: none;
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+
188
+ // Navbar themes
189
+ //
190
+ // Styles for switching between navbars with light or dark background.
191
+
192
+ // Dark links against a light background
193
+ .navbar-light {
194
+ .navbar-brand {
195
+ color: $navbar-light-brand-color;
196
+
197
+ @include hover-focus {
198
+ color: $navbar-light-brand-hover-color;
199
+ }
200
+ }
201
+
202
+ .navbar-nav {
203
+ .nav-link {
204
+ color: $navbar-light-color;
205
+
206
+ @include hover-focus {
207
+ color: $navbar-light-hover-color;
208
+ }
209
+
210
+ &.disabled {
211
+ color: $navbar-light-disabled-color;
212
+ }
213
+ }
214
+
215
+ .show > .nav-link,
216
+ .active > .nav-link,
217
+ .nav-link.show,
218
+ .nav-link.active {
219
+ color: $navbar-light-active-color;
220
+ }
221
+ }
222
+
223
+ .navbar-toggler {
224
+ color: $navbar-light-color;
225
+ border-color: $navbar-light-toggler-border-color;
226
+ }
227
+
228
+ .navbar-toggler-icon {
229
+ background-image: $navbar-light-toggler-icon-bg;
230
+ }
231
+
232
+ .navbar-text {
233
+ color: $navbar-light-color;
234
+ a {
235
+ color: $navbar-light-active-color;
236
+
237
+ @include hover-focus {
238
+ color: $navbar-light-active-color;
239
+ }
240
+ }
241
+ }
242
+ }
243
+
244
+ // White links against a dark background
245
+ .navbar-dark {
246
+ .navbar-brand {
247
+ color: $navbar-dark-brand-color;
248
+
249
+ @include hover-focus {
250
+ color: $navbar-dark-brand-hover-color;
251
+ }
252
+ }
253
+
254
+ .navbar-nav {
255
+ .nav-link {
256
+ color: $navbar-dark-color;
257
+
258
+ @include hover-focus {
259
+ color: $navbar-dark-hover-color;
260
+ }
261
+
262
+ &.disabled {
263
+ color: $navbar-dark-disabled-color;
264
+ }
265
+ }
266
+
267
+ .show > .nav-link,
268
+ .active > .nav-link,
269
+ .nav-link.show,
270
+ .nav-link.active {
271
+ color: $navbar-dark-active-color;
272
+ }
273
+ }
274
+
275
+ .navbar-toggler {
276
+ color: $navbar-dark-color;
277
+ border-color: $navbar-dark-toggler-border-color;
278
+ }
279
+
280
+ .navbar-toggler-icon {
281
+ background-image: $navbar-dark-toggler-icon-bg;
282
+ }
283
+
284
+ .navbar-text {
285
+ color: $navbar-dark-color;
286
+ a {
287
+ color: $navbar-dark-active-color;
288
+
289
+ @include hover-focus {
290
+ color: $navbar-dark-active-color;
291
+ }
292
+ }
293
+ }
294
+ }
@@ -0,0 +1,73 @@
1
+ .pagination {
2
+ display: flex;
3
+ @include list-unstyled();
4
+ @include border-radius();
5
+ }
6
+
7
+ .page-link {
8
+ position: relative;
9
+ display: block;
10
+ padding: $pagination-padding-y $pagination-padding-x;
11
+ margin-left: -$pagination-border-width;
12
+ line-height: $pagination-line-height;
13
+ color: $pagination-color;
14
+ background-color: $pagination-bg;
15
+ border: $pagination-border-width solid $pagination-border-color;
16
+
17
+ &:hover {
18
+ z-index: 2;
19
+ color: $pagination-hover-color;
20
+ text-decoration: none;
21
+ background-color: $pagination-hover-bg;
22
+ border-color: $pagination-hover-border-color;
23
+ }
24
+
25
+ &:focus {
26
+ z-index: 2;
27
+ outline: $pagination-focus-outline;
28
+ box-shadow: $pagination-focus-box-shadow;
29
+ }
30
+ }
31
+
32
+ .page-item {
33
+ &:first-child {
34
+ .page-link {
35
+ margin-left: 0;
36
+ @include border-left-radius($border-radius);
37
+ }
38
+ }
39
+ &:last-child {
40
+ .page-link {
41
+ @include border-right-radius($border-radius);
42
+ }
43
+ }
44
+
45
+ &.active .page-link {
46
+ z-index: 1;
47
+ color: $pagination-active-color;
48
+ background-color: $pagination-active-bg;
49
+ border-color: $pagination-active-border-color;
50
+ }
51
+
52
+ &.disabled .page-link {
53
+ color: $pagination-disabled-color;
54
+ pointer-events: none;
55
+ // Opinionated: remove the "hand" cursor set previously for .page-link
56
+ cursor: auto;
57
+ background-color: $pagination-disabled-bg;
58
+ border-color: $pagination-disabled-border-color;
59
+ }
60
+ }
61
+
62
+
63
+ //
64
+ // Sizing
65
+ //
66
+
67
+ .pagination-lg {
68
+ @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
69
+ }
70
+
71
+ .pagination-sm {
72
+ @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
73
+ }
@@ -0,0 +1,171 @@
1
+ .popover {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ z-index: $zindex-popover;
6
+ display: block;
7
+ max-width: $popover-max-width;
8
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
9
+ // So reset our font and text properties to avoid inheriting weird values.
10
+ @include reset-text();
11
+ @include font-size($popover-font-size);
12
+ // Allow breaking very long words so they don't overflow the popover's bounds
13
+ word-wrap: break-word;
14
+ background-color: $popover-bg;
15
+ background-clip: padding-box;
16
+ border: $popover-border-width solid $popover-border-color;
17
+ @include border-radius($popover-border-radius);
18
+ @include box-shadow($popover-box-shadow);
19
+
20
+ .arrow {
21
+ position: absolute;
22
+ display: block;
23
+ width: $popover-arrow-width;
24
+ height: $popover-arrow-height;
25
+ margin: 0 $border-radius-lg;
26
+
27
+ &::before,
28
+ &::after {
29
+ position: absolute;
30
+ display: block;
31
+ content: "";
32
+ border-color: transparent;
33
+ border-style: solid;
34
+ }
35
+ }
36
+ }
37
+
38
+ .bs-popover-top {
39
+ margin-bottom: $popover-arrow-height;
40
+
41
+ > .arrow {
42
+ bottom: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
43
+
44
+ &::before {
45
+ bottom: 0;
46
+ border-width: $popover-arrow-height ($popover-arrow-width / 2) 0;
47
+ border-top-color: $popover-arrow-outer-color;
48
+ }
49
+
50
+ &::after {
51
+ bottom: $popover-border-width;
52
+ border-width: $popover-arrow-height ($popover-arrow-width / 2) 0;
53
+ border-top-color: $popover-arrow-color;
54
+ }
55
+ }
56
+ }
57
+
58
+ .bs-popover-right {
59
+ margin-left: $popover-arrow-height;
60
+
61
+ > .arrow {
62
+ left: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
63
+ width: $popover-arrow-height;
64
+ height: $popover-arrow-width;
65
+ margin: $border-radius-lg 0; // make sure the arrow does not touch the popover's rounded corners
66
+
67
+ &::before {
68
+ left: 0;
69
+ border-width: ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2) 0;
70
+ border-right-color: $popover-arrow-outer-color;
71
+ }
72
+
73
+ &::after {
74
+ left: $popover-border-width;
75
+ border-width: ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2) 0;
76
+ border-right-color: $popover-arrow-color;
77
+ }
78
+ }
79
+ }
80
+
81
+ .bs-popover-bottom {
82
+ margin-top: $popover-arrow-height;
83
+
84
+ > .arrow {
85
+ top: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
86
+
87
+ &::before {
88
+ top: 0;
89
+ border-width: 0 ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2);
90
+ border-bottom-color: $popover-arrow-outer-color;
91
+ }
92
+
93
+ &::after {
94
+ top: $popover-border-width;
95
+ border-width: 0 ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2);
96
+ border-bottom-color: $popover-arrow-color;
97
+ }
98
+ }
99
+
100
+ // This will remove the popover-header's border just below the arrow
101
+ .popover-header::before {
102
+ position: absolute;
103
+ top: 0;
104
+ left: 50%;
105
+ display: block;
106
+ width: $popover-arrow-width;
107
+ margin-left: -$popover-arrow-width / 2;
108
+ content: "";
109
+ border-bottom: $popover-border-width solid $popover-header-bg;
110
+ }
111
+ }
112
+
113
+ .bs-popover-left {
114
+ margin-right: $popover-arrow-height;
115
+
116
+ > .arrow {
117
+ right: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
118
+ width: $popover-arrow-height;
119
+ height: $popover-arrow-width;
120
+ margin: $border-radius-lg 0; // make sure the arrow does not touch the popover's rounded corners
121
+
122
+ &::before {
123
+ right: 0;
124
+ border-width: ($popover-arrow-width / 2) 0 ($popover-arrow-width / 2) $popover-arrow-height;
125
+ border-left-color: $popover-arrow-outer-color;
126
+ }
127
+
128
+ &::after {
129
+ right: $popover-border-width;
130
+ border-width: ($popover-arrow-width / 2) 0 ($popover-arrow-width / 2) $popover-arrow-height;
131
+ border-left-color: $popover-arrow-color;
132
+ }
133
+ }
134
+ }
135
+
136
+ .bs-popover-auto {
137
+ &[x-placement^="top"] {
138
+ @extend .bs-popover-top;
139
+ }
140
+ &[x-placement^="right"] {
141
+ @extend .bs-popover-right;
142
+ }
143
+ &[x-placement^="bottom"] {
144
+ @extend .bs-popover-bottom;
145
+ }
146
+ &[x-placement^="left"] {
147
+ @extend .bs-popover-left;
148
+ }
149
+ }
150
+
151
+
152
+ // Offset the popover to account for the popover arrow
153
+ .popover-header {
154
+ padding: $popover-header-padding-y $popover-header-padding-x;
155
+ margin-bottom: 0; // Reset the default from Reboot
156
+ @include font-size($font-size-base);
157
+ color: $popover-header-color;
158
+ background-color: $popover-header-bg;
159
+ border-bottom: $popover-border-width solid darken($popover-header-bg, 5%);
160
+ $offset-border-width: calc(#{$border-radius-lg} - #{$popover-border-width});
161
+ @include border-top-radius($offset-border-width);
162
+
163
+ &:empty {
164
+ display: none;
165
+ }
166
+ }
167
+
168
+ .popover-body {
169
+ padding: $popover-body-padding-y $popover-body-padding-x;
170
+ color: $popover-body-color;
171
+ }
@@ -0,0 +1,141 @@
1
+ // stylelint-disable declaration-no-important, selector-no-qualifying-type
2
+
3
+ // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.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
+ // 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,43 @@
1
+ // Disable animation if transitions are disabled
2
+ @if $enable-transitions {
3
+ @keyframes progress-bar-stripes {
4
+ from { background-position: $progress-height 0; }
5
+ to { background-position: 0 0; }
6
+ }
7
+ }
8
+
9
+ .progress {
10
+ display: flex;
11
+ height: $progress-height;
12
+ overflow: hidden; // force rounded corners by cropping it
13
+ @include font-size($progress-font-size);
14
+ background-color: $progress-bg;
15
+ @include border-radius($progress-border-radius);
16
+ @include box-shadow($progress-box-shadow);
17
+ }
18
+
19
+ .progress-bar {
20
+ display: flex;
21
+ flex-direction: column;
22
+ justify-content: center;
23
+ color: $progress-bar-color;
24
+ text-align: center;
25
+ white-space: nowrap;
26
+ background-color: $progress-bar-bg;
27
+ @include transition($progress-bar-transition);
28
+ }
29
+
30
+ .progress-bar-striped {
31
+ @include gradient-striped();
32
+ background-size: $progress-height $progress-height;
33
+ }
34
+
35
+ @if $enable-transitions {
36
+ .progress-bar-animated {
37
+ animation: progress-bar-stripes $progress-bar-animation-timing;
38
+
39
+ @media (prefers-reduced-motion: reduce) {
40
+ animation: none;
41
+ }
42
+ }
43
+ }