comfortable_mexican_sofa 2.0.18 → 2.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +19 -14
  4. data/Gemfile +2 -2
  5. data/LICENSE +1 -1
  6. data/README.md +4 -2
  7. data/app/assets/config/manifest.js +0 -0
  8. data/app/assets/javascripts/comfy/admin/cms/application.js +1 -2
  9. data/app/assets/javascripts/comfy/vendor/bootstrap.bundle.min.js +7 -0
  10. data/app/assets/javascripts/comfy/vendor/bootstrap.bundle.min.js.map +1 -0
  11. data/app/assets/stylesheets/comfy/vendor/bootstrap/_alert.scss +1 -1
  12. data/app/assets/stylesheets/comfy/vendor/bootstrap/_badge.scss +8 -1
  13. data/app/assets/stylesheets/comfy/vendor/bootstrap/_breadcrumb.scss +0 -0
  14. data/app/assets/stylesheets/comfy/vendor/bootstrap/_button-group.scss +9 -18
  15. data/app/assets/stylesheets/comfy/vendor/bootstrap/_buttons.scss +9 -16
  16. data/app/assets/stylesheets/comfy/vendor/bootstrap/_card.scss +36 -48
  17. data/app/assets/stylesheets/comfy/vendor/bootstrap/_carousel.scss +37 -76
  18. data/app/assets/stylesheets/comfy/vendor/bootstrap/_close.scss +15 -8
  19. data/app/assets/stylesheets/comfy/vendor/bootstrap/_code.scss +5 -5
  20. data/app/assets/stylesheets/comfy/vendor/bootstrap/_custom-forms.scss +140 -54
  21. data/app/assets/stylesheets/comfy/vendor/bootstrap/_dropdown.scss +34 -9
  22. data/app/assets/stylesheets/comfy/vendor/bootstrap/_forms.scss +29 -34
  23. data/app/assets/stylesheets/comfy/vendor/bootstrap/_functions.scss +8 -8
  24. data/app/assets/stylesheets/comfy/vendor/bootstrap/_grid.scss +0 -0
  25. data/app/assets/stylesheets/comfy/vendor/bootstrap/_images.scss +2 -2
  26. data/app/assets/stylesheets/comfy/vendor/bootstrap/_input-group.scss +43 -8
  27. data/app/assets/stylesheets/comfy/vendor/bootstrap/_jumbotron.scss +1 -0
  28. data/app/assets/stylesheets/comfy/vendor/bootstrap/_list-group.scss +39 -5
  29. data/app/assets/stylesheets/comfy/vendor/bootstrap/_media.scss +0 -0
  30. data/app/assets/stylesheets/comfy/vendor/bootstrap/_mixins.scss +6 -0
  31. data/app/assets/stylesheets/comfy/vendor/bootstrap/_modal.scss +78 -17
  32. data/app/assets/stylesheets/comfy/vendor/bootstrap/_nav.scss +2 -0
  33. data/app/assets/stylesheets/comfy/vendor/bootstrap/_navbar.scss +9 -14
  34. data/app/assets/stylesheets/comfy/vendor/bootstrap/_pagination.scss +0 -5
  35. data/app/assets/stylesheets/comfy/vendor/bootstrap/_popover.scss +47 -59
  36. data/app/assets/stylesheets/comfy/vendor/bootstrap/_print.scss +1 -1
  37. data/app/assets/stylesheets/comfy/vendor/bootstrap/_progress.scss +15 -6
  38. data/app/assets/stylesheets/comfy/vendor/bootstrap/_reboot.scss +47 -44
  39. data/app/assets/stylesheets/comfy/vendor/bootstrap/_root.scss +0 -0
  40. data/app/assets/stylesheets/comfy/vendor/bootstrap/_spinners.scss +55 -0
  41. data/app/assets/stylesheets/comfy/vendor/bootstrap/_tables.scss +5 -8
  42. data/app/assets/stylesheets/comfy/vendor/bootstrap/_toasts.scss +44 -0
  43. data/app/assets/stylesheets/comfy/vendor/bootstrap/_tooltip.scss +1 -1
  44. data/app/assets/stylesheets/comfy/vendor/bootstrap/_transitions.scss +0 -2
  45. data/app/assets/stylesheets/comfy/vendor/bootstrap/_type.scss +16 -16
  46. data/app/assets/stylesheets/comfy/vendor/bootstrap/_utilities.scss +2 -0
  47. data/app/assets/stylesheets/comfy/vendor/bootstrap/_variables.scss +371 -177
  48. data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-grid.scss +4 -7
  49. data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-reboot.scss +3 -3
  50. data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap.scss +5 -3
  51. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_alert.scss +0 -0
  52. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_background-variant.scss +0 -0
  53. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_badge.scss +7 -2
  54. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_border-radius.scss +29 -1
  55. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_box-shadow.scss +16 -1
  56. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_breakpoints.scss +3 -3
  57. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_buttons.scss +12 -14
  58. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_caret.scss +4 -8
  59. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_clearfix.scss +0 -0
  60. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_deprecate.scss +10 -0
  61. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_float.scss +3 -0
  62. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_forms.scss +58 -13
  63. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_gradients.scss +0 -0
  64. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_grid-framework.scss +3 -4
  65. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_grid.scss +9 -10
  66. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_hover.scss +1 -1
  67. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_image.scss +2 -2
  68. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_list-group.scss +0 -0
  69. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_lists.scss +0 -0
  70. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_nav-divider.scss +0 -0
  71. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_pagination.scss +1 -1
  72. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_reset-text.scss +1 -1
  73. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_resize.scss +0 -0
  74. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_screen-reader.scss +0 -0
  75. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_size.scss +1 -0
  76. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_table-row.scss +10 -1
  77. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-emphasis.scss +5 -3
  78. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-hide.scss +1 -3
  79. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-truncate.scss +0 -0
  80. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_transition.scss +5 -2
  81. data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_visibility.scss +1 -0
  82. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_align.scss +0 -0
  83. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_background.scss +0 -0
  84. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_borders.scss +17 -1
  85. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_clearfix.scss +0 -0
  86. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_display.scss +6 -18
  87. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_embed.scss +7 -20
  88. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_flex.scss +0 -0
  89. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_float.scss +5 -3
  90. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_overflow.scss +5 -0
  91. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_position.scss +0 -5
  92. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_screenreaders.scss +0 -0
  93. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_shadows.scss +0 -0
  94. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_sizing.scss +8 -0
  95. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_spacing.scss +23 -1
  96. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_stretched-link.scss +19 -0
  97. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_text.scss +19 -5
  98. data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_visibility.scss +4 -2
  99. data/app/assets/stylesheets/comfy/vendor/bootstrap/vendor/_rfs.scss +204 -0
  100. data/app/models/comfy/cms/file.rb +6 -1
  101. data/app/models/comfy/cms/fragment.rb +6 -2
  102. data/app/models/comfy/cms/layout.rb +16 -8
  103. data/app/models/comfy/cms/page.rb +12 -17
  104. data/app/views/comfy/admin/cms/files/index.html.haml +4 -2
  105. data/app/views/comfy/admin/cms/pages/_form.html.haml +2 -2
  106. data/app/views/comfy/admin/cms/pages/index.html.haml +2 -2
  107. data/config/locales/ar.yml +262 -0
  108. data/config/locales/ca.yml +0 -1
  109. data/config/locales/cs.yml +0 -1
  110. data/config/locales/da.yml +0 -1
  111. data/config/locales/de.yml +60 -61
  112. data/config/locales/en.yml +0 -1
  113. data/config/locales/es.yml +0 -1
  114. data/config/locales/fi.yml +0 -1
  115. data/config/locales/fr.yml +0 -1
  116. data/config/locales/gr.yml +0 -1
  117. data/config/locales/hr.yml +262 -0
  118. data/config/locales/it.yml +0 -1
  119. data/config/locales/ja.yml +0 -1
  120. data/config/locales/nb.yml +0 -1
  121. data/config/locales/nl.yml +0 -1
  122. data/config/locales/pl.yml +0 -1
  123. data/config/locales/pt-BR.yml +0 -1
  124. data/config/locales/ru.yml +0 -1
  125. data/config/locales/sk.yml +0 -1
  126. data/config/locales/sv.yml +0 -1
  127. data/config/locales/tr.yml +0 -1
  128. data/config/locales/uk.yml +0 -1
  129. data/config/locales/zh-CN.yml +0 -1
  130. data/config/locales/zh-TW.yml +0 -1
  131. data/lib/comfortable_mexican_sofa/configuration.rb +2 -0
  132. data/lib/comfortable_mexican_sofa/seeds.rb +6 -2
  133. data/lib/comfortable_mexican_sofa/version.rb +1 -1
  134. data/lib/tasks/cms_seeds.rake +7 -7
  135. metadata +15 -5
  136. data/app/assets/javascripts/comfy/vendor/bootstrap.min.js +0 -7
  137. data/app/assets/javascripts/comfy/vendor/popper.min.js +0 -6
@@ -51,7 +51,7 @@
51
51
  }
52
52
  pre,
53
53
  blockquote {
54
- border: $border-width solid $gray-500; // 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
 
@@ -1,13 +1,16 @@
1
- @keyframes progress-bar-stripes {
2
- from { background-position: $progress-height 0; }
3
- to { background-position: 0 0; }
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
+ }
4
7
  }
5
8
 
6
9
  .progress {
7
10
  display: flex;
8
11
  height: $progress-height;
9
12
  overflow: hidden; // force rounded corners by cropping it
10
- font-size: $progress-font-size;
13
+ @include font-size($progress-font-size);
11
14
  background-color: $progress-bg;
12
15
  @include border-radius($progress-border-radius);
13
16
  @include box-shadow($progress-box-shadow);
@@ -29,6 +32,12 @@
29
32
  background-size: $progress-height $progress-height;
30
33
  }
31
34
 
32
- .progress-bar-animated {
33
- animation: progress-bar-stripes $progress-bar-animation-timing;
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
+ }
34
43
  }
@@ -14,9 +14,7 @@
14
14
  // 2. Change the default font family in all browsers.
15
15
  // 3. Correct the line height in all browsers.
16
16
  // 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
17
- // 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so
18
- // we force a non-overlapping, non-auto-hiding scrollbar to counteract.
19
- // 6. Change the default tap highlight to be completely transparent in iOS.
17
+ // 5. Change the default tap highlight to be completely transparent in iOS.
20
18
 
21
19
  *,
22
20
  *::before,
@@ -28,36 +26,27 @@ html {
28
26
  font-family: sans-serif; // 2
29
27
  line-height: 1.15; // 3
30
28
  -webkit-text-size-adjust: 100%; // 4
31
- -ms-text-size-adjust: 100%; // 4
32
- -ms-overflow-style: scrollbar; // 5
33
- -webkit-tap-highlight-color: rgba($black, 0); // 6
29
+ -webkit-tap-highlight-color: rgba($black, 0); // 5
34
30
  }
35
31
 
36
- // IE10+ doesn't honor `<meta name="viewport">` in some cases.
37
- @at-root {
38
- @-ms-viewport {
39
- width: device-width;
40
- }
41
- }
42
-
43
- // stylelint-disable selector-list-comma-newline-after
44
32
  // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
33
+ // TODO: remove in v5
34
+ // stylelint-disable-next-line selector-list-comma-newline-after
45
35
  article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
46
36
  display: block;
47
37
  }
48
- // stylelint-enable selector-list-comma-newline-after
49
38
 
50
39
  // Body
51
40
  //
52
41
  // 1. Remove the margin in all browsers.
53
42
  // 2. As a best practice, apply a default `background-color`.
54
- // 3. Set an explicit initial text-align value so that we can later use the
43
+ // 3. Set an explicit initial text-align value so that we can later use
55
44
  // the `inherit` value on things like `<th>` elements.
56
45
 
57
46
  body {
58
47
  margin: 0; // 1
59
48
  font-family: $font-family-base;
60
- font-size: $font-size-base;
49
+ @include font-size($font-size-base);
61
50
  font-weight: $font-weight-base;
62
51
  line-height: $line-height-base;
63
52
  color: $body-color;
@@ -95,12 +84,11 @@ hr {
95
84
  //
96
85
  // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
97
86
  // margin for easier control within type scales as it avoids margin collapsing.
98
- // stylelint-disable selector-list-comma-newline-after
87
+ // stylelint-disable-next-line selector-list-comma-newline-after
99
88
  h1, h2, h3, h4, h5, h6 {
100
89
  margin-top: 0;
101
90
  margin-bottom: $headings-margin-bottom;
102
91
  }
103
- // stylelint-enable selector-list-comma-newline-after
104
92
 
105
93
  // Reset margins on paragraphs
106
94
  //
@@ -113,17 +101,19 @@ p {
113
101
 
114
102
  // Abbreviations
115
103
  //
116
- // 1. Remove the bottom border in Firefox 39-.
104
+ // 1. Duplicate behavior to the data-* attribute for our tooltip plugin
117
105
  // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
118
106
  // 3. Add explicit cursor to indicate changed behavior.
119
- // 4. Duplicate behavior to the data-* attribute for our tooltip plugin
107
+ // 4. Remove the bottom border in Firefox 39-.
108
+ // 5. Prevent the text-decoration to be skipped.
120
109
 
121
110
  abbr[title],
122
- abbr[data-original-title] { // 4
111
+ abbr[data-original-title] { // 1
123
112
  text-decoration: underline; // 2
124
113
  text-decoration: underline dotted; // 2
125
114
  cursor: help; // 3
126
- border-bottom: 0; // 1
115
+ border-bottom: 0; // 4
116
+ text-decoration-skip-ink: none; // 5
127
117
  }
128
118
 
129
119
  address {
@@ -159,19 +149,13 @@ blockquote {
159
149
  margin: 0 0 1rem;
160
150
  }
161
151
 
162
- dfn {
163
- font-style: italic; // Add the correct font style in Android 4.3-
164
- }
165
-
166
- // stylelint-disable font-weight-notation
167
152
  b,
168
153
  strong {
169
- font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari
154
+ font-weight: $font-weight-bolder; // Add the correct font weight in Chrome, Edge, and Safari
170
155
  }
171
- // stylelint-enable font-weight-notation
172
156
 
173
157
  small {
174
- font-size: 80%; // Add the correct font size in all browsers
158
+ @include font-size(80%); // Add the correct font size in all browsers
175
159
  }
176
160
 
177
161
  //
@@ -182,7 +166,7 @@ small {
182
166
  sub,
183
167
  sup {
184
168
  position: relative;
185
- font-size: 75%;
169
+ @include font-size(75%);
186
170
  line-height: 0;
187
171
  vertical-align: baseline;
188
172
  }
@@ -199,7 +183,6 @@ a {
199
183
  color: $link-color;
200
184
  text-decoration: $link-decoration;
201
185
  background-color: transparent; // Remove the gray background on active links in IE 10.
202
- -webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.
203
186
 
204
187
  @include hover {
205
188
  color: $link-hover-color;
@@ -237,7 +220,7 @@ code,
237
220
  kbd,
238
221
  samp {
239
222
  font-family: $font-family-monospace;
240
- font-size: 1em; // Correct the odd `em` font sizing in all browsers.
223
+ @include font-size(1em); // Correct the odd `em` font sizing in all browsers.
241
224
  }
242
225
 
243
226
  pre {
@@ -247,9 +230,6 @@ pre {
247
230
  margin-bottom: 1rem;
248
231
  // Don't allow content to break outside
249
232
  overflow: auto;
250
- // We have @viewport set which causes scrollbars to overlap content in IE11 and Edge, so
251
- // we force a non-overlapping, non-auto-hiding scrollbar to counteract.
252
- -ms-overflow-style: scrollbar;
253
233
  }
254
234
 
255
235
 
@@ -272,8 +252,11 @@ img {
272
252
  border-style: none; // Remove the border on images inside links in IE 10-.
273
253
  }
274
254
 
275
- svg:not(:root) {
276
- overflow: hidden; // Hide the overflow in IE
255
+ svg {
256
+ // Workaround for the SVG overflow bug in IE10/11 is still required.
257
+ // See https://github.com/twbs/bootstrap/issues/26878
258
+ overflow: hidden;
259
+ vertical-align: middle;
277
260
  }
278
261
 
279
262
 
@@ -314,6 +297,7 @@ label {
314
297
  //
315
298
  // Details at https://github.com/twbs/bootstrap/issues/24093
316
299
  button {
300
+ // stylelint-disable-next-line property-blacklist
317
301
  border-radius: 0;
318
302
  }
319
303
 
@@ -333,7 +317,7 @@ optgroup,
333
317
  textarea {
334
318
  margin: 0; // Remove the margin in Firefox and Safari
335
319
  font-family: inherit;
336
- font-size: inherit;
320
+ @include font-size(inherit);
337
321
  line-height: inherit;
338
322
  }
339
323
 
@@ -347,16 +331,36 @@ select {
347
331
  text-transform: none; // Remove the inheritance of text transform in Firefox
348
332
  }
349
333
 
334
+ // Remove the inheritance of word-wrap in Safari.
335
+ //
336
+ // Details at https://github.com/twbs/bootstrap/issues/24990
337
+ select {
338
+ word-wrap: normal;
339
+ }
340
+
341
+
350
342
  // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
351
343
  // controls in Android 4.
352
344
  // 2. Correct the inability to style clickable types in iOS and Safari.
353
345
  button,
354
- html [type="button"], // 1
346
+ [type="button"], // 1
355
347
  [type="reset"],
356
348
  [type="submit"] {
357
349
  -webkit-appearance: button; // 2
358
350
  }
359
351
 
352
+ // Opinionated: add "hand" cursor to non-disabled button elements.
353
+ @if $enable-pointer-cursor-for-buttons {
354
+ button,
355
+ [type="button"],
356
+ [type="reset"],
357
+ [type="submit"] {
358
+ &:not(:disabled) {
359
+ cursor: pointer;
360
+ }
361
+ }
362
+ }
363
+
360
364
  // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
361
365
  button::-moz-focus-inner,
362
366
  [type="button"]::-moz-focus-inner,
@@ -412,7 +416,7 @@ legend {
412
416
  max-width: 100%; // 1
413
417
  padding: 0;
414
418
  margin-bottom: .5rem;
415
- font-size: 1.5rem;
419
+ @include font-size(1.5rem);
416
420
  line-height: inherit;
417
421
  color: inherit; // 2
418
422
  white-space: normal; // 1
@@ -438,10 +442,9 @@ progress {
438
442
  }
439
443
 
440
444
  //
441
- // Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
445
+ // Remove the inner padding in Chrome and Safari on macOS.
442
446
  //
443
447
 
444
- [type="search"]::-webkit-search-cancel-button,
445
448
  [type="search"]::-webkit-search-decoration {
446
449
  -webkit-appearance: none;
447
450
  }
@@ -0,0 +1,55 @@
1
+ //
2
+ // Rotating border
3
+ //
4
+
5
+ @keyframes spinner-border {
6
+ to { transform: rotate(360deg); }
7
+ }
8
+
9
+ .spinner-border {
10
+ display: inline-block;
11
+ width: $spinner-width;
12
+ height: $spinner-height;
13
+ vertical-align: text-bottom;
14
+ border: $spinner-border-width solid currentColor;
15
+ border-right-color: transparent;
16
+ // stylelint-disable-next-line property-blacklist
17
+ border-radius: 50%;
18
+ animation: spinner-border .75s linear infinite;
19
+ }
20
+
21
+ .spinner-border-sm {
22
+ width: $spinner-width-sm;
23
+ height: $spinner-height-sm;
24
+ border-width: $spinner-border-width-sm;
25
+ }
26
+
27
+ //
28
+ // Growing circle
29
+ //
30
+
31
+ @keyframes spinner-grow {
32
+ 0% {
33
+ transform: scale(0);
34
+ }
35
+ 50% {
36
+ opacity: 1;
37
+ }
38
+ }
39
+
40
+ .spinner-grow {
41
+ display: inline-block;
42
+ width: $spinner-width;
43
+ height: $spinner-height;
44
+ vertical-align: text-bottom;
45
+ background-color: currentColor;
46
+ // stylelint-disable-next-line property-blacklist
47
+ border-radius: 50%;
48
+ opacity: 0;
49
+ animation: spinner-grow .75s linear infinite;
50
+ }
51
+
52
+ .spinner-grow-sm {
53
+ width: $spinner-width-sm;
54
+ height: $spinner-height-sm;
55
+ }
@@ -4,8 +4,8 @@
4
4
 
5
5
  .table {
6
6
  width: 100%;
7
- max-width: 100%;
8
7
  margin-bottom: $spacer;
8
+ color: $table-color;
9
9
  background-color: $table-bg; // Reset for nesting within parents with `background-color`.
10
10
 
11
11
  th,
@@ -23,10 +23,6 @@
23
23
  tbody + tbody {
24
24
  border-top: (2 * $table-border-width) solid $table-border-color;
25
25
  }
26
-
27
- .table {
28
- background-color: $body-bg;
29
- }
30
26
  }
31
27
 
32
28
 
@@ -57,7 +53,7 @@
57
53
  thead {
58
54
  th,
59
55
  td {
60
- border-bottom-width: (2 * $table-border-width);
56
+ border-bottom-width: 2 * $table-border-width;
61
57
  }
62
58
  }
63
59
  }
@@ -89,6 +85,7 @@
89
85
  .table-hover {
90
86
  tbody tr {
91
87
  @include hover {
88
+ color: $table-hover-color;
92
89
  background-color: $table-hover-bg;
93
90
  }
94
91
  }
@@ -101,7 +98,7 @@
101
98
  // inheritance to nested tables.
102
99
 
103
100
  @each $color, $value in $theme-colors {
104
- @include table-row-variant($color, theme-color-level($color, -9));
101
+ @include table-row-variant($color, theme-color-level($color, $table-bg-level), theme-color-level($color, $table-border-level));
105
102
  }
106
103
 
107
104
  @include table-row-variant(active, $table-active-bg);
@@ -153,6 +150,7 @@
153
150
  &.table-hover {
154
151
  tbody tr {
155
152
  @include hover {
153
+ color: $table-dark-hover-color;
156
154
  background-color: $table-dark-hover-bg;
157
155
  }
158
156
  }
@@ -176,7 +174,6 @@
176
174
  width: 100%;
177
175
  overflow-x: auto;
178
176
  -webkit-overflow-scrolling: touch;
179
- -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
180
177
 
181
178
  // Prevent double border on horizontal scroll due to use of `display: block;`
182
179
  > .table-bordered {
@@ -0,0 +1,44 @@
1
+ .toast {
2
+ max-width: $toast-max-width;
3
+ overflow: hidden; // cheap rounded corners on nested items
4
+ @include font-size($toast-font-size);
5
+ color: $toast-color;
6
+ background-color: $toast-background-color;
7
+ background-clip: padding-box;
8
+ border: $toast-border-width solid $toast-border-color;
9
+ box-shadow: $toast-box-shadow;
10
+ backdrop-filter: blur(10px);
11
+ opacity: 0;
12
+ @include border-radius($toast-border-radius);
13
+
14
+ &:not(:last-child) {
15
+ margin-bottom: $toast-padding-x;
16
+ }
17
+
18
+ &.showing {
19
+ opacity: 1;
20
+ }
21
+
22
+ &.show {
23
+ display: block;
24
+ opacity: 1;
25
+ }
26
+
27
+ &.hide {
28
+ display: none;
29
+ }
30
+ }
31
+
32
+ .toast-header {
33
+ display: flex;
34
+ align-items: center;
35
+ padding: $toast-padding-y $toast-padding-x;
36
+ color: $toast-header-color;
37
+ background-color: $toast-header-background-color;
38
+ background-clip: padding-box;
39
+ border-bottom: $toast-border-width solid $toast-header-border-color;
40
+ }
41
+
42
+ .toast-body {
43
+ padding: $toast-padding-x; // apply to both vertical and horizontal
44
+ }
@@ -7,7 +7,7 @@
7
7
  // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
8
8
  // So reset our font and text properties to avoid inheriting weird values.
9
9
  @include reset-text();
10
- font-size: $tooltip-font-size;
10
+ @include font-size($tooltip-font-size);
11
11
  // Allow breaking very long words so they don't overflow the tooltip's bounds
12
12
  word-wrap: break-word;
13
13
  opacity: 0;