jekyll-theme-petridish 3.0 → 3.1.0

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 (107) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +5 -4
  3. data/_data/team.yml +3 -1
  4. data/_includes/footer.html +45 -23
  5. data/_includes/head.html +5 -5
  6. data/_includes/header.html +1 -1
  7. data/_includes/navbar.html +2 -2
  8. data/_layouts/home.html +10 -32
  9. data/_layouts/team.html +20 -8
  10. data/_sass/bootstrap/_accordion.scss +73 -33
  11. data/_sass/bootstrap/_alert.scss +25 -14
  12. data/_sass/bootstrap/_badge.scss +14 -5
  13. data/_sass/bootstrap/_breadcrumb.scss +22 -10
  14. data/_sass/bootstrap/_button-group.scss +6 -3
  15. data/_sass/bootstrap/_buttons.scss +133 -28
  16. data/_sass/bootstrap/_card.scss +60 -37
  17. data/_sass/bootstrap/_carousel.scss +22 -15
  18. data/_sass/bootstrap/_close.scss +33 -10
  19. data/_sass/bootstrap/_containers.scss +1 -1
  20. data/_sass/bootstrap/_dropdown.scss +86 -76
  21. data/_sass/bootstrap/_functions.scss +10 -10
  22. data/_sass/bootstrap/_grid.scss +9 -3
  23. data/_sass/bootstrap/_helpers.scss +3 -0
  24. data/_sass/bootstrap/_list-group.scss +60 -37
  25. data/_sass/bootstrap/_maps.scss +174 -0
  26. data/_sass/bootstrap/_mixins.scss +1 -2
  27. data/_sass/bootstrap/_modal.scss +71 -44
  28. data/_sass/bootstrap/_nav.scss +86 -28
  29. data/_sass/bootstrap/_navbar.scss +101 -147
  30. data/_sass/bootstrap/_offcanvas.scss +121 -61
  31. data/_sass/bootstrap/_pagination.scss +66 -21
  32. data/_sass/bootstrap/_placeholders.scss +1 -1
  33. data/_sass/bootstrap/_popover.scss +90 -52
  34. data/_sass/bootstrap/_progress.scss +30 -10
  35. data/_sass/bootstrap/_reboot.scss +31 -45
  36. data/_sass/bootstrap/_root.scss +155 -22
  37. data/_sass/bootstrap/_spinners.scss +38 -22
  38. data/_sass/bootstrap/_tables.scss +40 -24
  39. data/_sass/bootstrap/_toasts.scss +38 -16
  40. data/_sass/bootstrap/_tooltip.scss +60 -56
  41. data/_sass/bootstrap/_type.scss +2 -0
  42. data/_sass/bootstrap/_utilities.scss +209 -33
  43. data/_sass/bootstrap/_variables-dark.scss +87 -0
  44. data/_sass/bootstrap/_variables.scss +404 -294
  45. data/_sass/bootstrap/bootstrap-grid.scss +4 -9
  46. data/_sass/bootstrap/bootstrap-reboot.scss +4 -7
  47. data/_sass/bootstrap/bootstrap-utilities.scss +7 -6
  48. data/_sass/bootstrap/bootstrap.scss +5 -6
  49. data/_sass/bootstrap/forms/_floating-labels.scss +37 -5
  50. data/_sass/bootstrap/forms/_form-check.scss +51 -14
  51. data/_sass/bootstrap/forms/_form-control.scss +36 -41
  52. data/_sass/bootstrap/forms/_form-range.scss +3 -3
  53. data/_sass/bootstrap/forms/_form-select.scss +12 -4
  54. data/_sass/bootstrap/forms/_input-group.scss +20 -9
  55. data/_sass/bootstrap/helpers/_color-bg.scss +7 -0
  56. data/_sass/bootstrap/helpers/_colored-links.scss +20 -2
  57. data/_sass/bootstrap/helpers/_focus-ring.scss +5 -0
  58. data/_sass/bootstrap/helpers/_icon-link.scss +25 -0
  59. data/_sass/bootstrap/helpers/_position.scss +7 -1
  60. data/_sass/bootstrap/helpers/_ratio.scss +2 -2
  61. data/_sass/bootstrap/helpers/_vr.scss +2 -2
  62. data/_sass/bootstrap/mixins/_alert.scss +11 -4
  63. data/_sass/bootstrap/mixins/_banner.scss +7 -0
  64. data/_sass/bootstrap/mixins/_breakpoints.scss +8 -8
  65. data/_sass/bootstrap/mixins/_buttons.scss +32 -95
  66. data/_sass/bootstrap/mixins/_caret.scss +30 -25
  67. data/_sass/bootstrap/mixins/_color-mode.scss +21 -0
  68. data/_sass/bootstrap/mixins/_container.scss +4 -2
  69. data/_sass/bootstrap/mixins/_forms.scss +38 -19
  70. data/_sass/bootstrap/mixins/_gradients.scss +1 -1
  71. data/_sass/bootstrap/mixins/_grid.scss +14 -14
  72. data/_sass/bootstrap/mixins/_list-group.scss +2 -0
  73. data/_sass/bootstrap/mixins/_pagination.scss +4 -25
  74. data/_sass/bootstrap/mixins/_reset-text.scss +1 -1
  75. data/_sass/bootstrap/mixins/_table-variants.scss +12 -9
  76. data/_sass/bootstrap/mixins/_utilities.scss +14 -6
  77. data/_sass/bootstrap/mixins/_visually-hidden.scss +5 -1
  78. data/_sass/bootstrap/vendor/_rfs.scss +23 -29
  79. data/assets/theme/css/fontawesome-all.min.css +6 -2
  80. data/assets/theme/js/bootstrap.min.js +3 -3
  81. data/assets/theme/js/bootstrap.min.js.map +1 -1
  82. data/assets/theme/js/jquery.min.js +2 -2
  83. data/assets/theme/js/popper.min.js +2 -2
  84. data/assets/theme/js/popper.min.js.map +1 -1
  85. data/assets/theme/webfonts/fa-brands-400.ttf +0 -0
  86. data/assets/theme/webfonts/fa-brands-400.woff2 +0 -0
  87. data/assets/theme/webfonts/fa-regular-400.ttf +0 -0
  88. data/assets/theme/webfonts/fa-regular-400.woff2 +0 -0
  89. data/assets/theme/webfonts/fa-solid-900.ttf +0 -0
  90. data/assets/theme/webfonts/fa-solid-900.woff2 +0 -0
  91. data/assets/theme/webfonts/fa-v4compatibility.ttf +0 -0
  92. data/assets/theme/webfonts/fa-v4compatibility.woff2 +0 -0
  93. metadata +12 -17
  94. data/assets/theme/css/academicons.min.css +0 -1
  95. data/assets/theme/fonts/academicons.eot +0 -0
  96. data/assets/theme/fonts/academicons.svg +0 -1663
  97. data/assets/theme/fonts/academicons.ttf +0 -0
  98. data/assets/theme/fonts/academicons.woff +0 -0
  99. data/assets/theme/webfonts/fa-brands-400.eot +0 -0
  100. data/assets/theme/webfonts/fa-brands-400.svg +0 -3717
  101. data/assets/theme/webfonts/fa-brands-400.woff +0 -0
  102. data/assets/theme/webfonts/fa-regular-400.eot +0 -0
  103. data/assets/theme/webfonts/fa-regular-400.svg +0 -801
  104. data/assets/theme/webfonts/fa-regular-400.woff +0 -0
  105. data/assets/theme/webfonts/fa-solid-900.eot +0 -0
  106. data/assets/theme/webfonts/fa-solid-900.svg +0 -5034
  107. data/assets/theme/webfonts/fa-solid-900.woff +0 -0
@@ -1,27 +1,46 @@
1
1
  .popover {
2
- position: absolute;
3
- top: 0;
4
- left: 0 #{"/* rtl:ignore */"};
5
- z-index: $zindex-popover;
2
+ // scss-docs-start popover-css-vars
3
+ --#{$prefix}popover-zindex: #{$zindex-popover};
4
+ --#{$prefix}popover-max-width: #{$popover-max-width};
5
+ @include rfs($popover-font-size, --#{$prefix}popover-font-size);
6
+ --#{$prefix}popover-bg: #{$popover-bg};
7
+ --#{$prefix}popover-border-width: #{$popover-border-width};
8
+ --#{$prefix}popover-border-color: #{$popover-border-color};
9
+ --#{$prefix}popover-border-radius: #{$popover-border-radius};
10
+ --#{$prefix}popover-inner-border-radius: #{$popover-inner-border-radius};
11
+ --#{$prefix}popover-box-shadow: #{$popover-box-shadow};
12
+ --#{$prefix}popover-header-padding-x: #{$popover-header-padding-x};
13
+ --#{$prefix}popover-header-padding-y: #{$popover-header-padding-y};
14
+ @include rfs($popover-header-font-size, --#{$prefix}popover-header-font-size);
15
+ --#{$prefix}popover-header-color: #{$popover-header-color};
16
+ --#{$prefix}popover-header-bg: #{$popover-header-bg};
17
+ --#{$prefix}popover-body-padding-x: #{$popover-body-padding-x};
18
+ --#{$prefix}popover-body-padding-y: #{$popover-body-padding-y};
19
+ --#{$prefix}popover-body-color: #{$popover-body-color};
20
+ --#{$prefix}popover-arrow-width: #{$popover-arrow-width};
21
+ --#{$prefix}popover-arrow-height: #{$popover-arrow-height};
22
+ --#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);
23
+ // scss-docs-end popover-css-vars
24
+
25
+ z-index: var(--#{$prefix}popover-zindex);
6
26
  display: block;
7
- max-width: $popover-max-width;
27
+ max-width: var(--#{$prefix}popover-max-width);
8
28
  // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
9
29
  // So reset our font and text properties to avoid inheriting weird values.
10
30
  @include reset-text();
11
- @include font-size($popover-font-size);
31
+ @include font-size(var(--#{$prefix}popover-font-size));
12
32
  // Allow breaking very long words so they don't overflow the popover's bounds
13
33
  word-wrap: break-word;
14
- background-color: $popover-bg;
34
+ background-color: var(--#{$prefix}popover-bg);
15
35
  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);
36
+ border: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
37
+ @include border-radius(var(--#{$prefix}popover-border-radius));
38
+ @include box-shadow(var(--#{$prefix}popover-box-shadow));
19
39
 
20
40
  .popover-arrow {
21
- position: absolute;
22
41
  display: block;
23
- width: $popover-arrow-width;
24
- height: $popover-arrow-height;
42
+ width: var(--#{$prefix}popover-arrow-width);
43
+ height: var(--#{$prefix}popover-arrow-height);
25
44
 
26
45
  &::before,
27
46
  &::after {
@@ -30,62 +49,75 @@
30
49
  content: "";
31
50
  border-color: transparent;
32
51
  border-style: solid;
52
+ border-width: 0;
33
53
  }
34
54
  }
35
55
  }
36
56
 
37
57
  .bs-popover-top {
38
58
  > .popover-arrow {
39
- bottom: subtract(-$popover-arrow-height, $popover-border-width);
59
+ bottom: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
60
+
61
+ &::before,
62
+ &::after {
63
+ border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
64
+ }
40
65
 
41
66
  &::before {
42
67
  bottom: 0;
43
- border-width: $popover-arrow-height ($popover-arrow-width * .5) 0;
44
- border-top-color: $popover-arrow-outer-color;
68
+ border-top-color: var(--#{$prefix}popover-arrow-border);
45
69
  }
46
70
 
47
71
  &::after {
48
- bottom: $popover-border-width;
49
- border-width: $popover-arrow-height ($popover-arrow-width * .5) 0;
50
- border-top-color: $popover-arrow-color;
72
+ bottom: var(--#{$prefix}popover-border-width);
73
+ border-top-color: var(--#{$prefix}popover-bg);
51
74
  }
52
75
  }
53
76
  }
54
77
 
78
+ /* rtl:begin:ignore */
55
79
  .bs-popover-end {
56
80
  > .popover-arrow {
57
- left: subtract(-$popover-arrow-height, $popover-border-width);
58
- width: $popover-arrow-height;
59
- height: $popover-arrow-width;
81
+ left: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
82
+ width: var(--#{$prefix}popover-arrow-height);
83
+ height: var(--#{$prefix}popover-arrow-width);
84
+
85
+ &::before,
86
+ &::after {
87
+ 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
88
+ }
60
89
 
61
90
  &::before {
62
91
  left: 0;
63
- border-width: ($popover-arrow-width * .5) $popover-arrow-height ($popover-arrow-width * .5) 0;
64
- border-right-color: $popover-arrow-outer-color;
92
+ border-right-color: var(--#{$prefix}popover-arrow-border);
65
93
  }
66
94
 
67
95
  &::after {
68
- left: $popover-border-width;
69
- border-width: ($popover-arrow-width * .5) $popover-arrow-height ($popover-arrow-width * .5) 0;
70
- border-right-color: $popover-arrow-color;
96
+ left: var(--#{$prefix}popover-border-width);
97
+ border-right-color: var(--#{$prefix}popover-bg);
71
98
  }
72
99
  }
73
100
  }
74
101
 
102
+ /* rtl:end:ignore */
103
+
75
104
  .bs-popover-bottom {
76
105
  > .popover-arrow {
77
- top: subtract(-$popover-arrow-height, $popover-border-width);
106
+ top: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
107
+
108
+ &::before,
109
+ &::after {
110
+ border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * .5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
111
+ }
78
112
 
79
113
  &::before {
80
114
  top: 0;
81
- border-width: 0 ($popover-arrow-width * .5) $popover-arrow-height ($popover-arrow-width * .5);
82
- border-bottom-color: $popover-arrow-outer-color;
115
+ border-bottom-color: var(--#{$prefix}popover-arrow-border);
83
116
  }
84
117
 
85
118
  &::after {
86
- top: $popover-border-width;
87
- border-width: 0 ($popover-arrow-width * .5) $popover-arrow-height ($popover-arrow-width * .5);
88
- border-bottom-color: $popover-arrow-color;
119
+ top: var(--#{$prefix}popover-border-width);
120
+ border-bottom-color: var(--#{$prefix}popover-bg);
89
121
  }
90
122
  }
91
123
 
@@ -95,33 +127,39 @@
95
127
  top: 0;
96
128
  left: 50%;
97
129
  display: block;
98
- width: $popover-arrow-width;
99
- margin-left: -$popover-arrow-width * .5;
130
+ width: var(--#{$prefix}popover-arrow-width);
131
+ margin-left: calc(-.5 * var(--#{$prefix}popover-arrow-width)); // stylelint-disable-line function-disallowed-list
100
132
  content: "";
101
- border-bottom: $popover-border-width solid $popover-header-bg;
133
+ border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);
102
134
  }
103
135
  }
104
136
 
137
+ /* rtl:begin:ignore */
105
138
  .bs-popover-start {
106
139
  > .popover-arrow {
107
- right: subtract(-$popover-arrow-height, $popover-border-width);
108
- width: $popover-arrow-height;
109
- height: $popover-arrow-width;
140
+ right: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
141
+ width: var(--#{$prefix}popover-arrow-height);
142
+ height: var(--#{$prefix}popover-arrow-width);
143
+
144
+ &::before,
145
+ &::after {
146
+ 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
147
+ }
110
148
 
111
149
  &::before {
112
150
  right: 0;
113
- border-width: ($popover-arrow-width * .5) 0 ($popover-arrow-width * .5) $popover-arrow-height;
114
- border-left-color: $popover-arrow-outer-color;
151
+ border-left-color: var(--#{$prefix}popover-arrow-border);
115
152
  }
116
153
 
117
154
  &::after {
118
- right: $popover-border-width;
119
- border-width: ($popover-arrow-width * .5) 0 ($popover-arrow-width * .5) $popover-arrow-height;
120
- border-left-color: $popover-arrow-color;
155
+ right: var(--#{$prefix}popover-border-width);
156
+ border-left-color: var(--#{$prefix}popover-bg);
121
157
  }
122
158
  }
123
159
  }
124
160
 
161
+ /* rtl:end:ignore */
162
+
125
163
  .bs-popover-auto {
126
164
  &[data-popper-placement^="top"] {
127
165
  @extend .bs-popover-top;
@@ -139,13 +177,13 @@
139
177
 
140
178
  // Offset the popover to account for the popover arrow
141
179
  .popover-header {
142
- padding: $popover-header-padding-y $popover-header-padding-x;
180
+ padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);
143
181
  margin-bottom: 0; // Reset the default from Reboot
144
- @include font-size($font-size-base);
145
- color: $popover-header-color;
146
- background-color: $popover-header-bg;
147
- border-bottom: $popover-border-width solid $popover-border-color;
148
- @include border-top-radius($popover-inner-border-radius);
182
+ @include font-size(var(--#{$prefix}popover-header-font-size));
183
+ color: var(--#{$prefix}popover-header-color);
184
+ background-color: var(--#{$prefix}popover-header-bg);
185
+ border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
186
+ @include border-top-radius(var(--#{$prefix}popover-inner-border-radius));
149
187
 
150
188
  &:empty {
151
189
  display: none;
@@ -153,6 +191,6 @@
153
191
  }
154
192
 
155
193
  .popover-body {
156
- padding: $popover-body-padding-y $popover-body-padding-x;
157
- color: $popover-body-color;
194
+ padding: var(--#{$prefix}popover-body-padding-y) var(--#{$prefix}popover-body-padding-x);
195
+ color: var(--#{$prefix}popover-body-color);
158
196
  }
@@ -8,14 +8,26 @@
8
8
  }
9
9
  // scss-docs-end progress-keyframes
10
10
 
11
- .progress {
11
+ .progress,
12
+ .progress-stacked {
13
+ // scss-docs-start progress-css-vars
14
+ --#{$prefix}progress-height: #{$progress-height};
15
+ @include rfs($progress-font-size, --#{$prefix}progress-font-size);
16
+ --#{$prefix}progress-bg: #{$progress-bg};
17
+ --#{$prefix}progress-border-radius: #{$progress-border-radius};
18
+ --#{$prefix}progress-box-shadow: #{$progress-box-shadow};
19
+ --#{$prefix}progress-bar-color: #{$progress-bar-color};
20
+ --#{$prefix}progress-bar-bg: #{$progress-bar-bg};
21
+ --#{$prefix}progress-bar-transition: #{$progress-bar-transition};
22
+ // scss-docs-end progress-css-vars
23
+
12
24
  display: flex;
13
- height: $progress-height;
25
+ height: var(--#{$prefix}progress-height);
14
26
  overflow: hidden; // force rounded corners by cropping it
15
- @include font-size($progress-font-size);
16
- background-color: $progress-bg;
17
- @include border-radius($progress-border-radius);
18
- @include box-shadow($progress-box-shadow);
27
+ @include font-size(var(--#{$prefix}progress-font-size));
28
+ background-color: var(--#{$prefix}progress-bg);
29
+ @include border-radius(var(--#{$prefix}progress-border-radius));
30
+ @include box-shadow(var(--#{$prefix}progress-box-shadow));
19
31
  }
20
32
 
21
33
  .progress-bar {
@@ -23,16 +35,24 @@
23
35
  flex-direction: column;
24
36
  justify-content: center;
25
37
  overflow: hidden;
26
- color: $progress-bar-color;
38
+ color: var(--#{$prefix}progress-bar-color);
27
39
  text-align: center;
28
40
  white-space: nowrap;
29
- background-color: $progress-bar-bg;
30
- @include transition($progress-bar-transition);
41
+ background-color: var(--#{$prefix}progress-bar-bg);
42
+ @include transition(var(--#{$prefix}progress-bar-transition));
31
43
  }
32
44
 
33
45
  .progress-bar-striped {
34
46
  @include gradient-striped();
35
- background-size: $progress-height $progress-height;
47
+ background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height);
48
+ }
49
+
50
+ .progress-stacked > .progress {
51
+ overflow: visible;
52
+ }
53
+
54
+ .progress-stacked > .progress > .progress-bar {
55
+ width: 100%;
36
56
  }
37
57
 
38
58
  @if $enable-transitions {
@@ -27,7 +27,7 @@
27
27
 
28
28
  :root {
29
29
  @if $font-size-root != null {
30
- font-size: var(--#{$variable-prefix}root-font-size);
30
+ @include font-size(var(--#{$prefix}root-font-size));
31
31
  }
32
32
 
33
33
  @if $enable-smooth-scroll {
@@ -48,13 +48,13 @@
48
48
  // scss-docs-start reboot-body-rules
49
49
  body {
50
50
  margin: 0; // 1
51
- font-family: var(--#{$variable-prefix}body-font-family);
52
- @include font-size(var(--#{$variable-prefix}body-font-size));
53
- font-weight: var(--#{$variable-prefix}body-font-weight);
54
- line-height: var(--#{$variable-prefix}body-line-height);
55
- color: var(--#{$variable-prefix}body-color);
56
- text-align: var(--#{$variable-prefix}body-text-align);
57
- background-color: var(--#{$variable-prefix}body-bg); // 2
51
+ font-family: var(--#{$prefix}body-font-family);
52
+ @include font-size(var(--#{$prefix}body-font-size));
53
+ font-weight: var(--#{$prefix}body-font-weight);
54
+ line-height: var(--#{$prefix}body-line-height);
55
+ color: var(--#{$prefix}body-color);
56
+ text-align: var(--#{$prefix}body-text-align);
57
+ background-color: var(--#{$prefix}body-bg); // 2
58
58
  -webkit-text-size-adjust: 100%; // 3
59
59
  -webkit-tap-highlight-color: rgba($black, 0); // 4
60
60
  }
@@ -64,20 +64,15 @@ body {
64
64
  // Content grouping
65
65
  //
66
66
  // 1. Reset Firefox's gray color
67
- // 2. Set correct height and prevent the `size` attribute to make the `hr` look like an input field
68
67
 
69
68
  hr {
70
69
  margin: $hr-margin-y 0;
71
70
  color: $hr-color; // 1
72
- background-color: currentColor;
73
71
  border: 0;
72
+ border-top: $hr-border-width solid $hr-border-color;
74
73
  opacity: $hr-opacity;
75
74
  }
76
75
 
77
- hr:not([size]) {
78
- height: $hr-height; // 2
79
- }
80
-
81
76
 
82
77
  // Typography
83
78
  //
@@ -92,7 +87,7 @@ hr:not([size]) {
92
87
  font-style: $headings-font-style;
93
88
  font-weight: $headings-font-weight;
94
89
  line-height: $headings-line-height;
95
- color: $headings-color;
90
+ color: var(--#{$prefix}heading-color);
96
91
  }
97
92
 
98
93
  h1 {
@@ -139,16 +134,14 @@ p {
139
134
 
140
135
  // Abbreviations
141
136
  //
142
- // 1. Duplicate behavior to the data-bs-* attribute for our tooltip plugin
143
- // 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
144
- // 3. Add explicit cursor to indicate changed behavior.
145
- // 4. Prevent the text-decoration to be skipped.
137
+ // 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
138
+ // 2. Add explicit cursor to indicate changed behavior.
139
+ // 3. Prevent the text-decoration to be skipped.
146
140
 
147
- abbr[title],
148
- abbr[data-bs-original-title] { // 1
149
- text-decoration: underline dotted; // 2
150
- cursor: help; // 3
151
- text-decoration-skip-ink: none; // 4
141
+ abbr[title] {
142
+ text-decoration: underline dotted; // 1
143
+ cursor: help; // 2
144
+ text-decoration-skip-ink: none; // 3
152
145
  }
153
146
 
154
147
 
@@ -224,7 +217,8 @@ small {
224
217
 
225
218
  mark {
226
219
  padding: $mark-padding;
227
- background-color: $mark-bg;
220
+ color: var(--#{$prefix}highlight-color);
221
+ background-color: var(--#{$prefix}highlight-bg);
228
222
  }
229
223
 
230
224
 
@@ -248,11 +242,11 @@ sup { top: -.5em; }
248
242
  // Links
249
243
 
250
244
  a {
251
- color: $link-color;
245
+ color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, 1));
252
246
  text-decoration: $link-decoration;
253
247
 
254
248
  &:hover {
255
- color: $link-hover-color;
249
+ --#{$prefix}link-color-rgb: var(--#{$prefix}link-hover-color-rgb);
256
250
  text-decoration: $link-hover-decoration;
257
251
  }
258
252
  }
@@ -279,8 +273,6 @@ kbd,
279
273
  samp {
280
274
  font-family: $font-family-code;
281
275
  @include font-size(1em); // Correct the odd `em` font sizing in all browsers.
282
- direction: ltr #{"/* rtl:ignore */"};
283
- unicode-bidi: bidi-override;
284
276
  }
285
277
 
286
278
  // 1. Remove browser default top margin
@@ -305,7 +297,7 @@ pre {
305
297
 
306
298
  code {
307
299
  @include font-size($code-font-size);
308
- color: $code-color;
300
+ color: var(--#{$prefix}code-color);
309
301
  word-wrap: break-word;
310
302
 
311
303
  // Streamline the style when inside anchors to avoid broken underline and more
@@ -445,11 +437,11 @@ select {
445
437
  }
446
438
  }
447
439
 
448
- // Remove the dropdown arrow in Chrome from inputs built with datalists.
440
+ // Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
449
441
  // See https://stackoverflow.com/a/54997118
450
442
 
451
- [list]::-webkit-calendar-picker-indicator {
452
- display: none;
443
+ [list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
444
+ display: none !important;
453
445
  }
454
446
 
455
447
  // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
@@ -533,15 +525,15 @@ legend {
533
525
  height: auto;
534
526
  }
535
527
 
536
- // 1. Correct the outline style in Safari.
537
- // 2. This overrides the extra rounded corners on search inputs in iOS so that our
528
+ // 1. This overrides the extra rounded corners on search inputs in iOS so that our
538
529
  // `.form-control` class can properly style them. Note that this cannot simply
539
530
  // be added to `.form-control` as it's not specific enough. For details, see
540
531
  // https://github.com/twbs/bootstrap/issues/11586.
532
+ // 2. Correct the outline style in Safari.
541
533
 
542
534
  [type="search"] {
543
- outline-offset: -2px; // 1
544
- -webkit-appearance: textfield; // 2
535
+ -webkit-appearance: textfield; // 1
536
+ outline-offset: -2px; // 2
545
537
  }
546
538
 
547
539
  // 1. A few input types should stay LTR
@@ -571,16 +563,10 @@ legend {
571
563
  }
572
564
 
573
565
 
574
- // Inherit font family and line height for file input buttons
575
-
576
- ::file-selector-button {
577
- font: inherit;
578
- }
579
-
580
- // 1. Change font properties to `inherit`
566
+ // 1. Inherit font family and line height for file input buttons
581
567
  // 2. Correct the inability to style clickable types in iOS and Safari.
582
568
 
583
- ::-webkit-file-upload-button {
569
+ ::file-selector-button {
584
570
  font: inherit; // 1
585
571
  -webkit-appearance: button; // 2
586
572
  }