jekyll-theme-centos 2.3.0.beta.103 → 2.3.0.beta.108

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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/_data/base/footer.yml +32 -0
  3. data/_data/base/identity.yml +20 -0
  4. data/_data/base/navbar.yml +74 -0
  5. data/_data/base/navbar_absolute.yml +74 -0
  6. data/_data/base/navbar_component.yml +60 -0
  7. data/_includes/base/announcements.html +6 -0
  8. data/_includes/base/breadcrumbs.html +13 -0
  9. data/_includes/base/footer.html +61 -0
  10. data/_includes/base/head.html +17 -0
  11. data/_includes/base/header.html +17 -0
  12. data/_includes/base/navbar.html +32 -0
  13. data/_includes/base/script.html +70 -0
  14. data/_includes/base/toc-accordion.html +10 -0
  15. data/_includes/base/toc.html +99 -0
  16. data/_layouts/base/default.html +31 -0
  17. data/_sass/base/_centos-lists.scss +132 -0
  18. data/_sass/base/_centos.scss +80 -0
  19. data/_sass/base/_variables.scss +24 -0
  20. data/_sass/bootstrap/_accordion.scss +158 -0
  21. data/_sass/bootstrap/_alert.scss +68 -0
  22. data/_sass/bootstrap/_badge.scss +38 -0
  23. data/_sass/bootstrap/_breadcrumb.scss +40 -0
  24. data/_sass/bootstrap/_button-group.scss +142 -0
  25. data/_sass/bootstrap/_buttons.scss +207 -0
  26. data/_sass/bootstrap/_card.scss +239 -0
  27. data/_sass/bootstrap/_carousel.scss +244 -0
  28. data/_sass/bootstrap/_close.scss +63 -0
  29. data/_sass/bootstrap/_containers.scss +41 -0
  30. data/_sass/bootstrap/_dropdown.scss +250 -0
  31. data/_sass/bootstrap/_forms.scss +9 -0
  32. data/_sass/bootstrap/_functions.scss +302 -0
  33. data/_sass/bootstrap/_grid.scss +39 -0
  34. data/_sass/bootstrap/_helpers.scss +12 -0
  35. data/_sass/bootstrap/_images.scss +42 -0
  36. data/_sass/bootstrap/_list-group.scss +197 -0
  37. data/_sass/bootstrap/_maps.scss +174 -0
  38. data/_sass/bootstrap/_mixins.scss +42 -0
  39. data/_sass/bootstrap/_modal.scss +237 -0
  40. data/_sass/bootstrap/_nav.scss +209 -0
  41. data/_sass/bootstrap/_navbar.scss +289 -0
  42. data/_sass/bootstrap/_offcanvas.scss +146 -0
  43. data/_sass/bootstrap/_pagination.scss +109 -0
  44. data/_sass/bootstrap/_placeholders.scss +51 -0
  45. data/_sass/bootstrap/_popover.scss +196 -0
  46. data/_sass/bootstrap/_progress.scss +68 -0
  47. data/_sass/bootstrap/_reboot.scss +610 -0
  48. data/_sass/bootstrap/_root.scss +184 -0
  49. data/_sass/bootstrap/_spinners.scss +85 -0
  50. data/_sass/bootstrap/_tables.scss +171 -0
  51. data/_sass/bootstrap/_toasts.scss +73 -0
  52. data/_sass/bootstrap/_tooltip.scss +119 -0
  53. data/_sass/bootstrap/_transitions.scss +27 -0
  54. data/_sass/bootstrap/_type.scss +106 -0
  55. data/_sass/bootstrap/_utilities.scss +806 -0
  56. data/_sass/bootstrap/_variables-dark.scss +85 -0
  57. data/_sass/bootstrap/_variables.scss +1743 -0
  58. data/_sass/bootstrap/bootstrap-grid.scss +62 -0
  59. data/_sass/bootstrap/bootstrap-reboot.scss +10 -0
  60. data/_sass/bootstrap/bootstrap-utilities.scss +19 -0
  61. data/_sass/bootstrap/bootstrap.scss +52 -0
  62. data/_sass/bootstrap/forms/_floating-labels.scss +94 -0
  63. data/_sass/bootstrap/forms/_form-check.scss +188 -0
  64. data/_sass/bootstrap/forms/_form-control.scss +214 -0
  65. data/_sass/bootstrap/forms/_form-range.scss +91 -0
  66. data/_sass/bootstrap/forms/_form-select.scss +80 -0
  67. data/_sass/bootstrap/forms/_form-text.scss +11 -0
  68. data/_sass/bootstrap/forms/_input-group.scss +132 -0
  69. data/_sass/bootstrap/forms/_labels.scss +36 -0
  70. data/_sass/bootstrap/forms/_validation.scss +12 -0
  71. data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
  72. data/_sass/bootstrap/helpers/_color-bg.scss +8 -0
  73. data/_sass/bootstrap/helpers/_colored-links.scss +30 -0
  74. data/_sass/bootstrap/helpers/_focus-ring.scss +5 -0
  75. data/_sass/bootstrap/helpers/_icon-link.scss +25 -0
  76. data/_sass/bootstrap/helpers/_position.scss +36 -0
  77. data/_sass/bootstrap/helpers/_ratio.scss +26 -0
  78. data/_sass/bootstrap/helpers/_stacks.scss +15 -0
  79. data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
  80. data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
  81. data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
  82. data/_sass/bootstrap/helpers/_vr.scss +8 -0
  83. data/_sass/bootstrap/mixins/_alert.scss +18 -0
  84. data/_sass/bootstrap/mixins/_backdrop.scss +14 -0
  85. data/_sass/bootstrap/mixins/_banner.scss +7 -0
  86. data/_sass/bootstrap/mixins/_border-radius.scss +78 -0
  87. data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
  88. data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
  89. data/_sass/bootstrap/mixins/_buttons.scss +70 -0
  90. data/_sass/bootstrap/mixins/_caret.scss +69 -0
  91. data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
  92. data/_sass/bootstrap/mixins/_color-mode.scss +21 -0
  93. data/_sass/bootstrap/mixins/_color-scheme.scss +7 -0
  94. data/_sass/bootstrap/mixins/_container.scss +11 -0
  95. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  96. data/_sass/bootstrap/mixins/_forms.scss +153 -0
  97. data/_sass/bootstrap/mixins/_gradients.scss +47 -0
  98. data/_sass/bootstrap/mixins/_grid.scss +151 -0
  99. data/_sass/bootstrap/mixins/_image.scss +16 -0
  100. data/_sass/bootstrap/mixins/_list-group.scss +26 -0
  101. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  102. data/_sass/bootstrap/mixins/_pagination.scss +10 -0
  103. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  104. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  105. data/_sass/bootstrap/mixins/_table-variants.scss +24 -0
  106. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  107. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  108. data/_sass/bootstrap/mixins/_utilities.scss +97 -0
  109. data/_sass/bootstrap/mixins/_visually-hidden.scss +33 -0
  110. data/_sass/bootstrap/utilities/_api.scss +47 -0
  111. data/_sass/bootstrap/vendor/_rfs.scss +348 -0
  112. data/assets/css/dataTables.bootstrap5.css +430 -0
  113. data/assets/css/dataTables.bootstrap5.min.css +5 -0
  114. data/assets/icons/android-chrome-192.png +0 -0
  115. data/assets/icons/android-chrome-512.png +0 -0
  116. data/assets/icons/apple-touch-icon.png +0 -0
  117. data/assets/icons/favicon-16.png +0 -0
  118. data/assets/icons/favicon-32.png +0 -0
  119. data/assets/icons/favicon.ico +0 -0
  120. data/assets/icons/favicon.svg +1 -0
  121. data/assets/img/anaconda-symbolic.svg +1 -0
  122. data/assets/img/anaconda.svg +1 -0
  123. data/assets/img/centos-dynamicmsg-logo.svg +1 -0
  124. data/assets/img/centos-dynamicmsg-type.svg +1 -0
  125. data/assets/img/centos-dynamicmsg-whitelogo.svg +1 -0
  126. data/assets/img/centos-dynamicmsg-whitetype.svg +1 -0
  127. data/assets/img/centos-gdm-whitelogo.svg +1 -0
  128. data/assets/img/centos-ipa-whiteheader.svg +1 -0
  129. data/assets/img/centos-logo-2bits.svg +1 -0
  130. data/assets/img/centos-logo.svg +1 -0
  131. data/assets/img/centos-message-logo.svg +1 -0
  132. data/assets/img/centos-motif.png +0 -0
  133. data/assets/img/centos-poweredby-logo.svg +1 -0
  134. data/assets/img/centos-symbol-2bits.svg +1 -0
  135. data/assets/img/centos-symbol.svg +1 -0
  136. data/assets/img/centos-type.svg +1 -0
  137. data/assets/img/centos-vertical-logo.svg +1 -0
  138. data/assets/img/centos-vertical-message-logo.svg +1 -0
  139. data/assets/img/centos-whitelogo.svg +1 -0
  140. data/assets/img/sort_asc.png +0 -0
  141. data/assets/img/sort_asc_disabled.png +0 -0
  142. data/assets/img/sort_both.png +0 -0
  143. data/assets/img/sort_desc.png +0 -0
  144. data/assets/img/sort_desc_disabled.png +0 -0
  145. data/assets/js/bootstrap.bundle.js +6306 -0
  146. data/assets/js/bootstrap.bundle.js.map +1 -0
  147. data/assets/js/bootstrap.bundle.min.js +7 -0
  148. data/assets/js/bootstrap.bundle.min.js.map +1 -0
  149. data/assets/js/bootstrap.esm.js +4439 -0
  150. data/assets/js/bootstrap.esm.js.map +1 -0
  151. data/assets/js/bootstrap.esm.min.js +7 -0
  152. data/assets/js/bootstrap.esm.min.js.map +1 -0
  153. data/assets/js/bootstrap.js +4486 -0
  154. data/assets/js/bootstrap.js.map +1 -0
  155. data/assets/js/bootstrap.min.js +7 -0
  156. data/assets/js/bootstrap.min.js.map +1 -0
  157. data/assets/js/clipboard.min.js +7 -0
  158. data/assets/js/dataTables.bootstrap5.min.js +4 -0
  159. data/assets/js/jquery.dataTables.min.js +4 -0
  160. data/assets/js/jquery.min.js +2 -0
  161. data/assets/js/jquery.slim.min.js +2 -0
  162. data/assets/js/vanilla-back-to-top.min.js +1 -0
  163. metadata +162 -1
@@ -0,0 +1,184 @@
1
+ :root,
2
+ [data-bs-theme="light"] {
3
+ // Note: Custom variable values only support SassScript inside `#{}`.
4
+
5
+ // Colors
6
+ //
7
+ // Generate palettes for full colors, grays, and theme colors.
8
+
9
+ @each $color, $value in $colors {
10
+ --#{$prefix}#{$color}: #{$value};
11
+ }
12
+
13
+ @each $color, $value in $grays {
14
+ --#{$prefix}gray-#{$color}: #{$value};
15
+ }
16
+
17
+ @each $color, $value in $theme-colors {
18
+ --#{$prefix}#{$color}: #{$value};
19
+ }
20
+
21
+ @each $color, $value in $theme-colors-rgb {
22
+ --#{$prefix}#{$color}-rgb: #{$value};
23
+ }
24
+
25
+ @each $color, $value in $theme-colors-text {
26
+ --#{$prefix}#{$color}-text-emphasis: #{$value};
27
+ }
28
+
29
+ @each $color, $value in $theme-colors-bg-subtle {
30
+ --#{$prefix}#{$color}-bg-subtle: #{$value};
31
+ }
32
+
33
+ @each $color, $value in $theme-colors-border-subtle {
34
+ --#{$prefix}#{$color}-border-subtle: #{$value};
35
+ }
36
+
37
+ --#{$prefix}white-rgb: #{to-rgb($white)};
38
+ --#{$prefix}black-rgb: #{to-rgb($black)};
39
+
40
+ // Fonts
41
+
42
+ // Note: Use `inspect` for lists so that quoted items keep the quotes.
43
+ // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
44
+ --#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
45
+ --#{$prefix}font-monospace: #{inspect($font-family-monospace)};
46
+ --#{$prefix}gradient: #{$gradient};
47
+
48
+ // Root and body
49
+ // scss-docs-start root-body-variables
50
+ @if $font-size-root != null {
51
+ --#{$prefix}root-font-size: #{$font-size-root};
52
+ }
53
+ --#{$prefix}body-font-family: #{inspect($font-family-base)};
54
+ @include rfs($font-size-base, --#{$prefix}body-font-size);
55
+ --#{$prefix}body-font-weight: #{$font-weight-base};
56
+ --#{$prefix}body-line-height: #{$line-height-base};
57
+ @if $body-text-align != null {
58
+ --#{$prefix}body-text-align: #{$body-text-align};
59
+ }
60
+
61
+ --#{$prefix}body-color: #{$body-color};
62
+ --#{$prefix}body-color-rgb: #{to-rgb($body-color)};
63
+ --#{$prefix}body-bg: #{$body-bg};
64
+ --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
65
+
66
+ --#{$prefix}emphasis-color: #{$body-emphasis-color};
67
+ --#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color)};
68
+
69
+ --#{$prefix}secondary-color: #{$body-secondary-color};
70
+ --#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color)};
71
+ --#{$prefix}secondary-bg: #{$body-secondary-bg};
72
+ --#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg)};
73
+
74
+ --#{$prefix}tertiary-color: #{$body-tertiary-color};
75
+ --#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color)};
76
+ --#{$prefix}tertiary-bg: #{$body-tertiary-bg};
77
+ --#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};
78
+ // scss-docs-end root-body-variables
79
+
80
+ --#{$prefix}heading-color: #{$headings-color};
81
+
82
+ --#{$prefix}link-color: #{$link-color};
83
+ --#{$prefix}link-color-rgb: #{to-rgb($link-color)};
84
+ --#{$prefix}link-decoration: #{$link-decoration};
85
+
86
+ --#{$prefix}link-hover-color: #{$link-hover-color};
87
+ --#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color)};
88
+
89
+ @if $link-hover-decoration != null {
90
+ --#{$prefix}link-hover-decoration: #{$link-hover-decoration};
91
+ }
92
+
93
+ --#{$prefix}code-color: #{$code-color};
94
+ --#{$prefix}highlight-bg: #{$mark-bg};
95
+
96
+ // scss-docs-start root-border-var
97
+ --#{$prefix}border-width: #{$border-width};
98
+ --#{$prefix}border-style: #{$border-style};
99
+ --#{$prefix}border-color: #{$border-color};
100
+ --#{$prefix}border-color-translucent: #{$border-color-translucent};
101
+
102
+ --#{$prefix}border-radius: #{$border-radius};
103
+ --#{$prefix}border-radius-sm: #{$border-radius-sm};
104
+ --#{$prefix}border-radius-lg: #{$border-radius-lg};
105
+ --#{$prefix}border-radius-xl: #{$border-radius-xl};
106
+ --#{$prefix}border-radius-xxl: #{$border-radius-xxl};
107
+ --#{$prefix}border-radius-2xl: var(--#{$prefix}border-radius-xxl); // Deprecated in v5.3.0 for consistency
108
+ --#{$prefix}border-radius-pill: #{$border-radius-pill};
109
+ // scss-docs-end root-border-var
110
+
111
+ --#{$prefix}box-shadow: #{$box-shadow};
112
+ --#{$prefix}box-shadow-sm: #{$box-shadow-sm};
113
+ --#{$prefix}box-shadow-lg: #{$box-shadow-lg};
114
+ --#{$prefix}box-shadow-inset: #{$box-shadow-inset};
115
+
116
+ // Focus styles
117
+ // scss-docs-start root-focus-variables
118
+ --#{$prefix}focus-ring-width: #{$focus-ring-width};
119
+ --#{$prefix}focus-ring-opacity: #{$focus-ring-opacity};
120
+ --#{$prefix}focus-ring-color: #{$focus-ring-color};
121
+ // scss-docs-end root-focus-variables
122
+
123
+ // scss-docs-start root-form-validation-variables
124
+ --#{$prefix}form-valid-color: #{$form-valid-color};
125
+ --#{$prefix}form-valid-border-color: #{$form-valid-border-color};
126
+ --#{$prefix}form-invalid-color: #{$form-invalid-color};
127
+ --#{$prefix}form-invalid-border-color: #{$form-invalid-border-color};
128
+ // scss-docs-end root-form-validation-variables
129
+ }
130
+
131
+ @if $enable-dark-mode {
132
+ @include color-mode(dark, true) {
133
+ color-scheme: dark;
134
+
135
+ // scss-docs-start root-dark-mode-vars
136
+ --#{$prefix}body-color: #{$body-color-dark};
137
+ --#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};
138
+ --#{$prefix}body-bg: #{$body-bg-dark};
139
+ --#{$prefix}body-bg-rgb: #{to-rgb($body-bg-dark)};
140
+
141
+ --#{$prefix}emphasis-color: #{$body-emphasis-color-dark};
142
+ --#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)};
143
+
144
+ --#{$prefix}secondary-color: #{$body-secondary-color-dark};
145
+ --#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color-dark)};
146
+ --#{$prefix}secondary-bg: #{$body-secondary-bg-dark};
147
+ --#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg-dark)};
148
+
149
+ --#{$prefix}tertiary-color: #{$body-tertiary-color-dark};
150
+ --#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color-dark)};
151
+ --#{$prefix}tertiary-bg: #{$body-tertiary-bg-dark};
152
+ --#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg-dark)};
153
+
154
+ @each $color, $value in $theme-colors-text-dark {
155
+ --#{$prefix}#{$color}-text-emphasis: #{$value};
156
+ }
157
+
158
+ @each $color, $value in $theme-colors-bg-subtle-dark {
159
+ --#{$prefix}#{$color}-bg-subtle: #{$value};
160
+ }
161
+
162
+ @each $color, $value in $theme-colors-border-subtle-dark {
163
+ --#{$prefix}#{$color}-border-subtle: #{$value};
164
+ }
165
+
166
+ --#{$prefix}heading-color: #{$headings-color-dark};
167
+
168
+ --#{$prefix}link-color: #{$link-color-dark};
169
+ --#{$prefix}link-hover-color: #{$link-hover-color-dark};
170
+ --#{$prefix}link-color-rgb: #{to-rgb($link-color-dark)};
171
+ --#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color-dark)};
172
+
173
+ --#{$prefix}code-color: #{$code-color-dark};
174
+
175
+ --#{$prefix}border-color: #{$border-color-dark};
176
+ --#{$prefix}border-color-translucent: #{$border-color-translucent-dark};
177
+
178
+ --#{$prefix}form-valid-color: #{$form-valid-color-dark};
179
+ --#{$prefix}form-valid-border-color: #{$form-valid-border-color-dark};
180
+ --#{$prefix}form-invalid-color: #{$form-invalid-color-dark};
181
+ --#{$prefix}form-invalid-border-color: #{$form-invalid-border-color-dark};
182
+ // scss-docs-end root-dark-mode-vars
183
+ }
184
+ }
@@ -0,0 +1,85 @@
1
+ //
2
+ // Rotating border
3
+ //
4
+
5
+ .spinner-grow,
6
+ .spinner-border {
7
+ display: inline-block;
8
+ width: var(--#{$prefix}spinner-width);
9
+ height: var(--#{$prefix}spinner-height);
10
+ vertical-align: var(--#{$prefix}spinner-vertical-align);
11
+ // stylelint-disable-next-line property-disallowed-list
12
+ border-radius: 50%;
13
+ animation: var(--#{$prefix}spinner-animation-speed) linear infinite var(--#{$prefix}spinner-animation-name);
14
+ }
15
+
16
+ // scss-docs-start spinner-border-keyframes
17
+ @keyframes spinner-border {
18
+ to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }
19
+ }
20
+ // scss-docs-end spinner-border-keyframes
21
+
22
+ .spinner-border {
23
+ // scss-docs-start spinner-border-css-vars
24
+ --#{$prefix}spinner-width: #{$spinner-width};
25
+ --#{$prefix}spinner-height: #{$spinner-height};
26
+ --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};
27
+ --#{$prefix}spinner-border-width: #{$spinner-border-width};
28
+ --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};
29
+ --#{$prefix}spinner-animation-name: spinner-border;
30
+ // scss-docs-end spinner-border-css-vars
31
+
32
+ border: var(--#{$prefix}spinner-border-width) solid currentcolor;
33
+ border-right-color: transparent;
34
+ }
35
+
36
+ .spinner-border-sm {
37
+ // scss-docs-start spinner-border-sm-css-vars
38
+ --#{$prefix}spinner-width: #{$spinner-width-sm};
39
+ --#{$prefix}spinner-height: #{$spinner-height-sm};
40
+ --#{$prefix}spinner-border-width: #{$spinner-border-width-sm};
41
+ // scss-docs-end spinner-border-sm-css-vars
42
+ }
43
+
44
+ //
45
+ // Growing circle
46
+ //
47
+
48
+ // scss-docs-start spinner-grow-keyframes
49
+ @keyframes spinner-grow {
50
+ 0% {
51
+ transform: scale(0);
52
+ }
53
+ 50% {
54
+ opacity: 1;
55
+ transform: none;
56
+ }
57
+ }
58
+ // scss-docs-end spinner-grow-keyframes
59
+
60
+ .spinner-grow {
61
+ // scss-docs-start spinner-grow-css-vars
62
+ --#{$prefix}spinner-width: #{$spinner-width};
63
+ --#{$prefix}spinner-height: #{$spinner-height};
64
+ --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};
65
+ --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};
66
+ --#{$prefix}spinner-animation-name: spinner-grow;
67
+ // scss-docs-end spinner-grow-css-vars
68
+
69
+ background-color: currentcolor;
70
+ opacity: 0;
71
+ }
72
+
73
+ .spinner-grow-sm {
74
+ --#{$prefix}spinner-width: #{$spinner-width-sm};
75
+ --#{$prefix}spinner-height: #{$spinner-height-sm};
76
+ }
77
+
78
+ @if $enable-reduced-motion {
79
+ @media (prefers-reduced-motion: reduce) {
80
+ .spinner-border,
81
+ .spinner-grow {
82
+ --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed * 2};
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,171 @@
1
+ //
2
+ // Basic Bootstrap table
3
+ //
4
+
5
+ .table {
6
+ // Reset needed for nesting tables
7
+ --#{$prefix}table-color-type: initial;
8
+ --#{$prefix}table-bg-type: initial;
9
+ --#{$prefix}table-color-state: initial;
10
+ --#{$prefix}table-bg-state: initial;
11
+ // End of reset
12
+ --#{$prefix}table-color: #{$table-color};
13
+ --#{$prefix}table-bg: #{$table-bg};
14
+ --#{$prefix}table-border-color: #{$table-border-color};
15
+ --#{$prefix}table-accent-bg: #{$table-accent-bg};
16
+ --#{$prefix}table-striped-color: #{$table-striped-color};
17
+ --#{$prefix}table-striped-bg: #{$table-striped-bg};
18
+ --#{$prefix}table-active-color: #{$table-active-color};
19
+ --#{$prefix}table-active-bg: #{$table-active-bg};
20
+ --#{$prefix}table-hover-color: #{$table-hover-color};
21
+ --#{$prefix}table-hover-bg: #{$table-hover-bg};
22
+
23
+ width: 100%;
24
+ margin-bottom: $spacer;
25
+ vertical-align: $table-cell-vertical-align;
26
+ border-color: var(--#{$prefix}table-border-color);
27
+
28
+ // Target th & td
29
+ // We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.
30
+ // We use the universal selectors here to simplify the selector (else we would need 6 different selectors).
31
+ // Another advantage is that this generates less code and makes the selector less specific making it easier to override.
32
+ // stylelint-disable-next-line selector-max-universal
33
+ > :not(caption) > * > * {
34
+ padding: $table-cell-padding-y $table-cell-padding-x;
35
+ // Following the precept of cascades: https://codepen.io/miriamsuzanne/full/vYNgodb
36
+ color: var(--#{$prefix}table-color-state, var(--#{$prefix}table-color-type, var(--#{$prefix}table-color)));
37
+ background-color: var(--#{$prefix}table-bg);
38
+ border-bottom-width: $table-border-width;
39
+ box-shadow: inset 0 0 0 9999px var(--#{$prefix}table-bg-state, var(--#{$prefix}table-bg-type, var(--#{$prefix}table-accent-bg)));
40
+ }
41
+
42
+ > tbody {
43
+ vertical-align: inherit;
44
+ }
45
+
46
+ > thead {
47
+ vertical-align: bottom;
48
+ }
49
+ }
50
+
51
+ .table-group-divider {
52
+ border-top: calc(#{$table-border-width} * 2) solid $table-group-separator-color; // stylelint-disable-line function-disallowed-list
53
+ }
54
+
55
+ //
56
+ // Change placement of captions with a class
57
+ //
58
+
59
+ .caption-top {
60
+ caption-side: top;
61
+ }
62
+
63
+
64
+ //
65
+ // Condensed table w/ half padding
66
+ //
67
+
68
+ .table-sm {
69
+ // stylelint-disable-next-line selector-max-universal
70
+ > :not(caption) > * > * {
71
+ padding: $table-cell-padding-y-sm $table-cell-padding-x-sm;
72
+ }
73
+ }
74
+
75
+
76
+ // Border versions
77
+ //
78
+ // Add or remove borders all around the table and between all the columns.
79
+ //
80
+ // When borders are added on all sides of the cells, the corners can render odd when
81
+ // these borders do not have the same color or if they are semi-transparent.
82
+ // Therefor we add top and border bottoms to the `tr`s and left and right borders
83
+ // to the `td`s or `th`s
84
+
85
+ .table-bordered {
86
+ > :not(caption) > * {
87
+ border-width: $table-border-width 0;
88
+
89
+ // stylelint-disable-next-line selector-max-universal
90
+ > * {
91
+ border-width: 0 $table-border-width;
92
+ }
93
+ }
94
+ }
95
+
96
+ .table-borderless {
97
+ // stylelint-disable-next-line selector-max-universal
98
+ > :not(caption) > * > * {
99
+ border-bottom-width: 0;
100
+ }
101
+
102
+ > :not(:first-child) {
103
+ border-top-width: 0;
104
+ }
105
+ }
106
+
107
+ // Zebra-striping
108
+ //
109
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
110
+
111
+ // For rows
112
+ .table-striped {
113
+ > tbody > tr:nth-of-type(#{$table-striped-order}) > * {
114
+ --#{$prefix}table-color-type: var(--#{$prefix}table-striped-color);
115
+ --#{$prefix}table-bg-type: var(--#{$prefix}table-striped-bg);
116
+ }
117
+ }
118
+
119
+ // For columns
120
+ .table-striped-columns {
121
+ > :not(caption) > tr > :nth-child(#{$table-striped-columns-order}) {
122
+ --#{$prefix}table-color-type: var(--#{$prefix}table-striped-color);
123
+ --#{$prefix}table-bg-type: var(--#{$prefix}table-striped-bg);
124
+ }
125
+ }
126
+
127
+ // Active table
128
+ //
129
+ // The `.table-active` class can be added to highlight rows or cells
130
+
131
+ .table-active {
132
+ --#{$prefix}table-color-state: var(--#{$prefix}table-active-color);
133
+ --#{$prefix}table-bg-state: var(--#{$prefix}table-active-bg);
134
+ }
135
+
136
+ // Hover effect
137
+ //
138
+ // Placed here since it has to come after the potential zebra striping
139
+
140
+ .table-hover {
141
+ > tbody > tr:hover > * {
142
+ --#{$prefix}table-color-state: var(--#{$prefix}table-hover-color);
143
+ --#{$prefix}table-bg-state: var(--#{$prefix}table-hover-bg);
144
+ }
145
+ }
146
+
147
+
148
+ // Table variants
149
+ //
150
+ // Table variants set the table cell backgrounds, border colors
151
+ // and the colors of the striped, hovered & active tables
152
+
153
+ @each $color, $value in $table-variants {
154
+ @include table-variant($color, $value);
155
+ }
156
+
157
+ // Responsive tables
158
+ //
159
+ // Generate series of `.table-responsive-*` classes for configuring the screen
160
+ // size of where your table will overflow.
161
+
162
+ @each $breakpoint in map-keys($grid-breakpoints) {
163
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
164
+
165
+ @include media-breakpoint-down($breakpoint) {
166
+ .table-responsive#{$infix} {
167
+ overflow-x: auto;
168
+ -webkit-overflow-scrolling: touch;
169
+ }
170
+ }
171
+ }
@@ -0,0 +1,73 @@
1
+ .toast {
2
+ // scss-docs-start toast-css-vars
3
+ --#{$prefix}toast-zindex: #{$zindex-toast};
4
+ --#{$prefix}toast-padding-x: #{$toast-padding-x};
5
+ --#{$prefix}toast-padding-y: #{$toast-padding-y};
6
+ --#{$prefix}toast-spacing: #{$toast-spacing};
7
+ --#{$prefix}toast-max-width: #{$toast-max-width};
8
+ @include rfs($toast-font-size, --#{$prefix}toast-font-size);
9
+ --#{$prefix}toast-color: #{$toast-color};
10
+ --#{$prefix}toast-bg: #{$toast-background-color};
11
+ --#{$prefix}toast-border-width: #{$toast-border-width};
12
+ --#{$prefix}toast-border-color: #{$toast-border-color};
13
+ --#{$prefix}toast-border-radius: #{$toast-border-radius};
14
+ --#{$prefix}toast-box-shadow: #{$toast-box-shadow};
15
+ --#{$prefix}toast-header-color: #{$toast-header-color};
16
+ --#{$prefix}toast-header-bg: #{$toast-header-background-color};
17
+ --#{$prefix}toast-header-border-color: #{$toast-header-border-color};
18
+ // scss-docs-end toast-css-vars
19
+
20
+ width: var(--#{$prefix}toast-max-width);
21
+ max-width: 100%;
22
+ @include font-size(var(--#{$prefix}toast-font-size));
23
+ color: var(--#{$prefix}toast-color);
24
+ pointer-events: auto;
25
+ background-color: var(--#{$prefix}toast-bg);
26
+ background-clip: padding-box;
27
+ border: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-border-color);
28
+ box-shadow: var(--#{$prefix}toast-box-shadow);
29
+ @include border-radius(var(--#{$prefix}toast-border-radius));
30
+
31
+ &.showing {
32
+ opacity: 0;
33
+ }
34
+
35
+ &:not(.show) {
36
+ display: none;
37
+ }
38
+ }
39
+
40
+ .toast-container {
41
+ --#{$prefix}toast-zindex: #{$zindex-toast};
42
+
43
+ position: absolute;
44
+ z-index: var(--#{$prefix}toast-zindex);
45
+ width: max-content;
46
+ max-width: 100%;
47
+ pointer-events: none;
48
+
49
+ > :not(:last-child) {
50
+ margin-bottom: var(--#{$prefix}toast-spacing);
51
+ }
52
+ }
53
+
54
+ .toast-header {
55
+ display: flex;
56
+ align-items: center;
57
+ padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x);
58
+ color: var(--#{$prefix}toast-header-color);
59
+ background-color: var(--#{$prefix}toast-header-bg);
60
+ background-clip: padding-box;
61
+ border-bottom: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-header-border-color);
62
+ @include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));
63
+
64
+ .btn-close {
65
+ margin-right: calc(-.5 * var(--#{$prefix}toast-padding-x)); // stylelint-disable-line function-disallowed-list
66
+ margin-left: var(--#{$prefix}toast-padding-x);
67
+ }
68
+ }
69
+
70
+ .toast-body {
71
+ padding: var(--#{$prefix}toast-padding-x);
72
+ word-wrap: break-word;
73
+ }
@@ -0,0 +1,119 @@
1
+ // Base class
2
+ .tooltip {
3
+ // scss-docs-start tooltip-css-vars
4
+ --#{$prefix}tooltip-zindex: #{$zindex-tooltip};
5
+ --#{$prefix}tooltip-max-width: #{$tooltip-max-width};
6
+ --#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};
7
+ --#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};
8
+ --#{$prefix}tooltip-margin: #{$tooltip-margin};
9
+ @include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);
10
+ --#{$prefix}tooltip-color: #{$tooltip-color};
11
+ --#{$prefix}tooltip-bg: #{$tooltip-bg};
12
+ --#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};
13
+ --#{$prefix}tooltip-opacity: #{$tooltip-opacity};
14
+ --#{$prefix}tooltip-arrow-width: #{$tooltip-arrow-width};
15
+ --#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height};
16
+ // scss-docs-end tooltip-css-vars
17
+
18
+ z-index: var(--#{$prefix}tooltip-zindex);
19
+ display: block;
20
+ margin: var(--#{$prefix}tooltip-margin);
21
+ @include deprecate("`$tooltip-margin`", "v5", "v5.x", true);
22
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
23
+ // So reset our font and text properties to avoid inheriting weird values.
24
+ @include reset-text();
25
+ @include font-size(var(--#{$prefix}tooltip-font-size));
26
+ // Allow breaking very long words so they don't overflow the tooltip's bounds
27
+ word-wrap: break-word;
28
+ opacity: 0;
29
+
30
+ &.show { opacity: var(--#{$prefix}tooltip-opacity); }
31
+
32
+ .tooltip-arrow {
33
+ display: block;
34
+ width: var(--#{$prefix}tooltip-arrow-width);
35
+ height: var(--#{$prefix}tooltip-arrow-height);
36
+
37
+ &::before {
38
+ position: absolute;
39
+ content: "";
40
+ border-color: transparent;
41
+ border-style: solid;
42
+ }
43
+ }
44
+ }
45
+
46
+ .bs-tooltip-top .tooltip-arrow {
47
+ bottom: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list
48
+
49
+ &::before {
50
+ top: -1px;
51
+ border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
52
+ border-top-color: var(--#{$prefix}tooltip-bg);
53
+ }
54
+ }
55
+
56
+ /* rtl:begin:ignore */
57
+ .bs-tooltip-end .tooltip-arrow {
58
+ left: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list
59
+ width: var(--#{$prefix}tooltip-arrow-height);
60
+ height: var(--#{$prefix}tooltip-arrow-width);
61
+
62
+ &::before {
63
+ right: -1px;
64
+ border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list
65
+ border-right-color: var(--#{$prefix}tooltip-bg);
66
+ }
67
+ }
68
+
69
+ /* rtl:end:ignore */
70
+
71
+ .bs-tooltip-bottom .tooltip-arrow {
72
+ top: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list
73
+
74
+ &::before {
75
+ bottom: -1px;
76
+ border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
77
+ border-bottom-color: var(--#{$prefix}tooltip-bg);
78
+ }
79
+ }
80
+
81
+ /* rtl:begin:ignore */
82
+ .bs-tooltip-start .tooltip-arrow {
83
+ right: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list
84
+ width: var(--#{$prefix}tooltip-arrow-height);
85
+ height: var(--#{$prefix}tooltip-arrow-width);
86
+
87
+ &::before {
88
+ left: -1px;
89
+ border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list
90
+ border-left-color: var(--#{$prefix}tooltip-bg);
91
+ }
92
+ }
93
+
94
+ /* rtl:end:ignore */
95
+
96
+ .bs-tooltip-auto {
97
+ &[data-popper-placement^="top"] {
98
+ @extend .bs-tooltip-top;
99
+ }
100
+ &[data-popper-placement^="right"] {
101
+ @extend .bs-tooltip-end;
102
+ }
103
+ &[data-popper-placement^="bottom"] {
104
+ @extend .bs-tooltip-bottom;
105
+ }
106
+ &[data-popper-placement^="left"] {
107
+ @extend .bs-tooltip-start;
108
+ }
109
+ }
110
+
111
+ // Wrapper for the tooltip content
112
+ .tooltip-inner {
113
+ max-width: var(--#{$prefix}tooltip-max-width);
114
+ padding: var(--#{$prefix}tooltip-padding-y) var(--#{$prefix}tooltip-padding-x);
115
+ color: var(--#{$prefix}tooltip-color);
116
+ text-align: center;
117
+ background-color: var(--#{$prefix}tooltip-bg);
118
+ @include border-radius(var(--#{$prefix}tooltip-border-radius));
119
+ }
@@ -0,0 +1,27 @@
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
+ &.collapse-horizontal {
22
+ width: 0;
23
+ height: auto;
24
+ @include transition($transition-collapse-width);
25
+ }
26
+ }
27
+ // scss-docs-end collapse-classes