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,347 +0,0 @@
1
- // stylelint-disable selector-no-qualifying-type
2
-
3
- //
4
- // Textual form controls
5
- //
6
-
7
- .form-control {
8
- display: block;
9
- width: 100%;
10
- height: $input-height;
11
- padding: $input-padding-y $input-padding-x;
12
- font-family: $input-font-family;
13
- @include font-size($input-font-size);
14
- font-weight: $input-font-weight;
15
- line-height: $input-line-height;
16
- color: $input-color;
17
- background-color: $input-bg;
18
- background-clip: padding-box;
19
- border: $input-border-width solid $input-border-color;
20
-
21
- // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
22
- @include border-radius($input-border-radius, 0);
23
-
24
- @include box-shadow($input-box-shadow);
25
- @include transition($input-transition);
26
-
27
- // Unstyle the caret on `<select>`s in IE10+.
28
- &::-ms-expand {
29
- background-color: transparent;
30
- border: 0;
31
- }
32
-
33
- // Remove select outline from select box in FF
34
- &:-moz-focusring {
35
- color: transparent;
36
- text-shadow: 0 0 0 $input-color;
37
- }
38
-
39
- // Customize the `:focus` state to imitate native WebKit styles.
40
- @include form-control-focus($ignore-warning: true);
41
-
42
- // Placeholder
43
- &::placeholder {
44
- color: $input-placeholder-color;
45
- // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
46
- opacity: 1;
47
- }
48
-
49
- // Disabled and read-only inputs
50
- //
51
- // HTML5 says that controls under a fieldset > legend:first-child won't be
52
- // disabled if the fieldset is disabled. Due to implementation difficulty, we
53
- // don't honor that edge case; we style them as disabled anyway.
54
- &:disabled,
55
- &[readonly] {
56
- background-color: $input-disabled-bg;
57
- // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
58
- opacity: 1;
59
- }
60
- }
61
-
62
- input[type="date"],
63
- input[type="time"],
64
- input[type="datetime-local"],
65
- input[type="month"] {
66
- &.form-control {
67
- appearance: none; // Fix appearance for date inputs in Safari
68
- }
69
- }
70
-
71
- select.form-control {
72
- &:focus::-ms-value {
73
- // Suppress the nested default white text on blue background highlight given to
74
- // the selected option text when the (still closed) <select> receives focus
75
- // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to
76
- // match the appearance of the native widget.
77
- // See https://github.com/twbs/bootstrap/issues/19398.
78
- color: $input-color;
79
- background-color: $input-bg;
80
- }
81
- }
82
-
83
- // Make file inputs better match text inputs by forcing them to new lines.
84
- .form-control-file,
85
- .form-control-range {
86
- display: block;
87
- width: 100%;
88
- }
89
-
90
-
91
- //
92
- // Labels
93
- //
94
-
95
- // For use with horizontal and inline forms, when you need the label (or legend)
96
- // text to align with the form controls.
97
- .col-form-label {
98
- padding-top: add($input-padding-y, $input-border-width);
99
- padding-bottom: add($input-padding-y, $input-border-width);
100
- margin-bottom: 0; // Override the `<label>/<legend>` default
101
- @include font-size(inherit); // Override the `<legend>` default
102
- line-height: $input-line-height;
103
- }
104
-
105
- .col-form-label-lg {
106
- padding-top: add($input-padding-y-lg, $input-border-width);
107
- padding-bottom: add($input-padding-y-lg, $input-border-width);
108
- @include font-size($input-font-size-lg);
109
- line-height: $input-line-height-lg;
110
- }
111
-
112
- .col-form-label-sm {
113
- padding-top: add($input-padding-y-sm, $input-border-width);
114
- padding-bottom: add($input-padding-y-sm, $input-border-width);
115
- @include font-size($input-font-size-sm);
116
- line-height: $input-line-height-sm;
117
- }
118
-
119
-
120
- // Readonly controls as plain text
121
- //
122
- // Apply class to a readonly input to make it appear like regular plain
123
- // text (without any border, background color, focus indicator)
124
-
125
- .form-control-plaintext {
126
- display: block;
127
- width: 100%;
128
- padding: $input-padding-y 0;
129
- margin-bottom: 0; // match inputs if this class comes on inputs with default margins
130
- @include font-size($input-font-size);
131
- line-height: $input-line-height;
132
- color: $input-plaintext-color;
133
- background-color: transparent;
134
- border: solid transparent;
135
- border-width: $input-border-width 0;
136
-
137
- &.form-control-sm,
138
- &.form-control-lg {
139
- padding-right: 0;
140
- padding-left: 0;
141
- }
142
- }
143
-
144
-
145
- // Form control sizing
146
- //
147
- // Build on `.form-control` with modifier classes to decrease or increase the
148
- // height and font-size of form controls.
149
- //
150
- // Repeated in `_input_group.scss` to avoid Sass extend issues.
151
-
152
- .form-control-sm {
153
- height: $input-height-sm;
154
- padding: $input-padding-y-sm $input-padding-x-sm;
155
- @include font-size($input-font-size-sm);
156
- line-height: $input-line-height-sm;
157
- @include border-radius($input-border-radius-sm);
158
- }
159
-
160
- .form-control-lg {
161
- height: $input-height-lg;
162
- padding: $input-padding-y-lg $input-padding-x-lg;
163
- @include font-size($input-font-size-lg);
164
- line-height: $input-line-height-lg;
165
- @include border-radius($input-border-radius-lg);
166
- }
167
-
168
- // stylelint-disable-next-line no-duplicate-selectors
169
- select.form-control {
170
- &[size],
171
- &[multiple] {
172
- height: auto;
173
- }
174
- }
175
-
176
- textarea.form-control {
177
- height: auto;
178
- }
179
-
180
- // Form groups
181
- //
182
- // Designed to help with the organization and spacing of vertical forms. For
183
- // horizontal forms, use the predefined grid classes.
184
-
185
- .form-group {
186
- margin-bottom: $form-group-margin-bottom;
187
- }
188
-
189
- .form-text {
190
- display: block;
191
- margin-top: $form-text-margin-top;
192
- }
193
-
194
-
195
- // Form grid
196
- //
197
- // Special replacement for our grid system's `.row` for tighter form layouts.
198
-
199
- .form-row {
200
- display: flex;
201
- flex-wrap: wrap;
202
- margin-right: -$form-grid-gutter-width / 2;
203
- margin-left: -$form-grid-gutter-width / 2;
204
-
205
- > .col,
206
- > [class*="col-"] {
207
- padding-right: $form-grid-gutter-width / 2;
208
- padding-left: $form-grid-gutter-width / 2;
209
- }
210
- }
211
-
212
-
213
- // Checkboxes and radios
214
- //
215
- // Indent the labels to position radios/checkboxes as hanging controls.
216
-
217
- .form-check {
218
- position: relative;
219
- display: block;
220
- padding-left: $form-check-input-gutter;
221
- }
222
-
223
- .form-check-input {
224
- position: absolute;
225
- margin-top: $form-check-input-margin-y;
226
- margin-left: -$form-check-input-gutter;
227
-
228
- // Use [disabled] and :disabled for workaround https://github.com/twbs/bootstrap/issues/28247
229
- &[disabled] ~ .form-check-label,
230
- &:disabled ~ .form-check-label {
231
- color: $text-muted;
232
- }
233
- }
234
-
235
- .form-check-label {
236
- margin-bottom: 0; // Override default `<label>` bottom margin
237
- }
238
-
239
- .form-check-inline {
240
- display: inline-flex;
241
- align-items: center;
242
- padding-left: 0; // Override base .form-check
243
- margin-right: $form-check-inline-margin-x;
244
-
245
- // Undo .form-check-input defaults and add some `margin-right`.
246
- .form-check-input {
247
- position: static;
248
- margin-top: 0;
249
- margin-right: $form-check-inline-input-margin-x;
250
- margin-left: 0;
251
- }
252
- }
253
-
254
-
255
- // Form validation
256
- //
257
- // Provide feedback to users when form field values are valid or invalid. Works
258
- // primarily for client-side validation via scoped `:invalid` and `:valid`
259
- // pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
260
- // server side validation.
261
-
262
- @each $state, $data in $form-validation-states {
263
- @include form-validation-state($state, map-get($data, color), map-get($data, icon));
264
- }
265
-
266
- // Inline forms
267
- //
268
- // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
269
- // forms begin stacked on extra small (mobile) devices and then go inline when
270
- // viewports reach <768px.
271
- //
272
- // Requires wrapping inputs and labels with `.form-group` for proper display of
273
- // default HTML form controls and our custom form controls (e.g., input groups).
274
-
275
- .form-inline {
276
- display: flex;
277
- flex-flow: row wrap;
278
- align-items: center; // Prevent shorter elements from growing to same height as others (e.g., small buttons growing to normal sized button height)
279
-
280
- // Because we use flex, the initial sizing of checkboxes is collapsed and
281
- // doesn't occupy the full-width (which is what we want for xs grid tier),
282
- // so we force that here.
283
- .form-check {
284
- width: 100%;
285
- }
286
-
287
- // Kick in the inline
288
- @include media-breakpoint-up(sm) {
289
- label {
290
- display: flex;
291
- align-items: center;
292
- justify-content: center;
293
- margin-bottom: 0;
294
- }
295
-
296
- // Inline-block all the things for "inline"
297
- .form-group {
298
- display: flex;
299
- flex: 0 0 auto;
300
- flex-flow: row wrap;
301
- align-items: center;
302
- margin-bottom: 0;
303
- }
304
-
305
- // Allow folks to *not* use `.form-group`
306
- .form-control {
307
- display: inline-block;
308
- width: auto; // Prevent labels from stacking above inputs in `.form-group`
309
- vertical-align: middle;
310
- }
311
-
312
- // Make static controls behave like regular ones
313
- .form-control-plaintext {
314
- display: inline-block;
315
- }
316
-
317
- .input-group,
318
- .custom-select {
319
- width: auto;
320
- }
321
-
322
- // Remove default margin on radios/checkboxes that were used for stacking, and
323
- // then undo the floating of radios and checkboxes to match.
324
- .form-check {
325
- display: flex;
326
- align-items: center;
327
- justify-content: center;
328
- width: auto;
329
- padding-left: 0;
330
- }
331
- .form-check-input {
332
- position: relative;
333
- flex-shrink: 0;
334
- margin-top: 0;
335
- margin-right: $form-check-input-margin-x;
336
- margin-left: 0;
337
- }
338
-
339
- .custom-control {
340
- align-items: center;
341
- justify-content: center;
342
- }
343
- .custom-control-label {
344
- margin-bottom: 0;
345
- }
346
- }
347
- }
@@ -1,144 +0,0 @@
1
- // Bootstrap functions
2
- //
3
- // Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
4
-
5
- // Ascending
6
- // Used to evaluate Sass maps like our grid breakpoints.
7
- @mixin _assert-ascending($map, $map-name) {
8
- $prev-key: null;
9
- $prev-num: null;
10
- @each $key, $num in $map {
11
- @if $prev-num == null or unit($num) == "%" or unit($prev-num) == "%" {
12
- // Do nothing
13
- } @else if not comparable($prev-num, $num) {
14
- @warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
15
- } @else if $prev-num >= $num {
16
- @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
17
- }
18
- $prev-key: $key;
19
- $prev-num: $num;
20
- }
21
- }
22
-
23
- // Starts at zero
24
- // Used to ensure the min-width of the lowest breakpoint starts at 0.
25
- @mixin _assert-starts-at-zero($map, $map-name: "$grid-breakpoints") {
26
- @if length($map) > 0 {
27
- $values: map-values($map);
28
- $first-value: nth($values, 1);
29
- @if $first-value != 0 {
30
- @warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
31
- }
32
- }
33
- }
34
-
35
- // Replace `$search` with `$replace` in `$string`
36
- // Used on our SVG icon backgrounds for custom forms.
37
- //
38
- // @author Hugo Giraudel
39
- // @param {String} $string - Initial string
40
- // @param {String} $search - Substring to replace
41
- // @param {String} $replace ('') - New value
42
- // @return {String} - Updated string
43
- @function str-replace($string, $search, $replace: "") {
44
- $index: str-index($string, $search);
45
-
46
- @if $index {
47
- @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
48
- }
49
-
50
- @return $string;
51
- }
52
-
53
- // See https://codepen.io/kevinweber/pen/dXWoRw
54
- //
55
- // Requires the use of quotes around data URIs.
56
-
57
- @function escape-svg($string) {
58
- @if str-index($string, "data:image/svg+xml") {
59
- @each $char, $encoded in $escaped-characters {
60
- // Do not escape the url brackets
61
- @if str-index($string, "url(") == 1 {
62
- $string: url("#{str-replace(str-slice($string, 6, -3), $char, $encoded)}");
63
- } @else {
64
- $string: str-replace($string, $char, $encoded);
65
- }
66
- }
67
- }
68
-
69
- @return $string;
70
- }
71
-
72
- // Color contrast
73
- @function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
74
- $r: red($color);
75
- $g: green($color);
76
- $b: blue($color);
77
-
78
- $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
79
-
80
- @if ($yiq >= $yiq-contrasted-threshold) {
81
- @return $dark;
82
- } @else {
83
- @return $light;
84
- }
85
- }
86
-
87
- // Retrieve color Sass maps
88
- @function color($key: "blue") {
89
- @return map-get($colors, $key);
90
- }
91
-
92
- @function theme-color($key: "primary") {
93
- @return map-get($theme-colors, $key);
94
- }
95
-
96
- @function gray($key: "100") {
97
- @return map-get($grays, $key);
98
- }
99
-
100
- // Request a theme color level
101
- @function theme-color-level($color-name: "primary", $level: 0) {
102
- $color: theme-color($color-name);
103
- $color-base: if($level > 0, $black, $white);
104
- $level: abs($level);
105
-
106
- @return mix($color-base, $color, $level * $theme-color-interval);
107
- }
108
-
109
- // Return valid calc
110
- @function add($value1, $value2, $return-calc: true) {
111
- @if $value1 == null {
112
- @return $value2;
113
- }
114
-
115
- @if $value2 == null {
116
- @return $value1;
117
- }
118
-
119
- @if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
120
- @return $value1 + $value2;
121
- }
122
-
123
- @return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(" + ") + $value2);
124
- }
125
-
126
- @function subtract($value1, $value2, $return-calc: true) {
127
- @if $value1 == null and $value2 == null {
128
- @return null;
129
- }
130
-
131
- @if $value1 == null {
132
- @return -$value2;
133
- }
134
-
135
- @if $value2 == null {
136
- @return $value1;
137
- }
138
-
139
- @if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
140
- @return $value1 - $value2;
141
- }
142
-
143
- @return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2);
144
- }
@@ -1,73 +0,0 @@
1
- // Container widths
2
- //
3
- // Set the container width, and override it for fixed navbars in media queries.
4
-
5
- @if $enable-grid-classes {
6
- // Single container class with breakpoint max-widths
7
- .container,
8
- // 100% wide container at all breakpoints
9
- .container-fluid {
10
- @include make-container();
11
- }
12
-
13
- // Responsive containers that are 100% wide until a breakpoint
14
- @each $breakpoint, $container-max-width in $container-max-widths {
15
- .container-#{$breakpoint} {
16
- @extend .container-fluid;
17
- }
18
-
19
- @include media-breakpoint-up($breakpoint, $grid-breakpoints) {
20
- %responsive-container-#{$breakpoint} {
21
- max-width: $container-max-width;
22
- }
23
-
24
- // Extend each breakpoint which is smaller or equal to the current breakpoint
25
- $extend-breakpoint: true;
26
-
27
- @each $name, $width in $grid-breakpoints {
28
- @if ($extend-breakpoint) {
29
- .container#{breakpoint-infix($name, $grid-breakpoints)} {
30
- @extend %responsive-container-#{$breakpoint};
31
- }
32
-
33
- // Once the current breakpoint is reached, stop extending
34
- @if ($breakpoint == $name) {
35
- $extend-breakpoint: false;
36
- }
37
- }
38
- }
39
- }
40
- }
41
- }
42
-
43
-
44
- // Row
45
- //
46
- // Rows contain your columns.
47
-
48
- @if $enable-grid-classes {
49
- .row {
50
- @include make-row();
51
- }
52
-
53
- // Remove the negative margin from default .row, then the horizontal padding
54
- // from all immediate children columns (to prevent runaway style inheritance).
55
- .no-gutters {
56
- margin-right: 0;
57
- margin-left: 0;
58
-
59
- > .col,
60
- > [class*="col-"] {
61
- padding-right: 0;
62
- padding-left: 0;
63
- }
64
- }
65
- }
66
-
67
- // Columns
68
- //
69
- // Common styles for small and large grid columns
70
-
71
- @if $enable-grid-classes {
72
- @include make-grid-columns();
73
- }
@@ -1,42 +0,0 @@
1
- // Responsive images (ensure images don't scale beyond their parents)
2
- //
3
- // This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
4
- // We previously tried the "images are responsive by default" approach in Bootstrap v2,
5
- // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
6
- // which weren't expecting the images within themselves to be involuntarily resized.
7
- // See also https://github.com/twbs/bootstrap/issues/18178
8
- .img-fluid {
9
- @include img-fluid();
10
- }
11
-
12
-
13
- // Image thumbnails
14
- .img-thumbnail {
15
- padding: $thumbnail-padding;
16
- background-color: $thumbnail-bg;
17
- border: $thumbnail-border-width solid $thumbnail-border-color;
18
- @include border-radius($thumbnail-border-radius);
19
- @include box-shadow($thumbnail-box-shadow);
20
-
21
- // Keep them at most 100% wide
22
- @include img-fluid();
23
- }
24
-
25
- //
26
- // Figures
27
- //
28
-
29
- .figure {
30
- // Ensures the caption's text aligns with the image.
31
- display: inline-block;
32
- }
33
-
34
- .figure-img {
35
- margin-bottom: $spacer / 2;
36
- line-height: 1;
37
- }
38
-
39
- .figure-caption {
40
- @include font-size($figure-caption-font-size);
41
- color: $figure-caption-color;
42
- }