comfortable_mexican_sofa 2.0.15 → 2.0.16

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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +0 -2
  5. data/app/assets/javascripts/comfy/vendor/bootstrap.min.js +3 -2
  6. data/app/assets/stylesheets/comfy/vendor/bootstrap/_breadcrumb.scss +9 -6
  7. data/app/assets/stylesheets/comfy/vendor/bootstrap/_button-group.scss +7 -1
  8. data/app/assets/stylesheets/comfy/vendor/bootstrap/_buttons.scss +1 -0
  9. data/app/assets/stylesheets/comfy/vendor/bootstrap/_card.scss +33 -2
  10. data/app/assets/stylesheets/comfy/vendor/bootstrap/_carousel.scss +49 -4
  11. data/app/assets/stylesheets/comfy/vendor/bootstrap/_code.scss +0 -8
  12. data/app/assets/stylesheets/comfy/vendor/bootstrap/_custom-forms.scss +131 -7
  13. data/app/assets/stylesheets/comfy/vendor/bootstrap/_dropdown.scss +36 -1
  14. data/app/assets/stylesheets/comfy/vendor/bootstrap/_forms.scss +3 -1
  15. data/app/assets/stylesheets/comfy/vendor/bootstrap/_functions.scss +1 -1
  16. data/app/assets/stylesheets/comfy/vendor/bootstrap/_input-group.scss +2 -3
  17. data/app/assets/stylesheets/comfy/vendor/bootstrap/_mixins.scss +0 -1
  18. data/app/assets/stylesheets/comfy/vendor/bootstrap/_modal.scss +2 -2
  19. data/app/assets/stylesheets/comfy/vendor/bootstrap/_navbar.scss +0 -12
  20. data/app/assets/stylesheets/comfy/vendor/bootstrap/_pagination.scss +2 -1
  21. data/app/assets/stylesheets/comfy/vendor/bootstrap/_print.scss +23 -6
  22. data/app/assets/stylesheets/comfy/vendor/bootstrap/_progress.scss +1 -0
  23. data/app/assets/stylesheets/comfy/vendor/bootstrap/_reboot.scss +5 -7
  24. data/app/assets/stylesheets/comfy/vendor/bootstrap/_tables.scss +11 -3
  25. data/app/assets/stylesheets/comfy/vendor/bootstrap/_transitions.scss +4 -18
  26. data/app/assets/stylesheets/comfy/vendor/bootstrap/_utilities.scss +1 -0
  27. data/app/assets/stylesheets/comfy/vendor/bootstrap/_variables.scss +76 -41
  28. data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-grid.scss +1 -1
  29. data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-reboot.scss +1 -1
  30. data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap.scss +1 -1
  31. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_caret.scss +1 -0
  32. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_forms.scss +11 -1
  33. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_gradients.scss +7 -7
  34. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_hover.scss +2 -4
  35. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_list-group.scss +1 -1
  36. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_nav-divider.scss +2 -2
  37. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_screen-reader.scss +1 -3
  38. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-hide.scss +5 -1
  39. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_transition.scss +4 -0
  40. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_flex.scss +5 -0
  41. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_position.scss +1 -0
  42. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_shadows.scss +6 -0
  43. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_text.scss +8 -2
  44. data/app/controllers/comfy/admin/cms/sites_controller.rb +2 -2
  45. data/app/controllers/comfy/cms/content_controller.rb +1 -1
  46. data/app/views/comfy/admin/cms/pages/toggle_branch.js.erb +1 -1
  47. data/comfortable_mexican_sofa.gemspec +2 -2
  48. data/config/boot.rb +1 -1
  49. data/config/environment.rb +1 -1
  50. data/lib/comfortable_mexican_sofa/content/tags/helper.rb +2 -2
  51. data/lib/comfortable_mexican_sofa/content/tags/partial.rb +5 -1
  52. data/lib/comfortable_mexican_sofa/content/tags/template.rb +1 -1
  53. data/lib/comfortable_mexican_sofa/seeds.rb +1 -1
  54. data/lib/comfortable_mexican_sofa/seeds/file/exporter.rb +2 -2
  55. data/lib/comfortable_mexican_sofa/version.rb +1 -1
  56. data/lib/generators/comfy/cms/cms_generator.rb +1 -1
  57. metadata +5 -5
  58. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_navbar-align.scss +0 -10
@@ -1,6 +1,8 @@
1
1
  // The dropdown wrapper (`<div>`)
2
2
  .dropup,
3
- .dropdown {
3
+ .dropright,
4
+ .dropdown,
5
+ .dropleft {
4
6
  position: relative;
5
7
  }
6
8
 
@@ -31,10 +33,17 @@
31
33
  @include box-shadow($dropdown-box-shadow);
32
34
  }
33
35
 
36
+ .dropdown-menu-right {
37
+ right: 0;
38
+ left: auto;
39
+ }
40
+
34
41
  // Allow for dropdowns to go bottom up (aka, dropup-menu)
35
42
  // Just add .dropup after the standard .dropdown class and you're set.
36
43
  .dropup {
37
44
  .dropdown-menu {
45
+ top: auto;
46
+ bottom: 100%;
38
47
  margin-top: 0;
39
48
  margin-bottom: $dropdown-spacer;
40
49
  }
@@ -46,6 +55,9 @@
46
55
 
47
56
  .dropright {
48
57
  .dropdown-menu {
58
+ top: 0;
59
+ right: auto;
60
+ left: 100%;
49
61
  margin-top: 0;
50
62
  margin-left: $dropdown-spacer;
51
63
  }
@@ -60,6 +72,9 @@
60
72
 
61
73
  .dropleft {
62
74
  .dropdown-menu {
75
+ top: 0;
76
+ right: 100%;
77
+ left: auto;
63
78
  margin-top: 0;
64
79
  margin-right: $dropdown-spacer;
65
80
  }
@@ -72,6 +87,19 @@
72
87
  }
73
88
  }
74
89
 
90
+ // When enabled Popper.js, reset basic dropdown position
91
+ // stylelint-disable no-duplicate-selectors
92
+ .dropdown-menu {
93
+ &[x-placement^="top"],
94
+ &[x-placement^="right"],
95
+ &[x-placement^="bottom"],
96
+ &[x-placement^="left"] {
97
+ right: auto;
98
+ bottom: auto;
99
+ }
100
+ }
101
+ // stylelint-enable no-duplicate-selectors
102
+
75
103
  // Dividers (basically an `<hr>`) within the dropdown
76
104
  .dropdown-divider {
77
105
  @include nav-divider($dropdown-divider-bg);
@@ -129,3 +157,10 @@
129
157
  color: $dropdown-header-color;
130
158
  white-space: nowrap; // as with > li > a
131
159
  }
160
+
161
+ // Dropdown text
162
+ .dropdown-item-text {
163
+ display: block;
164
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x;
165
+ color: $dropdown-link-color;
166
+ }
@@ -121,6 +121,7 @@ select.form-control {
121
121
  padding-bottom: $input-padding-y;
122
122
  margin-bottom: 0; // match inputs if this class comes on inputs with default margins
123
123
  line-height: $input-line-height;
124
+ color: $input-plaintext-color;
124
125
  background-color: transparent;
125
126
  border: solid transparent;
126
127
  border-width: $input-border-width 0;
@@ -302,7 +303,8 @@ select.form-control-lg {
302
303
  display: inline-block;
303
304
  }
304
305
 
305
- .input-group {
306
+ .input-group,
307
+ .custom-select {
306
308
  width: auto;
307
309
  }
308
310
 
@@ -79,7 +79,7 @@
79
79
  // Request a theme color level
80
80
  @function theme-color-level($color-name: "primary", $level: 0) {
81
81
  $color: theme-color($color-name);
82
- $color-base: if($level > 0, #000, #fff);
82
+ $color-base: if($level > 0, $black, $white);
83
83
  $level: abs($level);
84
84
 
85
85
  @return mix($color-base, $color, $level * $theme-color-interval);
@@ -46,9 +46,8 @@
46
46
  align-items: center;
47
47
 
48
48
  &:not(:last-child) .custom-file-label,
49
- &:not(:last-child) .custom-file-label::before { @include border-right-radius(0); }
50
- &:not(:first-child) .custom-file-label,
51
- &:not(:first-child) .custom-file-label::before { @include border-left-radius(0); }
49
+ &:not(:last-child) .custom-file-label::after { @include border-right-radius(0); }
50
+ &:not(:first-child) .custom-file-label { @include border-left-radius(0); }
52
51
  }
53
52
  }
54
53
 
@@ -36,7 +36,6 @@
36
36
 
37
37
  // // Layout
38
38
  @import "mixins/clearfix";
39
- // @import "mixins/navbar-align";
40
39
  @import "mixins/grid-framework";
41
40
  @import "mixins/grid";
42
41
  @import "mixins/float";
@@ -67,7 +67,7 @@
67
67
  background-color: $modal-content-bg;
68
68
  background-clip: padding-box;
69
69
  border: $modal-content-border-width solid $modal-content-border-color;
70
- @include border-radius($border-radius-lg);
70
+ @include border-radius($modal-content-border-radius);
71
71
  @include box-shadow($modal-content-box-shadow-xs);
72
72
  // Remove focus outline from opened modal
73
73
  outline: 0;
@@ -96,7 +96,7 @@
96
96
  justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
97
97
  padding: $modal-header-padding;
98
98
  border-bottom: $modal-header-border-width solid $modal-header-border-color;
99
- @include border-top-radius($border-radius-lg);
99
+ @include border-top-radius($modal-content-border-radius);
100
100
 
101
101
  .close {
102
102
  padding: $modal-header-padding;
@@ -162,11 +162,6 @@
162
162
  position: absolute;
163
163
  }
164
164
 
165
- .dropdown-menu-right {
166
- right: 0;
167
- left: auto; // Reset the default from `.dropdown-menu`
168
- }
169
-
170
165
  .nav-link {
171
166
  padding-right: $navbar-nav-link-padding-x;
172
167
  padding-left: $navbar-nav-link-padding-x;
@@ -189,13 +184,6 @@
189
184
  .navbar-toggler {
190
185
  display: none;
191
186
  }
192
-
193
- .dropup {
194
- .dropdown-menu {
195
- top: auto;
196
- bottom: 100%;
197
- }
198
- }
199
187
  }
200
188
  }
201
189
  }
@@ -15,6 +15,7 @@
15
15
  border: $pagination-border-width solid $pagination-border-color;
16
16
 
17
17
  &:hover {
18
+ z-index: 2;
18
19
  color: $pagination-hover-color;
19
20
  text-decoration: none;
20
21
  background-color: $pagination-hover-bg;
@@ -23,7 +24,7 @@
23
24
 
24
25
  &:focus {
25
26
  z-index: 2;
26
- outline: 0;
27
+ outline: $pagination-focus-outline;
27
28
  box-shadow: $pagination-focus-box-shadow;
28
29
  }
29
30
 
@@ -5,7 +5,7 @@
5
5
  // ==========================================================================
6
6
  // Print styles.
7
7
  // Inlined to avoid the additional HTTP request:
8
- // http://www.phpied.com/delay-loading-your-print-css/
8
+ // https://www.phpied.com/delay-loading-your-print-css/
9
9
  // ==========================================================================
10
10
 
11
11
  @if $enable-print-styles {
@@ -14,7 +14,7 @@
14
14
  *::before,
15
15
  *::after {
16
16
  // Bootstrap specific; comment out `color` and `background`
17
- //color: #000 !important; // Black prints faster: http://www.sanbeiji.com/archives/953
17
+ //color: $black !important; // Black prints faster
18
18
  text-shadow: none !important;
19
19
  //background: transparent !important;
20
20
  box-shadow: none !important;
@@ -51,7 +51,7 @@
51
51
  }
52
52
  pre,
53
53
  blockquote {
54
- border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px
54
+ border: $border-width solid $gray-500; // Bootstrap custom code; using `$border-width` instead of 1px
55
55
  page-break-inside: avoid;
56
56
  }
57
57
 
@@ -101,7 +101,7 @@
101
101
  display: none;
102
102
  }
103
103
  .badge {
104
- border: $border-width solid #000;
104
+ border: $border-width solid $black;
105
105
  }
106
106
 
107
107
  .table {
@@ -109,16 +109,33 @@
109
109
 
110
110
  td,
111
111
  th {
112
- background-color: #fff !important;
112
+ background-color: $white !important;
113
113
  }
114
114
  }
115
+
115
116
  .table-bordered {
116
117
  th,
117
118
  td {
118
- border: 1px solid #ddd !important;
119
+ border: 1px solid $gray-300 !important;
119
120
  }
120
121
  }
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
+
122
139
  // Bootstrap specific changes end
123
140
  }
124
141
  }
@@ -19,6 +19,7 @@
19
19
  justify-content: center;
20
20
  color: $progress-bar-color;
21
21
  text-align: center;
22
+ white-space: nowrap;
22
23
  background-color: $progress-bar-bg;
23
24
  @include transition($progress-bar-transition);
24
25
  }
@@ -30,7 +30,7 @@ html {
30
30
  -webkit-text-size-adjust: 100%; // 4
31
31
  -ms-text-size-adjust: 100%; // 4
32
32
  -ms-overflow-style: scrollbar; // 5
33
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
33
+ -webkit-tap-highlight-color: rgba($black, 0); // 6
34
34
  }
35
35
 
36
36
  // IE10+ doesn't honor `<meta name="viewport">` in some cases.
@@ -42,7 +42,7 @@ html {
42
42
 
43
43
  // stylelint-disable selector-list-comma-newline-after
44
44
  // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
45
- article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
45
+ article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
46
46
  display: block;
47
47
  }
48
48
  // stylelint-enable selector-list-comma-newline-after
@@ -232,15 +232,13 @@ a:not([href]):not([tabindex]) {
232
232
  // Code
233
233
  //
234
234
 
235
- // stylelint-disable font-family-no-duplicate-names
236
235
  pre,
237
236
  code,
238
237
  kbd,
239
238
  samp {
240
- font-family: monospace, monospace; // Correct the inheritance and scaling of font size in all browsers.
239
+ font-family: $font-family-monospace;
241
240
  font-size: 1em; // Correct the odd `em` font sizing in all browsers.
242
241
  }
243
- // stylelint-enable font-family-no-duplicate-names
244
242
 
245
243
  pre {
246
244
  // Remove browser default top margin
@@ -290,7 +288,7 @@ table {
290
288
  caption {
291
289
  padding-top: $table-cell-padding;
292
290
  padding-bottom: $table-cell-padding;
293
- color: $text-muted;
291
+ color: $table-caption-color;
294
292
  text-align: left;
295
293
  caption-side: bottom;
296
294
  }
@@ -309,7 +307,7 @@ th {
309
307
  label {
310
308
  // Allow labels to use `margin` for spacing.
311
309
  display: inline-block;
312
- margin-bottom: .5rem;
310
+ margin-bottom: $label-margin-bottom;
313
311
  }
314
312
 
315
313
  // Remove the default `border-radius` that macOS Chrome adds.
@@ -42,9 +42,9 @@
42
42
  }
43
43
 
44
44
 
45
- // Bordered version
45
+ // Border versions
46
46
  //
47
- // Add borders all around the table and between all the columns.
47
+ // Add or remove borders all around the table and between all the columns.
48
48
 
49
49
  .table-bordered {
50
50
  border: $table-border-width solid $table-border-color;
@@ -62,13 +62,21 @@
62
62
  }
63
63
  }
64
64
 
65
+ .table-borderless {
66
+ th,
67
+ td,
68
+ thead th,
69
+ tbody + tbody {
70
+ border: 0;
71
+ }
72
+ }
65
73
 
66
74
  // Zebra-striping
67
75
  //
68
76
  // Default zebra-stripe styles (alternating gray and transparent backgrounds)
69
77
 
70
78
  .table-striped {
71
- tbody tr:nth-of-type(odd) {
79
+ tbody tr:nth-of-type(#{$table-striped-order}) {
72
80
  background-color: $table-accent-bg;
73
81
  }
74
82
  }
@@ -1,30 +1,16 @@
1
1
  // stylelint-disable selector-no-qualifying-type
2
2
 
3
3
  .fade {
4
- opacity: 0;
5
4
  @include transition($transition-fade);
6
5
 
7
- &.show {
8
- opacity: 1;
6
+ &:not(.show) {
7
+ opacity: 0;
9
8
  }
10
9
  }
11
10
 
12
11
  .collapse {
13
- display: none;
14
- &.show {
15
- display: block;
16
- }
17
- }
18
-
19
- tr {
20
- &.collapse.show {
21
- display: table-row;
22
- }
23
- }
24
-
25
- tbody {
26
- &.collapse.show {
27
- display: table-row-group;
12
+ &:not(.show) {
13
+ display: none;
28
14
  }
29
15
  }
30
16
 
@@ -8,6 +8,7 @@
8
8
  @import "utilities/float";
9
9
  @import "utilities/position";
10
10
  @import "utilities/screenreaders";
11
+ @import "utilities/shadows";
11
12
  @import "utilities/sizing";
12
13
  @import "utilities/spacing";
13
14
  @import "utilities/text";
@@ -88,11 +88,11 @@ $theme-colors: map-merge((
88
88
  $theme-color-interval: 8% !default;
89
89
 
90
90
  // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
91
- $yiq-contrasted-threshold: 150 !default;
91
+ $yiq-contrasted-threshold: 150 !default;
92
92
 
93
93
  // Customize the light and dark text colors for use in our YIQ color contrast function.
94
- $yiq-text-dark: $gray-900 !default;
95
- $yiq-text-light: $white !default;
94
+ $yiq-text-dark: $gray-900 !default;
95
+ $yiq-text-light: $white !default;
96
96
 
97
97
  // Options
98
98
  //
@@ -132,7 +132,8 @@ $sizes: map-merge((
132
132
  25: 25%,
133
133
  50: 50%,
134
134
  75: 75%,
135
- 100: 100%
135
+ 100: 100%,
136
+ auto: auto
136
137
  ), $sizes);
137
138
  // stylelint-enable
138
139
 
@@ -211,6 +212,10 @@ $border-radius: .25rem !default;
211
212
  $border-radius-lg: .3rem !default;
212
213
  $border-radius-sm: .2rem !default;
213
214
 
215
+ $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
216
+ $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
217
+ $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
218
+
214
219
  $component-active-color: $white !default;
215
220
  $component-active-bg: theme-color("primary") !default;
216
221
 
@@ -317,6 +322,9 @@ $table-dark-hover-bg: rgba($white, .075) !default;
317
322
  $table-dark-border-color: lighten($gray-900, 7.5%) !default;
318
323
  $table-dark-color: $body-bg !default;
319
324
 
325
+ $table-striped-order: odd !default;
326
+
327
+ $table-caption-color: $text-muted !default;
320
328
 
321
329
  // Buttons + Forms
322
330
  //
@@ -380,6 +388,8 @@ $btn-transition: color .15s ease-in-out, background-color .15s ease
380
388
 
381
389
  // Forms
382
390
 
391
+ $label-margin-bottom: .5rem !default;
392
+
383
393
  $input-padding-y: $input-btn-padding-y !default;
384
394
  $input-padding-x: $input-btn-padding-x !default;
385
395
  $input-line-height: $input-btn-line-height !default;
@@ -411,6 +421,7 @@ $input-focus-width: $input-btn-focus-width !default;
411
421
  $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
412
422
 
413
423
  $input-placeholder-color: $gray-600 !default;
424
+ $input-plaintext-color: $body-color !default;
414
425
 
415
426
  $input-height-border: $input-border-width * 2 !default;
416
427
 
@@ -449,7 +460,7 @@ $custom-control-indicator-bg-size: 50% 50% !default;
449
460
  $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
450
461
 
451
462
  $custom-control-indicator-disabled-bg: $gray-200 !default;
452
- $custom-control-label-disabled-color: $gray-600 !default;
463
+ $custom-control-label-disabled-color: $gray-600 !default;
453
464
 
454
465
  $custom-control-indicator-checked-color: $component-active-color !default;
455
466
  $custom-control-indicator-checked-bg: $component-active-bg !default;
@@ -465,22 +476,22 @@ $custom-control-indicator-active-box-shadow: none !default;
465
476
  $custom-checkbox-indicator-border-radius: $border-radius !default;
466
477
  $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
467
478
 
468
- $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
469
- $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
470
- $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
471
- $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
479
+ $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
480
+ $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
481
+ $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
482
+ $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
472
483
 
473
484
  $custom-radio-indicator-border-radius: 50% !default;
474
485
  $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
475
486
 
476
487
  $custom-select-padding-y: .375rem !default;
477
- $custom-select-padding-x: .75rem !default;
488
+ $custom-select-padding-x: .75rem !default;
478
489
  $custom-select-height: $input-height !default;
479
490
  $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
480
491
  $custom-select-line-height: $input-btn-line-height !default;
481
492
  $custom-select-color: $input-color !default;
482
493
  $custom-select-disabled-color: $gray-600 !default;
483
- $custom-select-bg: $white !default;
494
+ $custom-select-bg: $input-bg !default;
484
495
  $custom-select-disabled-bg: $gray-200 !default;
485
496
  $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
486
497
  $custom-select-indicator-color: $gray-800 !default;
@@ -498,7 +509,24 @@ $custom-select-height-sm: $input-height-sm !default;
498
509
  $custom-select-font-size-lg: 125% !default;
499
510
  $custom-select-height-lg: $input-height-lg !default;
500
511
 
512
+ $custom-range-track-width: 100% !default;
513
+ $custom-range-track-height: .5rem !default;
514
+ $custom-range-track-cursor: pointer !default;
515
+ $custom-range-track-bg: $gray-300 !default;
516
+ $custom-range-track-border-radius: 1rem !default;
517
+ $custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
518
+
519
+ $custom-range-thumb-width: 1rem !default;
520
+ $custom-range-thumb-height: $custom-range-thumb-width !default;
521
+ $custom-range-thumb-bg: $component-active-bg !default;
522
+ $custom-range-thumb-border: 0 !default;
523
+ $custom-range-thumb-border-radius: 1rem !default;
524
+ $custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
525
+ $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
526
+ $custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
527
+
501
528
  $custom-file-height: $input-height !default;
529
+ $custom-file-height-inner: $input-height-inner !default;
502
530
  $custom-file-focus-border-color: $input-focus-border-color !default;
503
531
  $custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;
504
532
 
@@ -585,6 +613,9 @@ $nav-pills-border-radius: $border-radius !default;
585
613
  $nav-pills-link-active-color: $component-active-color !default;
586
614
  $nav-pills-link-active-bg: $component-active-bg !default;
587
615
 
616
+ $nav-divider-color: $gray-200 !default;
617
+ $nav-divider-margin-y: ($spacer / 2) !default;
618
+
588
619
  // Navbar
589
620
 
590
621
  $navbar-padding-y: ($spacer / 2) !default;
@@ -633,6 +664,7 @@ $pagination-border-width: $border-width !default;
633
664
  $pagination-border-color: $gray-300 !default;
634
665
 
635
666
  $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
667
+ $pagination-focus-outline: 0 !default;
636
668
 
637
669
  $pagination-hover-color: $link-hover-color !default;
638
670
  $pagination-hover-bg: $gray-200 !default;
@@ -676,19 +708,19 @@ $card-columns-margin: $card-spacer-y !default;
676
708
 
677
709
  // Tooltips
678
710
 
679
- $tooltip-font-size: $font-size-sm !default;
680
- $tooltip-max-width: 200px !default;
681
- $tooltip-color: $white !default;
682
- $tooltip-bg: $black !default;
683
- $tooltip-border-radius: $border-radius !default;
684
- $tooltip-opacity: .9 !default;
685
- $tooltip-padding-y: .25rem !default;
686
- $tooltip-padding-x: .5rem !default;
687
- $tooltip-margin: 0 !default;
711
+ $tooltip-font-size: $font-size-sm !default;
712
+ $tooltip-max-width: 200px !default;
713
+ $tooltip-color: $white !default;
714
+ $tooltip-bg: $black !default;
715
+ $tooltip-border-radius: $border-radius !default;
716
+ $tooltip-opacity: .9 !default;
717
+ $tooltip-padding-y: .25rem !default;
718
+ $tooltip-padding-x: .5rem !default;
719
+ $tooltip-margin: 0 !default;
688
720
 
689
- $tooltip-arrow-width: .8rem !default;
690
- $tooltip-arrow-height: .4rem !default;
691
- $tooltip-arrow-color: $tooltip-bg !default;
721
+ $tooltip-arrow-width: .8rem !default;
722
+ $tooltip-arrow-height: .4rem !default;
723
+ $tooltip-arrow-color: $tooltip-bg !default;
692
724
 
693
725
 
694
726
  // Popovers
@@ -734,26 +766,27 @@ $badge-pill-border-radius: 10rem !default;
734
766
  // Modals
735
767
 
736
768
  // Padding applied to the modal body
737
- $modal-inner-padding: 1rem !default;
769
+ $modal-inner-padding: 1rem !default;
738
770
 
739
- $modal-dialog-margin: .5rem !default;
740
- $modal-dialog-margin-y-sm-up: 1.75rem !default;
771
+ $modal-dialog-margin: .5rem !default;
772
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
741
773
 
742
774
  $modal-title-line-height: $line-height-base !default;
743
775
 
744
- $modal-content-bg: $white !default;
745
- $modal-content-border-color: rgba($black, .2) !default;
746
- $modal-content-border-width: $border-width !default;
747
- $modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
748
- $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
749
-
750
- $modal-backdrop-bg: $black !default;
751
- $modal-backdrop-opacity: .5 !default;
752
- $modal-header-border-color: $gray-200 !default;
753
- $modal-footer-border-color: $modal-header-border-color !default;
754
- $modal-header-border-width: $modal-content-border-width !default;
755
- $modal-footer-border-width: $modal-header-border-width !default;
756
- $modal-header-padding: 1rem !default;
776
+ $modal-content-bg: $white !default;
777
+ $modal-content-border-color: rgba($black, .2) !default;
778
+ $modal-content-border-width: $border-width !default;
779
+ $modal-content-border-radius: $border-radius-lg !default;
780
+ $modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
781
+ $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
782
+
783
+ $modal-backdrop-bg: $black !default;
784
+ $modal-backdrop-opacity: .5 !default;
785
+ $modal-header-border-color: $gray-200 !default;
786
+ $modal-footer-border-color: $modal-header-border-color !default;
787
+ $modal-header-border-width: $modal-content-border-width !default;
788
+ $modal-footer-border-width: $modal-header-border-width !default;
789
+ $modal-header-padding: 1rem !default;
757
790
 
758
791
  $modal-lg: 800px !default;
759
792
  $modal-md: 500px !default;
@@ -842,7 +875,9 @@ $breadcrumb-margin-bottom: 1rem !default;
842
875
  $breadcrumb-bg: $gray-200 !default;
843
876
  $breadcrumb-divider-color: $gray-600 !default;
844
877
  $breadcrumb-active-color: $gray-600 !default;
845
- $breadcrumb-divider: "/" !default;
878
+ $breadcrumb-divider: quote("/") !default;
879
+
880
+ $breadcrumb-border-radius: $border-radius !default;
846
881
 
847
882
 
848
883
  // Carousel
@@ -864,7 +899,7 @@ $carousel-control-icon-width: 20px !default;
864
899
  $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
865
900
  $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
866
901
 
867
- $carousel-transition: transform .6s ease !default;
902
+ $carousel-transition: transform .6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
868
903
 
869
904
 
870
905
  // Close