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
@@ -1,425 +1,3 @@
1
- // Solar 4.6.2
2
- // Bootswatch
3
-
4
- //
5
- // Color system
6
- //
7
-
8
- @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
9
-
10
- // stylelint-disable
11
- $white: #fff !default;
12
- $gray-100: #fdf6e3 !default;
13
- $gray-200: #eee8d5 !default;
14
- $gray-300: #dee2e6 !default;
15
- $gray-400: #ced4da !default;
16
- $gray-500: #adb5bd !default;
17
- $gray-600: #839496 !default;
18
- $gray-700: #495057 !default;
19
- $gray-800: #073642 !default;
20
- $gray-900: #002b36 !default;
21
- $black: #000 !default;
22
-
23
- $blue: #b58900 !default;
24
- $indigo: #6610f2 !default;
25
- $purple: #6f42c1 !default;
26
- $pink: #e83e8c !default;
27
- $red: #d33682 !default;
28
- $orange: #fd7e14 !default;
29
- $yellow: #cb4b16 !default;
30
- $green: #2aa198 !default;
31
- $teal: #20c997 !default;
32
- $cyan: #268bd2 !default;
33
-
34
- $primary: $blue !default;
35
- $secondary: $gray-600 !default;
36
- $success: $green !default;
37
- $info: $cyan !default;
38
- $warning: $yellow !default;
39
- $danger: $red !default;
40
- $light: $gray-100 !default;
41
- $dark: $gray-800 !default;
42
-
43
- $enable-gradients: true;
44
-
45
- // Body
46
-
47
- $body-bg: $gray-900 !default;
48
- $body-color: $gray-600 !default;
49
-
50
- // Links
51
-
52
- $link-color: $success !default;
53
- $link-hover-color: $link-color !default;
54
-
55
- // Components
56
-
57
- $component-active-color: rgba(255, 255, 255, .75) !default;
58
- $component-active-bg: $gray-800 !default;
59
-
60
- // Fonts
61
-
62
- $font-family-sans-serif: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
63
-
64
- // Tables
65
-
66
- $table-accent-bg: rgba($white, .05) !default;
67
- $table-hover-bg: rgba($white, .075) !default;
68
- $table-border-color: $component-active-bg !default;
69
- $table-dark-bg: $gray-500 !default;
70
- $table-dark-border-color: darken($gray-500, 3%) !default;
71
- $table-dark-color: $body-bg !default;
72
-
73
- // Forms
74
-
75
- $input-bg: #a9bdbd !default;
76
- $input-disabled-bg: #657b83 !default;
77
- $input-border-color: rgba($black, .15) !default;
78
- $input-placeholder-color: #657b83 !default;
79
- $input-group-addon-color: $gray-600 !default;
80
- $input-group-addon-bg: $gray-800 !default;
81
-
82
- // Dropdowns
83
-
84
- $dropdown-bg: $gray-800 !default;
85
- $dropdown-divider-bg: $body-bg !default;
86
- $dropdown-link-color: $body-color !default;
87
- $dropdown-link-hover-color: rgba(255, 255, 255, .75) !default;
88
- $dropdown-link-hover-bg: $body-bg !default;
89
-
90
- // Navs
91
-
92
- $nav-tabs-border-color: $gray-800 !default;
93
- $nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
94
- $nav-tabs-link-active-color: $component-active-color !default;
95
- $nav-tabs-link-active-bg: $body-bg !default;
96
- $nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
97
-
98
- // Navbars
99
-
100
- $navbar-light-color: rgba($black, .4) !default;
101
- $navbar-light-active-color: rgba($black, .7) !default;
102
-
103
- // Pagination
104
-
105
- $pagination-bg: transparent !default;
106
- $pagination-border-color: $gray-800 !default;
107
- $pagination-hover-bg: $gray-800 !default;
108
- $pagination-hover-border-color: $gray-800 !default;
109
- $pagination-active-color: rgba(255, 255, 255, .75) !default;
110
- $pagination-active-bg: $gray-800 !default;
111
- $pagination-active-border-color: $gray-800 !default;
112
- $pagination-disabled-color: $gray-800 !default;
113
- $pagination-disabled-bg: transparent !default;
114
- $pagination-disabled-border-color: $gray-800 !default;
115
-
116
- // Jumbotron
117
-
118
- $jumbotron-bg: $gray-800 !default;
119
-
120
- // Cards
121
-
122
- $card-border-color: rgba($gray-900, .95) !default;
123
- $card-cap-bg: rgba($gray-800, .25) !default;
124
- $card-bg: rgba($gray-200, .125) !default;
125
-
126
- // Popovers
127
-
128
- $popover-bg: $gray-800 !default;
129
- $popover-border-color: $body-bg !default;
130
- $popover-header-bg: $gray-800 !default;
131
-
132
- // Toasts
133
-
134
- $toast-background-color: lighten($body-bg, 5%) !default;
135
- $toast-border-color: rgba(0, 0, 0, .2) !default;
136
- $toast-header-color: $body-color !default;
137
- $toast-header-background-color: $toast-background-color !default;
138
- $toast-header-border-color: $toast-border-color !default;
139
-
140
- // Modals
141
-
142
- $modal-content-bg: $gray-800 !default;
143
- $modal-content-border-color: $body-bg !default;
144
- $modal-header-border-color: $body-bg !default;
145
-
146
- // Progress bars
147
-
148
- $progress-bg: $gray-800 !default;
149
- $progress-bar-color: $primary !default;
150
-
151
- // List group
152
-
153
- $list-group-bg: transparent !default;
154
- $list-group-border-color: $gray-800 !default;
155
- $list-group-hover-bg: $gray-800 !default;
156
- $list-group-active-color: rgba(255, 255, 255, .75) !default;
157
- $list-group-disabled-color: $component-active-bg !default;
158
- $list-group-disabled-bg: transparent !default;
159
- $list-group-action-color: $body-color !default;
160
- $list-group-action-hover-color: $component-active-color !default;
161
-
162
- // Breadcrumbs
163
-
164
- $breadcrumb-bg: $component-active-bg !default;
165
-
166
- // Close
167
-
168
- $close-color: $body-color !default;
169
- $close-text-shadow: none !default;
170
-
171
- // Code
172
-
173
- $pre-color: inherit !default;
174
- $navbar-chulapa-bg-color: $dark !default;
175
- $indexcards-chulapa-border-color: $body-bg !default;
176
-
177
- // Import bootstrap
178
- @import "bootstrap/bootstrap";
179
-
180
- // Solar 4.6.2
181
- // Bootswatch
182
-
183
- // Buttons =====================================================================
184
-
185
- .btn {
186
- @each $color, $value in $theme-colors {
187
- &-#{$color} {
188
- @if $enable-gradients {
189
- background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
190
- } @else {
191
- background-color: $value;
192
- }
193
- }
194
- }
195
- }
196
-
197
- // Tables ======================================================================
198
-
199
- .table {
200
- &-primary,
201
- &-secondary,
202
- &-dark,
203
- &-success,
204
- &-info,
205
- &-warning,
206
- &-danger {
207
- color: $white;
208
- }
209
-
210
- &-primary {
211
- &,
212
- > th,
213
- > td {
214
- background-color: $primary !important;
215
- }
216
- }
217
-
218
- &-secondary {
219
- &,
220
- > th,
221
- > td {
222
- background-color: $secondary !important;
223
- }
224
- }
225
-
226
- &-light {
227
- &,
228
- > th,
229
- > td {
230
- background-color: $light !important;
231
- }
232
- }
233
-
234
- &-dark {
235
- &,
236
- > th,
237
- > td {
238
- background-color: $dark !important;
239
- color: $white !important;
240
- }
241
- }
242
-
243
- &-success {
244
- &,
245
- > th,
246
- > td {
247
- background-color: $success !important;
248
- }
249
- }
250
-
251
- &-info {
252
- &,
253
- > th,
254
- > td {
255
- background-color: $info !important;
256
- }
257
- }
258
-
259
- &-danger {
260
- &,
261
- > th,
262
- > td {
263
- background-color: $danger !important;
264
- }
265
- }
266
-
267
- &-warning {
268
- &,
269
- > th,
270
- > td {
271
- background-color: $warning !important;
272
- }
273
- }
274
-
275
- &-active {
276
- &,
277
- > th,
278
- > td {
279
- background-color: $table-active-bg !important;
280
- }
281
- }
282
-
283
- &-hover {
284
- .table-primary:hover {
285
- &,
286
- > th,
287
- > td {
288
- background-color: darken($primary, 5%) !important;
289
- }
290
- }
291
-
292
- .table-secondary:hover {
293
- &,
294
- > th,
295
- > td {
296
- background-color: darken($secondary, 5%) !important;
297
- }
298
- }
299
-
300
- .table-light:hover {
301
- &,
302
- > th,
303
- > td {
304
- background-color: darken($light, 5%) !important;
305
- }
306
- }
307
-
308
- .table-dark:hover {
309
- &,
310
- > th,
311
- > td {
312
- background-color: darken($dark, 5%) !important;
313
- color: $gray-600 !important;
314
- }
315
- }
316
-
317
- .table-success:hover {
318
- &,
319
- > th,
320
- > td {
321
- background-color: darken($success, 5%) !important;
322
- }
323
- }
324
-
325
- .table-info:hover {
326
- &,
327
- > th,
328
- > td {
329
- background-color: darken($info, 5%) !important;
330
- }
331
- }
332
-
333
- .table-danger:hover {
334
- &,
335
- > th,
336
- > td {
337
- background-color: darken($danger, 5%) !important;
338
- }
339
- }
340
-
341
- .table-warning:hover {
342
- &,
343
- > th,
344
- > td {
345
- background-color: darken($warning, 5%) !important;
346
- }
347
- }
348
-
349
- .table-active:hover {
350
- &,
351
- > th,
352
- > td {
353
- background-color: $table-active-bg !important;
354
- }
355
- }
356
- }
357
- }
358
-
359
- // Forms =======================================================================
360
-
361
- .custom-control-input:checked ~ .custom-control-label::before {
362
- background-color: $primary;
363
- background-image: none;
364
- }
365
-
366
- .custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
367
- border-color: $primary;
368
- }
369
-
370
- .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
371
- background-color: $primary;
372
- background-image: none;
373
- border-color: $primary;
374
- }
375
-
376
- .custom-switch {
377
- .custom-control-label::after {
378
- background-color: rgba(255, 255, 255, 1);
379
- }
380
-
381
- .custom-control-input:checked ~ .custom-control-label::after {
382
- background-color: rgba(255, 255, 255, .75);
383
- }
384
- }
385
-
386
- // Indicators ==================================================================
387
-
388
- .alert {
389
- border: none !important;
390
- color: $white !important;
391
-
392
- a,
393
- .alert-link {
394
- color: $white !important;
395
- text-decoration: underline;
396
- }
397
-
398
- @each $color, $value in $theme-colors {
399
- &-#{$color} {
400
- @if $enable-gradients {
401
- background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x !important;
402
- } @else {
403
- background-color: $value !important;
404
- }
405
- }
406
- }
407
-
408
- &-light {
409
- &,
410
- a:not(.btn),
411
- .alert-link {
412
- color: $body-bg !important;
413
- }
414
- }
415
- }
416
-
417
- .card.bg-primary {
418
- color: $white;
419
- }
420
-
421
- .card.bg-secondary {
422
- color: $white;
423
- }
424
-
425
- $chulapa-toc-bg: lighten($body-bg, 5%);
1
+ // Bootswatch Solar: pinned original sources in vendor/bootswatch.
2
+ // Keep the established Chulapa cascade; see the development vendor README.
3
+ @import "../chulapa/skins/bootswatch/solar";
@@ -1,29 +1,9 @@
1
- /*! Tophat `Sunset` Bootstrap 4.3.1 theme */
1
+ /*! TopHat `Sunset` integration; original source and MIT license in vendor/tophat. */
2
2
  @import url('https://fonts.googleapis.com/css2?family=Voltaire:wght@200;300;400;700&display=swap');
3
3
 
4
- $headings-font-family: Voltaire !default;
4
+ // Retain Chulapa palette and typography choices.
5
+ $danger: #d83e0c !default;
5
6
 
6
- $primary: #2F414A !default;
7
- $secondary: #F47B53 !default;
8
- $success: #420084 !default;
9
- $danger: #f2460d !default;
10
- $info: #7ebcfa !default;
11
- $warning: #ff9933 !default;
12
- $light: #eef0f2 !default;
13
- $dark: #000633 !default;
14
- $white: #fff !default;
15
-
16
- // Add SASS theme customizations here..
17
-
18
- a:not([class]) {
19
- text-decoration: underline;
20
- text-decoration-thickness: 2px;
21
- }
22
-
23
- .chulapa-toc-reset a {
24
- text-decoration: none;
25
- }
26
-
27
- .card.bg-primary {
28
- color: $white;
29
- }
7
+ @import "../vendor/tophat/sunset/variables";
8
+ @import "../chulapa/skins/sunset";
9
+ @import "../vendor/tophat/sunset/styles";
@@ -6,6 +6,7 @@ $headings-font-weight: bold;
6
6
 
7
7
  $body-color: #2a2a2a;
8
8
  $primary: #355876;
9
+ $yiq-contrasted-threshold: 130 !default;
9
10
  $secondary: #757575;
10
11
  $success: #00d084;
11
12
  $info: #8ed1fc;
@@ -32,4 +33,28 @@ a:not([class]) {
32
33
 
33
34
  .card.bg-primary {
34
35
  color: $white;
35
- }
36
+ }
37
+
38
+ // Preserve the skin's original light labels on filled buttons.
39
+ $skin-button-labels: (
40
+ success: #ffffff,
41
+ ) !default;
42
+
43
+ // Readable outline labels on this skin's page background.
44
+ $skin-button-outlines: (
45
+ success: #008756,
46
+ info: #4e738b,
47
+ warning: #976f00,
48
+ ) !default;
49
+
50
+ // Reviewed AA fills for solid buttons with white labels.
51
+ $skin-button-backgrounds: (
52
+ success: #008756,
53
+ ) !default;
54
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
55
+ $skin-button-palette: (
56
+ info: #8ed1fc,
57
+ success: #00d084,
58
+ warning: #fcb900,
59
+ ) !default;
60
+ $skin-button-body-bg: #fff !default;
@@ -8,10 +8,13 @@ $headings-font-weight: 800 !default;
8
8
 
9
9
  // Some bootstrap variables
10
10
  $primary: #1d9bf0 !default;
11
+ // Keep link accents bright against the dark page background.
12
+ $link-color: #1d9bf0 !default;
13
+ $yiq-contrasted-threshold: 123 !default;
11
14
  $secondary: #788995 !default;
12
15
  $success: #00ba7c !default;
13
16
  $warning: #ff7a00 !default;
14
- $danger: #f91880 !default;
17
+ $danger: #e21674 !default;
15
18
  $info: #7856ff !default;
16
19
  $dark: #192734 !default;
17
20
  $black: #15202b !default;
@@ -27,12 +30,13 @@ $pre-chulapa-bg-color: mix($body-color, $primary, 95%) !default;
27
30
  $navbar-chulapa-bg-color: $body-bg !default;
28
31
  $navbar-chulapa-text-color: $body-color !default;
29
32
  $navbar-chulapa-brand-color: $body-color !default;
30
- $navbar-chulapa-hover-color: $primary !default;
31
- $navbar-chulapa-active-color: $primary !default;
33
+ $navbar-chulapa-hover-color: $link-color !default;
34
+ $navbar-chulapa-active-color: $link-color !default;
32
35
  $dropdown-link-active-bg: lighten($primary, 30%) !default;
33
36
 
34
37
  $footer-chulapa-text-color: $body-color !default;
35
- $footer-chulapa-link-color: $primary !default;
38
+ $footer-chulapa-link-color: $link-color !default;
39
+ $footer-chulapa-hover-color: lighten($link-color, 10%) !default;
36
40
 
37
41
  $pagination-chulapa-bg-hover-color: $primary !default;
38
42
 
@@ -42,8 +46,42 @@ $breadcrumb-divider: quote(">") !default;
42
46
 
43
47
  // Lines for dark themes
44
48
  @import "skins/dark-bg";
49
+ // The shared dark defaults darken link hover colors; use a lighter accent here.
50
+ $link-hover-color: lighten($link-color, 10%);
45
51
 
46
52
  .card.bg-primary,
47
53
  .card.bg-secondary {
48
54
  color: $light;
49
- }
55
+ }
56
+
57
+ // Preserve the skin's original light labels on filled buttons.
58
+ $skin-button-labels: (
59
+ primary: #ffffff,
60
+ secondary: #ffffff,
61
+ success: #ffffff,
62
+ warning: #ffffff,
63
+ ) !default;
64
+
65
+ // Readable outline labels on this skin's page background.
66
+ $skin-button-outlines: (
67
+ info: #8c6fff,
68
+ danger: #e95097,
69
+ ) !default;
70
+
71
+ // Reviewed AA fills for solid buttons with white labels.
72
+ $skin-button-backgrounds: (
73
+ secondary: #697883,
74
+ primary: #177bbe,
75
+ success: #00875a,
76
+ warning: #bc5a00,
77
+ ) !default;
78
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
79
+ $skin-button-palette: (
80
+ danger: #e21674,
81
+ info: #7856ff,
82
+ primary: #1d9bf0,
83
+ secondary: #788995,
84
+ success: #00ba7c,
85
+ warning: #ff7a00,
86
+ ) !default;
87
+ $skin-button-body-bg: #15202b !default;
@@ -6,10 +6,11 @@ $font-family-base: $headings-font-family;
6
6
  $headings-font-weight: 800 !default;
7
7
  // Some bootstrap variables
8
8
  $primary: #1d9bf0 !default;
9
- $secondary: #788995 !default;
9
+ $yiq-contrasted-threshold: 123 !default;
10
+ $secondary: #697883 !default;
10
11
  $success: #00ba7c !default;
11
12
  $warning: #ff7a00 !default;
12
- $danger: #f91880 !default;
13
+ $danger: #e21674 !default;
13
14
  $info: #7856ff !default;
14
15
  $light: #c1c2c2 !default;
15
16
  $dark: #15181c !default;
@@ -47,4 +48,25 @@ $breadcrumb-divider: quote(">") !default;
47
48
  .card.bg-primary,
48
49
  .card.bg-secondary {
49
50
  color: $white;
50
- }
51
+ }
52
+
53
+ // Preserve the skin's original light labels on filled buttons.
54
+ $skin-button-labels: (
55
+ primary: #ffffff,
56
+ success: #ffffff,
57
+ warning: #ffffff,
58
+ ) !default;
59
+
60
+ // Reviewed AA fills for solid buttons with white labels.
61
+ $skin-button-backgrounds: (
62
+ primary: #177bbe,
63
+ success: #00875a,
64
+ warning: #bc5a00,
65
+ ) !default;
66
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
67
+ $skin-button-palette: (
68
+ primary: #1d9bf0,
69
+ success: #00ba7c,
70
+ warning: #ff7a00,
71
+ ) !default;
72
+ $skin-button-body-bg: #000 !default;
@@ -7,10 +7,11 @@ $headings-font-weight: 800 !default;
7
7
 
8
8
  // Some bootstrap variables
9
9
  $primary: #1d9bf0 !default;
10
- $secondary: #788995 !default;
10
+ $yiq-contrasted-threshold: 123 !default;
11
+ $secondary: #697883 !default;
11
12
  $success: #00ba7c !default;
12
13
  $warning: #ff7a00 !default;
13
- $danger: #f91880 !default;
14
+ $danger: #e21674 !default;
14
15
  $info: #7856ff !default;
15
16
  $light: #f5f8fa !default;
16
17
  $body-bg: #fff !default;
@@ -39,4 +40,32 @@ $breadcrumb-divider: quote(">") !default;
39
40
  .card.bg-primary,
40
41
  .card.bg-secondary {
41
42
  color: $body-bg;
42
- }
43
+ }
44
+
45
+ // Preserve the skin's original light labels on filled buttons.
46
+ $skin-button-labels: (
47
+ primary: #ffffff,
48
+ success: #ffffff,
49
+ warning: #ffffff,
50
+ ) !default;
51
+
52
+ // Readable outline labels on this skin's page background.
53
+ $skin-button-outlines: (
54
+ primary: #1674b4,
55
+ success: #008257,
56
+ warning: #b25500,
57
+ ) !default;
58
+
59
+ // Reviewed AA fills for solid buttons with white labels.
60
+ $skin-button-backgrounds: (
61
+ primary: #177bbe,
62
+ success: #00875a,
63
+ warning: #bc5a00,
64
+ ) !default;
65
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
66
+ $skin-button-palette: (
67
+ primary: #1d9bf0,
68
+ success: #00ba7c,
69
+ warning: #ff7a00,
70
+ ) !default;
71
+ $skin-button-body-bg: #fff !default;