jekyll-theme-centos 0.9.20221031122647 → 1.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (302) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/{header/blog.html → blog/header.html} +0 -0
  3. data/_includes/breadcrumbs.html +3 -1
  4. data/_includes/{page → default}/alert-danger.html +0 -0
  5. data/_includes/{page → default}/alert-info.html +0 -0
  6. data/_includes/{page → default}/alert-success.html +0 -0
  7. data/_includes/{page → default}/alert-warning.html +0 -0
  8. data/_includes/{page → default}/figure.html +0 -0
  9. data/_includes/default/header.html +10 -0
  10. data/_includes/{page → default}/video.html +0 -0
  11. data/_includes/editbar.html +43 -0
  12. data/_includes/footer.html +31 -61
  13. data/_includes/head-datatables.html +8 -0
  14. data/_includes/head.html +2 -2
  15. data/_includes/header.html +3 -5
  16. data/_includes/home/distributions.html +24 -8
  17. data/_includes/home/header.html +10 -0
  18. data/_includes/home/news-and-events.html +24 -13
  19. data/_includes/home/planet.html +25 -14
  20. data/_includes/home/sponsors.html +57 -12
  21. data/_includes/navbar.html +26 -21
  22. data/_includes/people/about.html +27 -0
  23. data/_includes/people/header.html +11 -0
  24. data/_includes/people/posts.html +36 -0
  25. data/_includes/people/projects.html +26 -0
  26. data/_includes/people/pubkeys.html +30 -0
  27. data/_includes/people/support.html +22 -0
  28. data/_includes/{header/post.html → post/header.html} +0 -0
  29. data/_includes/toc-accordion.html +10 -0
  30. data/_includes/toc.html +1 -6
  31. data/_layouts/{download-mirror.html → default-datatables.html} +6 -6
  32. data/_layouts/default.html +24 -11
  33. data/_layouts/home.html +13 -13
  34. data/_layouts/people.html +59 -0
  35. data/_layouts/search.html +3 -5
  36. data/_sass/centos/_headings.scss +17 -0
  37. data/_sass/centos/_links.scss +50 -0
  38. data/_sass/centos/_sponsors.scss +112 -0
  39. data/_sass/centos/_variables.scss +22 -52
  40. data/_sass/centos/fonts/_montserrat.scss +36 -36
  41. data/_sass/centos/fonts/_overpass.scss +20 -20
  42. data/assets/css/stylesheet.min.scss +16 -0
  43. data/assets/img/people/username.png +0 -0
  44. metadata +44 -285
  45. data/LICENSE +0 -21
  46. data/README.md +0 -65
  47. data/_includes/header/home.html +0 -20
  48. data/_includes/header/page.html +0 -6
  49. data/_includes/home/shortcuts.html +0 -17
  50. data/_layouts/aside.html +0 -25
  51. data/_layouts/page.html +0 -17
  52. data/_sass/bootstrap/_alert.scss +0 -52
  53. data/_sass/bootstrap/_badge.scss +0 -54
  54. data/_sass/bootstrap/_breadcrumb.scss +0 -44
  55. data/_sass/bootstrap/_button-group.scss +0 -163
  56. data/_sass/bootstrap/_buttons.scss +0 -142
  57. data/_sass/bootstrap/_card.scss +0 -286
  58. data/_sass/bootstrap/_carousel.scss +0 -197
  59. data/_sass/bootstrap/_close.scss +0 -40
  60. data/_sass/bootstrap/_code.scss +0 -48
  61. data/_sass/bootstrap/_custom-forms.scss +0 -524
  62. data/_sass/bootstrap/_dropdown.scss +0 -192
  63. data/_sass/bootstrap/_forms.scss +0 -347
  64. data/_sass/bootstrap/_functions.scss +0 -144
  65. data/_sass/bootstrap/_grid.scss +0 -73
  66. data/_sass/bootstrap/_images.scss +0 -42
  67. data/_sass/bootstrap/_input-group.scss +0 -192
  68. data/_sass/bootstrap/_jumbotron.scss +0 -17
  69. data/_sass/bootstrap/_list-group.scss +0 -154
  70. data/_sass/bootstrap/_media.scss +0 -8
  71. data/_sass/bootstrap/_mixins.scss +0 -47
  72. data/_sass/bootstrap/_modal.scss +0 -240
  73. data/_sass/bootstrap/_nav.scss +0 -123
  74. data/_sass/bootstrap/_navbar.scss +0 -324
  75. data/_sass/bootstrap/_pagination.scss +0 -74
  76. data/_sass/bootstrap/_popover.scss +0 -170
  77. data/_sass/bootstrap/_print.scss +0 -141
  78. data/_sass/bootstrap/_progress.scss +0 -47
  79. data/_sass/bootstrap/_reboot.scss +0 -484
  80. data/_sass/bootstrap/_root.scss +0 -20
  81. data/_sass/bootstrap/_spinners.scss +0 -56
  82. data/_sass/bootstrap/_tables.scss +0 -185
  83. data/_sass/bootstrap/_toasts.scss +0 -46
  84. data/_sass/bootstrap/_tooltip.scss +0 -115
  85. data/_sass/bootstrap/_transitions.scss +0 -20
  86. data/_sass/bootstrap/_type.scss +0 -125
  87. data/_sass/bootstrap/_utilities.scss +0 -18
  88. data/_sass/bootstrap/_variables.scss +0 -1142
  89. data/_sass/bootstrap/bootstrap-grid.scss +0 -29
  90. data/_sass/bootstrap/bootstrap-reboot.scss +0 -12
  91. data/_sass/bootstrap/bootstrap.scss +0 -44
  92. data/_sass/bootstrap/mixins/_alert.scss +0 -13
  93. data/_sass/bootstrap/mixins/_background-variant.scss +0 -23
  94. data/_sass/bootstrap/mixins/_badge.scss +0 -17
  95. data/_sass/bootstrap/mixins/_border-radius.scss +0 -76
  96. data/_sass/bootstrap/mixins/_box-shadow.scss +0 -20
  97. data/_sass/bootstrap/mixins/_breakpoints.scss +0 -123
  98. data/_sass/bootstrap/mixins/_buttons.scss +0 -110
  99. data/_sass/bootstrap/mixins/_caret.scss +0 -62
  100. data/_sass/bootstrap/mixins/_clearfix.scss +0 -7
  101. data/_sass/bootstrap/mixins/_deprecate.scss +0 -10
  102. data/_sass/bootstrap/mixins/_float.scss +0 -14
  103. data/_sass/bootstrap/mixins/_forms.scss +0 -178
  104. data/_sass/bootstrap/mixins/_gradients.scss +0 -45
  105. data/_sass/bootstrap/mixins/_grid-framework.scss +0 -80
  106. data/_sass/bootstrap/mixins/_grid.scss +0 -69
  107. data/_sass/bootstrap/mixins/_hover.scss +0 -37
  108. data/_sass/bootstrap/mixins/_image.scss +0 -36
  109. data/_sass/bootstrap/mixins/_list-group.scss +0 -21
  110. data/_sass/bootstrap/mixins/_lists.scss +0 -7
  111. data/_sass/bootstrap/mixins/_nav-divider.scss +0 -11
  112. data/_sass/bootstrap/mixins/_pagination.scss +0 -22
  113. data/_sass/bootstrap/mixins/_reset-text.scss +0 -17
  114. data/_sass/bootstrap/mixins/_resize.scss +0 -6
  115. data/_sass/bootstrap/mixins/_screen-reader.scss +0 -34
  116. data/_sass/bootstrap/mixins/_size.scss +0 -7
  117. data/_sass/bootstrap/mixins/_table-row.scss +0 -39
  118. data/_sass/bootstrap/mixins/_text-emphasis.scss +0 -17
  119. data/_sass/bootstrap/mixins/_text-hide.scss +0 -11
  120. data/_sass/bootstrap/mixins/_text-truncate.scss +0 -8
  121. data/_sass/bootstrap/mixins/_transition.scss +0 -26
  122. data/_sass/bootstrap/mixins/_visibility.scss +0 -8
  123. data/_sass/bootstrap/utilities/_align.scss +0 -8
  124. data/_sass/bootstrap/utilities/_background.scss +0 -19
  125. data/_sass/bootstrap/utilities/_borders.scss +0 -75
  126. data/_sass/bootstrap/utilities/_clearfix.scss +0 -3
  127. data/_sass/bootstrap/utilities/_display.scss +0 -26
  128. data/_sass/bootstrap/utilities/_embed.scss +0 -39
  129. data/_sass/bootstrap/utilities/_flex.scss +0 -51
  130. data/_sass/bootstrap/utilities/_float.scss +0 -11
  131. data/_sass/bootstrap/utilities/_interactions.scss +0 -5
  132. data/_sass/bootstrap/utilities/_overflow.scss +0 -5
  133. data/_sass/bootstrap/utilities/_position.scss +0 -32
  134. data/_sass/bootstrap/utilities/_screenreaders.scss +0 -11
  135. data/_sass/bootstrap/utilities/_shadows.scss +0 -6
  136. data/_sass/bootstrap/utilities/_sizing.scss +0 -20
  137. data/_sass/bootstrap/utilities/_spacing.scss +0 -73
  138. data/_sass/bootstrap/utilities/_stretched-link.scss +0 -19
  139. data/_sass/bootstrap/utilities/_text.scss +0 -72
  140. data/_sass/bootstrap/utilities/_visibility.scss +0 -13
  141. data/_sass/bootstrap/vendor/_rfs.scss +0 -204
  142. data/_sass/centos/_breadcrumbs.scss +0 -4
  143. data/_sass/centos/_datatable.scss +0 -271
  144. data/_sass/centos/_fonts.scss +0 -2
  145. data/_sass/centos/_footer.scss +0 -78
  146. data/_sass/centos/_header.scss +0 -130
  147. data/_sass/centos/_highlighter.scss +0 -197
  148. data/_sass/centos/_hr.scss +0 -27
  149. data/_sass/centos/_main.scss +0 -207
  150. data/_sass/centos/_mixins.scss +0 -7
  151. data/_sass/centos/_nav.scss +0 -19
  152. data/_sass/centos/_toc.scss +0 -31
  153. data/_sass/centos/centos-blog.scss +0 -46
  154. data/_sass/centos/centos-httpd.scss +0 -27
  155. data/_sass/centos/centos-lists.scss +0 -161
  156. data/_sass/centos/centos.scss +0 -22
  157. data/_sass/centos/mixins/_aside-nav.scss +0 -34
  158. data/_sass/centos/mixins/_content-nav.scss +0 -14
  159. data/_sass/centos/mixins/_content.scss +0 -92
  160. data/_sass/centos/mixins/_header-links.scss +0 -8
  161. data/_sass/centos/mixins/_list-links.scss +0 -17
  162. data/_sass/centos/mixins/_post-nav-explorer.scss +0 -21
  163. data/_sass/fontawesome/_animated.scss +0 -20
  164. data/_sass/fontawesome/_bordered-pulled.scss +0 -20
  165. data/_sass/fontawesome/_core.scss +0 -21
  166. data/_sass/fontawesome/_fixed-width.scss +0 -6
  167. data/_sass/fontawesome/_icons.scss +0 -1462
  168. data/_sass/fontawesome/_larger.scss +0 -23
  169. data/_sass/fontawesome/_list.scss +0 -18
  170. data/_sass/fontawesome/_mixins.scss +0 -56
  171. data/_sass/fontawesome/_rotated-flipped.scss +0 -24
  172. data/_sass/fontawesome/_screen-reader.scss +0 -5
  173. data/_sass/fontawesome/_shims.scss +0 -2066
  174. data/_sass/fontawesome/_stacked.scss +0 -31
  175. data/_sass/fontawesome/_variables.scss +0 -1479
  176. data/_sass/fontawesome/brands.scss +0 -23
  177. data/_sass/fontawesome/fontawesome.scss +0 -16
  178. data/_sass/fontawesome/regular.scss +0 -23
  179. data/_sass/fontawesome/solid.scss +0 -24
  180. data/_sass/fontawesome/v4-shims.scss +0 -6
  181. data/assets/css/centos-blog.bootstrap.min.scss +0 -5
  182. data/assets/css/centos-httpd.bootstrap.min.scss +0 -5
  183. data/assets/css/centos-lists.bootstrap.min.scss +0 -5
  184. data/assets/css/centos.bootstrap.min.scss +0 -4
  185. data/assets/fonts/Montserrat-Black.woff +0 -0
  186. data/assets/fonts/Montserrat-Black.woff2 +0 -0
  187. data/assets/fonts/Montserrat-BlackItalic.woff +0 -0
  188. data/assets/fonts/Montserrat-BlackItalic.woff2 +0 -0
  189. data/assets/fonts/Montserrat-Bold.woff +0 -0
  190. data/assets/fonts/Montserrat-Bold.woff2 +0 -0
  191. data/assets/fonts/Montserrat-BoldItalic.woff +0 -0
  192. data/assets/fonts/Montserrat-BoldItalic.woff2 +0 -0
  193. data/assets/fonts/Montserrat-ExtraBold.woff +0 -0
  194. data/assets/fonts/Montserrat-ExtraBold.woff2 +0 -0
  195. data/assets/fonts/Montserrat-ExtraBoldItalic.woff +0 -0
  196. data/assets/fonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
  197. data/assets/fonts/Montserrat-ExtraLight.woff +0 -0
  198. data/assets/fonts/Montserrat-ExtraLight.woff2 +0 -0
  199. data/assets/fonts/Montserrat-ExtraLightItalic.woff +0 -0
  200. data/assets/fonts/Montserrat-ExtraLightItalic.woff2 +0 -0
  201. data/assets/fonts/Montserrat-Italic.woff +0 -0
  202. data/assets/fonts/Montserrat-Italic.woff2 +0 -0
  203. data/assets/fonts/Montserrat-Light.woff +0 -0
  204. data/assets/fonts/Montserrat-Light.woff2 +0 -0
  205. data/assets/fonts/Montserrat-LightItalic.woff +0 -0
  206. data/assets/fonts/Montserrat-LightItalic.woff2 +0 -0
  207. data/assets/fonts/Montserrat-Medium.woff +0 -0
  208. data/assets/fonts/Montserrat-Medium.woff2 +0 -0
  209. data/assets/fonts/Montserrat-MediumItalic.woff +0 -0
  210. data/assets/fonts/Montserrat-MediumItalic.woff2 +0 -0
  211. data/assets/fonts/Montserrat-Regular.woff +0 -0
  212. data/assets/fonts/Montserrat-Regular.woff2 +0 -0
  213. data/assets/fonts/Montserrat-SemiBold.woff +0 -0
  214. data/assets/fonts/Montserrat-SemiBold.woff2 +0 -0
  215. data/assets/fonts/Montserrat-SemiBoldItalic.woff +0 -0
  216. data/assets/fonts/Montserrat-SemiBoldItalic.woff2 +0 -0
  217. data/assets/fonts/Montserrat-Thin.woff +0 -0
  218. data/assets/fonts/Montserrat-Thin.woff2 +0 -0
  219. data/assets/fonts/Montserrat-ThinItalic.woff +0 -0
  220. data/assets/fonts/Montserrat-ThinItalic.woff2 +0 -0
  221. data/assets/fonts/MontserratAlternates-Black.woff +0 -0
  222. data/assets/fonts/MontserratAlternates-Black.woff2 +0 -0
  223. data/assets/fonts/MontserratAlternates-BlackItalic.woff +0 -0
  224. data/assets/fonts/MontserratAlternates-BlackItalic.woff2 +0 -0
  225. data/assets/fonts/MontserratAlternates-Bold.woff +0 -0
  226. data/assets/fonts/MontserratAlternates-Bold.woff2 +0 -0
  227. data/assets/fonts/MontserratAlternates-BoldItalic.woff +0 -0
  228. data/assets/fonts/MontserratAlternates-BoldItalic.woff2 +0 -0
  229. data/assets/fonts/MontserratAlternates-ExtraBold.woff +0 -0
  230. data/assets/fonts/MontserratAlternates-ExtraBold.woff2 +0 -0
  231. data/assets/fonts/MontserratAlternates-ExtraBoldItalic.woff +0 -0
  232. data/assets/fonts/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
  233. data/assets/fonts/MontserratAlternates-ExtraLight.woff +0 -0
  234. data/assets/fonts/MontserratAlternates-ExtraLight.woff2 +0 -0
  235. data/assets/fonts/MontserratAlternates-ExtraLightItalic.woff +0 -0
  236. data/assets/fonts/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
  237. data/assets/fonts/MontserratAlternates-Italic.woff +0 -0
  238. data/assets/fonts/MontserratAlternates-Italic.woff2 +0 -0
  239. data/assets/fonts/MontserratAlternates-Light.woff +0 -0
  240. data/assets/fonts/MontserratAlternates-Light.woff2 +0 -0
  241. data/assets/fonts/MontserratAlternates-LightItalic.woff +0 -0
  242. data/assets/fonts/MontserratAlternates-LightItalic.woff2 +0 -0
  243. data/assets/fonts/MontserratAlternates-Medium.woff +0 -0
  244. data/assets/fonts/MontserratAlternates-Medium.woff2 +0 -0
  245. data/assets/fonts/MontserratAlternates-MediumItalic.woff +0 -0
  246. data/assets/fonts/MontserratAlternates-MediumItalic.woff2 +0 -0
  247. data/assets/fonts/MontserratAlternates-Regular.woff +0 -0
  248. data/assets/fonts/MontserratAlternates-Regular.woff2 +0 -0
  249. data/assets/fonts/MontserratAlternates-SemiBold.woff +0 -0
  250. data/assets/fonts/MontserratAlternates-SemiBold.woff2 +0 -0
  251. data/assets/fonts/MontserratAlternates-SemiBoldItalic.woff +0 -0
  252. data/assets/fonts/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
  253. data/assets/fonts/MontserratAlternates-Thin.woff +0 -0
  254. data/assets/fonts/MontserratAlternates-Thin.woff2 +0 -0
  255. data/assets/fonts/MontserratAlternates-ThinItalic.woff +0 -0
  256. data/assets/fonts/MontserratAlternates-ThinItalic.woff2 +0 -0
  257. data/assets/fonts/fa-brands-400.eot +0 -0
  258. data/assets/fonts/fa-brands-400.svg +0 -3717
  259. data/assets/fonts/fa-brands-400.ttf +0 -0
  260. data/assets/fonts/fa-brands-400.woff +0 -0
  261. data/assets/fonts/fa-brands-400.woff2 +0 -0
  262. data/assets/fonts/fa-regular-400.eot +0 -0
  263. data/assets/fonts/fa-regular-400.svg +0 -801
  264. data/assets/fonts/fa-regular-400.ttf +0 -0
  265. data/assets/fonts/fa-regular-400.woff +0 -0
  266. data/assets/fonts/fa-regular-400.woff2 +0 -0
  267. data/assets/fonts/fa-solid-900.eot +0 -0
  268. data/assets/fonts/fa-solid-900.svg +0 -5028
  269. data/assets/fonts/fa-solid-900.ttf +0 -0
  270. data/assets/fonts/fa-solid-900.woff +0 -0
  271. data/assets/fonts/fa-solid-900.woff2 +0 -0
  272. data/assets/fonts/overpass-mono-bold.eot +0 -0
  273. data/assets/fonts/overpass-mono-bold.ttf +0 -0
  274. data/assets/fonts/overpass-mono-bold.woff +0 -0
  275. data/assets/fonts/overpass-mono-bold.woff2 +0 -0
  276. data/assets/fonts/overpass-mono-light.eot +0 -0
  277. data/assets/fonts/overpass-mono-light.ttf +0 -0
  278. data/assets/fonts/overpass-mono-light.woff +0 -0
  279. data/assets/fonts/overpass-mono-light.woff2 +0 -0
  280. data/assets/fonts/overpass-mono-regular.eot +0 -0
  281. data/assets/fonts/overpass-mono-regular.ttf +0 -0
  282. data/assets/fonts/overpass-mono-regular.woff +0 -0
  283. data/assets/fonts/overpass-mono-regular.woff2 +0 -0
  284. data/assets/fonts/overpass-mono-semibold.eot +0 -0
  285. data/assets/fonts/overpass-mono-semibold.ttf +0 -0
  286. data/assets/fonts/overpass-mono-semibold.woff +0 -0
  287. data/assets/fonts/overpass-mono-semibold.woff2 +0 -0
  288. data/assets/img/favicon.png +0 -0
  289. data/assets/img/logo.png +0 -0
  290. data/assets/img/motif.png +0 -0
  291. data/assets/img/post.png +0 -0
  292. data/assets/js/bootstrap.min.js +0 -7
  293. data/assets/js/bootstrap.min.js.map +0 -1
  294. data/assets/js/clipboard.min.js +0 -7
  295. data/assets/js/customization.js +0 -26
  296. data/assets/js/dataTables.bootstrap4.min.js +0 -14
  297. data/assets/js/instantsearch.min.js +0 -3
  298. data/assets/js/jquery.dataTables.min.js +0 -184
  299. data/assets/js/jquery.min.js +0 -2
  300. data/assets/js/jquery.rss.js +0 -1
  301. data/assets/js/lunr.min.js +0 -6
  302. data/assets/js/moment.min.js +0 -2
@@ -1,54 +0,0 @@
1
- // Base class
2
- //
3
- // Requires one of the contextual, color modifier classes for `color` and
4
- // `background-color`.
5
-
6
- .badge {
7
- display: inline-block;
8
- padding: $badge-padding-y $badge-padding-x;
9
- @include font-size($badge-font-size);
10
- font-weight: $badge-font-weight;
11
- line-height: 1;
12
- text-align: center;
13
- white-space: nowrap;
14
- vertical-align: baseline;
15
- @include border-radius($badge-border-radius);
16
- @include transition($badge-transition);
17
-
18
- @at-root a#{&} {
19
- @include hover-focus() {
20
- text-decoration: none;
21
- }
22
- }
23
-
24
- // Empty badges collapse automatically
25
- &:empty {
26
- display: none;
27
- }
28
- }
29
-
30
- // Quick fix for badges in buttons
31
- .btn .badge {
32
- position: relative;
33
- top: -1px;
34
- }
35
-
36
- // Pill badges
37
- //
38
- // Make them extra rounded with a modifier to replace v3's badges.
39
-
40
- .badge-pill {
41
- padding-right: $badge-pill-padding-x;
42
- padding-left: $badge-pill-padding-x;
43
- @include border-radius($badge-pill-border-radius);
44
- }
45
-
46
- // Colors
47
- //
48
- // Contextual variations (linked badges get darker on :hover).
49
-
50
- @each $color, $value in $theme-colors {
51
- .badge-#{$color} {
52
- @include badge-variant($value);
53
- }
54
- }
@@ -1,44 +0,0 @@
1
- .breadcrumb {
2
- display: flex;
3
- flex-wrap: wrap;
4
- padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5
- margin-bottom: $breadcrumb-margin-bottom;
6
- @include font-size($breadcrumb-font-size);
7
- list-style: none;
8
- background-color: $breadcrumb-bg;
9
- @include border-radius($breadcrumb-border-radius);
10
- }
11
-
12
- .breadcrumb-item {
13
- display: flex;
14
-
15
- // The separator between breadcrumbs (by default, a forward-slash: "/")
16
- + .breadcrumb-item {
17
- padding-left: $breadcrumb-item-padding;
18
-
19
- &::before {
20
- display: inline-block; // Suppress underlining of the separator in modern browsers
21
- padding-right: $breadcrumb-item-padding;
22
- color: $breadcrumb-divider-color;
23
- content: escape-svg($breadcrumb-divider);
24
- }
25
- }
26
-
27
- // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
28
- // without `<ul>`s. The `::before` pseudo-element generates an element
29
- // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
30
- //
31
- // To trick IE into suppressing the underline, we give the pseudo-element an
32
- // underline and then immediately remove it.
33
- + .breadcrumb-item:hover::before {
34
- text-decoration: underline;
35
- }
36
- // stylelint-disable-next-line no-duplicate-selectors
37
- + .breadcrumb-item:hover::before {
38
- text-decoration: none;
39
- }
40
-
41
- &.active {
42
- color: $breadcrumb-active-color;
43
- }
44
- }
@@ -1,163 +0,0 @@
1
- // stylelint-disable selector-no-qualifying-type
2
-
3
- // Make the div behave like a button
4
- .btn-group,
5
- .btn-group-vertical {
6
- position: relative;
7
- display: inline-flex;
8
- vertical-align: middle; // match .btn alignment given font-size hack above
9
-
10
- > .btn {
11
- position: relative;
12
- flex: 1 1 auto;
13
-
14
- // Bring the hover, focused, and "active" buttons to the front to overlay
15
- // the borders properly
16
- @include hover() {
17
- z-index: 1;
18
- }
19
- &:focus,
20
- &:active,
21
- &.active {
22
- z-index: 1;
23
- }
24
- }
25
- }
26
-
27
- // Optional: Group multiple button groups together for a toolbar
28
- .btn-toolbar {
29
- display: flex;
30
- flex-wrap: wrap;
31
- justify-content: flex-start;
32
-
33
- .input-group {
34
- width: auto;
35
- }
36
- }
37
-
38
- .btn-group {
39
- // Prevent double borders when buttons are next to each other
40
- > .btn:not(:first-child),
41
- > .btn-group:not(:first-child) {
42
- margin-left: -$btn-border-width;
43
- }
44
-
45
- // Reset rounded corners
46
- > .btn:not(:last-child):not(.dropdown-toggle),
47
- > .btn-group:not(:last-child) > .btn {
48
- @include border-right-radius(0);
49
- }
50
-
51
- > .btn:not(:first-child),
52
- > .btn-group:not(:first-child) > .btn {
53
- @include border-left-radius(0);
54
- }
55
- }
56
-
57
- // Sizing
58
- //
59
- // Remix the default button sizing classes into new ones for easier manipulation.
60
-
61
- .btn-group-sm > .btn { @extend .btn-sm; }
62
- .btn-group-lg > .btn { @extend .btn-lg; }
63
-
64
-
65
- //
66
- // Split button dropdowns
67
- //
68
-
69
- .dropdown-toggle-split {
70
- padding-right: $btn-padding-x * .75;
71
- padding-left: $btn-padding-x * .75;
72
-
73
- &::after,
74
- .dropup &::after,
75
- .dropright &::after {
76
- margin-left: 0;
77
- }
78
-
79
- .dropleft &::before {
80
- margin-right: 0;
81
- }
82
- }
83
-
84
- .btn-sm + .dropdown-toggle-split {
85
- padding-right: $btn-padding-x-sm * .75;
86
- padding-left: $btn-padding-x-sm * .75;
87
- }
88
-
89
- .btn-lg + .dropdown-toggle-split {
90
- padding-right: $btn-padding-x-lg * .75;
91
- padding-left: $btn-padding-x-lg * .75;
92
- }
93
-
94
-
95
- // The clickable button for toggling the menu
96
- // Set the same inset shadow as the :active state
97
- .btn-group.show .dropdown-toggle {
98
- @include box-shadow($btn-active-box-shadow);
99
-
100
- // Show no shadow for `.btn-link` since it has no other button styles.
101
- &.btn-link {
102
- @include box-shadow(none);
103
- }
104
- }
105
-
106
-
107
- //
108
- // Vertical button groups
109
- //
110
-
111
- .btn-group-vertical {
112
- flex-direction: column;
113
- align-items: flex-start;
114
- justify-content: center;
115
-
116
- > .btn,
117
- > .btn-group {
118
- width: 100%;
119
- }
120
-
121
- > .btn:not(:first-child),
122
- > .btn-group:not(:first-child) {
123
- margin-top: -$btn-border-width;
124
- }
125
-
126
- // Reset rounded corners
127
- > .btn:not(:last-child):not(.dropdown-toggle),
128
- > .btn-group:not(:last-child) > .btn {
129
- @include border-bottom-radius(0);
130
- }
131
-
132
- > .btn:not(:first-child),
133
- > .btn-group:not(:first-child) > .btn {
134
- @include border-top-radius(0);
135
- }
136
- }
137
-
138
-
139
- // Checkbox and radio options
140
- //
141
- // In order to support the browser's form validation feedback, powered by the
142
- // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
143
- // `display: none;` or `visibility: hidden;` as that also hides the popover.
144
- // Simply visually hiding the inputs via `opacity` would leave them clickable in
145
- // certain cases which is prevented by using `clip` and `pointer-events`.
146
- // This way, we ensure a DOM element is visible to position the popover from.
147
- //
148
- // See https://github.com/twbs/bootstrap/pull/12794 and
149
- // https://github.com/twbs/bootstrap/pull/14559 for more information.
150
-
151
- .btn-group-toggle {
152
- > .btn,
153
- > .btn-group > .btn {
154
- margin-bottom: 0; // Override default `<label>` value
155
-
156
- input[type="radio"],
157
- input[type="checkbox"] {
158
- position: absolute;
159
- clip: rect(0, 0, 0, 0);
160
- pointer-events: none;
161
- }
162
- }
163
- }
@@ -1,142 +0,0 @@
1
- // stylelint-disable selector-no-qualifying-type
2
-
3
- //
4
- // Base styles
5
- //
6
-
7
- .btn {
8
- display: inline-block;
9
- font-family: $btn-font-family;
10
- font-weight: $btn-font-weight;
11
- color: $body-color;
12
- text-align: center;
13
- text-decoration: if($link-decoration == none, null, none);
14
- white-space: $btn-white-space;
15
- vertical-align: middle;
16
- user-select: none;
17
- background-color: transparent;
18
- border: $btn-border-width solid transparent;
19
- @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
20
- @include transition($btn-transition);
21
-
22
- @include hover() {
23
- color: $body-color;
24
- text-decoration: none;
25
- }
26
-
27
- &:focus,
28
- &.focus {
29
- outline: 0;
30
- box-shadow: $btn-focus-box-shadow;
31
- }
32
-
33
- // Disabled comes first so active can properly restyle
34
- &.disabled,
35
- &:disabled {
36
- opacity: $btn-disabled-opacity;
37
- @include box-shadow(none);
38
- }
39
-
40
- &:not(:disabled):not(.disabled) {
41
- cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
42
-
43
- &:active,
44
- &.active {
45
- @include box-shadow($btn-active-box-shadow);
46
-
47
- &:focus {
48
- @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
49
- }
50
- }
51
- }
52
- }
53
-
54
- // Future-proof disabling of clicks on `<a>` elements
55
- a.btn.disabled,
56
- fieldset:disabled a.btn {
57
- pointer-events: none;
58
- }
59
-
60
-
61
- //
62
- // Alternate buttons
63
- //
64
-
65
- @each $color, $value in $theme-colors {
66
- .btn-#{$color} {
67
- @include button-variant($value, $value);
68
- }
69
- }
70
-
71
- @each $color, $value in $theme-colors {
72
- .btn-outline-#{$color} {
73
- @include button-outline-variant($value);
74
- }
75
- }
76
-
77
-
78
- //
79
- // Link buttons
80
- //
81
-
82
- // Make a button look and behave like a link
83
- .btn-link {
84
- font-weight: $font-weight-normal;
85
- color: $link-color;
86
- text-decoration: $link-decoration;
87
-
88
- @include hover() {
89
- color: $link-hover-color;
90
- text-decoration: $link-hover-decoration;
91
- }
92
-
93
- &:focus,
94
- &.focus {
95
- text-decoration: $link-hover-decoration;
96
- }
97
-
98
- &:disabled,
99
- &.disabled {
100
- color: $btn-link-disabled-color;
101
- pointer-events: none;
102
- }
103
-
104
- // No need for an active state here
105
- }
106
-
107
-
108
- //
109
- // Button Sizes
110
- //
111
-
112
- .btn-lg {
113
- @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
114
- }
115
-
116
- .btn-sm {
117
- @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
118
- }
119
-
120
-
121
- //
122
- // Block button
123
- //
124
-
125
- .btn-block {
126
- display: block;
127
- width: 100%;
128
-
129
- // Vertically space out multiple block buttons
130
- + .btn-block {
131
- margin-top: $btn-block-spacing-y;
132
- }
133
- }
134
-
135
- // Specificity overrides
136
- input[type="submit"],
137
- input[type="reset"],
138
- input[type="button"] {
139
- &.btn-block {
140
- width: 100%;
141
- }
142
- }
@@ -1,286 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .card {
6
- position: relative;
7
- display: flex;
8
- flex-direction: column;
9
- min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
10
- height: $card-height;
11
- word-wrap: break-word;
12
- background-color: $card-bg;
13
- background-clip: border-box;
14
- border: $card-border-width solid $card-border-color;
15
- @include border-radius($card-border-radius);
16
-
17
- > hr {
18
- margin-right: 0;
19
- margin-left: 0;
20
- }
21
-
22
- > .list-group {
23
- border-top: inherit;
24
- border-bottom: inherit;
25
-
26
- &:first-child {
27
- border-top-width: 0;
28
- @include border-top-radius($card-inner-border-radius);
29
- }
30
-
31
- &:last-child {
32
- border-bottom-width: 0;
33
- @include border-bottom-radius($card-inner-border-radius);
34
- }
35
- }
36
-
37
- // Due to specificity of the above selector (`.card > .list-group`), we must
38
- // use a child selector here to prevent double borders.
39
- > .card-header + .list-group,
40
- > .list-group + .card-footer {
41
- border-top: 0;
42
- }
43
- }
44
-
45
- .card-body {
46
- // Enable `flex-grow: 1` for decks and groups so that card blocks take up
47
- // as much space as possible, ensuring footers are aligned to the bottom.
48
- flex: 1 1 auto;
49
- // Workaround for the image size bug in IE
50
- // See: https://github.com/twbs/bootstrap/pull/28855
51
- min-height: 1px;
52
- padding: $card-spacer-x;
53
- color: $card-color;
54
- }
55
-
56
- .card-title {
57
- margin-bottom: $card-spacer-y;
58
- }
59
-
60
- .card-subtitle {
61
- margin-top: -$card-spacer-y / 2;
62
- margin-bottom: 0;
63
- }
64
-
65
- .card-text:last-child {
66
- margin-bottom: 0;
67
- }
68
-
69
- .card-link {
70
- @include hover() {
71
- text-decoration: none;
72
- }
73
-
74
- + .card-link {
75
- margin-left: $card-spacer-x;
76
- }
77
- }
78
-
79
- //
80
- // Optional textual caps
81
- //
82
-
83
- .card-header {
84
- padding: $card-spacer-y $card-spacer-x;
85
- margin-bottom: 0; // Removes the default margin-bottom of <hN>
86
- color: $card-cap-color;
87
- background-color: $card-cap-bg;
88
- border-bottom: $card-border-width solid $card-border-color;
89
-
90
- &:first-child {
91
- @include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);
92
- }
93
- }
94
-
95
- .card-footer {
96
- padding: $card-spacer-y $card-spacer-x;
97
- color: $card-cap-color;
98
- background-color: $card-cap-bg;
99
- border-top: $card-border-width solid $card-border-color;
100
-
101
- &:last-child {
102
- @include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius);
103
- }
104
- }
105
-
106
-
107
- //
108
- // Header navs
109
- //
110
-
111
- .card-header-tabs {
112
- margin-right: -$card-spacer-x / 2;
113
- margin-bottom: -$card-spacer-y;
114
- margin-left: -$card-spacer-x / 2;
115
- border-bottom: 0;
116
- }
117
-
118
- .card-header-pills {
119
- margin-right: -$card-spacer-x / 2;
120
- margin-left: -$card-spacer-x / 2;
121
- }
122
-
123
- // Card image
124
- .card-img-overlay {
125
- position: absolute;
126
- top: 0;
127
- right: 0;
128
- bottom: 0;
129
- left: 0;
130
- padding: $card-img-overlay-padding;
131
- @include border-radius($card-inner-border-radius);
132
- }
133
-
134
- .card-img,
135
- .card-img-top,
136
- .card-img-bottom {
137
- flex-shrink: 0; // For IE: https://github.com/twbs/bootstrap/issues/29396
138
- width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
139
- }
140
-
141
- .card-img,
142
- .card-img-top {
143
- @include border-top-radius($card-inner-border-radius);
144
- }
145
-
146
- .card-img,
147
- .card-img-bottom {
148
- @include border-bottom-radius($card-inner-border-radius);
149
- }
150
-
151
-
152
- // Card deck
153
-
154
- .card-deck {
155
- .card {
156
- margin-bottom: $card-deck-margin;
157
- }
158
-
159
- @include media-breakpoint-up(sm) {
160
- display: flex;
161
- flex-flow: row wrap;
162
- margin-right: -$card-deck-margin;
163
- margin-left: -$card-deck-margin;
164
-
165
- .card {
166
- // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
167
- flex: 1 0 0%;
168
- margin-right: $card-deck-margin;
169
- margin-bottom: 0; // Override the default
170
- margin-left: $card-deck-margin;
171
- }
172
- }
173
- }
174
-
175
-
176
- //
177
- // Card groups
178
- //
179
-
180
- .card-group {
181
- // The child selector allows nested `.card` within `.card-group`
182
- // to display properly.
183
- > .card {
184
- margin-bottom: $card-group-margin;
185
- }
186
-
187
- @include media-breakpoint-up(sm) {
188
- display: flex;
189
- flex-flow: row wrap;
190
- // The child selector allows nested `.card` within `.card-group`
191
- // to display properly.
192
- > .card {
193
- // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
194
- flex: 1 0 0%;
195
- margin-bottom: 0;
196
-
197
- + .card {
198
- margin-left: 0;
199
- border-left: 0;
200
- }
201
-
202
- // Handle rounded corners
203
- @if $enable-rounded {
204
- &:not(:last-child) {
205
- @include border-right-radius(0);
206
-
207
- .card-img-top,
208
- .card-header {
209
- // stylelint-disable-next-line property-disallowed-list
210
- border-top-right-radius: 0;
211
- }
212
- .card-img-bottom,
213
- .card-footer {
214
- // stylelint-disable-next-line property-disallowed-list
215
- border-bottom-right-radius: 0;
216
- }
217
- }
218
-
219
- &:not(:first-child) {
220
- @include border-left-radius(0);
221
-
222
- .card-img-top,
223
- .card-header {
224
- // stylelint-disable-next-line property-disallowed-list
225
- border-top-left-radius: 0;
226
- }
227
- .card-img-bottom,
228
- .card-footer {
229
- // stylelint-disable-next-line property-disallowed-list
230
- border-bottom-left-radius: 0;
231
- }
232
- }
233
- }
234
- }
235
- }
236
- }
237
-
238
-
239
- //
240
- // Columns
241
- //
242
-
243
- .card-columns {
244
- .card {
245
- margin-bottom: $card-columns-margin;
246
- }
247
-
248
- @include media-breakpoint-up(sm) {
249
- column-count: $card-columns-count;
250
- column-gap: $card-columns-gap;
251
- orphans: 1;
252
- widows: 1;
253
-
254
- .card {
255
- display: inline-block; // Don't let them vertically span multiple columns
256
- width: 100%; // Don't let their width change
257
- }
258
- }
259
- }
260
-
261
-
262
- //
263
- // Accordion
264
- //
265
-
266
- .accordion {
267
- overflow-anchor: none;
268
-
269
- > .card {
270
- overflow: hidden;
271
-
272
- &:not(:last-of-type) {
273
- border-bottom: 0;
274
- @include border-bottom-radius(0);
275
- }
276
-
277
- &:not(:first-of-type) {
278
- @include border-top-radius(0);
279
- }
280
-
281
- > .card-header {
282
- @include border-radius(0);
283
- margin-bottom: -$card-border-width;
284
- }
285
- }
286
- }