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,524 +0,0 @@
1
- // Embedded icons from Open Iconic.
2
- // Released under MIT and copyright 2014 Waybury.
3
- // https://useiconic.com/open
4
-
5
-
6
- // Checkboxes and radios
7
- //
8
- // Base class takes care of all the key behavioral aspects.
9
-
10
- .custom-control {
11
- position: relative;
12
- z-index: 1;
13
- display: block;
14
- min-height: $font-size-base * $line-height-base;
15
- padding-left: $custom-control-gutter + $custom-control-indicator-size;
16
- color-adjust: exact; // Keep themed appearance for print
17
- }
18
-
19
- .custom-control-inline {
20
- display: inline-flex;
21
- margin-right: $custom-control-spacer-x;
22
- }
23
-
24
- .custom-control-input {
25
- position: absolute;
26
- left: 0;
27
- z-index: -1; // Put the input behind the label so it doesn't overlay text
28
- width: $custom-control-indicator-size;
29
- height: ($font-size-base * $line-height-base + $custom-control-indicator-size) / 2;
30
- opacity: 0;
31
-
32
- &:checked ~ .custom-control-label::before {
33
- color: $custom-control-indicator-checked-color;
34
- border-color: $custom-control-indicator-checked-border-color;
35
- @include gradient-bg($custom-control-indicator-checked-bg);
36
- @include box-shadow($custom-control-indicator-checked-box-shadow);
37
- }
38
-
39
- &:focus ~ .custom-control-label::before {
40
- // the mixin is not used here to make sure there is feedback
41
- @if $enable-shadows {
42
- box-shadow: $input-box-shadow, $custom-control-indicator-focus-box-shadow;
43
- } @else {
44
- box-shadow: $custom-control-indicator-focus-box-shadow;
45
- }
46
- }
47
-
48
- &:focus:not(:checked) ~ .custom-control-label::before {
49
- border-color: $custom-control-indicator-focus-border-color;
50
- }
51
-
52
- &:not(:disabled):active ~ .custom-control-label::before {
53
- color: $custom-control-indicator-active-color;
54
- background-color: $custom-control-indicator-active-bg;
55
- border-color: $custom-control-indicator-active-border-color;
56
- @include box-shadow($custom-control-indicator-active-box-shadow);
57
- }
58
-
59
- // Use [disabled] and :disabled to work around https://github.com/twbs/bootstrap/issues/28247
60
- &[disabled],
61
- &:disabled {
62
- ~ .custom-control-label {
63
- color: $custom-control-label-disabled-color;
64
-
65
- &::before {
66
- background-color: $custom-control-indicator-disabled-bg;
67
- }
68
- }
69
- }
70
- }
71
-
72
- // Custom control indicators
73
- //
74
- // Build the custom controls out of pseudo-elements.
75
-
76
- .custom-control-label {
77
- position: relative;
78
- margin-bottom: 0;
79
- color: $custom-control-label-color;
80
- vertical-align: top;
81
- cursor: $custom-control-cursor;
82
-
83
- // Background-color and (when enabled) gradient
84
- &::before {
85
- position: absolute;
86
- top: ($font-size-base * $line-height-base - $custom-control-indicator-size) / 2;
87
- left: -($custom-control-gutter + $custom-control-indicator-size);
88
- display: block;
89
- width: $custom-control-indicator-size;
90
- height: $custom-control-indicator-size;
91
- pointer-events: none;
92
- content: "";
93
- background-color: $custom-control-indicator-bg;
94
- border: $custom-control-indicator-border-color solid $custom-control-indicator-border-width;
95
- @include box-shadow($custom-control-indicator-box-shadow);
96
- }
97
-
98
- // Foreground (icon)
99
- &::after {
100
- position: absolute;
101
- top: ($font-size-base * $line-height-base - $custom-control-indicator-size) / 2;
102
- left: -($custom-control-gutter + $custom-control-indicator-size);
103
- display: block;
104
- width: $custom-control-indicator-size;
105
- height: $custom-control-indicator-size;
106
- content: "";
107
- background: no-repeat 50% / #{$custom-control-indicator-bg-size};
108
- }
109
- }
110
-
111
-
112
- // Checkboxes
113
- //
114
- // Tweak just a few things for checkboxes.
115
-
116
- .custom-checkbox {
117
- .custom-control-label::before {
118
- @include border-radius($custom-checkbox-indicator-border-radius);
119
- }
120
-
121
- .custom-control-input:checked ~ .custom-control-label {
122
- &::after {
123
- background-image: escape-svg($custom-checkbox-indicator-icon-checked);
124
- }
125
- }
126
-
127
- .custom-control-input:indeterminate ~ .custom-control-label {
128
- &::before {
129
- border-color: $custom-checkbox-indicator-indeterminate-border-color;
130
- @include gradient-bg($custom-checkbox-indicator-indeterminate-bg);
131
- @include box-shadow($custom-checkbox-indicator-indeterminate-box-shadow);
132
- }
133
- &::after {
134
- background-image: escape-svg($custom-checkbox-indicator-icon-indeterminate);
135
- }
136
- }
137
-
138
- .custom-control-input:disabled {
139
- &:checked ~ .custom-control-label::before {
140
- @include gradient-bg($custom-control-indicator-checked-disabled-bg);
141
- }
142
- &:indeterminate ~ .custom-control-label::before {
143
- @include gradient-bg($custom-control-indicator-checked-disabled-bg);
144
- }
145
- }
146
- }
147
-
148
- // Radios
149
- //
150
- // Tweak just a few things for radios.
151
-
152
- .custom-radio {
153
- .custom-control-label::before {
154
- // stylelint-disable-next-line property-disallowed-list
155
- border-radius: $custom-radio-indicator-border-radius;
156
- }
157
-
158
- .custom-control-input:checked ~ .custom-control-label {
159
- &::after {
160
- background-image: escape-svg($custom-radio-indicator-icon-checked);
161
- }
162
- }
163
-
164
- .custom-control-input:disabled {
165
- &:checked ~ .custom-control-label::before {
166
- @include gradient-bg($custom-control-indicator-checked-disabled-bg);
167
- }
168
- }
169
- }
170
-
171
-
172
- // switches
173
- //
174
- // Tweak a few things for switches
175
-
176
- .custom-switch {
177
- padding-left: $custom-switch-width + $custom-control-gutter;
178
-
179
- .custom-control-label {
180
- &::before {
181
- left: -($custom-switch-width + $custom-control-gutter);
182
- width: $custom-switch-width;
183
- pointer-events: all;
184
- // stylelint-disable-next-line property-disallowed-list
185
- border-radius: $custom-switch-indicator-border-radius;
186
- }
187
-
188
- &::after {
189
- top: add(($font-size-base * $line-height-base - $custom-control-indicator-size) / 2, $custom-control-indicator-border-width * 2);
190
- left: add(-($custom-switch-width + $custom-control-gutter), $custom-control-indicator-border-width * 2);
191
- width: $custom-switch-indicator-size;
192
- height: $custom-switch-indicator-size;
193
- background-color: $custom-control-indicator-border-color;
194
- // stylelint-disable-next-line property-disallowed-list
195
- border-radius: $custom-switch-indicator-border-radius;
196
- @include transition(transform .15s ease-in-out, $custom-forms-transition);
197
- }
198
- }
199
-
200
- .custom-control-input:checked ~ .custom-control-label {
201
- &::after {
202
- background-color: $custom-control-indicator-bg;
203
- transform: translateX($custom-switch-width - $custom-control-indicator-size);
204
- }
205
- }
206
-
207
- .custom-control-input:disabled {
208
- &:checked ~ .custom-control-label::before {
209
- @include gradient-bg($custom-control-indicator-checked-disabled-bg);
210
- }
211
- }
212
- }
213
-
214
-
215
- // Select
216
- //
217
- // Replaces the browser default select with a custom one, mostly pulled from
218
- // https://primer.github.io/.
219
- //
220
-
221
- .custom-select {
222
- display: inline-block;
223
- width: 100%;
224
- height: $custom-select-height;
225
- padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
226
- font-family: $custom-select-font-family;
227
- @include font-size($custom-select-font-size);
228
- font-weight: $custom-select-font-weight;
229
- line-height: $custom-select-line-height;
230
- color: $custom-select-color;
231
- vertical-align: middle;
232
- background: $custom-select-bg $custom-select-background;
233
- border: $custom-select-border-width solid $custom-select-border-color;
234
- @include border-radius($custom-select-border-radius, 0);
235
- @include box-shadow($custom-select-box-shadow);
236
- appearance: none;
237
-
238
- &:focus {
239
- border-color: $custom-select-focus-border-color;
240
- outline: 0;
241
- @if $enable-shadows {
242
- @include box-shadow($custom-select-box-shadow, $custom-select-focus-box-shadow);
243
- } @else {
244
- // Avoid using mixin so we can pass custom focus shadow properly
245
- box-shadow: $custom-select-focus-box-shadow;
246
- }
247
-
248
- &::-ms-value {
249
- // For visual consistency with other platforms/browsers,
250
- // suppress the default white text on blue background highlight given to
251
- // the selected option text when the (still closed) <select> receives focus
252
- // in IE and (under certain conditions) Edge.
253
- // See https://github.com/twbs/bootstrap/issues/19398.
254
- color: $input-color;
255
- background-color: $input-bg;
256
- }
257
- }
258
-
259
- &[multiple],
260
- &[size]:not([size="1"]) {
261
- height: auto;
262
- padding-right: $custom-select-padding-x;
263
- background-image: none;
264
- }
265
-
266
- &:disabled {
267
- color: $custom-select-disabled-color;
268
- background-color: $custom-select-disabled-bg;
269
- }
270
-
271
- // Hides the default caret in IE11
272
- &::-ms-expand {
273
- display: none;
274
- }
275
-
276
- // Remove outline from select box in FF
277
- &:-moz-focusring {
278
- color: transparent;
279
- text-shadow: 0 0 0 $custom-select-color;
280
- }
281
- }
282
-
283
- .custom-select-sm {
284
- height: $custom-select-height-sm;
285
- padding-top: $custom-select-padding-y-sm;
286
- padding-bottom: $custom-select-padding-y-sm;
287
- padding-left: $custom-select-padding-x-sm;
288
- @include font-size($custom-select-font-size-sm);
289
- }
290
-
291
- .custom-select-lg {
292
- height: $custom-select-height-lg;
293
- padding-top: $custom-select-padding-y-lg;
294
- padding-bottom: $custom-select-padding-y-lg;
295
- padding-left: $custom-select-padding-x-lg;
296
- @include font-size($custom-select-font-size-lg);
297
- }
298
-
299
-
300
- // File
301
- //
302
- // Custom file input.
303
-
304
- .custom-file {
305
- position: relative;
306
- display: inline-block;
307
- width: 100%;
308
- height: $custom-file-height;
309
- margin-bottom: 0;
310
- }
311
-
312
- .custom-file-input {
313
- position: relative;
314
- z-index: 2;
315
- width: 100%;
316
- height: $custom-file-height;
317
- margin: 0;
318
- opacity: 0;
319
-
320
- &:focus ~ .custom-file-label {
321
- border-color: $custom-file-focus-border-color;
322
- box-shadow: $custom-file-focus-box-shadow;
323
- }
324
-
325
- // Use [disabled] and :disabled to work around https://github.com/twbs/bootstrap/issues/28247
326
- &[disabled] ~ .custom-file-label,
327
- &:disabled ~ .custom-file-label {
328
- background-color: $custom-file-disabled-bg;
329
- }
330
-
331
- @each $lang, $value in $custom-file-text {
332
- &:lang(#{$lang}) ~ .custom-file-label::after {
333
- content: $value;
334
- }
335
- }
336
-
337
- ~ .custom-file-label[data-browse]::after {
338
- content: attr(data-browse);
339
- }
340
- }
341
-
342
- .custom-file-label {
343
- position: absolute;
344
- top: 0;
345
- right: 0;
346
- left: 0;
347
- z-index: 1;
348
- height: $custom-file-height;
349
- padding: $custom-file-padding-y $custom-file-padding-x;
350
- font-family: $custom-file-font-family;
351
- font-weight: $custom-file-font-weight;
352
- line-height: $custom-file-line-height;
353
- color: $custom-file-color;
354
- background-color: $custom-file-bg;
355
- border: $custom-file-border-width solid $custom-file-border-color;
356
- @include border-radius($custom-file-border-radius);
357
- @include box-shadow($custom-file-box-shadow);
358
-
359
- &::after {
360
- position: absolute;
361
- top: 0;
362
- right: 0;
363
- bottom: 0;
364
- z-index: 3;
365
- display: block;
366
- height: $custom-file-height-inner;
367
- padding: $custom-file-padding-y $custom-file-padding-x;
368
- line-height: $custom-file-line-height;
369
- color: $custom-file-button-color;
370
- content: "Browse";
371
- @include gradient-bg($custom-file-button-bg);
372
- border-left: inherit;
373
- @include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
374
- }
375
- }
376
-
377
- // Range
378
- //
379
- // Style range inputs the same across browsers. Vendor-specific rules for pseudo
380
- // elements cannot be mixed. As such, there are no shared styles for focus or
381
- // active states on prefixed selectors.
382
-
383
- .custom-range {
384
- width: 100%;
385
- height: add($custom-range-thumb-height, $custom-range-thumb-focus-box-shadow-width * 2);
386
- padding: 0; // Need to reset padding
387
- background-color: transparent;
388
- appearance: none;
389
-
390
- &:focus {
391
- outline: none;
392
-
393
- // Pseudo-elements must be split across multiple rulesets to have an effect.
394
- // No box-shadow() mixin for focus accessibility.
395
- &::-webkit-slider-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
396
- &::-moz-range-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
397
- &::-ms-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
398
- }
399
-
400
- &::-moz-focus-outer {
401
- border: 0;
402
- }
403
-
404
- &::-webkit-slider-thumb {
405
- width: $custom-range-thumb-width;
406
- height: $custom-range-thumb-height;
407
- margin-top: ($custom-range-track-height - $custom-range-thumb-height) / 2; // Webkit specific
408
- @include gradient-bg($custom-range-thumb-bg);
409
- border: $custom-range-thumb-border;
410
- @include border-radius($custom-range-thumb-border-radius);
411
- @include box-shadow($custom-range-thumb-box-shadow);
412
- @include transition($custom-forms-transition);
413
- appearance: none;
414
-
415
- &:active {
416
- @include gradient-bg($custom-range-thumb-active-bg);
417
- }
418
- }
419
-
420
- &::-webkit-slider-runnable-track {
421
- width: $custom-range-track-width;
422
- height: $custom-range-track-height;
423
- color: transparent; // Why?
424
- cursor: $custom-range-track-cursor;
425
- background-color: $custom-range-track-bg;
426
- border-color: transparent;
427
- @include border-radius($custom-range-track-border-radius);
428
- @include box-shadow($custom-range-track-box-shadow);
429
- }
430
-
431
- &::-moz-range-thumb {
432
- width: $custom-range-thumb-width;
433
- height: $custom-range-thumb-height;
434
- @include gradient-bg($custom-range-thumb-bg);
435
- border: $custom-range-thumb-border;
436
- @include border-radius($custom-range-thumb-border-radius);
437
- @include box-shadow($custom-range-thumb-box-shadow);
438
- @include transition($custom-forms-transition);
439
- appearance: none;
440
-
441
- &:active {
442
- @include gradient-bg($custom-range-thumb-active-bg);
443
- }
444
- }
445
-
446
- &::-moz-range-track {
447
- width: $custom-range-track-width;
448
- height: $custom-range-track-height;
449
- color: transparent;
450
- cursor: $custom-range-track-cursor;
451
- background-color: $custom-range-track-bg;
452
- border-color: transparent; // Firefox specific?
453
- @include border-radius($custom-range-track-border-radius);
454
- @include box-shadow($custom-range-track-box-shadow);
455
- }
456
-
457
- &::-ms-thumb {
458
- width: $custom-range-thumb-width;
459
- height: $custom-range-thumb-height;
460
- margin-top: 0; // Edge specific
461
- margin-right: $custom-range-thumb-focus-box-shadow-width; // Workaround that overflowed box-shadow is hidden.
462
- margin-left: $custom-range-thumb-focus-box-shadow-width; // Workaround that overflowed box-shadow is hidden.
463
- @include gradient-bg($custom-range-thumb-bg);
464
- border: $custom-range-thumb-border;
465
- @include border-radius($custom-range-thumb-border-radius);
466
- @include box-shadow($custom-range-thumb-box-shadow);
467
- @include transition($custom-forms-transition);
468
- appearance: none;
469
-
470
- &:active {
471
- @include gradient-bg($custom-range-thumb-active-bg);
472
- }
473
- }
474
-
475
- &::-ms-track {
476
- width: $custom-range-track-width;
477
- height: $custom-range-track-height;
478
- color: transparent;
479
- cursor: $custom-range-track-cursor;
480
- background-color: transparent;
481
- border-color: transparent;
482
- border-width: $custom-range-thumb-height / 2;
483
- @include box-shadow($custom-range-track-box-shadow);
484
- }
485
-
486
- &::-ms-fill-lower {
487
- background-color: $custom-range-track-bg;
488
- @include border-radius($custom-range-track-border-radius);
489
- }
490
-
491
- &::-ms-fill-upper {
492
- margin-right: 15px; // arbitrary?
493
- background-color: $custom-range-track-bg;
494
- @include border-radius($custom-range-track-border-radius);
495
- }
496
-
497
- &:disabled {
498
- &::-webkit-slider-thumb {
499
- background-color: $custom-range-thumb-disabled-bg;
500
- }
501
-
502
- &::-webkit-slider-runnable-track {
503
- cursor: default;
504
- }
505
-
506
- &::-moz-range-thumb {
507
- background-color: $custom-range-thumb-disabled-bg;
508
- }
509
-
510
- &::-moz-range-track {
511
- cursor: default;
512
- }
513
-
514
- &::-ms-thumb {
515
- background-color: $custom-range-thumb-disabled-bg;
516
- }
517
- }
518
- }
519
-
520
- .custom-control-label::before,
521
- .custom-file-label,
522
- .custom-select {
523
- @include transition($custom-forms-transition);
524
- }
@@ -1,192 +0,0 @@
1
- // The dropdown wrapper (`<div>`)
2
- .dropup,
3
- .dropright,
4
- .dropdown,
5
- .dropleft {
6
- position: relative;
7
- }
8
-
9
- .dropdown-toggle {
10
- white-space: nowrap;
11
-
12
- // Generate the caret automatically
13
- @include caret();
14
- }
15
-
16
- // The dropdown menu
17
- .dropdown-menu {
18
- position: absolute;
19
- top: 100%;
20
- left: 0;
21
- z-index: $zindex-dropdown;
22
- display: none; // none by default, but block on "open" of the menu
23
- float: left;
24
- min-width: $dropdown-min-width;
25
- padding: $dropdown-padding-y $dropdown-padding-x;
26
- margin: $dropdown-spacer 0 0; // override default ul
27
- @include font-size($dropdown-font-size);
28
- color: $dropdown-color;
29
- text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
30
- list-style: none;
31
- background-color: $dropdown-bg;
32
- background-clip: padding-box;
33
- border: $dropdown-border-width solid $dropdown-border-color;
34
- @include border-radius($dropdown-border-radius);
35
- @include box-shadow($dropdown-box-shadow);
36
- }
37
-
38
- @each $breakpoint in map-keys($grid-breakpoints) {
39
- @include media-breakpoint-up($breakpoint) {
40
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
41
-
42
- .dropdown-menu#{$infix}-left {
43
- right: auto;
44
- left: 0;
45
- }
46
-
47
- .dropdown-menu#{$infix}-right {
48
- right: 0;
49
- left: auto;
50
- }
51
- }
52
- }
53
-
54
- // Allow for dropdowns to go bottom up (aka, dropup-menu)
55
- // Just add .dropup after the standard .dropdown class and you're set.
56
- .dropup {
57
- .dropdown-menu {
58
- top: auto;
59
- bottom: 100%;
60
- margin-top: 0;
61
- margin-bottom: $dropdown-spacer;
62
- }
63
-
64
- .dropdown-toggle {
65
- @include caret(up);
66
- }
67
- }
68
-
69
- .dropright {
70
- .dropdown-menu {
71
- top: 0;
72
- right: auto;
73
- left: 100%;
74
- margin-top: 0;
75
- margin-left: $dropdown-spacer;
76
- }
77
-
78
- .dropdown-toggle {
79
- @include caret(right);
80
- &::after {
81
- vertical-align: 0;
82
- }
83
- }
84
- }
85
-
86
- .dropleft {
87
- .dropdown-menu {
88
- top: 0;
89
- right: 100%;
90
- left: auto;
91
- margin-top: 0;
92
- margin-right: $dropdown-spacer;
93
- }
94
-
95
- .dropdown-toggle {
96
- @include caret(left);
97
- &::before {
98
- vertical-align: 0;
99
- }
100
- }
101
- }
102
-
103
- // When enabled Popper.js, reset basic dropdown position
104
- // stylelint-disable-next-line no-duplicate-selectors
105
- .dropdown-menu {
106
- &[x-placement^="top"],
107
- &[x-placement^="right"],
108
- &[x-placement^="bottom"],
109
- &[x-placement^="left"] {
110
- right: auto;
111
- bottom: auto;
112
- }
113
- }
114
-
115
- // Dividers (basically an `<hr>`) within the dropdown
116
- .dropdown-divider {
117
- @include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y, true);
118
- }
119
-
120
- // Links, buttons, and more within the dropdown menu
121
- //
122
- // `<button>`-specific styles are denoted with `// For <button>s`
123
- .dropdown-item {
124
- display: block;
125
- width: 100%; // For `<button>`s
126
- padding: $dropdown-item-padding-y $dropdown-item-padding-x;
127
- clear: both;
128
- font-weight: $font-weight-normal;
129
- color: $dropdown-link-color;
130
- text-align: inherit; // For `<button>`s
131
- text-decoration: if($link-decoration == none, null, none);
132
- white-space: nowrap; // prevent links from randomly breaking onto new lines
133
- background-color: transparent; // For `<button>`s
134
- border: 0; // For `<button>`s
135
-
136
- // Prevent dropdown overflow if there's no padding
137
- // See https://github.com/twbs/bootstrap/pull/27703
138
- @if $dropdown-padding-y == 0 {
139
- &:first-child {
140
- @include border-top-radius($dropdown-inner-border-radius);
141
- }
142
-
143
- &:last-child {
144
- @include border-bottom-radius($dropdown-inner-border-radius);
145
- }
146
- }
147
-
148
- @include hover-focus() {
149
- color: $dropdown-link-hover-color;
150
- text-decoration: none;
151
- @include gradient-bg($dropdown-link-hover-bg);
152
- }
153
-
154
- &.active,
155
- &:active {
156
- color: $dropdown-link-active-color;
157
- text-decoration: none;
158
- @include gradient-bg($dropdown-link-active-bg);
159
- }
160
-
161
- &.disabled,
162
- &:disabled {
163
- color: $dropdown-link-disabled-color;
164
- pointer-events: none;
165
- background-color: transparent;
166
- // Remove CSS gradients if they're enabled
167
- @if $enable-gradients {
168
- background-image: none;
169
- }
170
- }
171
- }
172
-
173
- .dropdown-menu.show {
174
- display: block;
175
- }
176
-
177
- // Dropdown section headers
178
- .dropdown-header {
179
- display: block;
180
- padding: $dropdown-header-padding;
181
- margin-bottom: 0; // for use with heading elements
182
- @include font-size($font-size-sm);
183
- color: $dropdown-header-color;
184
- white-space: nowrap; // as with > li > a
185
- }
186
-
187
- // Dropdown text
188
- .dropdown-item-text {
189
- display: block;
190
- padding: $dropdown-item-padding-y $dropdown-item-padding-x;
191
- color: $dropdown-link-color;
192
- }