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,552 @@
1
+ --- a/upstream.scss
2
+ +++ b/chulapa.scss
3
+ @@ -1,10 +1,6 @@
4
+ -// Yeti 4.6.2
5
+ -// Bootswatch
6
+ -
7
+ -//
8
+ +// Yeti 4.6.2 - Bootswatch
9
+ +
10
+ // Color system
11
+ -//
12
+ -
13
+ $white: #fff !default;
14
+ $gray-100: #f8f9fa !default;
15
+ $gray-200: #eee !default;
16
+ @@ -29,97 +25,92 @@
17
+ $cyan: #5bc0de !default;
18
+
19
+ $primary: $blue !default;
20
+ -$secondary: $gray-200 !default;
21
+ +$secondary: $gray-400 !default;
22
+ $success: $green !default;
23
+ $info: $cyan !default;
24
+ $warning: $yellow !default;
25
+ -$danger: $red !default;
26
+ +$danger: #d93b21 !default;
27
+ $light: $gray-200 !default;
28
+ $dark: $gray-900 !default;
29
+
30
+ -$yiq-contrasted-threshold: 200 !default;
31
+ +$yiq-contrasted-threshold: 130 !default;
32
+
33
+ // Components
34
+ -
35
+ $border-radius: 0 !default;
36
+ $border-radius-lg: 0 !default;
37
+ $border-radius-sm: 0 !default;
38
+
39
+ // Fonts
40
+ -
41
+ -// stylelint-disable-next-line value-keyword-case
42
+ $font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
43
+ $font-size-base: .9375rem !default;
44
+ $font-size-sm: $font-size-base * .88 !default;
45
+ $headings-font-weight: 300 !default;
46
+
47
+ // Buttons
48
+ -
49
+ $input-btn-padding-x: .5rem !default;
50
+ $btn-font-weight: 300 !default;
51
+
52
+ // Dropdowns
53
+ -
54
+ $dropdown-border-color: rgba($black, .1) !default;
55
+ $dropdown-divider-bg: rgba($black, .1) !default;
56
+
57
+ // Navs
58
+ -
59
+ $nav-link-disabled-color: $gray-400 !default;
60
+ $nav-tabs-border-color: $dropdown-border-color !default;
61
+ $nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
62
+ $nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
63
+
64
+ // Navbar
65
+ -
66
+ $navbar-dark-color: rgba($white, .7) !default;
67
+ $navbar-dark-hover-color: $white !default;
68
+
69
+ // Pagination
70
+ -
71
+ $pagination-color: $gray-600 !default;
72
+ $pagination-border-color: $nav-tabs-border-color !default;
73
+ $pagination-active-border-color: darken($primary, 5%) !default;
74
+ $pagination-disabled-color: $gray-200 !default;
75
+
76
+ // Jumbotron
77
+ -
78
+ $jumbotron-padding: 4rem !default;
79
+
80
+ // Cards
81
+ -
82
+ $card-inner-border-radius: 0 !default;
83
+
84
+ // Badges
85
+ -
86
+ $badge-font-weight: 300 !default;
87
+ $badge-padding-x: 1rem !default;
88
+
89
+ // Progress bars
90
+ -
91
+ $progress-bg: $gray-400 !default;
92
+ $progress-bar-color: $white !default;
93
+
94
+ // List group
95
+ -
96
+ $list-group-disabled-bg: $gray-200 !default;
97
+
98
+ // Close
99
+ -
100
+ $close-color: $gray-600 !default;
101
+ $close-text-shadow: none !default;
102
+ -// Yeti 4.6.2
103
+ -// Bootswatch
104
+ -
105
+ -
106
+ -// Variables ===================================================================
107
+ -
108
+ +
109
+ +// Variables
110
+ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" !default;
111
+ @if $web-font-path {
112
+ @import url($web-font-path);
113
+ }
114
+ -// Navbar ======================================================================
115
+ -
116
+ +
117
+ +@import "bootstrap/functions";
118
+ +@import "bootstrap/variables";
119
+ +@import "bootstrap/mixins";
120
+ +
121
+ +// Typography
122
+ +.text-secondary {
123
+ + color: $gray-700 !important;
124
+ +}
125
+ +
126
+ +.blockquote-footer {
127
+ + color: $gray-600 !important;
128
+ +}
129
+ +
130
+ +// Navbar
131
+ .navbar {
132
+ font-size: $font-size-sm;
133
+ font-weight: $headings-font-weight;
134
+ @@ -156,7 +147,7 @@
135
+
136
+ .dropdown-item.active,
137
+ .dropdown-item:hover,
138
+ - .dropdown-item:focus {
139
+ + .dropdown-item:focus {
140
+ background-color: darken($gray-800, 5%);
141
+ color: $white;
142
+ }
143
+ @@ -174,15 +165,14 @@
144
+
145
+ .dropdown-item.active,
146
+ .dropdown-item:hover,
147
+ - .dropdown-item:focus {
148
+ + .dropdown-item:focus {
149
+ background-color: lighten($gray-200, 5%);
150
+ color: $navbar-light-hover-color;
151
+ }
152
+ }
153
+ }
154
+
155
+ -// Buttons =====================================================================
156
+ -
157
+ +// Buttons
158
+ .btn {
159
+ &-primary {
160
+ border-color: darken($primary, 5%);
161
+ @@ -311,20 +301,9 @@
162
+ }
163
+ }
164
+
165
+ -// Typography ==================================================================
166
+ -
167
+ -.text-secondary {
168
+ - color: $gray-700 !important;
169
+ -}
170
+ -
171
+ -.blockquote-footer {
172
+ - color: $gray-600;
173
+ -}
174
+ -
175
+ -// Tables ======================================================================
176
+ -
177
+ +// Tables
178
+ table {
179
+ - font-size: $font-size-sm;
180
+ + font-size: $font-size-sm !important;
181
+ }
182
+
183
+ .table {
184
+ @@ -333,14 +312,14 @@
185
+ &-info,
186
+ &-warning,
187
+ &-danger {
188
+ - color: $white;
189
+ + color: $white !important;
190
+ }
191
+
192
+ &-primary {
193
+ &,
194
+ > th,
195
+ > td {
196
+ - background-color: $primary;
197
+ + background-color: $primary !important;
198
+ }
199
+ }
200
+
201
+ @@ -348,7 +327,7 @@
202
+ &,
203
+ > th,
204
+ > td {
205
+ - background-color: $secondary;
206
+ + background-color: $secondary !important;
207
+ }
208
+ }
209
+
210
+ @@ -356,7 +335,7 @@
211
+ &,
212
+ > th,
213
+ > td {
214
+ - background-color: $light;
215
+ + background-color: $light !important;
216
+ }
217
+ }
218
+
219
+ @@ -364,7 +343,7 @@
220
+ &,
221
+ > th,
222
+ > td {
223
+ - background-color: $dark;
224
+ + background-color: $dark !important;
225
+ }
226
+ }
227
+
228
+ @@ -372,7 +351,7 @@
229
+ &,
230
+ > th,
231
+ > td {
232
+ - background-color: $success;
233
+ + background-color: $success !important;
234
+ }
235
+ }
236
+
237
+ @@ -380,7 +359,7 @@
238
+ &,
239
+ > th,
240
+ > td {
241
+ - background-color: $info;
242
+ + background-color: $info !important;
243
+ }
244
+ }
245
+
246
+ @@ -388,7 +367,7 @@
247
+ &,
248
+ > th,
249
+ > td {
250
+ - background-color: $danger;
251
+ + background-color: $danger !important;
252
+ }
253
+ }
254
+
255
+ @@ -396,7 +375,7 @@
256
+ &,
257
+ > th,
258
+ > td {
259
+ - background-color: $warning;
260
+ + background-color: $warning !important;
261
+ }
262
+ }
263
+
264
+ @@ -404,7 +383,7 @@
265
+ &,
266
+ > th,
267
+ > td {
268
+ - background-color: $table-active-bg;
269
+ + background-color: $table-active-bg !important;
270
+ }
271
+ }
272
+
273
+ @@ -413,7 +392,7 @@
274
+ &,
275
+ > th,
276
+ > td {
277
+ - background-color: darken($primary, 5%);
278
+ + background-color: darken($primary, 5%) !important;
279
+ }
280
+ }
281
+
282
+ @@ -421,7 +400,7 @@
283
+ &,
284
+ > th,
285
+ > td {
286
+ - background-color: darken($secondary, 5%);
287
+ + background-color: darken($secondary, 5%) !important;
288
+ }
289
+ }
290
+
291
+ @@ -429,7 +408,7 @@
292
+ &,
293
+ > th,
294
+ > td {
295
+ - background-color: darken($light, 5%);
296
+ + background-color: darken($light, 5%) !important;
297
+ }
298
+ }
299
+
300
+ @@ -437,7 +416,7 @@
301
+ &,
302
+ > th,
303
+ > td {
304
+ - background-color: darken($dark, 5%);
305
+ + background-color: darken($dark, 5%) !important;
306
+ }
307
+ }
308
+
309
+ @@ -445,7 +424,7 @@
310
+ &,
311
+ > th,
312
+ > td {
313
+ - background-color: darken($success, 5%);
314
+ + background-color: darken($success, 5%) !important;
315
+ }
316
+ }
317
+
318
+ @@ -453,7 +432,7 @@
319
+ &,
320
+ > th,
321
+ > td {
322
+ - background-color: darken($info, 5%);
323
+ + background-color: darken($info, 5%) !important;
324
+ }
325
+ }
326
+
327
+ @@ -461,7 +440,7 @@
328
+ &,
329
+ > th,
330
+ > td {
331
+ - background-color: darken($danger, 5%);
332
+ + background-color: darken($danger, 5%) !important;
333
+ }
334
+ }
335
+
336
+ @@ -469,7 +448,7 @@
337
+ &,
338
+ > th,
339
+ > td {
340
+ - background-color: darken($warning, 5%);
341
+ + background-color: darken($warning, 5%) !important;
342
+ }
343
+ }
344
+
345
+ @@ -477,15 +456,13 @@
346
+ &,
347
+ > th,
348
+ > td {
349
+ - background-color: $table-active-bg;
350
+ - }
351
+ - }
352
+ -
353
+ - }
354
+ -}
355
+ -
356
+ -// Forms =======================================================================
357
+ -
358
+ + background-color: $table-active-bg !important;
359
+ + }
360
+ + }
361
+ + }
362
+ +}
363
+ +
364
+ +// Forms
365
+ label,
366
+ .control-label,
367
+ .help-block,
368
+ @@ -495,8 +472,7 @@
369
+ font-size: $font-size-sm;
370
+ }
371
+
372
+ -// Navs ========================================================================
373
+ -
374
+ +// Navs
375
+ .dropdown-item {
376
+ padding-top: .75rem;
377
+ padding-bottom: .75rem;
378
+ @@ -571,8 +547,7 @@
379
+ font-weight: 300;
380
+ }
381
+
382
+ -// Indicators ==================================================================
383
+ -
384
+ +// Indicators
385
+ .close {
386
+ opacity: .6;
387
+ text-shadow: none;
388
+ @@ -584,15 +559,15 @@
389
+ }
390
+
391
+ .alert {
392
+ - font-size: $font-size-sm;
393
+ - font-weight: 300;
394
+ - color: $white;
395
+ + font-size: $font-size-sm !important;
396
+ + font-weight: 300 !important;
397
+ + color: $white !important;
398
+
399
+ &-primary {
400
+ &,
401
+ > th,
402
+ > td {
403
+ - background-color: $primary;
404
+ + background-color: $primary !important;
405
+ }
406
+ }
407
+
408
+ @@ -600,7 +575,7 @@
409
+ &,
410
+ > th,
411
+ > td {
412
+ - background-color: $secondary;
413
+ + background-color: $secondary !important;
414
+ }
415
+ }
416
+
417
+ @@ -608,7 +583,7 @@
418
+ &,
419
+ > th,
420
+ > td {
421
+ - background-color: $success;
422
+ + background-color: $success !important;
423
+ }
424
+ }
425
+
426
+ @@ -616,7 +591,7 @@
427
+ &,
428
+ > th,
429
+ > td {
430
+ - background-color: $info;
431
+ + background-color: $info !important;
432
+ }
433
+ }
434
+
435
+ @@ -624,7 +599,7 @@
436
+ &,
437
+ > th,
438
+ > td {
439
+ - background-color: $danger;
440
+ + background-color: $danger !important;
441
+ }
442
+ }
443
+
444
+ @@ -632,7 +607,7 @@
445
+ &,
446
+ > th,
447
+ > td {
448
+ - background-color: $warning;
449
+ + background-color: $warning !important;
450
+ }
451
+ }
452
+
453
+ @@ -640,7 +615,7 @@
454
+ &,
455
+ > th,
456
+ > td {
457
+ - background-color: $dark;
458
+ + background-color: $dark !important;
459
+ }
460
+ }
461
+
462
+ @@ -648,14 +623,14 @@
463
+ &,
464
+ > th,
465
+ > td {
466
+ - background-color: $light;
467
+ + background-color: $light !important;
468
+ }
469
+ }
470
+
471
+ .alert-link {
472
+ - font-weight: 400;
473
+ - color: $white;
474
+ - text-decoration: underline;
475
+ + font-weight: 400 !important;
476
+ + color: $white !important;
477
+ + text-decoration: underline !important;
478
+ }
479
+
480
+ &-secondary,
481
+ @@ -663,22 +638,21 @@
482
+ &,
483
+ a:not(.btn),
484
+ .alert-link {
485
+ - color: $body-color;
486
+ + color: $body-color !important;
487
+ }
488
+ }
489
+ }
490
+
491
+ .badge {
492
+ - padding-bottom: .3em;
493
+ + padding-bottom: .3em !important;
494
+
495
+ &-warning,
496
+ &-info {
497
+ - color: $white;
498
+ - }
499
+ -}
500
+ -
501
+ -// Progress bars ===============================================================
502
+ -
503
+ + color: $white !important;
504
+ + }
505
+ +}
506
+ +
507
+ +// Progress bars
508
+ .progress[value] {
509
+ height: 22px;
510
+ padding: 2px;
511
+ @@ -687,10 +661,38 @@
512
+ @include box-shadow(none);
513
+ }
514
+
515
+ -
516
+ -// Popovers ===============================================================
517
+ -
518
+ +// Popovers
519
+ .popover-header {
520
+ border-top-left-radius: 0;
521
+ border-top-right-radius: 0;
522
+ }
523
+ +
524
+ +// Cards
525
+ +.card.bg-primary {
526
+ + color: $white;
527
+ +}
528
+ +
529
+ +// Preserve the skin's original light labels on filled buttons.
530
+ +$skin-button-labels: (
531
+ + success: #ffffff,
532
+ + info: #ffffff,
533
+ + warning: #ffffff,
534
+ +) !default;
535
+ +
536
+ +// Readable outline labels on this skin's page background.
537
+ +$skin-button-outlines: (
538
+ + primary: #007ea7,
539
+ + secondary: #707070,
540
+ + success: #328150,
541
+ + info: #3b7d90,
542
+ + warning: #a36501,
543
+ +) !default;
544
+ +// Stock palette defaults; keep predeclared custom colors and vars authoritative.
545
+ +$skin-button-palette: (
546
+ + info: #5bc0de,
547
+ + primary: #008cba,
548
+ + secondary: #ccc,
549
+ + success: #43ac6a,
550
+ + warning: #e99002,
551
+ +) !default;
552
+ +$skin-button-body-bg: #fff !default;
@@ -4,8 +4,18 @@
4
4
  * Licensed under MIT
5
5
  */
6
6
 
7
+ // Original Bootswatch component rules follow Bootstrap without importing it twice.
8
+ @if mixin-exists(chulapa-bootswatch) {
9
+ @include chulapa-bootswatch;
10
+ }
11
+ @if mixin-exists(chulapa-tophat) {
12
+ @include chulapa-tophat;
13
+ }
14
+
7
15
  @import "chulapa/_bootstrapv5";
8
16
  @import "chulapa/_mixins";
9
17
  @import "chulapa/_variables";
10
18
  @import "chulapa/_reboot";
11
19
  @import "chulapa/_classes";
20
+
21
+ @import "chulapa/_buttons";
@@ -8,6 +8,8 @@ $font-family-monospace: 'Roboto Mono', monospace !default;
8
8
 
9
9
  $white: #ffffff !default;
10
10
  $primary: #1565c0 !default;
11
+ $yiq-contrasted-threshold: 117 !default;
12
+ $info: #20a6bb !default;
11
13
  $secondary: #2962ff !default;
12
14
  $body-bg: $white !default;
13
15
  $navbar-chulapa-bg-color: $body-bg !default;
@@ -39,3 +41,29 @@ $h6-font-size: 1rem !default;
39
41
  .card.bg-secondary {
40
42
  color: $white;
41
43
  }
44
+
45
+ // Preserve the skin's original light labels on filled buttons.
46
+ $skin-button-labels: (
47
+ success: #ffffff,
48
+ info: #ffffff,
49
+ ) !default;
50
+
51
+ // Readable outline labels on this skin's page background.
52
+ $skin-button-outlines: (
53
+ success: #208637,
54
+ info: #187c8c,
55
+ warning: #8c6a04,
56
+ ) !default;
57
+
58
+ // Reviewed AA fills for solid buttons with white labels.
59
+ $skin-button-backgrounds: (
60
+ success: #208738,
61
+ info: #198192,
62
+ ) !default;
63
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
64
+ $skin-button-palette: (
65
+ info: #20a6bb,
66
+ success: #28a745,
67
+ warning: #ffc107,
68
+ ) !default;
69
+ $skin-button-body-bg: #ffffff !default;
@@ -1,30 +1,25 @@
1
- /*!
2
- * Chulapa - Bootstrap Autothemer
3
- * Copyright 2020 Chulapa Jekyll Skin Author
4
- * Licensed under MIT
5
- */
1
+ // Auto skin: generated palette plus corrections for its stock defaults.
2
+ @import "../chulapa/autothemer";
6
3
 
7
- $primary: #007bff !default;
8
- $white: mix(#fff, $primary, 95%) !default;
9
- $gray-100: mix(#f8f9fa, $primary, 85%) !default;
10
- $gray-200: mix(#e9ecef, $primary, 85%) !default;
11
- $gray-300: mix(#dee2e6, $primary, 85%) !default;
12
- $gray-400: mix(#ced4da, $primary, 85%) !default;
13
- $gray-500: mix(#adb5bd, $primary, 85%) !default;
14
- $gray-600: mix(#6c757d, $primary, 85%) !default;
15
- $gray-700: mix(#495057, $primary, 85%) !default;
16
- $gray-800: mix(#343a40, $primary, 85%) !default;
17
- $gray-900: mix(#212529, $primary, 85%) !default;
18
- $black: mix(#000, $primary, 95%) !default;
4
+ // Preserve the skin's original light labels on filled buttons.
5
+ $skin-button-labels: (
6
+ info: #f2f8ff,
7
+ ) !default;
19
8
 
20
- $secondary: $gray-600 !default;
21
- $success: mix(#28a745, $primary, 75%) !default;
22
- $info: mix(#17a2b8, $primary, 75%) !default;
23
- $warning: mix(#ffc107, $primary, 75%) !default;
24
- $danger: mix(#dc3545, $primary, 75%) !default;
25
- $light: mix(white, $primary, 75%) !default;
26
- $dark: mix(black, $primary, 75%) !default;
27
-
28
- $carousel-control-color: $dark !default;
29
- $carousel-indicator-active-bg: $dark !default;
30
- $code-color: #E80E61 !default;
9
+ // Readable outline labels on this skin's page background.
10
+ $skin-button-outlines: (
11
+ primary: #0069d9,
12
+ secondary: #57708a,
13
+ success: #187d5d,
14
+ info: #0d7298,
15
+ warning: #7c722d,
16
+ ) !default;
17
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
18
+ $skin-button-palette: (
19
+ info: rgb(17.25, 152.25, 201.75),
20
+ primary: #007bff,
21
+ secondary: rgb(91.8, 117.9, 144.5),
22
+ success: rgb(30, 156, 115.5),
23
+ warning: rgb(191.25, 175.5, 69),
24
+ ) !default;
25
+ $skin-button-body-bg: rgb(242.25, 248.4, 255) !default;
@@ -11,11 +11,12 @@ $font-family-base: 'Inter', 'Roboto' !default;
11
11
  }
12
12
 
13
13
  $primary: #1083fe !default;
14
+ $yiq-contrasted-threshold: 110 !default;
14
15
  $secondary: #c5cfd9 !default;
15
- $success: #00a400 !default;
16
+ $success: #008900 !default;
16
17
  $info: #54c7ec !default;
17
18
  $warning: #ffba00 !default;
18
- $danger: #fa383e !default;
19
+ $danger: #fa4c51 !default;
19
20
  $dark: #0b0f14 !default;
20
21
  $white: #ffffff !default;
21
22
  $black: #000000 !default;
@@ -51,4 +52,22 @@ $min-contrast-ratio: 2 !default;
51
52
 
52
53
  .card.bg-secondary {
53
54
  color: $dark;
54
- }
55
+ }
56
+
57
+ // Preserve the skin's original light labels on filled buttons.
58
+ $skin-button-labels: (
59
+ primary: #ffffff,
60
+ danger: #ffffff,
61
+ ) !default;
62
+
63
+ // AA button fills; keep the global palette and link accents unchanged.
64
+ $skin-button-backgrounds: (
65
+ primary: #0e74e2,
66
+ danger: #d34044,
67
+ ) !default;
68
+ // Stock palette defaults; keep predeclared custom colors and vars authoritative.
69
+ $skin-button-palette: (
70
+ danger: #fa4c51,
71
+ primary: #1083fe,
72
+ ) !default;
73
+ $skin-button-body-bg: #000000 !default;