jekyll-theme-centos 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +66 -0
  4. data/_includes/centos-content/1col.html +11 -0
  5. data/_includes/centos-content/2col.html +15 -0
  6. data/_includes/centos-content/admonition/caution.html +4 -0
  7. data/_includes/centos-content/admonition/idea.html +4 -0
  8. data/_includes/centos-content/admonition/note.html +4 -0
  9. data/_includes/centos-content/admonition/warning.html +4 -0
  10. data/_includes/centos-content/around.html +6 -0
  11. data/_includes/centos-content/breadcrumbs.html +11 -0
  12. data/_includes/centos-content/download/stream-8-doc.html +5 -0
  13. data/_includes/centos-content/download/stream-8-eol.html +5 -0
  14. data/_includes/centos-content/download/stream-8.html +5 -0
  15. data/_includes/centos-content/download/stream.html +16 -0
  16. data/_includes/centos-content/download/table-body-doc.html +6 -0
  17. data/_includes/centos-content/download/table-body-eol.html +4 -0
  18. data/_includes/centos-content/download/table-body.html +7 -0
  19. data/_includes/centos-content/download/table-footer.html +2 -0
  20. data/_includes/centos-content/download/table-header-doc.html +8 -0
  21. data/_includes/centos-content/download/table-header-eol.html +8 -0
  22. data/_includes/centos-content/download/table-header.html +10 -0
  23. data/_includes/centos-content/figure.html +4 -0
  24. data/_includes/centos-content/news.html +15 -0
  25. data/_includes/centos-content/sponsors.html +19 -0
  26. data/_includes/centos-content/toc.html +103 -0
  27. data/_includes/centos-content/video.html +3 -0
  28. data/_includes/centos-footer.html +42 -0
  29. data/_includes/centos-head.html +7 -0
  30. data/_includes/centos-header.html +7 -0
  31. data/_includes/centos-header/home.html +15 -0
  32. data/_includes/centos-header/page.html +12 -0
  33. data/_includes/centos-nav.html +29 -0
  34. data/_includes/centos-styleguide.md +243 -0
  35. data/_layouts/centos-content/1col.html +9 -0
  36. data/_layouts/centos-content/2col.html +9 -0
  37. data/_layouts/centos-content/download-mirror.html +30 -0
  38. data/_layouts/centos-content/download.html +18 -0
  39. data/_layouts/centos-content/sponsors.html +21 -0
  40. data/_layouts/centos-home.html +39 -0
  41. data/_layouts/default.html +18 -0
  42. data/_layouts/page.html +5 -0
  43. data/_layouts/post.html +5 -0
  44. data/_sass/bootstrap/_alert.scss +52 -0
  45. data/_sass/bootstrap/_badge.scss +54 -0
  46. data/_sass/bootstrap/_breadcrumb.scss +44 -0
  47. data/_sass/bootstrap/_button-group.scss +163 -0
  48. data/_sass/bootstrap/_buttons.scss +142 -0
  49. data/_sass/bootstrap/_card.scss +286 -0
  50. data/_sass/bootstrap/_carousel.scss +197 -0
  51. data/_sass/bootstrap/_close.scss +40 -0
  52. data/_sass/bootstrap/_code.scss +48 -0
  53. data/_sass/bootstrap/_custom-forms.scss +524 -0
  54. data/_sass/bootstrap/_dropdown.scss +192 -0
  55. data/_sass/bootstrap/_forms.scss +347 -0
  56. data/_sass/bootstrap/_functions.scss +144 -0
  57. data/_sass/bootstrap/_grid.scss +73 -0
  58. data/_sass/bootstrap/_images.scss +42 -0
  59. data/_sass/bootstrap/_input-group.scss +192 -0
  60. data/_sass/bootstrap/_jumbotron.scss +17 -0
  61. data/_sass/bootstrap/_list-group.scss +154 -0
  62. data/_sass/bootstrap/_media.scss +8 -0
  63. data/_sass/bootstrap/_mixins.scss +47 -0
  64. data/_sass/bootstrap/_modal.scss +240 -0
  65. data/_sass/bootstrap/_nav.scss +123 -0
  66. data/_sass/bootstrap/_navbar.scss +324 -0
  67. data/_sass/bootstrap/_pagination.scss +74 -0
  68. data/_sass/bootstrap/_popover.scss +170 -0
  69. data/_sass/bootstrap/_print.scss +141 -0
  70. data/_sass/bootstrap/_progress.scss +47 -0
  71. data/_sass/bootstrap/_reboot.scss +484 -0
  72. data/_sass/bootstrap/_root.scss +20 -0
  73. data/_sass/bootstrap/_spinners.scss +56 -0
  74. data/_sass/bootstrap/_tables.scss +185 -0
  75. data/_sass/bootstrap/_toasts.scss +46 -0
  76. data/_sass/bootstrap/_tooltip.scss +115 -0
  77. data/_sass/bootstrap/_transitions.scss +20 -0
  78. data/_sass/bootstrap/_type.scss +125 -0
  79. data/_sass/bootstrap/_utilities.scss +18 -0
  80. data/_sass/bootstrap/_variables.scss +1142 -0
  81. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  82. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  83. data/_sass/bootstrap/bootstrap.scss +44 -0
  84. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  85. data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
  86. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  87. data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
  88. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  89. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  90. data/_sass/bootstrap/mixins/_buttons.scss +110 -0
  91. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  92. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  93. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  94. data/_sass/bootstrap/mixins/_float.scss +14 -0
  95. data/_sass/bootstrap/mixins/_forms.scss +178 -0
  96. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  97. data/_sass/bootstrap/mixins/_grid-framework.scss +80 -0
  98. data/_sass/bootstrap/mixins/_grid.scss +69 -0
  99. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  100. data/_sass/bootstrap/mixins/_image.scss +36 -0
  101. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  102. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  103. data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
  104. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  105. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  106. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  107. data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
  108. data/_sass/bootstrap/mixins/_size.scss +7 -0
  109. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  110. data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
  111. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  112. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  113. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  114. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  115. data/_sass/bootstrap/utilities/_align.scss +8 -0
  116. data/_sass/bootstrap/utilities/_background.scss +19 -0
  117. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  118. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  119. data/_sass/bootstrap/utilities/_display.scss +26 -0
  120. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  121. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  122. data/_sass/bootstrap/utilities/_float.scss +11 -0
  123. data/_sass/bootstrap/utilities/_interactions.scss +5 -0
  124. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  125. data/_sass/bootstrap/utilities/_position.scss +32 -0
  126. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  127. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  128. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  129. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  130. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  131. data/_sass/bootstrap/utilities/_text.scss +72 -0
  132. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  133. data/_sass/bootstrap/vendor/_rfs.scss +204 -0
  134. data/_sass/centos/_content.scss +101 -0
  135. data/_sass/centos/_datatable.scss +271 -0
  136. data/_sass/centos/_fonts.scss +1 -0
  137. data/_sass/centos/_footer.scss +49 -0
  138. data/_sass/centos/_header.scss +25 -0
  139. data/_sass/centos/_highlighter.scss +360 -0
  140. data/_sass/centos/_mixins.scss +4 -0
  141. data/_sass/centos/_nav.scss +10 -0
  142. data/_sass/centos/_rssfeeds.scss +17 -0
  143. data/_sass/centos/_variables.scss +111 -0
  144. data/_sass/centos/centos.scss +23 -0
  145. data/_sass/centos/content/_1col.scss +32 -0
  146. data/_sass/centos/content/_2col.scss +44 -0
  147. data/_sass/centos/content/_download.scss +17 -0
  148. data/_sass/centos/content/_sponsors.scss +9 -0
  149. data/_sass/centos/fonts/_montserrat.scss +256 -0
  150. data/_sass/centos/header/_home.scss +4 -0
  151. data/_sass/centos/header/_page.scss +4 -0
  152. data/_sass/centos/mixins/_content-card.scss +13 -0
  153. data/_sass/centos/mixins/_content-heading.scss +28 -0
  154. data/_sass/centos/mixins/_content-toc.scss +18 -0
  155. data/_sass/centos/mixins/_footer-link.scss +10 -0
  156. data/_sass/fontawesome/_animated.scss +20 -0
  157. data/_sass/fontawesome/_bordered-pulled.scss +20 -0
  158. data/_sass/fontawesome/_core.scss +21 -0
  159. data/_sass/fontawesome/_fixed-width.scss +6 -0
  160. data/_sass/fontawesome/_icons.scss +1462 -0
  161. data/_sass/fontawesome/_larger.scss +23 -0
  162. data/_sass/fontawesome/_list.scss +18 -0
  163. data/_sass/fontawesome/_mixins.scss +56 -0
  164. data/_sass/fontawesome/_rotated-flipped.scss +24 -0
  165. data/_sass/fontawesome/_screen-reader.scss +5 -0
  166. data/_sass/fontawesome/_shims.scss +2066 -0
  167. data/_sass/fontawesome/_stacked.scss +31 -0
  168. data/_sass/fontawesome/_variables.scss +1479 -0
  169. data/_sass/fontawesome/brands.scss +23 -0
  170. data/_sass/fontawesome/fontawesome.scss +16 -0
  171. data/_sass/fontawesome/regular.scss +23 -0
  172. data/_sass/fontawesome/solid.scss +24 -0
  173. data/_sass/fontawesome/v4-shims.scss +6 -0
  174. data/assets/css/centos.bootstrap.min.scss +4 -0
  175. data/assets/fonts/Montserrat/Montserrat-Black.woff +0 -0
  176. data/assets/fonts/Montserrat/Montserrat-Black.woff2 +0 -0
  177. data/assets/fonts/Montserrat/Montserrat-BlackItalic.woff +0 -0
  178. data/assets/fonts/Montserrat/Montserrat-BlackItalic.woff2 +0 -0
  179. data/assets/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  180. data/assets/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  181. data/assets/fonts/Montserrat/Montserrat-BoldItalic.woff +0 -0
  182. data/assets/fonts/Montserrat/Montserrat-BoldItalic.woff2 +0 -0
  183. data/assets/fonts/Montserrat/Montserrat-ExtraBold.woff +0 -0
  184. data/assets/fonts/Montserrat/Montserrat-ExtraBold.woff2 +0 -0
  185. data/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff +0 -0
  186. data/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff2 +0 -0
  187. data/assets/fonts/Montserrat/Montserrat-ExtraLight.woff +0 -0
  188. data/assets/fonts/Montserrat/Montserrat-ExtraLight.woff2 +0 -0
  189. data/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.woff +0 -0
  190. data/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.woff2 +0 -0
  191. data/assets/fonts/Montserrat/Montserrat-Italic.woff +0 -0
  192. data/assets/fonts/Montserrat/Montserrat-Italic.woff2 +0 -0
  193. data/assets/fonts/Montserrat/Montserrat-Light.woff +0 -0
  194. data/assets/fonts/Montserrat/Montserrat-Light.woff2 +0 -0
  195. data/assets/fonts/Montserrat/Montserrat-LightItalic.woff +0 -0
  196. data/assets/fonts/Montserrat/Montserrat-LightItalic.woff2 +0 -0
  197. data/assets/fonts/Montserrat/Montserrat-Medium.woff +0 -0
  198. data/assets/fonts/Montserrat/Montserrat-Medium.woff2 +0 -0
  199. data/assets/fonts/Montserrat/Montserrat-MediumItalic.woff +0 -0
  200. data/assets/fonts/Montserrat/Montserrat-MediumItalic.woff2 +0 -0
  201. data/assets/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  202. data/assets/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  203. data/assets/fonts/Montserrat/Montserrat-SemiBold.woff +0 -0
  204. data/assets/fonts/Montserrat/Montserrat-SemiBold.woff2 +0 -0
  205. data/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.woff +0 -0
  206. data/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.woff2 +0 -0
  207. data/assets/fonts/Montserrat/Montserrat-Thin.woff +0 -0
  208. data/assets/fonts/Montserrat/Montserrat-Thin.woff2 +0 -0
  209. data/assets/fonts/Montserrat/Montserrat-ThinItalic.woff +0 -0
  210. data/assets/fonts/Montserrat/Montserrat-ThinItalic.woff2 +0 -0
  211. data/assets/fonts/Montserrat/Montserrat.css +327 -0
  212. data/assets/fonts/Montserrat/MontserratAlternates-Black.woff +0 -0
  213. data/assets/fonts/Montserrat/MontserratAlternates-Black.woff2 +0 -0
  214. data/assets/fonts/Montserrat/MontserratAlternates-BlackItalic.woff +0 -0
  215. data/assets/fonts/Montserrat/MontserratAlternates-BlackItalic.woff2 +0 -0
  216. data/assets/fonts/Montserrat/MontserratAlternates-Bold.woff +0 -0
  217. data/assets/fonts/Montserrat/MontserratAlternates-Bold.woff2 +0 -0
  218. data/assets/fonts/Montserrat/MontserratAlternates-BoldItalic.woff +0 -0
  219. data/assets/fonts/Montserrat/MontserratAlternates-BoldItalic.woff2 +0 -0
  220. data/assets/fonts/Montserrat/MontserratAlternates-ExtraBold.woff +0 -0
  221. data/assets/fonts/Montserrat/MontserratAlternates-ExtraBold.woff2 +0 -0
  222. data/assets/fonts/Montserrat/MontserratAlternates-ExtraBoldItalic.woff +0 -0
  223. data/assets/fonts/Montserrat/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
  224. data/assets/fonts/Montserrat/MontserratAlternates-ExtraLight.woff +0 -0
  225. data/assets/fonts/Montserrat/MontserratAlternates-ExtraLight.woff2 +0 -0
  226. data/assets/fonts/Montserrat/MontserratAlternates-ExtraLightItalic.woff +0 -0
  227. data/assets/fonts/Montserrat/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
  228. data/assets/fonts/Montserrat/MontserratAlternates-Italic.woff +0 -0
  229. data/assets/fonts/Montserrat/MontserratAlternates-Italic.woff2 +0 -0
  230. data/assets/fonts/Montserrat/MontserratAlternates-Light.woff +0 -0
  231. data/assets/fonts/Montserrat/MontserratAlternates-Light.woff2 +0 -0
  232. data/assets/fonts/Montserrat/MontserratAlternates-LightItalic.woff +0 -0
  233. data/assets/fonts/Montserrat/MontserratAlternates-LightItalic.woff2 +0 -0
  234. data/assets/fonts/Montserrat/MontserratAlternates-Medium.woff +0 -0
  235. data/assets/fonts/Montserrat/MontserratAlternates-Medium.woff2 +0 -0
  236. data/assets/fonts/Montserrat/MontserratAlternates-MediumItalic.woff +0 -0
  237. data/assets/fonts/Montserrat/MontserratAlternates-MediumItalic.woff2 +0 -0
  238. data/assets/fonts/Montserrat/MontserratAlternates-Regular.woff +0 -0
  239. data/assets/fonts/Montserrat/MontserratAlternates-Regular.woff2 +0 -0
  240. data/assets/fonts/Montserrat/MontserratAlternates-SemiBold.woff +0 -0
  241. data/assets/fonts/Montserrat/MontserratAlternates-SemiBold.woff2 +0 -0
  242. data/assets/fonts/Montserrat/MontserratAlternates-SemiBoldItalic.woff +0 -0
  243. data/assets/fonts/Montserrat/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
  244. data/assets/fonts/Montserrat/MontserratAlternates-Thin.woff +0 -0
  245. data/assets/fonts/Montserrat/MontserratAlternates-Thin.woff2 +0 -0
  246. data/assets/fonts/Montserrat/MontserratAlternates-ThinItalic.woff +0 -0
  247. data/assets/fonts/Montserrat/MontserratAlternates-ThinItalic.woff2 +0 -0
  248. data/assets/fonts/Montserrat/README.MD +35 -0
  249. data/assets/fonts/fa-brands-400.eot +0 -0
  250. data/assets/fonts/fa-brands-400.svg +3717 -0
  251. data/assets/fonts/fa-brands-400.ttf +0 -0
  252. data/assets/fonts/fa-brands-400.woff +0 -0
  253. data/assets/fonts/fa-brands-400.woff2 +0 -0
  254. data/assets/fonts/fa-regular-400.eot +0 -0
  255. data/assets/fonts/fa-regular-400.svg +801 -0
  256. data/assets/fonts/fa-regular-400.ttf +0 -0
  257. data/assets/fonts/fa-regular-400.woff +0 -0
  258. data/assets/fonts/fa-regular-400.woff2 +0 -0
  259. data/assets/fonts/fa-solid-900.eot +0 -0
  260. data/assets/fonts/fa-solid-900.svg +5028 -0
  261. data/assets/fonts/fa-solid-900.ttf +0 -0
  262. data/assets/fonts/fa-solid-900.woff +0 -0
  263. data/assets/fonts/fa-solid-900.woff2 +0 -0
  264. data/assets/img/centos-logo-white.png +0 -0
  265. data/assets/img/centos-motif.png +0 -0
  266. data/assets/img/favicon.png +0 -0
  267. data/assets/js/bootstrap.min.js +7 -0
  268. data/assets/js/bootstrap.min.js.map +1 -0
  269. data/assets/js/dataTables.bootstrap4.min.js +14 -0
  270. data/assets/js/jquery.dataTables.min.js +184 -0
  271. data/assets/js/jquery.min.js +2 -0
  272. data/assets/js/jquery.rss.js +11 -0
  273. data/assets/js/moment.min.js +7 -0
  274. metadata +357 -0
@@ -0,0 +1,17 @@
1
+ .jumbotron {
2
+ padding: $jumbotron-padding ($jumbotron-padding / 2);
3
+ margin-bottom: $jumbotron-padding;
4
+ color: $jumbotron-color;
5
+ background-color: $jumbotron-bg;
6
+ @include border-radius($border-radius-lg);
7
+
8
+ @include media-breakpoint-up(sm) {
9
+ padding: ($jumbotron-padding * 2) $jumbotron-padding;
10
+ }
11
+ }
12
+
13
+ .jumbotron-fluid {
14
+ padding-right: 0;
15
+ padding-left: 0;
16
+ @include border-radius(0);
17
+ }
@@ -0,0 +1,154 @@
1
+ // Base class
2
+ //
3
+ // Easily usable on <ul>, <ol>, or <div>.
4
+
5
+ .list-group {
6
+ display: flex;
7
+ flex-direction: column;
8
+
9
+ // No need to set list-style: none; since .list-group-item is block level
10
+ padding-left: 0; // reset padding because ul and ol
11
+ margin-bottom: 0;
12
+ @include border-radius($list-group-border-radius);
13
+ }
14
+
15
+
16
+ // Interactive list items
17
+ //
18
+ // Use anchor or button elements instead of `li`s or `div`s to create interactive
19
+ // list items. Includes an extra `.active` modifier class for selected items.
20
+
21
+ .list-group-item-action {
22
+ width: 100%; // For `<button>`s (anchors become 100% by default though)
23
+ color: $list-group-action-color;
24
+ text-align: inherit; // For `<button>`s (anchors inherit)
25
+
26
+ // Hover state
27
+ @include hover-focus() {
28
+ z-index: 1; // Place hover/focus items above their siblings for proper border styling
29
+ color: $list-group-action-hover-color;
30
+ text-decoration: none;
31
+ background-color: $list-group-hover-bg;
32
+ }
33
+
34
+ &:active {
35
+ color: $list-group-action-active-color;
36
+ background-color: $list-group-action-active-bg;
37
+ }
38
+ }
39
+
40
+
41
+ // Individual list items
42
+ //
43
+ // Use on `li`s or `div`s within the `.list-group` parent.
44
+
45
+ .list-group-item {
46
+ position: relative;
47
+ display: block;
48
+ padding: $list-group-item-padding-y $list-group-item-padding-x;
49
+ color: $list-group-color;
50
+ text-decoration: if($link-decoration == none, null, none);
51
+ background-color: $list-group-bg;
52
+ border: $list-group-border-width solid $list-group-border-color;
53
+
54
+ &:first-child {
55
+ @include border-top-radius(inherit);
56
+ }
57
+
58
+ &:last-child {
59
+ @include border-bottom-radius(inherit);
60
+ }
61
+
62
+ &.disabled,
63
+ &:disabled {
64
+ color: $list-group-disabled-color;
65
+ pointer-events: none;
66
+ background-color: $list-group-disabled-bg;
67
+ }
68
+
69
+ // Include both here for `<a>`s and `<button>`s
70
+ &.active {
71
+ z-index: 2; // Place active items above their siblings for proper border styling
72
+ color: $list-group-active-color;
73
+ background-color: $list-group-active-bg;
74
+ border-color: $list-group-active-border-color;
75
+ }
76
+
77
+ & + & {
78
+ border-top-width: 0;
79
+
80
+ &.active {
81
+ margin-top: -$list-group-border-width;
82
+ border-top-width: $list-group-border-width;
83
+ }
84
+ }
85
+ }
86
+
87
+
88
+ // Horizontal
89
+ //
90
+ // Change the layout of list group items from vertical (default) to horizontal.
91
+
92
+ @each $breakpoint in map-keys($grid-breakpoints) {
93
+ @include media-breakpoint-up($breakpoint) {
94
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
95
+
96
+ .list-group-horizontal#{$infix} {
97
+ flex-direction: row;
98
+
99
+ > .list-group-item {
100
+ &:first-child {
101
+ @include border-bottom-left-radius($list-group-border-radius);
102
+ @include border-top-right-radius(0);
103
+ }
104
+
105
+ &:last-child {
106
+ @include border-top-right-radius($list-group-border-radius);
107
+ @include border-bottom-left-radius(0);
108
+ }
109
+
110
+ &.active {
111
+ margin-top: 0;
112
+ }
113
+
114
+ + .list-group-item {
115
+ border-top-width: $list-group-border-width;
116
+ border-left-width: 0;
117
+
118
+ &.active {
119
+ margin-left: -$list-group-border-width;
120
+ border-left-width: $list-group-border-width;
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+
128
+
129
+ // Flush list items
130
+ //
131
+ // Remove borders and border-radius to keep list group items edge-to-edge. Most
132
+ // useful within other components (e.g., cards).
133
+
134
+ .list-group-flush {
135
+ @include border-radius(0);
136
+
137
+ > .list-group-item {
138
+ border-width: 0 0 $list-group-border-width;
139
+
140
+ &:last-child {
141
+ border-bottom-width: 0;
142
+ }
143
+ }
144
+ }
145
+
146
+
147
+ // Contextual variants
148
+ //
149
+ // Add modifier classes to change text and background color on individual items.
150
+ // Organizationally, this must come after the `:hover` states.
151
+
152
+ @each $color, $value in $theme-colors {
153
+ @include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
154
+ }
@@ -0,0 +1,8 @@
1
+ .media {
2
+ display: flex;
3
+ align-items: flex-start;
4
+ }
5
+
6
+ .media-body {
7
+ flex: 1;
8
+ }
@@ -0,0 +1,47 @@
1
+ // Toggles
2
+ //
3
+ // Used in conjunction with global variables to enable certain theme features.
4
+
5
+ // Vendor
6
+ @import "vendor/rfs";
7
+
8
+ // Deprecate
9
+ @import "mixins/deprecate";
10
+
11
+ // Utilities
12
+ @import "mixins/breakpoints";
13
+ @import "mixins/hover";
14
+ @import "mixins/image";
15
+ @import "mixins/badge";
16
+ @import "mixins/resize";
17
+ @import "mixins/screen-reader";
18
+ @import "mixins/size";
19
+ @import "mixins/reset-text";
20
+ @import "mixins/text-emphasis";
21
+ @import "mixins/text-hide";
22
+ @import "mixins/text-truncate";
23
+ @import "mixins/visibility";
24
+
25
+ // Components
26
+ @import "mixins/alert";
27
+ @import "mixins/buttons";
28
+ @import "mixins/caret";
29
+ @import "mixins/pagination";
30
+ @import "mixins/lists";
31
+ @import "mixins/list-group";
32
+ @import "mixins/nav-divider";
33
+ @import "mixins/forms";
34
+ @import "mixins/table-row";
35
+
36
+ // Skins
37
+ @import "mixins/background-variant";
38
+ @import "mixins/border-radius";
39
+ @import "mixins/box-shadow";
40
+ @import "mixins/gradients";
41
+ @import "mixins/transition";
42
+
43
+ // Layout
44
+ @import "mixins/clearfix";
45
+ @import "mixins/grid-framework";
46
+ @import "mixins/grid";
47
+ @import "mixins/float";
@@ -0,0 +1,240 @@
1
+ // .modal-open - body class for killing the scroll
2
+ // .modal - container to scroll within
3
+ // .modal-dialog - positioning shell for the actual modal
4
+ // .modal-content - actual modal w/ bg and corners and stuff
5
+
6
+
7
+ .modal-open {
8
+ // Kill the scroll on the body
9
+ overflow: hidden;
10
+
11
+ .modal {
12
+ overflow-x: hidden;
13
+ overflow-y: auto;
14
+ }
15
+ }
16
+
17
+ // Container that the modal scrolls within
18
+ .modal {
19
+ position: fixed;
20
+ top: 0;
21
+ left: 0;
22
+ z-index: $zindex-modal;
23
+ display: none;
24
+ width: 100%;
25
+ height: 100%;
26
+ overflow: hidden;
27
+ // Prevent Chrome on Windows from adding a focus outline. For details, see
28
+ // https://github.com/twbs/bootstrap/pull/10951.
29
+ outline: 0;
30
+ // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
31
+ // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
32
+ // See also https://github.com/twbs/bootstrap/issues/17695
33
+ }
34
+
35
+ // Shell div to position the modal with bottom padding
36
+ .modal-dialog {
37
+ position: relative;
38
+ width: auto;
39
+ margin: $modal-dialog-margin;
40
+ // allow clicks to pass through for custom click handling to close modal
41
+ pointer-events: none;
42
+
43
+ // When fading in the modal, animate it to slide down
44
+ .modal.fade & {
45
+ @include transition($modal-transition);
46
+ transform: $modal-fade-transform;
47
+ }
48
+ .modal.show & {
49
+ transform: $modal-show-transform;
50
+ }
51
+
52
+ // When trying to close, animate focus to scale
53
+ .modal.modal-static & {
54
+ transform: $modal-scale-transform;
55
+ }
56
+ }
57
+
58
+ .modal-dialog-scrollable {
59
+ display: flex; // IE10/11
60
+ max-height: subtract(100%, $modal-dialog-margin * 2);
61
+
62
+ .modal-content {
63
+ max-height: subtract(100vh, $modal-dialog-margin * 2); // IE10/11
64
+ overflow: hidden;
65
+ }
66
+
67
+ .modal-header,
68
+ .modal-footer {
69
+ flex-shrink: 0;
70
+ }
71
+
72
+ .modal-body {
73
+ overflow-y: auto;
74
+ }
75
+ }
76
+
77
+ .modal-dialog-centered {
78
+ display: flex;
79
+ align-items: center;
80
+ min-height: subtract(100%, $modal-dialog-margin * 2);
81
+
82
+ // Ensure `modal-dialog-centered` extends the full height of the view (IE10/11)
83
+ &::before {
84
+ display: block; // IE10
85
+ height: subtract(100vh, $modal-dialog-margin * 2);
86
+ height: min-content; // Reset height to 0 except on IE
87
+ content: "";
88
+ }
89
+
90
+ // Ensure `.modal-body` shows scrollbar (IE10/11)
91
+ &.modal-dialog-scrollable {
92
+ flex-direction: column;
93
+ justify-content: center;
94
+ height: 100%;
95
+
96
+ .modal-content {
97
+ max-height: none;
98
+ }
99
+
100
+ &::before {
101
+ content: none;
102
+ }
103
+ }
104
+ }
105
+
106
+ // Actual modal
107
+ .modal-content {
108
+ position: relative;
109
+ display: flex;
110
+ flex-direction: column;
111
+ width: 100%; // Ensure `.modal-content` extends the full width of the parent `.modal-dialog`
112
+ // counteract the pointer-events: none; in the .modal-dialog
113
+ color: $modal-content-color;
114
+ pointer-events: auto;
115
+ background-color: $modal-content-bg;
116
+ background-clip: padding-box;
117
+ border: $modal-content-border-width solid $modal-content-border-color;
118
+ @include border-radius($modal-content-border-radius);
119
+ @include box-shadow($modal-content-box-shadow-xs);
120
+ // Remove focus outline from opened modal
121
+ outline: 0;
122
+ }
123
+
124
+ // Modal background
125
+ .modal-backdrop {
126
+ position: fixed;
127
+ top: 0;
128
+ left: 0;
129
+ z-index: $zindex-modal-backdrop;
130
+ width: 100vw;
131
+ height: 100vh;
132
+ background-color: $modal-backdrop-bg;
133
+
134
+ // Fade for backdrop
135
+ &.fade { opacity: 0; }
136
+ &.show { opacity: $modal-backdrop-opacity; }
137
+ }
138
+
139
+ // Modal header
140
+ // Top section of the modal w/ title and dismiss
141
+ .modal-header {
142
+ display: flex;
143
+ align-items: flex-start; // so the close btn always stays on the upper right corner
144
+ justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
145
+ padding: $modal-header-padding;
146
+ border-bottom: $modal-header-border-width solid $modal-header-border-color;
147
+ @include border-top-radius($modal-content-inner-border-radius);
148
+
149
+ .close {
150
+ padding: $modal-header-padding;
151
+ // auto on the left force icon to the right even when there is no .modal-title
152
+ margin: (-$modal-header-padding-y) (-$modal-header-padding-x) (-$modal-header-padding-y) auto;
153
+ }
154
+ }
155
+
156
+ // Title text within header
157
+ .modal-title {
158
+ margin-bottom: 0;
159
+ line-height: $modal-title-line-height;
160
+ }
161
+
162
+ // Modal body
163
+ // Where all modal content resides (sibling of .modal-header and .modal-footer)
164
+ .modal-body {
165
+ position: relative;
166
+ // Enable `flex-grow: 1` so that the body take up as much space as possible
167
+ // when there should be a fixed height on `.modal-dialog`.
168
+ flex: 1 1 auto;
169
+ padding: $modal-inner-padding;
170
+ }
171
+
172
+ // Footer (for actions)
173
+ .modal-footer {
174
+ display: flex;
175
+ flex-wrap: wrap;
176
+ align-items: center; // vertically center
177
+ justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items
178
+ padding: $modal-inner-padding - $modal-footer-margin-between / 2;
179
+ border-top: $modal-footer-border-width solid $modal-footer-border-color;
180
+ @include border-bottom-radius($modal-content-inner-border-radius);
181
+
182
+ // Place margin between footer elements
183
+ // This solution is far from ideal because of the universal selector usage,
184
+ // but is needed to fix https://github.com/twbs/bootstrap/issues/24800
185
+ > * {
186
+ margin: $modal-footer-margin-between / 2;
187
+ }
188
+ }
189
+
190
+ // Measure scrollbar width for padding body during modal show/hide
191
+ .modal-scrollbar-measure {
192
+ position: absolute;
193
+ top: -9999px;
194
+ width: 50px;
195
+ height: 50px;
196
+ overflow: scroll;
197
+ }
198
+
199
+ // Scale up the modal
200
+ @include media-breakpoint-up(sm) {
201
+ // Automatically set modal's width for larger viewports
202
+ .modal-dialog {
203
+ max-width: $modal-md;
204
+ margin: $modal-dialog-margin-y-sm-up auto;
205
+ }
206
+
207
+ .modal-dialog-scrollable {
208
+ max-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2);
209
+
210
+ .modal-content {
211
+ max-height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
212
+ }
213
+ }
214
+
215
+ .modal-dialog-centered {
216
+ min-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2);
217
+
218
+ &::before {
219
+ height: subtract(100vh, $modal-dialog-margin-y-sm-up * 2);
220
+ height: min-content;
221
+ }
222
+ }
223
+
224
+ .modal-content {
225
+ @include box-shadow($modal-content-box-shadow-sm-up);
226
+ }
227
+
228
+ .modal-sm { max-width: $modal-sm; }
229
+ }
230
+
231
+ @include media-breakpoint-up(lg) {
232
+ .modal-lg,
233
+ .modal-xl {
234
+ max-width: $modal-lg;
235
+ }
236
+ }
237
+
238
+ @include media-breakpoint-up(xl) {
239
+ .modal-xl { max-width: $modal-xl; }
240
+ }