chulapa-jekyll 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +116 -0
  3. data/README.md +189 -204
  4. data/_data/version.yml +2 -2
  5. data/_includes/components/archive-documents.html +56 -0
  6. data/_includes/components/author.html +6 -1
  7. data/_includes/components/breadcrumbdatesocial.html +1 -1
  8. data/_includes/components/cactus.html +2 -1
  9. data/_includes/components/cloud-entry.html +26 -0
  10. data/_includes/components/cloud.html +66 -0
  11. data/_includes/components/collection-documents.html +17 -0
  12. data/_includes/components/footer-content.html +34 -0
  13. data/_includes/components/headers.html +5 -5
  14. data/_includes/components/indexcards.html +13 -10
  15. data/_includes/components/indexcategory-documents.html +11 -0
  16. data/_includes/components/navbar-classic.html +58 -0
  17. data/_includes/components/navbeforeafter.html +7 -4
  18. data/_includes/components/navigation-fallback.html +19 -0
  19. data/_includes/components/random.html +1 -103
  20. data/_includes/components/recommendations.html +97 -0
  21. data/_includes/components/related.html +1 -96
  22. data/_includes/components/scripts.html +9 -0
  23. data/_includes/components/sidetoc.html +5 -4
  24. data/_includes/components/simplelist.html +6 -6
  25. data/_includes/components/skin-attribution.html +169 -0
  26. data/_includes/components/theme-selector.html +14 -0
  27. data/_includes/footer.html +14 -217
  28. data/_includes/head.html +265 -257
  29. data/_includes/navbar.html +33 -77
  30. data/_includes/search/fusejs.html +3 -19
  31. data/_includes/search/google.html +3 -3
  32. data/_includes/search/lunr.html +3 -11
  33. data/_includes/search/simplesearch.html +6 -6
  34. data/_includes/snippets/bootstrapdemo.html +28 -10
  35. data/_includes/snippets/carousel.html +16 -12
  36. data/_includes/snippets/dark-skin-enabled.html +14 -0
  37. data/_includes/snippets/masonry.html +6 -4
  38. data/_includes/snippets/microformats-url.html +2 -0
  39. data/_includes/snippets/publisher.html +15 -18
  40. data/_includes/snippets/video.html +6 -6
  41. data/_includes/snippets/youtube.html +10 -4
  42. data/_includes/theme-styles.html +201 -0
  43. data/_includes/welcomments/comment_form.html +5 -4
  44. data/_includes/welcomments/comments.html +5 -5
  45. data/_layouts/archive.html +2 -75
  46. data/_layouts/cloudcategory.html +2 -101
  47. data/_layouts/cloudtag.html +2 -103
  48. data/_layouts/compress.html +1 -1
  49. data/_layouts/default.html +17 -6
  50. data/_layouts/indexcategory.html +2 -30
  51. data/_layouts/landingpage.html +6 -4
  52. data/_layouts/minimal.html +12 -8
  53. data/_layouts/search.html +6 -5
  54. data/_sass/bootstrap/_variables.scss +1 -1
  55. data/_sass/bootstrap/mixins/_badge.scss +1 -1
  56. data/_sass/chulapa/_autothemer.scss +31 -0
  57. data/_sass/chulapa/_buttons.scss +101 -0
  58. data/_sass/chulapa/_classes.scss +137 -9
  59. data/_sass/chulapa/_mixins.scss +42 -1
  60. data/_sass/chulapa/_theme-selector.scss +1 -0
  61. data/_sass/chulapa/skins/_deeply.scss +229 -0
  62. data/_sass/chulapa/skins/_electro.scss +30 -0
  63. data/_sass/chulapa/skins/_graymor.scss +39 -0
  64. data/_sass/chulapa/skins/_hootstrap.scss +34 -0
  65. data/_sass/chulapa/skins/_lymcha.scss +27 -0
  66. data/_sass/chulapa/skins/_mickie.scss +38 -0
  67. data/_sass/chulapa/skins/_minco.scss +45 -0
  68. data/_sass/chulapa/skins/_monotone.scss +15 -0
  69. data/_sass/chulapa/skins/_preptor.scss +30 -0
  70. data/_sass/chulapa/skins/_skeeblu.scss +34 -0
  71. data/_sass/chulapa/skins/_sunset.scss +33 -0
  72. data/_sass/chulapa/skins/_wandoo.scss +22 -0
  73. data/_sass/chulapa/skins/bootswatch/_cyborg.scss +543 -0
  74. data/_sass/chulapa/skins/bootswatch/_darkly.scss +452 -0
  75. data/_sass/chulapa/skins/bootswatch/_flatly.scss +415 -0
  76. data/_sass/chulapa/skins/bootswatch/_journal.scss +163 -0
  77. data/_sass/chulapa/skins/bootswatch/_lux.scss +342 -0
  78. data/_sass/chulapa/skins/bootswatch/_materia.scss +914 -0
  79. data/_sass/chulapa/skins/bootswatch/_minty.scss +342 -0
  80. data/_sass/chulapa/skins/bootswatch/_sketchy.scss +757 -0
  81. data/_sass/chulapa/skins/bootswatch/_slate.scss +746 -0
  82. data/_sass/chulapa/skins/bootswatch/_solar.scss +454 -0
  83. data/_sass/chulapa/skins/bootswatch/_united.scss +85 -0
  84. data/_sass/chulapa/skins/bootswatch/_yeti.scss +699 -0
  85. data/_sass/chulapa/skins/bootswatch/cyborg.patch +301 -0
  86. data/_sass/chulapa/skins/bootswatch/darkly.patch +493 -0
  87. data/_sass/chulapa/skins/bootswatch/flatly.patch +325 -0
  88. data/_sass/chulapa/skins/bootswatch/journal.patch +71 -0
  89. data/_sass/chulapa/skins/bootswatch/lux.patch +97 -0
  90. data/_sass/chulapa/skins/bootswatch/materia.patch +250 -0
  91. data/_sass/chulapa/skins/bootswatch/minty.patch +400 -0
  92. data/_sass/chulapa/skins/bootswatch/sketchy.patch +863 -0
  93. data/_sass/chulapa/skins/bootswatch/slate.patch +537 -0
  94. data/_sass/chulapa/skins/bootswatch/solar.patch +307 -0
  95. data/_sass/chulapa/skins/bootswatch/united.patch +91 -0
  96. data/_sass/chulapa/skins/bootswatch/yeti.patch +552 -0
  97. data/_sass/chulapa-master.scss +10 -0
  98. data/_sass/skins/academia.scss +28 -0
  99. data/_sass/skins/auto.scss +23 -28
  100. data/_sass/skins/butterfly-dark.scss +22 -3
  101. data/_sass/skins/butterfly-dim.scss +32 -5
  102. data/_sass/skins/butterfly.scss +35 -3
  103. data/_sass/skins/cerulean.scss +120 -0
  104. data/_sass/skins/chulapa.scss +23 -3
  105. data/_sass/skins/cyborg.scss +3 -512
  106. data/_sass/skins/darkly.scss +3 -424
  107. data/_sass/skins/deeply.scss +10 -279
  108. data/_sass/skins/electro.scss +4 -25
  109. data/_sass/skins/flatly.scss +3 -386
  110. data/_sass/skins/focal.scss +33 -2
  111. data/_sass/skins/gitdev-dark.scss +19 -8
  112. data/_sass/skins/gitdev.scss +2 -2
  113. data/_sass/skins/graymor.scss +7 -30
  114. data/_sass/skins/hootstrap.scss +5 -19
  115. data/_sass/skins/journal.scss +3 -131
  116. data/_sass/skins/listen.scss +35 -3
  117. data/_sass/skins/litera.scss +281 -0
  118. data/_sass/skins/lux.scss +3 -310
  119. data/_sass/skins/lymcha.scss +4 -17
  120. data/_sass/skins/materia.scss +3 -889
  121. data/_sass/skins/media.scss +11 -1
  122. data/_sass/skins/mickie.scss +7 -26
  123. data/_sass/skins/minco.scss +10 -29
  124. data/_sass/skins/minty.scss +3 -309
  125. data/_sass/skins/monotone.scss +6 -24
  126. data/_sass/skins/navi.scss +29 -1
  127. data/_sass/skins/none.scss +24 -2
  128. data/_sass/skins/pear.scss +34 -1
  129. data/_sass/skins/preptor.scss +6 -16
  130. data/_sass/skins/pulse.scss +158 -0
  131. data/_sass/skins/skeeblu.scss +6 -17
  132. data/_sass/skins/sketchy.scss +3 -735
  133. data/_sass/skins/slate.scss +3 -719
  134. data/_sass/skins/solar.scss +3 -425
  135. data/_sass/skins/sunset.scss +6 -26
  136. data/_sass/skins/towards.scss +26 -1
  137. data/_sass/skins/twitter-dim.scss +43 -5
  138. data/_sass/skins/twitter-lights-out.scss +25 -3
  139. data/_sass/skins/twitter.scss +32 -3
  140. data/_sass/skins/united.scss +3 -57
  141. data/_sass/skins/universal.scss +17 -0
  142. data/_sass/skins/wandoo.scss +6 -12
  143. data/_sass/skins/yeti.scss +3 -673
  144. data/_sass/vendor/bootswatch/LICENSE +21 -0
  145. data/_sass/vendor/bootswatch/LICENSE-4.5.0 +21 -0
  146. data/_sass/vendor/bootswatch/README.md +57 -0
  147. data/_sass/vendor/bootswatch/cerulean/_bootswatch.scss +102 -0
  148. data/_sass/vendor/bootswatch/cerulean/_variables.scss +57 -0
  149. data/_sass/vendor/bootswatch/cyborg/_bootswatch.scss +330 -0
  150. data/_sass/vendor/bootswatch/cyborg/_variables.scss +169 -0
  151. data/_sass/vendor/bootswatch/darkly/_bootswatch.scss +247 -0
  152. data/_sass/vendor/bootswatch/darkly/_variables.scss +164 -0
  153. data/_sass/vendor/bootswatch/flatly/_bootswatch.scss +274 -0
  154. data/_sass/vendor/bootswatch/flatly/_variables.scss +106 -0
  155. data/_sass/vendor/bootswatch/journal/_bootswatch.scss +62 -0
  156. data/_sass/vendor/bootswatch/journal/_variables.scss +60 -0
  157. data/_sass/vendor/bootswatch/litera/_bootswatch.scss +268 -0
  158. data/_sass/vendor/bootswatch/litera/_variables.scss +96 -0
  159. data/_sass/vendor/bootswatch/lux/_bootswatch.scss +191 -0
  160. data/_sass/vendor/bootswatch/lux/_variables.scss +103 -0
  161. data/_sass/vendor/bootswatch/materia/_bootswatch.scss +747 -0
  162. data/_sass/vendor/bootswatch/materia/_variables.scss +129 -0
  163. data/_sass/vendor/bootswatch/minty/_bootswatch.scss +380 -0
  164. data/_sass/vendor/bootswatch/minty/_variables.scss +94 -0
  165. data/_sass/vendor/bootswatch/pulse/_bootswatch.scss +145 -0
  166. data/_sass/vendor/bootswatch/pulse/_variables.scss +96 -0
  167. data/_sass/vendor/bootswatch/sketchy/_bootswatch.scss +492 -0
  168. data/_sass/vendor/bootswatch/sketchy/_variables.scss +172 -0
  169. data/_sass/vendor/bootswatch/slate/_bootswatch.scss +531 -0
  170. data/_sass/vendor/bootswatch/slate/_variables.scss +163 -0
  171. data/_sass/vendor/bootswatch/solar/_bootswatch.scss +243 -0
  172. data/_sass/vendor/bootswatch/solar/_variables.scss +171 -0
  173. data/_sass/vendor/bootswatch/source.json +86 -0
  174. data/_sass/vendor/bootswatch/united/_bootswatch.scss +10 -0
  175. data/_sass/vendor/bootswatch/united/_variables.scss +54 -0
  176. data/_sass/vendor/bootswatch/yeti/_bootswatch.scss +586 -0
  177. data/_sass/vendor/bootswatch/yeti/_variables.scss +110 -0
  178. data/_sass/vendor/tophat/LICENSE +21 -0
  179. data/_sass/vendor/tophat/README.md +38 -0
  180. data/_sass/vendor/tophat/deeply/_styles.scss +6 -0
  181. data/_sass/vendor/tophat/deeply/_variables.scss +73 -0
  182. data/_sass/vendor/tophat/deeply/theme.scss +77 -0
  183. data/_sass/vendor/tophat/electro/_styles.scss +5 -0
  184. data/_sass/vendor/tophat/electro/_variables.scss +23 -0
  185. data/_sass/vendor/tophat/electro/theme.scss +28 -0
  186. data/_sass/vendor/tophat/graymor/_styles.scss +5 -0
  187. data/_sass/vendor/tophat/graymor/_variables.scss +18 -0
  188. data/_sass/vendor/tophat/graymor/theme.scss +24 -0
  189. data/_sass/vendor/tophat/hootstrap/_styles.scss +5 -0
  190. data/_sass/vendor/tophat/hootstrap/_variables.scss +14 -0
  191. data/_sass/vendor/tophat/hootstrap/theme.scss +18 -0
  192. data/_sass/vendor/tophat/lymcha/_styles.scss +5 -0
  193. data/_sass/vendor/tophat/lymcha/_variables.scss +13 -0
  194. data/_sass/vendor/tophat/lymcha/theme.scss +16 -0
  195. data/_sass/vendor/tophat/mickie/_styles.scss +5 -0
  196. data/_sass/vendor/tophat/mickie/_variables.scss +13 -0
  197. data/_sass/vendor/tophat/mickie/theme.scss +17 -0
  198. data/_sass/vendor/tophat/minco/_styles.scss +5 -0
  199. data/_sass/vendor/tophat/minco/_variables.scss +14 -0
  200. data/_sass/vendor/tophat/minco/theme.scss +18 -0
  201. data/_sass/vendor/tophat/monotone/_styles.scss +5 -0
  202. data/_sass/vendor/tophat/monotone/_variables.scss +14 -0
  203. data/_sass/vendor/tophat/monotone/theme.scss +18 -0
  204. data/_sass/vendor/tophat/preptor/_styles.scss +5 -0
  205. data/_sass/vendor/tophat/preptor/_variables.scss +14 -0
  206. data/_sass/vendor/tophat/preptor/theme.scss +18 -0
  207. data/_sass/vendor/tophat/skeeblu/_styles.scss +5 -0
  208. data/_sass/vendor/tophat/skeeblu/_variables.scss +17 -0
  209. data/_sass/vendor/tophat/skeeblu/theme.scss +22 -0
  210. data/_sass/vendor/tophat/source.json +57 -0
  211. data/_sass/vendor/tophat/sunset/_styles.scss +5 -0
  212. data/_sass/vendor/tophat/sunset/_variables.scss +13 -0
  213. data/_sass/vendor/tophat/sunset/theme.scss +16 -0
  214. data/_sass/vendor/tophat/wandoo/_styles.scss +5 -0
  215. data/_sass/vendor/tophat/wandoo/_variables.scss +18 -0
  216. data/_sass/vendor/tophat/wandoo/theme.scss +24 -0
  217. data/assets/css/dark/highlighter.scss +10 -0
  218. data/assets/css/dark/main.scss +43 -0
  219. data/assets/css/highlighter.scss +6 -1
  220. data/assets/css/main.scss +12 -3
  221. data/assets/css/search-fusejs.css +14 -0
  222. data/assets/css/search-lunr.css +7 -0
  223. data/assets/js/better404/better404.js +31 -38
  224. data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -82
  225. data/assets/js/chulapa_carousel.js +115 -0
  226. data/assets/js/chulapa_mermaid.js +31 -0
  227. data/assets/js/chulapa_navigation.js +71 -0
  228. data/assets/js/chulapa_photoswipe.js +106 -0
  229. data/assets/js/chulapa_script.js +198 -76
  230. data/assets/js/chulapa_search.js +89 -0
  231. data/assets/js/clipboard/chulapa_clipboard.js +17 -108
  232. data/assets/js/cusdis/chulapa_cusdis.js +1 -1
  233. data/assets/js/fusejs/fusejs-search.js +5 -140
  234. data/assets/js/fusejs/fusejs-search.min.js +4 -4
  235. data/assets/js/lunr/lunr-search.js +7 -130
  236. data/assets/js/lunr/lunr-search.min.js +1 -1
  237. metadata +141 -2
@@ -0,0 +1,57 @@
1
+ # Bootswatch sources
2
+
3
+ Unmodified Sass from thomaspark/bootswatch tag v4.6.2, commit
4
+ 57980884525efb94836d88a5f59d5db9c5e8bbf0, distributed under the included MIT license.
5
+ Sketchy retains v4.5.0 at 2a3e1c5ff57f200164d123ae0bfeeb32b0045a20 with
6
+ its own retained MIT license (`LICENSE-4.5.0`).
7
+ Source: https://github.com/thomaspark/bootswatch/tree/v4.6.2/dist
8
+
9
+ Cerulean, Litera and Pulse keep their original variables and component styles.
10
+ The skin entrypoints import the original variables and wrap the component styles
11
+ in `chulapa-bootswatch` so Chulapa can emit them after its single Bootstrap import.
12
+ Cerulean's original helper declarations remain at top level because Sass forbids
13
+ nested mixin definitions. No original palette or component rule is adjusted. Empty button-correction maps
14
+ and Bootstrap’s original 150 YIQ fallback (Litera retains its explicit 190)
15
+ keep optional autothemer imports from applying unrelated palette corrections.
16
+ `source.json` records source hashes; the integration check validates both original
17
+ files and the deferred wrappers, and compares rendered components against a
18
+ reference compiled directly from these sources on the theme's Bootstrap base.
19
+
20
+ ## Existing Chulapa adaptations
21
+
22
+ Cyborg, Darkly, Flatly, Journal, Lux, Materia, Minty, Sketchy, Slate, Solar,
23
+ United and Yeti retain their reviewed Chulapa palettes, font URLs, component
24
+ adjustments and contrast corrections. Their differences from the pinned original
25
+ variables and component styles are explicit unified patches under
26
+ `_sass/chulapa/skins/bootswatch/`. The adjacent Sass is generated from those
27
+ originals plus the patches. Theme users need no build tools or new settings.
28
+
29
+ ```sh
30
+ node test/generate_bootswatch.js
31
+ node test/generate_bootswatch.js --check
32
+ CHULAPA_CHROMIUM=/path/to/chromium node test/check_bootswatch_adaptations_browser.js
33
+ ```
34
+
35
+ For an intentional adaptation, edit the patch against the concatenated original
36
+ `_variables.scss` and `_bootswatch.scss` (trailing whitespace/newlines at the end
37
+ of each file are trimmed before concatenation), then regenerate. The generator
38
+ checks source hashes and applies each hunk exactly; it does not use fuzzy matches.
39
+ Do not edit the generated Sass or retained upstream sources directly.
40
+
41
+ These older integrations keep component rules before Chulapa's final Bootstrap
42
+ import, matching their established cascade. Former inner Bootstrap imports now
43
+ load only functions, variables and mixins; the theme emits Bootstrap once.
44
+ Moving these component rules after Bootstrap would change the existing design.
45
+ The three original integrations above continue to defer their original rules.
46
+ Sketchy retains its 4.5.0 base and United keeps its existing subset of styles.
47
+ This change does not adopt Bootstrap 5 or add any new skins.
48
+
49
+ Independent legacy fixtures in `test/fixtures/bootswatch-legacy/` record the
50
+ implementations at `3278655`. Regression tests compare complete deduplicated CSS,
51
+ then compare rendered styles against the unmodified legacy CSS at 390/1280px,
52
+ with Autothemer off/on and normal, hover, focus, active and disabled states.
53
+ Configured palette colors are compared before and after the skin import against
54
+ the old implementation. Existing early theme-color resolution and Sketchy's
55
+ unconditional palette assignments are retained; this refactor does not change
56
+ which palette overrides each skin supports. Default accessibility corrections,
57
+ metadata, routes and PWA behavior are unchanged.
@@ -0,0 +1,102 @@
1
+ // Cerulean 4.6.2
2
+ // Bootswatch
3
+
4
+
5
+ // Variables ===================================================================
6
+
7
+ $text-shadow: 0 1px 0 rgba(0, 0, 0, .05) !default;
8
+
9
+ // Mixins ======================================================================
10
+
11
+ @mixin btn-shadow($color){
12
+ @include gradient-y-three-colors(lighten($color, 8%), $color, 60%, darken($color, 4%));
13
+ }
14
+
15
+ // Navbar ======================================================================
16
+
17
+ .bg-primary {
18
+ @include btn-shadow($primary);
19
+ }
20
+
21
+ .bg-dark {
22
+ @include btn-shadow($blue);
23
+ }
24
+
25
+ .bg-light {
26
+ @include gradient-y-three-colors(lighten($gray-200, 8%), $gray-200, 60%, darken($gray-200, 2%));
27
+ }
28
+
29
+ .navbar-brand,
30
+ .nav-link {
31
+ text-shadow: $text-shadow;
32
+ }
33
+
34
+ // Buttons =====================================================================
35
+
36
+ .btn {
37
+ text-shadow: $text-shadow;
38
+ }
39
+
40
+ .btn-primary {
41
+ @include btn-shadow($primary);
42
+ }
43
+
44
+ .btn-secondary {
45
+ @include btn-shadow($secondary);
46
+ color: $gray-700;
47
+ }
48
+
49
+ .btn-success {
50
+ @include btn-shadow($success);
51
+ }
52
+
53
+ .btn-info {
54
+ @include btn-shadow($info);
55
+ }
56
+
57
+ .btn-warning {
58
+ @include btn-shadow($warning);
59
+ }
60
+
61
+ .btn-danger {
62
+ @include btn-shadow($danger);
63
+ }
64
+
65
+ .btn-light {
66
+ @include btn-shadow($light);
67
+ }
68
+
69
+ .btn-dark {
70
+ @include btn-shadow($dark);
71
+ }
72
+
73
+
74
+ // Typography ==================================================================
75
+
76
+ .text-secondary {
77
+ color: $gray-500 !important;
78
+ }
79
+
80
+ .bg-primary,
81
+ .bg-success,
82
+ .bg-info,
83
+ .bg-warning,
84
+ .bg-danger,
85
+ .bg-dark {
86
+ h1,
87
+ h2,
88
+ h3,
89
+ h4,
90
+ h5,
91
+ h6 {
92
+ color: $white;
93
+ }
94
+ }
95
+
96
+ // Navs ========================================================================
97
+
98
+ .dropdown-menu {
99
+ .dropdown-header {
100
+ color: $gray-600;
101
+ }
102
+ }
@@ -0,0 +1,57 @@
1
+ // Cerulean 4.6.2
2
+ // Bootswatch
3
+
4
+ //
5
+ // Color system
6
+ //
7
+
8
+ $white: #fff !default;
9
+ $gray-100: #f8f9fa !default;
10
+ $gray-200: #e9ecef !default;
11
+ $gray-300: #dee2e6 !default;
12
+ $gray-400: #ced4da !default;
13
+ $gray-500: #adb5bd !default;
14
+ $gray-600: #868e96 !default;
15
+ $gray-700: #495057 !default;
16
+ $gray-800: #343a40 !default;
17
+ $gray-900: #212529 !default;
18
+ $black: #000 !default;
19
+
20
+ $blue: #033c73 !default;
21
+ $indigo: #6610f2 !default;
22
+ $purple: #6f42c1 !default;
23
+ $pink: #e83e8c !default;
24
+ $red: #c71c22 !default;
25
+ $orange: #fd7e14 !default;
26
+ $yellow: #dd5600 !default;
27
+ $green: #73a839 !default;
28
+ $teal: #20c997 !default;
29
+ $cyan: #2fa4e7 !default;
30
+
31
+ $primary: $cyan !default;
32
+ $secondary: $gray-200 !default;
33
+ $success: $green !default;
34
+ $info: $blue !default;
35
+ $warning: $yellow !default;
36
+ $danger: $red !default;
37
+ $light: $gray-100 !default;
38
+ $dark: $gray-800 !default;
39
+
40
+ // Body
41
+
42
+ $body-color: $gray-700 !default;
43
+
44
+ // Fonts
45
+
46
+ $headings-color: $cyan !default;
47
+
48
+ // Dropdowns
49
+
50
+ $dropdown-link-color: $body-color !default;
51
+ $dropdown-link-hover-color: $white !default;
52
+ $dropdown-link-hover-bg: $primary !default;
53
+
54
+ // Navbar
55
+
56
+ $navbar-dark-color: rgba($white, .8) !default;
57
+ $navbar-dark-hover-color: $white !default;
@@ -0,0 +1,330 @@
1
+ // Cyborg 4.6.2
2
+ // Bootswatch
3
+
4
+
5
+ // Variables ===================================================================
6
+
7
+ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" !default;
8
+ @if $web-font-path {
9
+ @import url($web-font-path);
10
+ }
11
+
12
+ // Navbar ======================================================================
13
+
14
+ .navbar {
15
+ &.bg-primary {
16
+ border: 1px solid $gray-700;
17
+ }
18
+
19
+ &.bg-dark {
20
+ background-color: $body-bg !important;
21
+ border: 1px solid $gray-700;
22
+ }
23
+
24
+ &.bg-light {
25
+ background-color: $gray-500 !important;
26
+ }
27
+
28
+ &.fixed-top {
29
+ border-width: 0 0 1px;
30
+ }
31
+
32
+ &.fixed-bottom {
33
+ border-width: 1px 0 0;
34
+ }
35
+ }
36
+
37
+ // Buttons =====================================================================
38
+
39
+ .btn {
40
+ @each $color, $value in $theme-colors {
41
+ &-#{$color} {
42
+ @if $enable-gradients {
43
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
44
+ } @else {
45
+ background-color: $value;
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ // Tables ======================================================================
52
+
53
+ table {
54
+ color: $white;
55
+ }
56
+
57
+ .table {
58
+ &-primary {
59
+ &,
60
+ > th,
61
+ > td {
62
+ background-color: $primary;
63
+ }
64
+ }
65
+
66
+ &-secondary {
67
+ &,
68
+ > th,
69
+ > td {
70
+ background-color: $secondary;
71
+ }
72
+ }
73
+
74
+ &-light {
75
+ &,
76
+ > th,
77
+ > td {
78
+ background-color: $light;
79
+ }
80
+ }
81
+
82
+ &-dark {
83
+ &,
84
+ > th,
85
+ > td {
86
+ background-color: $dark;
87
+ }
88
+ }
89
+
90
+ &-success {
91
+ &,
92
+ > th,
93
+ > td {
94
+ background-color: $success;
95
+ }
96
+ }
97
+
98
+ &-info {
99
+ &,
100
+ > th,
101
+ > td {
102
+ background-color: $info;
103
+ }
104
+ }
105
+
106
+ &-danger {
107
+ &,
108
+ > th,
109
+ > td {
110
+ background-color: $danger;
111
+ }
112
+ }
113
+
114
+ &-warning {
115
+ &,
116
+ > th,
117
+ > td {
118
+ background-color: $warning;
119
+ }
120
+ }
121
+
122
+ &-active {
123
+ &,
124
+ > th,
125
+ > td {
126
+ background-color: $table-active-bg;
127
+ }
128
+ }
129
+
130
+ &-hover {
131
+ .table-primary:hover {
132
+ &,
133
+ > th,
134
+ > td {
135
+ background-color: darken($primary, 5%);
136
+ }
137
+ }
138
+
139
+ .table-secondary:hover {
140
+ &,
141
+ > th,
142
+ > td {
143
+ background-color: darken($secondary, 5%);
144
+ }
145
+ }
146
+
147
+ .table-light:hover {
148
+ &,
149
+ > th,
150
+ > td {
151
+ background-color: darken($light, 5%);
152
+ }
153
+ }
154
+
155
+ .table-dark:hover {
156
+ &,
157
+ > th,
158
+ > td {
159
+ background-color: darken($dark, 5%);
160
+ }
161
+ }
162
+
163
+ .table-success:hover {
164
+ &,
165
+ > th,
166
+ > td {
167
+ background-color: darken($success, 5%);
168
+ }
169
+ }
170
+
171
+ .table-info:hover {
172
+ &,
173
+ > th,
174
+ > td {
175
+ background-color: darken($info, 5%);
176
+ }
177
+ }
178
+
179
+ .table-danger:hover {
180
+ &,
181
+ > th,
182
+ > td {
183
+ background-color: darken($danger, 5%);
184
+ }
185
+ }
186
+
187
+ .table-warning:hover {
188
+ &,
189
+ > th,
190
+ > td {
191
+ background-color: darken($warning, 5%);
192
+ }
193
+ }
194
+
195
+ .table-active:hover {
196
+ &,
197
+ > th,
198
+ > td {
199
+ background-color: $table-active-bg;
200
+ }
201
+ }
202
+
203
+ }
204
+ }
205
+
206
+ // Forms =======================================================================
207
+
208
+ legend {
209
+ color: $white;
210
+ }
211
+
212
+ .form-control {
213
+ background-clip: border-box;
214
+
215
+ &:disabled,
216
+ &[readonly] {
217
+ border-color: transparent;
218
+ }
219
+ }
220
+
221
+ // Navs ========================================================================
222
+
223
+ .nav-tabs,
224
+ .nav-pills {
225
+ .nav-link {
226
+ color: $white;
227
+
228
+ &:hover {
229
+ background-color: $gray-700;
230
+ }
231
+
232
+ &.disabled,
233
+ &.disabled:hover {
234
+ background-color: transparent;
235
+ color: $nav-link-disabled-color;
236
+ }
237
+
238
+ &.active {
239
+ background-color: $primary;
240
+ }
241
+ }
242
+ }
243
+
244
+ .breadcrumb {
245
+ a {
246
+ color: $white;
247
+ }
248
+ }
249
+
250
+ .pagination {
251
+ a:hover {
252
+ text-decoration: none;
253
+ }
254
+ }
255
+
256
+ // Indicators ==================================================================
257
+
258
+ .alert {
259
+ border: none;
260
+ color: $white;
261
+
262
+ a,
263
+ .alert-link {
264
+ color: $white;
265
+ text-decoration: underline;
266
+ }
267
+
268
+ @each $color, $value in $theme-colors {
269
+ &-#{$color} {
270
+ @if $enable-gradients {
271
+ background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
272
+ } @else {
273
+ background-color: $value;
274
+ }
275
+ }
276
+ }
277
+ }
278
+
279
+ .badge {
280
+ &-warning {
281
+ color: $white;
282
+ }
283
+ }
284
+
285
+ .close {
286
+ opacity: .6;
287
+
288
+ &:hover {
289
+ opacity: 1;
290
+ }
291
+ }
292
+
293
+ // Containers ==================================================================
294
+
295
+ .list-group-item {
296
+ &:hover {
297
+ background-color: $gray-700;
298
+ color: $white;
299
+ }
300
+
301
+ &-action {
302
+ color: $gray-500;
303
+
304
+ .list-group-item-heading {
305
+ color: $gray-500;
306
+ }
307
+ }
308
+
309
+ &:hover .list-group-item-heading {
310
+ color: $white;
311
+ }
312
+ }
313
+
314
+ .card,
315
+ .list-group-item {
316
+ h1,
317
+ h2,
318
+ h3,
319
+ h4,
320
+ h5,
321
+ h6 {
322
+ color: inherit;
323
+ }
324
+ }
325
+
326
+ .popover {
327
+ &-title {
328
+ border-bottom: none;
329
+ }
330
+ }
@@ -0,0 +1,169 @@
1
+ // Cyborg 4.6.2
2
+ // Bootswatch
3
+
4
+ //
5
+ // Color system
6
+ //
7
+
8
+ $white: #fff !default;
9
+ $gray-100: #f8f9fa !default;
10
+ $gray-200: #e9ecef !default;
11
+ $gray-300: #dee2e6 !default;
12
+ $gray-400: #adafae !default;
13
+ $gray-500: #888 !default;
14
+ $gray-600: #555 !default;
15
+ $gray-700: #282828 !default;
16
+ $gray-800: #222 !default;
17
+ $gray-900: #212529 !default;
18
+ $black: #000 !default;
19
+
20
+ $blue: #2a9fd6 !default;
21
+ $indigo: #6610f2 !default;
22
+ $purple: #6f42c1 !default;
23
+ $pink: #e83e8c !default;
24
+ $red: #c00 !default;
25
+ $orange: #fd7e14 !default;
26
+ $yellow: #f80 !default;
27
+ $green: #77b300 !default;
28
+ $teal: #20c997 !default;
29
+ $cyan: #93c !default;
30
+
31
+ $primary: $blue !default;
32
+ $secondary: $gray-600 !default;
33
+ $success: $green !default;
34
+ $info: $cyan !default;
35
+ $warning: $yellow !default;
36
+ $danger: $red !default;
37
+ $light: $gray-800 !default;
38
+ $dark: $gray-400 !default;
39
+
40
+ $yiq-contrasted-threshold: 175 !default;
41
+
42
+
43
+ // Body
44
+
45
+ $body-bg: #060606 !default;
46
+ $body-color: $gray-400 !default;
47
+
48
+ // Fonts
49
+
50
+ // stylelint-disable-next-line value-keyword-case
51
+ $font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;
52
+ $font-size-base: .875rem !default;
53
+ $h1-font-size: 4rem !default;
54
+ $h2-font-size: 3rem !default;
55
+ $h3-font-size: 2.5rem !default;
56
+ $h4-font-size: 2rem !default;
57
+ $h5-font-size: 1.5rem !default;
58
+ $headings-color: $white !default;
59
+
60
+ // Tables
61
+
62
+ $table-color: $white !default;
63
+ $table-accent-bg: rgba($white, .05) !default;
64
+ $table-hover-bg: rgba($white, .075) !default;
65
+ $table-border-color: $gray-700 !default;
66
+ $table-dark-bg: $gray-500 !default;
67
+ $table-dark-border-color: darken($gray-500, 7.5%) !default;
68
+
69
+ // Buttons
70
+
71
+ $input-btn-padding-x: 1rem !default;
72
+
73
+ // Forms
74
+
75
+ $input-disabled-bg: $gray-400 !default;
76
+ $input-border-color: $white !default;
77
+ $input-group-addon-color: $white !default;
78
+ $input-group-addon-bg: $gray-700 !default;
79
+ $input-group-addon-border-color: transparent !default;
80
+ $custom-file-color: $white !default;
81
+ $custom-file-border-color: $gray-700 !default;
82
+
83
+ // Dropdowns
84
+
85
+ $dropdown-bg: $gray-700 !default;
86
+ $dropdown-divider-bg: $gray-800 !default;
87
+ $dropdown-link-color: $white !default;
88
+ $dropdown-link-hover-color: $white !default;
89
+ $dropdown-link-hover-bg: $primary !default;
90
+
91
+ // Navs
92
+
93
+ $nav-tabs-border-color: $table-border-color !default;
94
+ $nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
95
+ $nav-tabs-link-active-color: $white !default;
96
+ $nav-tabs-link-active-bg: $nav-tabs-border-color !default;
97
+ $nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
98
+
99
+ // Navbar
100
+
101
+ $navbar-dark-hover-color: $white !default;
102
+
103
+ // Pagination
104
+
105
+ $pagination-color: $white !default;
106
+ $pagination-bg: $gray-700 !default;
107
+ $pagination-border-color: transparent !default;
108
+ $pagination-hover-color: $white !default;
109
+ $pagination-hover-bg: $primary !default;
110
+ $pagination-hover-border-color: $pagination-border-color !default;
111
+ $pagination-disabled-bg: $pagination-bg !default;
112
+ $pagination-disabled-border-color: $pagination-border-color !default;
113
+
114
+
115
+ // Jumbotron
116
+
117
+ $jumbotron-bg: $gray-700 !default;
118
+
119
+ // Cards
120
+
121
+ $card-bg: $gray-700 !default;
122
+
123
+ // Tooltips
124
+
125
+ $tooltip-bg: $gray-700 !default;
126
+ $tooltip-opacity: 1 !default;
127
+
128
+ // Popovers
129
+
130
+ $popover-bg: $gray-700 !default;
131
+
132
+ // Toasts
133
+
134
+ $toast-color: $white !default;
135
+ $toast-background-color: $gray-800 !default;
136
+ $toast-border-color: $gray-700 !default;
137
+ $toast-header-color: $body-color !default;
138
+ $toast-header-background-color: $toast-background-color !default;
139
+ $toast-header-border-color: $toast-border-color !default;
140
+
141
+ // Modals
142
+
143
+ $modal-content-bg: $gray-800 !default;
144
+ $modal-header-border-color: $gray-700 !default;
145
+
146
+ // Progress bars
147
+
148
+ $progress-bg: $gray-700 !default;
149
+
150
+ // List group
151
+
152
+ $list-group-bg: $gray-800 !default;
153
+ $list-group-border-color: $gray-700 !default;
154
+ $list-group-hover-bg: $primary !default;
155
+ $list-group-disabled-bg: $gray-700 !default;
156
+ $list-group-action-active-bg: $primary !default;
157
+
158
+ // Breadcrumbs
159
+
160
+ $breadcrumb-bg: $gray-700 !default;
161
+
162
+ // Close
163
+
164
+ $close-color: $white !default;
165
+ $close-text-shadow: none !default;
166
+
167
+ // Code
168
+
169
+ $pre-color: inherit !default;