jekyll-theme-dtf-basic 0.0.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.
Files changed (161) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +438 -0
  3. data/README.md +39 -0
  4. data/_config.yml +84 -0
  5. data/_data/authors.yml +2 -0
  6. data/_data/navigation.yml +4 -0
  7. data/_includes/dtf/alert_element.html +4 -0
  8. data/_includes/dtf/author_element.html +17 -0
  9. data/_includes/dtf/feature_element.html +13 -0
  10. data/_includes/dtf/feature_group.html +12 -0
  11. data/_includes/dtf/picture_element.html +13 -0
  12. data/_includes/dtf/post_element.html +19 -0
  13. data/_includes/dtf/post_group.html +12 -0
  14. data/_includes/dtf/project_element.html +19 -0
  15. data/_includes/dtf/project_group.html +17 -0
  16. data/_includes/footer.html +7 -0
  17. data/_includes/head.html +12 -0
  18. data/_includes/nav.html +45 -0
  19. data/_includes/pagination.html +19 -0
  20. data/_layouts/archive.html +19 -0
  21. data/_layouts/default.html +19 -0
  22. data/_layouts/page.html +13 -0
  23. data/_layouts/post.html +43 -0
  24. data/_sass/basic/_style.scss +55 -0
  25. data/_sass/bootstrap-5.3.3/_accordion.scss +158 -0
  26. data/_sass/bootstrap-5.3.3/_alert.scss +68 -0
  27. data/_sass/bootstrap-5.3.3/_badge.scss +38 -0
  28. data/_sass/bootstrap-5.3.3/_breadcrumb.scss +40 -0
  29. data/_sass/bootstrap-5.3.3/_button-group.scss +142 -0
  30. data/_sass/bootstrap-5.3.3/_buttons.scss +216 -0
  31. data/_sass/bootstrap-5.3.3/_card.scss +239 -0
  32. data/_sass/bootstrap-5.3.3/_carousel.scss +236 -0
  33. data/_sass/bootstrap-5.3.3/_close.scss +63 -0
  34. data/_sass/bootstrap-5.3.3/_containers.scss +41 -0
  35. data/_sass/bootstrap-5.3.3/_dropdown.scss +250 -0
  36. data/_sass/bootstrap-5.3.3/_forms.scss +9 -0
  37. data/_sass/bootstrap-5.3.3/_functions.scss +302 -0
  38. data/_sass/bootstrap-5.3.3/_grid.scss +39 -0
  39. data/_sass/bootstrap-5.3.3/_helpers.scss +12 -0
  40. data/_sass/bootstrap-5.3.3/_images.scss +42 -0
  41. data/_sass/bootstrap-5.3.3/_list-group.scss +197 -0
  42. data/_sass/bootstrap-5.3.3/_maps.scss +174 -0
  43. data/_sass/bootstrap-5.3.3/_mixins.scss +42 -0
  44. data/_sass/bootstrap-5.3.3/_modal.scss +236 -0
  45. data/_sass/bootstrap-5.3.3/_nav.scss +197 -0
  46. data/_sass/bootstrap-5.3.3/_navbar.scss +289 -0
  47. data/_sass/bootstrap-5.3.3/_offcanvas.scss +143 -0
  48. data/_sass/bootstrap-5.3.3/_pagination.scss +109 -0
  49. data/_sass/bootstrap-5.3.3/_placeholders.scss +51 -0
  50. data/_sass/bootstrap-5.3.3/_popover.scss +196 -0
  51. data/_sass/bootstrap-5.3.3/_progress.scss +68 -0
  52. data/_sass/bootstrap-5.3.3/_reboot.scss +611 -0
  53. data/_sass/bootstrap-5.3.3/_root.scss +187 -0
  54. data/_sass/bootstrap-5.3.3/_spinners.scss +85 -0
  55. data/_sass/bootstrap-5.3.3/_tables.scss +171 -0
  56. data/_sass/bootstrap-5.3.3/_toasts.scss +73 -0
  57. data/_sass/bootstrap-5.3.3/_tooltip.scss +119 -0
  58. data/_sass/bootstrap-5.3.3/_transitions.scss +27 -0
  59. data/_sass/bootstrap-5.3.3/_type.scss +106 -0
  60. data/_sass/bootstrap-5.3.3/_utilities.scss +806 -0
  61. data/_sass/bootstrap-5.3.3/_variables-dark.scss +87 -0
  62. data/_sass/bootstrap-5.3.3/_variables.scss +1751 -0
  63. data/_sass/bootstrap-5.3.3/bootstrap-grid.scss +62 -0
  64. data/_sass/bootstrap-5.3.3/bootstrap-reboot.scss +10 -0
  65. data/_sass/bootstrap-5.3.3/bootstrap-utilities.scss +19 -0
  66. data/_sass/bootstrap-5.3.3/bootstrap.scss +52 -0
  67. data/_sass/bootstrap-5.3.3/forms/_floating-labels.scss +95 -0
  68. data/_sass/bootstrap-5.3.3/forms/_form-check.scss +189 -0
  69. data/_sass/bootstrap-5.3.3/forms/_form-control.scss +214 -0
  70. data/_sass/bootstrap-5.3.3/forms/_form-range.scss +91 -0
  71. data/_sass/bootstrap-5.3.3/forms/_form-select.scss +80 -0
  72. data/_sass/bootstrap-5.3.3/forms/_form-text.scss +11 -0
  73. data/_sass/bootstrap-5.3.3/forms/_input-group.scss +132 -0
  74. data/_sass/bootstrap-5.3.3/forms/_labels.scss +36 -0
  75. data/_sass/bootstrap-5.3.3/forms/_validation.scss +12 -0
  76. data/_sass/bootstrap-5.3.3/helpers/_clearfix.scss +3 -0
  77. data/_sass/bootstrap-5.3.3/helpers/_color-bg.scss +7 -0
  78. data/_sass/bootstrap-5.3.3/helpers/_colored-links.scss +30 -0
  79. data/_sass/bootstrap-5.3.3/helpers/_focus-ring.scss +5 -0
  80. data/_sass/bootstrap-5.3.3/helpers/_icon-link.scss +25 -0
  81. data/_sass/bootstrap-5.3.3/helpers/_position.scss +36 -0
  82. data/_sass/bootstrap-5.3.3/helpers/_ratio.scss +26 -0
  83. data/_sass/bootstrap-5.3.3/helpers/_stacks.scss +15 -0
  84. data/_sass/bootstrap-5.3.3/helpers/_stretched-link.scss +15 -0
  85. data/_sass/bootstrap-5.3.3/helpers/_text-truncation.scss +7 -0
  86. data/_sass/bootstrap-5.3.3/helpers/_visually-hidden.scss +8 -0
  87. data/_sass/bootstrap-5.3.3/helpers/_vr.scss +8 -0
  88. data/_sass/bootstrap-5.3.3/mixins/_alert.scss +18 -0
  89. data/_sass/bootstrap-5.3.3/mixins/_backdrop.scss +14 -0
  90. data/_sass/bootstrap-5.3.3/mixins/_banner.scss +7 -0
  91. data/_sass/bootstrap-5.3.3/mixins/_border-radius.scss +78 -0
  92. data/_sass/bootstrap-5.3.3/mixins/_box-shadow.scss +18 -0
  93. data/_sass/bootstrap-5.3.3/mixins/_breakpoints.scss +127 -0
  94. data/_sass/bootstrap-5.3.3/mixins/_buttons.scss +70 -0
  95. data/_sass/bootstrap-5.3.3/mixins/_caret.scss +69 -0
  96. data/_sass/bootstrap-5.3.3/mixins/_clearfix.scss +9 -0
  97. data/_sass/bootstrap-5.3.3/mixins/_color-mode.scss +21 -0
  98. data/_sass/bootstrap-5.3.3/mixins/_color-scheme.scss +7 -0
  99. data/_sass/bootstrap-5.3.3/mixins/_container.scss +11 -0
  100. data/_sass/bootstrap-5.3.3/mixins/_deprecate.scss +10 -0
  101. data/_sass/bootstrap-5.3.3/mixins/_forms.scss +163 -0
  102. data/_sass/bootstrap-5.3.3/mixins/_gradients.scss +47 -0
  103. data/_sass/bootstrap-5.3.3/mixins/_grid.scss +151 -0
  104. data/_sass/bootstrap-5.3.3/mixins/_image.scss +16 -0
  105. data/_sass/bootstrap-5.3.3/mixins/_list-group.scss +26 -0
  106. data/_sass/bootstrap-5.3.3/mixins/_lists.scss +7 -0
  107. data/_sass/bootstrap-5.3.3/mixins/_pagination.scss +10 -0
  108. data/_sass/bootstrap-5.3.3/mixins/_reset-text.scss +17 -0
  109. data/_sass/bootstrap-5.3.3/mixins/_resize.scss +6 -0
  110. data/_sass/bootstrap-5.3.3/mixins/_table-variants.scss +24 -0
  111. data/_sass/bootstrap-5.3.3/mixins/_text-truncate.scss +8 -0
  112. data/_sass/bootstrap-5.3.3/mixins/_transition.scss +26 -0
  113. data/_sass/bootstrap-5.3.3/mixins/_utilities.scss +97 -0
  114. data/_sass/bootstrap-5.3.3/mixins/_visually-hidden.scss +33 -0
  115. data/_sass/bootstrap-5.3.3/tests/jasmine.js +16 -0
  116. data/_sass/bootstrap-5.3.3/tests/mixins/_auto-import-of-variables-dark.test.scss +7 -0
  117. data/_sass/bootstrap-5.3.3/tests/mixins/_color-modes.test.scss +69 -0
  118. data/_sass/bootstrap-5.3.3/tests/mixins/_media-query-color-mode-full.test.scss +8 -0
  119. data/_sass/bootstrap-5.3.3/tests/mixins/_utilities.test.scss +393 -0
  120. data/_sass/bootstrap-5.3.3/tests/sass-true/register.js +14 -0
  121. data/_sass/bootstrap-5.3.3/tests/sass-true/runner.js +17 -0
  122. data/_sass/bootstrap-5.3.3/tests/utilities/_api.test.scss +75 -0
  123. data/_sass/bootstrap-5.3.3/utilities/_api.scss +47 -0
  124. data/_sass/custom_style.scss +0 -0
  125. data/_sass/fontawesome/font-awesome.scss +10 -0
  126. data/_sass/fontawesome/scss/LICENSE.txt +165 -0
  127. data/_sass/fontawesome/scss/_animated.scss +152 -0
  128. data/_sass/fontawesome/scss/_bordered-pulled.scss +20 -0
  129. data/_sass/fontawesome/scss/_core.scss +49 -0
  130. data/_sass/fontawesome/scss/_fixed-width.scss +7 -0
  131. data/_sass/fontawesome/scss/_functions.scss +57 -0
  132. data/_sass/fontawesome/scss/_icons.scss +12 -0
  133. data/_sass/fontawesome/scss/_list.scss +18 -0
  134. data/_sass/fontawesome/scss/_mixins.scss +65 -0
  135. data/_sass/fontawesome/scss/_rotated-flipped.scss +31 -0
  136. data/_sass/fontawesome/scss/_screen-reader.scss +14 -0
  137. data/_sass/fontawesome/scss/_shims.scss +1578 -0
  138. data/_sass/fontawesome/scss/_sizing.scss +16 -0
  139. data/_sass/fontawesome/scss/_stacked.scss +32 -0
  140. data/_sass/fontawesome/scss/_variables.scss +5044 -0
  141. data/_sass/fontawesome/scss/brands.scss +30 -0
  142. data/_sass/fontawesome/scss/fontawesome.scss +21 -0
  143. data/_sass/fontawesome/scss/regular.scss +27 -0
  144. data/_sass/fontawesome/scss/solid.scss +27 -0
  145. data/_sass/fontawesome/scss/v4-shims.scss +11 -0
  146. data/_sass/highlighter/code.scss +232 -0
  147. data/_sass/main.scss +40 -0
  148. data/assets/css/main.scss +4 -0
  149. data/assets/fonts/fontawesome/LICENSE.txt +165 -0
  150. data/assets/fonts/fontawesome/fa-brands-400.ttf +0 -0
  151. data/assets/fonts/fontawesome/fa-brands-400.woff2 +0 -0
  152. data/assets/fonts/fontawesome/fa-regular-400.ttf +0 -0
  153. data/assets/fonts/fontawesome/fa-regular-400.woff2 +0 -0
  154. data/assets/fonts/fontawesome/fa-solid-900.ttf +0 -0
  155. data/assets/fonts/fontawesome/fa-solid-900.woff2 +0 -0
  156. data/assets/fonts/fontawesome/fa-v4compatibility.ttf +0 -0
  157. data/assets/fonts/fontawesome/fa-v4compatibility.woff2 +0 -0
  158. data/assets/js/bootstrap.bundle.js.map +1 -0
  159. data/assets/js/bootstrap.bundle.min.js +7 -0
  160. data/assets/js/darkmode.js +74 -0
  161. metadata +343 -0
@@ -0,0 +1,236 @@
1
+ // Notes on the classes:
2
+ //
3
+ // 1. .carousel.pointer-event should ideally be pan-y (to allow for users to scroll vertically)
4
+ // even when their scroll action started on a carousel, but for compatibility (with Firefox)
5
+ // we're preventing all actions instead
6
+ // 2. The .carousel-item-start and .carousel-item-end is used to indicate where
7
+ // the active slide is heading.
8
+ // 3. .active.carousel-item is the current slide.
9
+ // 4. .active.carousel-item-start and .active.carousel-item-end is the current
10
+ // slide in its in-transition state. Only one of these occurs at a time.
11
+ // 5. .carousel-item-next.carousel-item-start and .carousel-item-prev.carousel-item-end
12
+ // is the upcoming slide in transition.
13
+
14
+ .carousel {
15
+ position: relative;
16
+ }
17
+
18
+ .carousel.pointer-event {
19
+ touch-action: pan-y;
20
+ }
21
+
22
+ .carousel-inner {
23
+ position: relative;
24
+ width: 100%;
25
+ overflow: hidden;
26
+ @include clearfix();
27
+ }
28
+
29
+ .carousel-item {
30
+ position: relative;
31
+ display: none;
32
+ float: left;
33
+ width: 100%;
34
+ margin-right: -100%;
35
+ backface-visibility: hidden;
36
+ @include transition($carousel-transition);
37
+ }
38
+
39
+ .carousel-item.active,
40
+ .carousel-item-next,
41
+ .carousel-item-prev {
42
+ display: block;
43
+ }
44
+
45
+ .carousel-item-next:not(.carousel-item-start),
46
+ .active.carousel-item-end {
47
+ transform: translateX(100%);
48
+ }
49
+
50
+ .carousel-item-prev:not(.carousel-item-end),
51
+ .active.carousel-item-start {
52
+ transform: translateX(-100%);
53
+ }
54
+
55
+
56
+ //
57
+ // Alternate transitions
58
+ //
59
+
60
+ .carousel-fade {
61
+ .carousel-item {
62
+ opacity: 0;
63
+ transition-property: opacity;
64
+ transform: none;
65
+ }
66
+
67
+ .carousel-item.active,
68
+ .carousel-item-next.carousel-item-start,
69
+ .carousel-item-prev.carousel-item-end {
70
+ z-index: 1;
71
+ opacity: 1;
72
+ }
73
+
74
+ .active.carousel-item-start,
75
+ .active.carousel-item-end {
76
+ z-index: 0;
77
+ opacity: 0;
78
+ @include transition(opacity 0s $carousel-transition-duration);
79
+ }
80
+ }
81
+
82
+
83
+ //
84
+ // Left/right controls for nav
85
+ //
86
+
87
+ .carousel-control-prev,
88
+ .carousel-control-next {
89
+ position: absolute;
90
+ top: 0;
91
+ bottom: 0;
92
+ z-index: 1;
93
+ // Use flex for alignment (1-3)
94
+ display: flex; // 1. allow flex styles
95
+ align-items: center; // 2. vertically center contents
96
+ justify-content: center; // 3. horizontally center contents
97
+ width: $carousel-control-width;
98
+ padding: 0;
99
+ color: $carousel-control-color;
100
+ text-align: center;
101
+ background: none;
102
+ border: 0;
103
+ opacity: $carousel-control-opacity;
104
+ @include transition($carousel-control-transition);
105
+
106
+ // Hover/focus state
107
+ &:hover,
108
+ &:focus {
109
+ color: $carousel-control-color;
110
+ text-decoration: none;
111
+ outline: 0;
112
+ opacity: $carousel-control-hover-opacity;
113
+ }
114
+ }
115
+ .carousel-control-prev {
116
+ left: 0;
117
+ background-image: if($enable-gradients, linear-gradient(90deg, rgba($black, .25), rgba($black, .001)), null);
118
+ }
119
+ .carousel-control-next {
120
+ right: 0;
121
+ background-image: if($enable-gradients, linear-gradient(270deg, rgba($black, .25), rgba($black, .001)), null);
122
+ }
123
+
124
+ // Icons for within
125
+ .carousel-control-prev-icon,
126
+ .carousel-control-next-icon {
127
+ display: inline-block;
128
+ width: $carousel-control-icon-width;
129
+ height: $carousel-control-icon-width;
130
+ background-repeat: no-repeat;
131
+ background-position: 50%;
132
+ background-size: 100% 100%;
133
+ }
134
+
135
+ .carousel-control-prev-icon {
136
+ background-image: escape-svg($carousel-control-prev-icon-bg) #{"/*rtl:" + escape-svg($carousel-control-next-icon-bg) + "*/"};
137
+ }
138
+ .carousel-control-next-icon {
139
+ background-image: escape-svg($carousel-control-next-icon-bg) #{"/*rtl:" + escape-svg($carousel-control-prev-icon-bg) + "*/"};
140
+ }
141
+
142
+ // Optional indicator pips/controls
143
+ //
144
+ // Add a container (such as a list) with the following class and add an item (ideally a focusable control,
145
+ // like a button) with data-bs-target for each slide your carousel holds.
146
+
147
+ .carousel-indicators {
148
+ position: absolute;
149
+ right: 0;
150
+ bottom: 0;
151
+ left: 0;
152
+ z-index: 2;
153
+ display: flex;
154
+ justify-content: center;
155
+ padding: 0;
156
+ // Use the .carousel-control's width as margin so we don't overlay those
157
+ margin-right: $carousel-control-width;
158
+ margin-bottom: 1rem;
159
+ margin-left: $carousel-control-width;
160
+
161
+ [data-bs-target] {
162
+ box-sizing: content-box;
163
+ flex: 0 1 auto;
164
+ width: $carousel-indicator-width;
165
+ height: $carousel-indicator-height;
166
+ padding: 0;
167
+ margin-right: $carousel-indicator-spacer;
168
+ margin-left: $carousel-indicator-spacer;
169
+ text-indent: -999px;
170
+ cursor: pointer;
171
+ background-color: $carousel-indicator-active-bg;
172
+ background-clip: padding-box;
173
+ border: 0;
174
+ // Use transparent borders to increase the hit area by 10px on top and bottom.
175
+ border-top: $carousel-indicator-hit-area-height solid transparent;
176
+ border-bottom: $carousel-indicator-hit-area-height solid transparent;
177
+ opacity: $carousel-indicator-opacity;
178
+ @include transition($carousel-indicator-transition);
179
+ }
180
+
181
+ .active {
182
+ opacity: $carousel-indicator-active-opacity;
183
+ }
184
+ }
185
+
186
+
187
+ // Optional captions
188
+ //
189
+ //
190
+
191
+ .carousel-caption {
192
+ position: absolute;
193
+ right: (100% - $carousel-caption-width) * .5;
194
+ bottom: $carousel-caption-spacer;
195
+ left: (100% - $carousel-caption-width) * .5;
196
+ padding-top: $carousel-caption-padding-y;
197
+ padding-bottom: $carousel-caption-padding-y;
198
+ color: $carousel-caption-color;
199
+ text-align: center;
200
+ }
201
+
202
+ // Dark mode carousel
203
+
204
+ @mixin carousel-dark() {
205
+ .carousel-control-prev-icon,
206
+ .carousel-control-next-icon {
207
+ filter: $carousel-dark-control-icon-filter;
208
+ }
209
+
210
+ .carousel-indicators [data-bs-target] {
211
+ background-color: $carousel-dark-indicator-active-bg;
212
+ }
213
+
214
+ .carousel-caption {
215
+ color: $carousel-dark-caption-color;
216
+ }
217
+ }
218
+
219
+ .carousel-dark {
220
+ @include carousel-dark();
221
+ }
222
+
223
+ @if $enable-dark-mode {
224
+ @include color-mode(dark) {
225
+ @if $color-mode-type == "media-query" {
226
+ .carousel {
227
+ @include carousel-dark();
228
+ }
229
+ } @else {
230
+ .carousel,
231
+ &.carousel {
232
+ @include carousel-dark();
233
+ }
234
+ }
235
+ }
236
+ }
@@ -0,0 +1,63 @@
1
+ // Transparent background and border properties included for button version.
2
+ // iOS requires the button element instead of an anchor tag.
3
+ // If you want the anchor version, it requires `href="#"`.
4
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
5
+
6
+ .btn-close {
7
+ // scss-docs-start close-css-vars
8
+ --#{$prefix}btn-close-color: #{$btn-close-color};
9
+ --#{$prefix}btn-close-bg: #{ escape-svg($btn-close-bg) };
10
+ --#{$prefix}btn-close-opacity: #{$btn-close-opacity};
11
+ --#{$prefix}btn-close-hover-opacity: #{$btn-close-hover-opacity};
12
+ --#{$prefix}btn-close-focus-shadow: #{$btn-close-focus-shadow};
13
+ --#{$prefix}btn-close-focus-opacity: #{$btn-close-focus-opacity};
14
+ --#{$prefix}btn-close-disabled-opacity: #{$btn-close-disabled-opacity};
15
+ --#{$prefix}btn-close-white-filter: #{$btn-close-white-filter};
16
+ // scss-docs-end close-css-vars
17
+
18
+ box-sizing: content-box;
19
+ width: $btn-close-width;
20
+ height: $btn-close-height;
21
+ padding: $btn-close-padding-y $btn-close-padding-x;
22
+ color: var(--#{$prefix}btn-close-color);
23
+ background: transparent var(--#{$prefix}btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
24
+ border: 0; // for button elements
25
+ @include border-radius();
26
+ opacity: var(--#{$prefix}btn-close-opacity);
27
+
28
+ // Override <a>'s hover style
29
+ &:hover {
30
+ color: var(--#{$prefix}btn-close-color);
31
+ text-decoration: none;
32
+ opacity: var(--#{$prefix}btn-close-hover-opacity);
33
+ }
34
+
35
+ &:focus {
36
+ outline: 0;
37
+ box-shadow: var(--#{$prefix}btn-close-focus-shadow);
38
+ opacity: var(--#{$prefix}btn-close-focus-opacity);
39
+ }
40
+
41
+ &:disabled,
42
+ &.disabled {
43
+ pointer-events: none;
44
+ user-select: none;
45
+ opacity: var(--#{$prefix}btn-close-disabled-opacity);
46
+ }
47
+ }
48
+
49
+ @mixin btn-close-white() {
50
+ filter: var(--#{$prefix}btn-close-white-filter);
51
+ }
52
+
53
+ .btn-close-white {
54
+ @include btn-close-white();
55
+ }
56
+
57
+ @if $enable-dark-mode {
58
+ @include color-mode(dark) {
59
+ .btn-close {
60
+ @include btn-close-white();
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,41 @@
1
+ // Container widths
2
+ //
3
+ // Set the container width, and override it for fixed navbars in media queries.
4
+
5
+ @if $enable-container-classes {
6
+ // Single container class with breakpoint max-widths
7
+ .container,
8
+ // 100% wide container at all breakpoints
9
+ .container-fluid {
10
+ @include make-container();
11
+ }
12
+
13
+ // Responsive containers that are 100% wide until a breakpoint
14
+ @each $breakpoint, $container-max-width in $container-max-widths {
15
+ .container-#{$breakpoint} {
16
+ @extend .container-fluid;
17
+ }
18
+
19
+ @include media-breakpoint-up($breakpoint, $grid-breakpoints) {
20
+ %responsive-container-#{$breakpoint} {
21
+ max-width: $container-max-width;
22
+ }
23
+
24
+ // Extend each breakpoint which is smaller or equal to the current breakpoint
25
+ $extend-breakpoint: true;
26
+
27
+ @each $name, $width in $grid-breakpoints {
28
+ @if ($extend-breakpoint) {
29
+ .container#{breakpoint-infix($name, $grid-breakpoints)} {
30
+ @extend %responsive-container-#{$breakpoint};
31
+ }
32
+
33
+ // Once the current breakpoint is reached, stop extending
34
+ @if ($breakpoint == $name) {
35
+ $extend-breakpoint: false;
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,250 @@
1
+ // The dropdown wrapper (`<div>`)
2
+ .dropup,
3
+ .dropend,
4
+ .dropdown,
5
+ .dropstart,
6
+ .dropup-center,
7
+ .dropdown-center {
8
+ position: relative;
9
+ }
10
+
11
+ .dropdown-toggle {
12
+ white-space: nowrap;
13
+
14
+ // Generate the caret automatically
15
+ @include caret();
16
+ }
17
+
18
+ // The dropdown menu
19
+ .dropdown-menu {
20
+ // scss-docs-start dropdown-css-vars
21
+ --#{$prefix}dropdown-zindex: #{$zindex-dropdown};
22
+ --#{$prefix}dropdown-min-width: #{$dropdown-min-width};
23
+ --#{$prefix}dropdown-padding-x: #{$dropdown-padding-x};
24
+ --#{$prefix}dropdown-padding-y: #{$dropdown-padding-y};
25
+ --#{$prefix}dropdown-spacer: #{$dropdown-spacer};
26
+ @include rfs($dropdown-font-size, --#{$prefix}dropdown-font-size);
27
+ --#{$prefix}dropdown-color: #{$dropdown-color};
28
+ --#{$prefix}dropdown-bg: #{$dropdown-bg};
29
+ --#{$prefix}dropdown-border-color: #{$dropdown-border-color};
30
+ --#{$prefix}dropdown-border-radius: #{$dropdown-border-radius};
31
+ --#{$prefix}dropdown-border-width: #{$dropdown-border-width};
32
+ --#{$prefix}dropdown-inner-border-radius: #{$dropdown-inner-border-radius};
33
+ --#{$prefix}dropdown-divider-bg: #{$dropdown-divider-bg};
34
+ --#{$prefix}dropdown-divider-margin-y: #{$dropdown-divider-margin-y};
35
+ --#{$prefix}dropdown-box-shadow: #{$dropdown-box-shadow};
36
+ --#{$prefix}dropdown-link-color: #{$dropdown-link-color};
37
+ --#{$prefix}dropdown-link-hover-color: #{$dropdown-link-hover-color};
38
+ --#{$prefix}dropdown-link-hover-bg: #{$dropdown-link-hover-bg};
39
+ --#{$prefix}dropdown-link-active-color: #{$dropdown-link-active-color};
40
+ --#{$prefix}dropdown-link-active-bg: #{$dropdown-link-active-bg};
41
+ --#{$prefix}dropdown-link-disabled-color: #{$dropdown-link-disabled-color};
42
+ --#{$prefix}dropdown-item-padding-x: #{$dropdown-item-padding-x};
43
+ --#{$prefix}dropdown-item-padding-y: #{$dropdown-item-padding-y};
44
+ --#{$prefix}dropdown-header-color: #{$dropdown-header-color};
45
+ --#{$prefix}dropdown-header-padding-x: #{$dropdown-header-padding-x};
46
+ --#{$prefix}dropdown-header-padding-y: #{$dropdown-header-padding-y};
47
+ // scss-docs-end dropdown-css-vars
48
+
49
+ position: absolute;
50
+ z-index: var(--#{$prefix}dropdown-zindex);
51
+ display: none; // none by default, but block on "open" of the menu
52
+ min-width: var(--#{$prefix}dropdown-min-width);
53
+ padding: var(--#{$prefix}dropdown-padding-y) var(--#{$prefix}dropdown-padding-x);
54
+ margin: 0; // Override default margin of ul
55
+ @include font-size(var(--#{$prefix}dropdown-font-size));
56
+ color: var(--#{$prefix}dropdown-color);
57
+ text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
58
+ list-style: none;
59
+ background-color: var(--#{$prefix}dropdown-bg);
60
+ background-clip: padding-box;
61
+ border: var(--#{$prefix}dropdown-border-width) solid var(--#{$prefix}dropdown-border-color);
62
+ @include border-radius(var(--#{$prefix}dropdown-border-radius));
63
+ @include box-shadow(var(--#{$prefix}dropdown-box-shadow));
64
+
65
+ &[data-bs-popper] {
66
+ top: 100%;
67
+ left: 0;
68
+ margin-top: var(--#{$prefix}dropdown-spacer);
69
+ }
70
+
71
+ @if $dropdown-padding-y == 0 {
72
+ > .dropdown-item:first-child,
73
+ > li:first-child .dropdown-item {
74
+ @include border-top-radius(var(--#{$prefix}dropdown-inner-border-radius));
75
+ }
76
+ > .dropdown-item:last-child,
77
+ > li:last-child .dropdown-item {
78
+ @include border-bottom-radius(var(--#{$prefix}dropdown-inner-border-radius));
79
+ }
80
+
81
+ }
82
+ }
83
+
84
+ // scss-docs-start responsive-breakpoints
85
+ // We deliberately hardcode the `bs-` prefix because we check
86
+ // this custom property in JS to determine Popper's positioning
87
+
88
+ @each $breakpoint in map-keys($grid-breakpoints) {
89
+ @include media-breakpoint-up($breakpoint) {
90
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
91
+
92
+ .dropdown-menu#{$infix}-start {
93
+ --bs-position: start;
94
+
95
+ &[data-bs-popper] {
96
+ right: auto;
97
+ left: 0;
98
+ }
99
+ }
100
+
101
+ .dropdown-menu#{$infix}-end {
102
+ --bs-position: end;
103
+
104
+ &[data-bs-popper] {
105
+ right: 0;
106
+ left: auto;
107
+ }
108
+ }
109
+ }
110
+ }
111
+ // scss-docs-end responsive-breakpoints
112
+
113
+ // Allow for dropdowns to go bottom up (aka, dropup-menu)
114
+ // Just add .dropup after the standard .dropdown class and you're set.
115
+ .dropup {
116
+ .dropdown-menu[data-bs-popper] {
117
+ top: auto;
118
+ bottom: 100%;
119
+ margin-top: 0;
120
+ margin-bottom: var(--#{$prefix}dropdown-spacer);
121
+ }
122
+
123
+ .dropdown-toggle {
124
+ @include caret(up);
125
+ }
126
+ }
127
+
128
+ .dropend {
129
+ .dropdown-menu[data-bs-popper] {
130
+ top: 0;
131
+ right: auto;
132
+ left: 100%;
133
+ margin-top: 0;
134
+ margin-left: var(--#{$prefix}dropdown-spacer);
135
+ }
136
+
137
+ .dropdown-toggle {
138
+ @include caret(end);
139
+ &::after {
140
+ vertical-align: 0;
141
+ }
142
+ }
143
+ }
144
+
145
+ .dropstart {
146
+ .dropdown-menu[data-bs-popper] {
147
+ top: 0;
148
+ right: 100%;
149
+ left: auto;
150
+ margin-top: 0;
151
+ margin-right: var(--#{$prefix}dropdown-spacer);
152
+ }
153
+
154
+ .dropdown-toggle {
155
+ @include caret(start);
156
+ &::before {
157
+ vertical-align: 0;
158
+ }
159
+ }
160
+ }
161
+
162
+
163
+ // Dividers (basically an `<hr>`) within the dropdown
164
+ .dropdown-divider {
165
+ height: 0;
166
+ margin: var(--#{$prefix}dropdown-divider-margin-y) 0;
167
+ overflow: hidden;
168
+ border-top: 1px solid var(--#{$prefix}dropdown-divider-bg);
169
+ opacity: 1; // Revisit in v6 to de-dupe styles that conflict with <hr> element
170
+ }
171
+
172
+ // Links, buttons, and more within the dropdown menu
173
+ //
174
+ // `<button>`-specific styles are denoted with `// For <button>s`
175
+ .dropdown-item {
176
+ display: block;
177
+ width: 100%; // For `<button>`s
178
+ padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);
179
+ clear: both;
180
+ font-weight: $font-weight-normal;
181
+ color: var(--#{$prefix}dropdown-link-color);
182
+ text-align: inherit; // For `<button>`s
183
+ text-decoration: if($link-decoration == none, null, none);
184
+ white-space: nowrap; // prevent links from randomly breaking onto new lines
185
+ background-color: transparent; // For `<button>`s
186
+ border: 0; // For `<button>`s
187
+ @include border-radius(var(--#{$prefix}dropdown-item-border-radius, 0));
188
+
189
+ &:hover,
190
+ &:focus {
191
+ color: var(--#{$prefix}dropdown-link-hover-color);
192
+ text-decoration: if($link-hover-decoration == underline, none, null);
193
+ @include gradient-bg(var(--#{$prefix}dropdown-link-hover-bg));
194
+ }
195
+
196
+ &.active,
197
+ &:active {
198
+ color: var(--#{$prefix}dropdown-link-active-color);
199
+ text-decoration: none;
200
+ @include gradient-bg(var(--#{$prefix}dropdown-link-active-bg));
201
+ }
202
+
203
+ &.disabled,
204
+ &:disabled {
205
+ color: var(--#{$prefix}dropdown-link-disabled-color);
206
+ pointer-events: none;
207
+ background-color: transparent;
208
+ // Remove CSS gradients if they're enabled
209
+ background-image: if($enable-gradients, none, null);
210
+ }
211
+ }
212
+
213
+ .dropdown-menu.show {
214
+ display: block;
215
+ }
216
+
217
+ // Dropdown section headers
218
+ .dropdown-header {
219
+ display: block;
220
+ padding: var(--#{$prefix}dropdown-header-padding-y) var(--#{$prefix}dropdown-header-padding-x);
221
+ margin-bottom: 0; // for use with heading elements
222
+ @include font-size($font-size-sm);
223
+ color: var(--#{$prefix}dropdown-header-color);
224
+ white-space: nowrap; // as with > li > a
225
+ }
226
+
227
+ // Dropdown text
228
+ .dropdown-item-text {
229
+ display: block;
230
+ padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);
231
+ color: var(--#{$prefix}dropdown-link-color);
232
+ }
233
+
234
+ // Dark dropdowns
235
+ .dropdown-menu-dark {
236
+ // scss-docs-start dropdown-dark-css-vars
237
+ --#{$prefix}dropdown-color: #{$dropdown-dark-color};
238
+ --#{$prefix}dropdown-bg: #{$dropdown-dark-bg};
239
+ --#{$prefix}dropdown-border-color: #{$dropdown-dark-border-color};
240
+ --#{$prefix}dropdown-box-shadow: #{$dropdown-dark-box-shadow};
241
+ --#{$prefix}dropdown-link-color: #{$dropdown-dark-link-color};
242
+ --#{$prefix}dropdown-link-hover-color: #{$dropdown-dark-link-hover-color};
243
+ --#{$prefix}dropdown-divider-bg: #{$dropdown-dark-divider-bg};
244
+ --#{$prefix}dropdown-link-hover-bg: #{$dropdown-dark-link-hover-bg};
245
+ --#{$prefix}dropdown-link-active-color: #{$dropdown-dark-link-active-color};
246
+ --#{$prefix}dropdown-link-active-bg: #{$dropdown-dark-link-active-bg};
247
+ --#{$prefix}dropdown-link-disabled-color: #{$dropdown-dark-link-disabled-color};
248
+ --#{$prefix}dropdown-header-color: #{$dropdown-dark-header-color};
249
+ // scss-docs-end dropdown-dark-css-vars
250
+ }
@@ -0,0 +1,9 @@
1
+ @import "forms/labels";
2
+ @import "forms/form-text";
3
+ @import "forms/form-control";
4
+ @import "forms/form-select";
5
+ @import "forms/form-check";
6
+ @import "forms/form-range";
7
+ @import "forms/floating-labels";
8
+ @import "forms/input-group";
9
+ @import "forms/validation";