mumuki-styles 1.24.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/dev-awesome.eot +0 -0
  3. data/app/assets/fonts/dev-awesome.ttf +0 -0
  4. data/app/assets/fonts/dev-awesome.woff +0 -0
  5. data/app/assets/fonts/dev-awesome.woff2 +0 -0
  6. data/app/assets/javascripts/mumuki-styles.js +6262 -1745
  7. data/app/assets/stylesheets/css/mumuki-styles.css +12744 -10611
  8. data/app/assets/stylesheets/scss/_colors.scss +64 -30
  9. data/app/assets/stylesheets/scss/_fa5.scss +9 -0
  10. data/app/assets/stylesheets/scss/_fonts.scss +1 -1
  11. data/app/assets/stylesheets/scss/_footer.scss +23 -16
  12. data/app/assets/stylesheets/scss/_links.scss +7 -0
  13. data/app/assets/stylesheets/scss/_modules.scss +4 -2
  14. data/app/assets/stylesheets/scss/_navbar.scss +29 -21
  15. data/app/assets/stylesheets/scss/_vendor.scss +1 -5
  16. data/app/assets/stylesheets/scss/bootswatch/_bootswatch.scss +188 -255
  17. data/app/assets/stylesheets/scss/bootswatch/_variables.scss +80 -843
  18. data/app/assets/stylesheets/scss/components/_browser.scss +2 -2
  19. data/app/assets/stylesheets/scss/components/_mu-erd.scss +1 -1
  20. data/app/assets/stylesheets/scss/components/_mu-file-browser.scss +9 -4
  21. data/app/assets/stylesheets/scss/modules/_blockquote.scss +7 -0
  22. data/app/assets/stylesheets/scss/modules/_breadcrumb.scss +1 -1
  23. data/app/assets/stylesheets/scss/modules/_callout.scss +4 -4
  24. data/app/assets/stylesheets/scss/modules/_code.scss +5 -0
  25. data/app/assets/stylesheets/scss/modules/_conversation.scss +4 -5
  26. data/app/assets/stylesheets/scss/modules/_follow_us.scss +4 -4
  27. data/app/assets/stylesheets/scss/modules/_form.scss +19 -0
  28. data/app/assets/stylesheets/scss/modules/_multiple_scenarios.scss +5 -5
  29. data/app/assets/stylesheets/scss/modules/_new_message.scss +2 -2
  30. data/app/assets/stylesheets/scss/modules/_pre.scss +11 -0
  31. data/app/assets/stylesheets/scss/mumuki-styles.scss +2 -0
  32. data/app/assets/stylesheets/vendor/bootstrap/_accordion.scss +116 -0
  33. data/app/assets/stylesheets/vendor/bootstrap/_alert.scss +57 -0
  34. data/app/assets/stylesheets/vendor/bootstrap/_badge.scss +29 -0
  35. data/app/assets/stylesheets/vendor/bootstrap/_breadcrumb.scss +28 -0
  36. data/app/assets/stylesheets/vendor/bootstrap/_button-group.scss +139 -0
  37. data/app/assets/stylesheets/vendor/bootstrap/_buttons.scss +111 -0
  38. data/app/assets/stylesheets/vendor/bootstrap/_card.scss +215 -0
  39. data/app/assets/stylesheets/vendor/bootstrap/_carousel.scss +229 -0
  40. data/app/assets/stylesheets/vendor/bootstrap/_close.scss +40 -0
  41. data/app/assets/stylesheets/vendor/bootstrap/_containers.scss +41 -0
  42. data/app/assets/stylesheets/vendor/bootstrap/_dropdown.scss +246 -0
  43. data/app/assets/stylesheets/vendor/bootstrap/_forms.scss +9 -0
  44. data/app/assets/stylesheets/vendor/bootstrap/_functions.scss +205 -0
  45. data/app/assets/stylesheets/vendor/bootstrap/_grid.scss +22 -0
  46. data/app/assets/stylesheets/vendor/bootstrap/_helpers.scss +7 -0
  47. data/app/assets/stylesheets/vendor/bootstrap/_images.scss +42 -0
  48. data/app/assets/stylesheets/vendor/bootstrap/_list-group.scss +174 -0
  49. data/app/assets/stylesheets/vendor/bootstrap/_mixins.scss +41 -0
  50. data/app/assets/stylesheets/vendor/bootstrap/_modal.scss +237 -0
  51. data/app/assets/stylesheets/vendor/bootstrap/_nav.scss +139 -0
  52. data/app/assets/stylesheets/vendor/bootstrap/_navbar.scss +306 -0
  53. data/app/assets/stylesheets/vendor/bootstrap/_offcanvas.scss +77 -0
  54. data/app/assets/stylesheets/vendor/bootstrap/_pagination.scss +64 -0
  55. data/app/assets/stylesheets/vendor/bootstrap/_popover.scss +158 -0
  56. data/app/assets/stylesheets/vendor/bootstrap/_progress.scss +48 -0
  57. data/app/assets/stylesheets/vendor/bootstrap/_reboot.scss +621 -0
  58. data/app/assets/stylesheets/vendor/bootstrap/_root.scss +16 -0
  59. data/app/assets/stylesheets/vendor/bootstrap/_spinners.scss +69 -0
  60. data/app/assets/stylesheets/vendor/bootstrap/_tables.scss +150 -0
  61. data/app/assets/stylesheets/vendor/bootstrap/_toasts.scss +51 -0
  62. data/app/assets/stylesheets/vendor/bootstrap/_tooltip.scss +115 -0
  63. data/app/assets/stylesheets/vendor/bootstrap/_transitions.scss +21 -0
  64. data/app/assets/stylesheets/vendor/bootstrap/_type.scss +104 -0
  65. data/app/assets/stylesheets/vendor/bootstrap/_utilities.scss +594 -0
  66. data/app/assets/stylesheets/vendor/bootstrap/_variables.scss +1464 -0
  67. data/app/assets/stylesheets/vendor/bootstrap/bootstrap-utilities.scss +18 -0
  68. data/app/assets/stylesheets/vendor/bootstrap/bootstrap.scss +52 -0
  69. data/app/assets/stylesheets/vendor/bootstrap/forms/_floating-labels.scss +61 -0
  70. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-check.scss +152 -0
  71. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-control.scss +219 -0
  72. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-range.scss +91 -0
  73. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-select.scss +67 -0
  74. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-text.scss +11 -0
  75. data/app/assets/stylesheets/vendor/bootstrap/forms/_input-group.scss +121 -0
  76. data/app/assets/stylesheets/vendor/bootstrap/forms/_labels.scss +36 -0
  77. data/app/assets/stylesheets/vendor/bootstrap/forms/_validation.scss +12 -0
  78. data/app/assets/stylesheets/vendor/bootstrap/helpers/_clearfix.scss +3 -0
  79. data/app/assets/stylesheets/vendor/bootstrap/helpers/_colored-links.scss +12 -0
  80. data/app/assets/stylesheets/vendor/bootstrap/helpers/_position.scss +30 -0
  81. data/app/assets/stylesheets/vendor/bootstrap/helpers/_ratio.scss +26 -0
  82. data/app/assets/stylesheets/vendor/bootstrap/helpers/_stretched-link.scss +15 -0
  83. data/app/assets/stylesheets/vendor/bootstrap/helpers/_text-truncation.scss +7 -0
  84. data/app/assets/stylesheets/vendor/bootstrap/helpers/_visually-hidden.scss +8 -0
  85. data/app/assets/stylesheets/vendor/bootstrap/mixins/_alert.scss +11 -0
  86. data/app/assets/stylesheets/vendor/bootstrap/mixins/_border-radius.scss +78 -0
  87. data/app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss +18 -0
  88. data/app/assets/stylesheets/vendor/bootstrap/mixins/_breakpoints.scss +127 -0
  89. data/app/assets/stylesheets/vendor/bootstrap/mixins/_buttons.scss +133 -0
  90. data/app/assets/stylesheets/vendor/bootstrap/mixins/_caret.scss +64 -0
  91. data/app/assets/stylesheets/vendor/bootstrap/mixins/_clearfix.scss +9 -0
  92. data/app/assets/stylesheets/vendor/bootstrap/mixins/_container.scss +9 -0
  93. data/app/assets/stylesheets/vendor/bootstrap/mixins/_deprecate.scss +10 -0
  94. data/app/assets/stylesheets/vendor/bootstrap/mixins/_forms.scss +134 -0
  95. data/app/assets/stylesheets/vendor/bootstrap/mixins/_gradients.scss +47 -0
  96. data/app/assets/stylesheets/vendor/bootstrap/mixins/_grid.scss +120 -0
  97. data/app/assets/stylesheets/vendor/bootstrap/mixins/_image.scss +16 -0
  98. data/app/assets/stylesheets/vendor/bootstrap/mixins/_list-group.scss +24 -0
  99. data/app/assets/stylesheets/vendor/bootstrap/mixins/_lists.scss +7 -0
  100. data/app/assets/stylesheets/vendor/bootstrap/mixins/_pagination.scss +31 -0
  101. data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap → bootstrap}/mixins/_reset-text.scss +6 -7
  102. data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap → bootstrap}/mixins/_resize.scss +1 -1
  103. data/app/assets/stylesheets/vendor/bootstrap/mixins/_table-variants.scss +21 -0
  104. data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss → bootstrap/mixins/_text-truncate.scss} +2 -2
  105. data/app/assets/stylesheets/vendor/bootstrap/mixins/_transition.scss +26 -0
  106. data/app/assets/stylesheets/vendor/bootstrap/mixins/_utilities.scss +68 -0
  107. data/app/assets/stylesheets/vendor/bootstrap/mixins/_visually-hidden.scss +29 -0
  108. data/app/assets/stylesheets/vendor/bootstrap/utilities/_api.scss +47 -0
  109. data/app/assets/stylesheets/vendor/bootstrap/vendor/_rfs.scss +312 -0
  110. data/app/assets/stylesheets/vendor/dev-awesome/dist/scss/_dev-awesome.scss +3 -3
  111. data/lib/mumuki/styles/version.rb +1 -1
  112. metadata +86 -83
  113. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  114. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -288
  115. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  116. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  117. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  118. data/app/assets/stylesheets/scss/_awesome-bootstrap-checkbox-overrides.scss +0 -8
  119. data/app/assets/stylesheets/scss/modules/_checkbox.scss +0 -65
  120. data/app/assets/stylesheets/scss/modules/_notification.scss +0 -15
  121. data/app/assets/stylesheets/vendor/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss +0 -245
  122. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap.scss +0 -56
  123. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +0 -73
  124. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +0 -68
  125. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -28
  126. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +0 -244
  127. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +0 -168
  128. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +0 -270
  129. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +0 -36
  130. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +0 -69
  131. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +0 -37
  132. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +0 -216
  133. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +0 -617
  134. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +0 -307
  135. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +0 -84
  136. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +0 -171
  137. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +0 -54
  138. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +0 -66
  139. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +0 -130
  140. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +0 -66
  141. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +0 -40
  142. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +0 -150
  143. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +0 -662
  144. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +0 -242
  145. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +0 -424
  146. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +0 -54
  147. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +0 -89
  148. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +0 -271
  149. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +0 -131
  150. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +0 -101
  151. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +0 -87
  152. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +0 -35
  153. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -179
  154. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +0 -161
  155. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +0 -234
  156. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
  157. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +0 -101
  158. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +0 -298
  159. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +0 -55
  160. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +0 -874
  161. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +0 -29
  162. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
  163. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -12
  164. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +0 -18
  165. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +0 -65
  166. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
  167. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +0 -22
  168. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -88
  169. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +0 -58
  170. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -81
  171. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +0 -122
  172. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
  173. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +0 -33
  174. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +0 -12
  175. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -32
  176. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
  177. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  178. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
  179. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +0 -24
  180. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +0 -24
  181. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
  182. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
  183. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
  184. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +0 -10
  185. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
  186. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -28
  187. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -12
  188. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  189. data/app/assets/stylesheets/vendor/fontawesome-free/scss/_shims.scss +0 -2066
  190. data/app/assets/stylesheets/vendor/fontawesome-free/scss/v4-shims.scss +0 -6
@@ -0,0 +1,16 @@
1
+ :root {
2
+ // Custom variable values only support SassScript inside `#{}`.
3
+ @each $color, $value in $colors {
4
+ --#{$variable-prefix}#{$color}: #{$value};
5
+ }
6
+
7
+ @each $color, $value in $theme-colors {
8
+ --#{$variable-prefix}#{$color}: #{$value};
9
+ }
10
+
11
+ // Use `inspect` for lists so that quoted items keep the quotes.
12
+ // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
13
+ --#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
14
+ --#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};
15
+ --#{$variable-prefix}gradient: #{$gradient};
16
+ }
@@ -0,0 +1,69 @@
1
+ //
2
+ // Rotating border
3
+ //
4
+
5
+ // scss-docs-start spinner-border-keyframes
6
+ @keyframes spinner-border {
7
+ to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }
8
+ }
9
+ // scss-docs-end spinner-border-keyframes
10
+
11
+ .spinner-border {
12
+ display: inline-block;
13
+ width: $spinner-width;
14
+ height: $spinner-height;
15
+ vertical-align: text-bottom;
16
+ border: $spinner-border-width solid currentColor;
17
+ border-right-color: transparent;
18
+ // stylelint-disable-next-line property-disallowed-list
19
+ border-radius: 50%;
20
+ animation: $spinner-animation-speed linear infinite spinner-border;
21
+ }
22
+
23
+ .spinner-border-sm {
24
+ width: $spinner-width-sm;
25
+ height: $spinner-height-sm;
26
+ border-width: $spinner-border-width-sm;
27
+ }
28
+
29
+ //
30
+ // Growing circle
31
+ //
32
+
33
+ // scss-docs-start spinner-grow-keyframes
34
+ @keyframes spinner-grow {
35
+ 0% {
36
+ transform: scale(0);
37
+ }
38
+ 50% {
39
+ opacity: 1;
40
+ transform: none;
41
+ }
42
+ }
43
+ // scss-docs-end spinner-grow-keyframes
44
+
45
+ .spinner-grow {
46
+ display: inline-block;
47
+ width: $spinner-width;
48
+ height: $spinner-height;
49
+ vertical-align: text-bottom;
50
+ background-color: currentColor;
51
+ // stylelint-disable-next-line property-disallowed-list
52
+ border-radius: 50%;
53
+ opacity: 0;
54
+ animation: $spinner-animation-speed linear infinite spinner-grow;
55
+ }
56
+
57
+ .spinner-grow-sm {
58
+ width: $spinner-width-sm;
59
+ height: $spinner-height-sm;
60
+ }
61
+
62
+ @if $enable-reduced-motion {
63
+ @media (prefers-reduced-motion: reduce) {
64
+ .spinner-border,
65
+ .spinner-grow {
66
+ animation-duration: $spinner-animation-speed * 2;
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,150 @@
1
+ //
2
+ // Basic Bootstrap table
3
+ //
4
+
5
+ .table {
6
+ --#{$variable-prefix}table-bg: #{$table-bg};
7
+ --#{$variable-prefix}table-striped-color: #{$table-striped-color};
8
+ --#{$variable-prefix}table-striped-bg: #{$table-striped-bg};
9
+ --#{$variable-prefix}table-active-color: #{$table-active-color};
10
+ --#{$variable-prefix}table-active-bg: #{$table-active-bg};
11
+ --#{$variable-prefix}table-hover-color: #{$table-hover-color};
12
+ --#{$variable-prefix}table-hover-bg: #{$table-hover-bg};
13
+
14
+ width: 100%;
15
+ margin-bottom: $spacer;
16
+ color: $table-color;
17
+ vertical-align: $table-cell-vertical-align;
18
+ border-color: $table-border-color;
19
+
20
+ // Target th & td
21
+ // We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.
22
+ // We use the universal selectors here to simplify the selector (else we would need 6 different selectors).
23
+ // Another advantage is that this generates less code and makes the selector less specific making it easier to override.
24
+ // stylelint-disable-next-line selector-max-universal
25
+ > :not(caption) > * > * {
26
+ padding: $table-cell-padding-y $table-cell-padding-x;
27
+ background-color: var(--#{$variable-prefix}table-bg);
28
+ border-bottom-width: $table-border-width;
29
+ box-shadow: inset 0 0 0 9999px var(--#{$variable-prefix}table-accent-bg);
30
+ }
31
+
32
+ > tbody {
33
+ vertical-align: inherit;
34
+ }
35
+
36
+ > thead {
37
+ vertical-align: bottom;
38
+ }
39
+
40
+ // Highlight border color between thead, tbody and tfoot.
41
+ > :not(:last-child) > :last-child > * {
42
+ border-bottom-color: $table-group-separator-color;
43
+ }
44
+ }
45
+
46
+
47
+ //
48
+ // Change placement of captions with a class
49
+ //
50
+
51
+ .caption-top {
52
+ caption-side: top;
53
+ }
54
+
55
+
56
+ //
57
+ // Condensed table w/ half padding
58
+ //
59
+
60
+ .table-sm {
61
+ // stylelint-disable-next-line selector-max-universal
62
+ > :not(caption) > * > * {
63
+ padding: $table-cell-padding-y-sm $table-cell-padding-x-sm;
64
+ }
65
+ }
66
+
67
+
68
+ // Border versions
69
+ //
70
+ // Add or remove borders all around the table and between all the columns.
71
+ //
72
+ // When borders are added on all sides of the cells, the corners can render odd when
73
+ // these borders do not have the same color or if they are semi-transparent.
74
+ // Therefor we add top and border bottoms to the `tr`s and left and right borders
75
+ // to the `td`s or `th`s
76
+
77
+ .table-bordered {
78
+ > :not(caption) > * {
79
+ border-width: $table-border-width 0;
80
+
81
+ // stylelint-disable-next-line selector-max-universal
82
+ > * {
83
+ border-width: 0 $table-border-width;
84
+ }
85
+ }
86
+ }
87
+
88
+ .table-borderless {
89
+ // stylelint-disable-next-line selector-max-universal
90
+ > :not(caption) > * > * {
91
+ border-bottom-width: 0;
92
+ }
93
+ }
94
+
95
+ // Zebra-striping
96
+ //
97
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
98
+
99
+ .table-striped {
100
+ > tbody > tr:nth-of-type(#{$table-striped-order}) {
101
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-striped-bg);
102
+ color: var(--#{$variable-prefix}table-striped-color);
103
+ }
104
+ }
105
+
106
+ // Active table
107
+ //
108
+ // The `.table-active` class can be added to highlight rows or cells
109
+
110
+ .table-active {
111
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-active-bg);
112
+ color: var(--#{$variable-prefix}table-active-color);
113
+ }
114
+
115
+ // Hover effect
116
+ //
117
+ // Placed here since it has to come after the potential zebra striping
118
+
119
+ .table-hover {
120
+ > tbody > tr:hover {
121
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
122
+ color: var(--#{$variable-prefix}table-hover-color);
123
+ }
124
+ }
125
+
126
+
127
+ // Table variants
128
+ //
129
+ // Table variants set the table cell backgrounds, border colors
130
+ // and the colors of the striped, hovered & active tables
131
+
132
+ @each $color, $value in $table-variants {
133
+ @include table-variant($color, $value);
134
+ }
135
+
136
+ // Responsive tables
137
+ //
138
+ // Generate series of `.table-responsive-*` classes for configuring the screen
139
+ // size of where your table will overflow.
140
+
141
+ @each $breakpoint in map-keys($grid-breakpoints) {
142
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
143
+
144
+ @include media-breakpoint-down($breakpoint) {
145
+ .table-responsive#{$infix} {
146
+ overflow-x: auto;
147
+ -webkit-overflow-scrolling: touch;
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,51 @@
1
+ .toast {
2
+ width: $toast-max-width;
3
+ max-width: 100%;
4
+ @include font-size($toast-font-size);
5
+ color: $toast-color;
6
+ pointer-events: auto;
7
+ background-color: $toast-background-color;
8
+ background-clip: padding-box;
9
+ border: $toast-border-width solid $toast-border-color;
10
+ box-shadow: $toast-box-shadow;
11
+ @include border-radius($toast-border-radius);
12
+
13
+ &:not(.showing):not(.show) {
14
+ opacity: 0;
15
+ }
16
+
17
+ &.hide {
18
+ display: none;
19
+ }
20
+ }
21
+
22
+ .toast-container {
23
+ width: max-content;
24
+ max-width: 100%;
25
+ pointer-events: none;
26
+
27
+ > :not(:last-child) {
28
+ margin-bottom: $toast-spacing;
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
+ @include border-top-radius(subtract($toast-border-radius, $toast-border-width));
41
+
42
+ .btn-close {
43
+ margin-right: $toast-padding-x / -2;
44
+ margin-left: $toast-padding-x;
45
+ }
46
+ }
47
+
48
+ .toast-body {
49
+ padding: $toast-padding-x; // apply to both vertical and horizontal
50
+ word-wrap: break-word;
51
+ }
@@ -0,0 +1,115 @@
1
+ // Base class
2
+ .tooltip {
3
+ position: absolute;
4
+ z-index: $zindex-tooltip;
5
+ display: block;
6
+ margin: $tooltip-margin;
7
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
8
+ // So reset our font and text properties to avoid inheriting weird values.
9
+ @include reset-text();
10
+ @include font-size($tooltip-font-size);
11
+ // Allow breaking very long words so they don't overflow the tooltip's bounds
12
+ word-wrap: break-word;
13
+ opacity: 0;
14
+
15
+ &.show { opacity: $tooltip-opacity; }
16
+
17
+ .tooltip-arrow {
18
+ position: absolute;
19
+ display: block;
20
+ width: $tooltip-arrow-width;
21
+ height: $tooltip-arrow-height;
22
+
23
+ &::before {
24
+ position: absolute;
25
+ content: "";
26
+ border-color: transparent;
27
+ border-style: solid;
28
+ }
29
+ }
30
+ }
31
+
32
+ .bs-tooltip-top {
33
+ padding: $tooltip-arrow-height 0;
34
+
35
+ .tooltip-arrow {
36
+ bottom: 0;
37
+
38
+ &::before {
39
+ top: -1px;
40
+ border-width: $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
41
+ border-top-color: $tooltip-arrow-color;
42
+ }
43
+ }
44
+ }
45
+
46
+ .bs-tooltip-end {
47
+ padding: 0 $tooltip-arrow-height;
48
+
49
+ .tooltip-arrow {
50
+ left: 0;
51
+ width: $tooltip-arrow-height;
52
+ height: $tooltip-arrow-width;
53
+
54
+ &::before {
55
+ right: -1px;
56
+ border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
57
+ border-right-color: $tooltip-arrow-color;
58
+ }
59
+ }
60
+ }
61
+
62
+ .bs-tooltip-bottom {
63
+ padding: $tooltip-arrow-height 0;
64
+
65
+ .tooltip-arrow {
66
+ top: 0;
67
+
68
+ &::before {
69
+ bottom: -1px;
70
+ border-width: 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
71
+ border-bottom-color: $tooltip-arrow-color;
72
+ }
73
+ }
74
+ }
75
+
76
+ .bs-tooltip-start {
77
+ padding: 0 $tooltip-arrow-height;
78
+
79
+ .tooltip-arrow {
80
+ right: 0;
81
+ width: $tooltip-arrow-height;
82
+ height: $tooltip-arrow-width;
83
+
84
+ &::before {
85
+ left: -1px;
86
+ border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
87
+ border-left-color: $tooltip-arrow-color;
88
+ }
89
+ }
90
+ }
91
+
92
+ .bs-tooltip-auto {
93
+ &[data-popper-placement^="top"] {
94
+ @extend .bs-tooltip-top;
95
+ }
96
+ &[data-popper-placement^="right"] {
97
+ @extend .bs-tooltip-end;
98
+ }
99
+ &[data-popper-placement^="bottom"] {
100
+ @extend .bs-tooltip-bottom;
101
+ }
102
+ &[data-popper-placement^="left"] {
103
+ @extend .bs-tooltip-start;
104
+ }
105
+ }
106
+
107
+ // Wrapper for the tooltip content
108
+ .tooltip-inner {
109
+ max-width: $tooltip-max-width;
110
+ padding: $tooltip-padding-y $tooltip-padding-x;
111
+ color: $tooltip-color;
112
+ text-align: center;
113
+ background-color: $tooltip-bg;
114
+ @include border-radius($tooltip-border-radius);
115
+ }
@@ -0,0 +1,21 @@
1
+ .fade {
2
+ @include transition($transition-fade);
3
+
4
+ &:not(.show) {
5
+ opacity: 0;
6
+ }
7
+ }
8
+
9
+ // scss-docs-start collapse-classes
10
+ .collapse {
11
+ &:not(.show) {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .collapsing {
17
+ height: 0;
18
+ overflow: hidden;
19
+ @include transition($transition-collapse);
20
+ }
21
+ // scss-docs-end collapse-classes
@@ -0,0 +1,104 @@
1
+ //
2
+ // Headings
3
+ //
4
+ .h1 {
5
+ @extend h1;
6
+ }
7
+
8
+ .h2 {
9
+ @extend h2;
10
+ }
11
+
12
+ .h3 {
13
+ @extend h3;
14
+ }
15
+
16
+ .h4 {
17
+ @extend h4;
18
+ }
19
+
20
+ .h5 {
21
+ @extend h5;
22
+ }
23
+
24
+ .h6 {
25
+ @extend h6;
26
+ }
27
+
28
+
29
+ .lead {
30
+ @include font-size($lead-font-size);
31
+ font-weight: $lead-font-weight;
32
+ }
33
+
34
+ // Type display classes
35
+ @each $display, $font-size in $display-font-sizes {
36
+ .display-#{$display} {
37
+ @include font-size($font-size);
38
+ font-weight: $display-font-weight;
39
+ line-height: $display-line-height;
40
+ }
41
+ }
42
+
43
+ //
44
+ // Emphasis
45
+ //
46
+ .small {
47
+ @extend small;
48
+ }
49
+
50
+ .mark {
51
+ @extend mark;
52
+ }
53
+
54
+ //
55
+ // Lists
56
+ //
57
+
58
+ .list-unstyled {
59
+ @include list-unstyled();
60
+ }
61
+
62
+ // Inline turns list items into inline-block
63
+ .list-inline {
64
+ @include list-unstyled();
65
+ }
66
+ .list-inline-item {
67
+ display: inline-block;
68
+
69
+ &:not(:last-child) {
70
+ margin-right: $list-inline-padding;
71
+ }
72
+ }
73
+
74
+
75
+ //
76
+ // Misc
77
+ //
78
+
79
+ // Builds on `abbr`
80
+ .initialism {
81
+ @include font-size($initialism-font-size);
82
+ text-transform: uppercase;
83
+ }
84
+
85
+ // Blockquotes
86
+ .blockquote {
87
+ margin-bottom: $blockquote-margin-y;
88
+ @include font-size($blockquote-font-size);
89
+
90
+ > :last-child {
91
+ margin-bottom: 0;
92
+ }
93
+ }
94
+
95
+ .blockquote-footer {
96
+ margin-top: -$blockquote-margin-y;
97
+ margin-bottom: $blockquote-margin-y;
98
+ @include font-size($blockquote-footer-font-size);
99
+ color: $blockquote-footer-color;
100
+
101
+ &::before {
102
+ content: "\2014\00A0"; // em dash, nbsp
103
+ }
104
+ }