@yafnet/theme-kit 0.0.0-stage → 4.0.11

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 (297) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +103 -2
  3. package/bin/yafnet-theme.js +409 -0
  4. package/email/bootstrap-email/bootstrap-email.scss +26 -0
  5. package/email/bootstrap-email/bootstrap-head.scss +169 -0
  6. package/email/bootstrap-email/layout.html.erb +12 -0
  7. package/email/bootstrap-email/scss/_helpers.scss +3 -0
  8. package/email/bootstrap-email/scss/_reboot_email.scss +54 -0
  9. package/email/bootstrap-email/scss/_reboot_head.scss +59 -0
  10. package/email/bootstrap-email/scss/_variables.scss +7 -0
  11. package/email/bootstrap-email/scss/components/_alert.scss +21 -0
  12. package/email/bootstrap-email/scss/components/_badge.scss +61 -0
  13. package/email/bootstrap-email/scss/components/_button.scss +47 -0
  14. package/email/bootstrap-email/scss/components/_card.scss +19 -0
  15. package/email/bootstrap-email/scss/components/_container.scss +18 -0
  16. package/email/bootstrap-email/scss/components/_grid.scss +43 -0
  17. package/email/bootstrap-email/scss/components/_hr.scss +8 -0
  18. package/email/bootstrap-email/scss/components/_image.scss +6 -0
  19. package/email/bootstrap-email/scss/components/_preview.scss +5 -0
  20. package/email/bootstrap-email/scss/components/_stack.scss +39 -0
  21. package/email/bootstrap-email/scss/components/_table.scss +137 -0
  22. package/email/bootstrap-email/scss/helpers/_functions.scss +29 -0
  23. package/email/bootstrap-email/scss/helpers/_mixins.scss +21 -0
  24. package/email/bootstrap-email/scss/helpers/_selectors_for_utils.scss +124 -0
  25. package/email/bootstrap-email/scss/utilities/_background.scss +5 -0
  26. package/email/bootstrap-email/scss/utilities/_border-radius.scss +21 -0
  27. package/email/bootstrap-email/scss/utilities/_border.scss +13 -0
  28. package/email/bootstrap-email/scss/utilities/_color.scss +9 -0
  29. package/email/bootstrap-email/scss/utilities/_display.scss +7 -0
  30. package/email/bootstrap-email/scss/utilities/_sizing.scss +35 -0
  31. package/email/bootstrap-email/scss/utilities/_spacing.scss +18 -0
  32. package/email/bootstrap-email/scss/utilities/_text-decoration.scss +9 -0
  33. package/email/bootstrap-email/scss/utilities/_typography.scss +56 -0
  34. package/email/bootstrap-email/scss/utilities/_valign.scss +5 -0
  35. package/email/bootstrap-email/scss/variables/_body.scss +2 -0
  36. package/email/bootstrap-email/scss/variables/_borders.scss +6 -0
  37. package/email/bootstrap-email/scss/variables/_buttons.scss +47 -0
  38. package/email/bootstrap-email/scss/variables/_colors.scss +161 -0
  39. package/email/bootstrap-email/scss/variables/_tables.scss +4 -0
  40. package/email/bootstrap-email/scss/variables/_typography.scss +26 -0
  41. package/email/bootstrap-email/scss/variables/_utilities.scss +154 -0
  42. package/email/bootstrap-email/templates/body.html +8 -0
  43. package/email/bootstrap-email/templates/button.html +9 -0
  44. package/email/bootstrap-email/templates/container.html +29 -0
  45. package/email/bootstrap-email/templates/div.html +3 -0
  46. package/email/bootstrap-email/templates/table-left.html +9 -0
  47. package/email/bootstrap-email/templates/table-to-tbody.html +5 -0
  48. package/email/bootstrap-email/templates/table-to-tr.html +7 -0
  49. package/email/bootstrap-email/templates/table.html +9 -0
  50. package/email/bootstrap-email/templates/td.html +3 -0
  51. package/email/bootstrap-email/templates/tr.html +5 -0
  52. package/email/prebuilt/brite/DigestTopicTemplate.html +57 -0
  53. package/email/prebuilt/brite/EmailTemplate.html +116 -0
  54. package/email/prebuilt/cerulean/DigestTopicTemplate.html +57 -0
  55. package/email/prebuilt/cerulean/EmailTemplate.html +116 -0
  56. package/email/prebuilt/cosmo/DigestTopicTemplate.html +57 -0
  57. package/email/prebuilt/cosmo/EmailTemplate.html +116 -0
  58. package/email/prebuilt/cyborg/DigestTopicTemplate.html +57 -0
  59. package/email/prebuilt/cyborg/EmailTemplate.html +116 -0
  60. package/email/prebuilt/darkly/DigestTopicTemplate.html +57 -0
  61. package/email/prebuilt/darkly/EmailTemplate.html +116 -0
  62. package/email/prebuilt/flatly/DigestTopicTemplate.html +57 -0
  63. package/email/prebuilt/flatly/EmailTemplate.html +116 -0
  64. package/email/prebuilt/journal/DigestTopicTemplate.html +57 -0
  65. package/email/prebuilt/journal/EmailTemplate.html +116 -0
  66. package/email/prebuilt/litera/DigestTopicTemplate.html +57 -0
  67. package/email/prebuilt/litera/EmailTemplate.html +116 -0
  68. package/email/prebuilt/lumen/DigestTopicTemplate.html +57 -0
  69. package/email/prebuilt/lumen/EmailTemplate.html +116 -0
  70. package/email/prebuilt/lux/DigestTopicTemplate.html +57 -0
  71. package/email/prebuilt/lux/EmailTemplate.html +116 -0
  72. package/email/prebuilt/materia/DigestTopicTemplate.html +57 -0
  73. package/email/prebuilt/materia/EmailTemplate.html +116 -0
  74. package/email/prebuilt/minty/DigestTopicTemplate.html +57 -0
  75. package/email/prebuilt/minty/EmailTemplate.html +116 -0
  76. package/email/prebuilt/morph/DigestTopicTemplate.html +57 -0
  77. package/email/prebuilt/morph/EmailTemplate.html +116 -0
  78. package/email/prebuilt/pulse/DigestTopicTemplate.html +57 -0
  79. package/email/prebuilt/pulse/EmailTemplate.html +116 -0
  80. package/email/prebuilt/quartz/DigestTopicTemplate.html +57 -0
  81. package/email/prebuilt/quartz/EmailTemplate.html +116 -0
  82. package/email/prebuilt/sandstone/DigestTopicTemplate.html +57 -0
  83. package/email/prebuilt/sandstone/EmailTemplate.html +116 -0
  84. package/email/prebuilt/simplex/DigestTopicTemplate.html +57 -0
  85. package/email/prebuilt/simplex/EmailTemplate.html +116 -0
  86. package/email/prebuilt/sketchy/DigestTopicTemplate.html +57 -0
  87. package/email/prebuilt/sketchy/EmailTemplate.html +116 -0
  88. package/email/prebuilt/slate/DigestTopicTemplate.html +57 -0
  89. package/email/prebuilt/slate/EmailTemplate.html +116 -0
  90. package/email/prebuilt/solar/DigestTopicTemplate.html +57 -0
  91. package/email/prebuilt/solar/EmailTemplate.html +116 -0
  92. package/email/prebuilt/spacelab/DigestTopicTemplate.html +57 -0
  93. package/email/prebuilt/spacelab/EmailTemplate.html +116 -0
  94. package/email/prebuilt/superhero/DigestTopicTemplate.html +57 -0
  95. package/email/prebuilt/superhero/EmailTemplate.html +116 -0
  96. package/email/prebuilt/united/DigestTopicTemplate.html +57 -0
  97. package/email/prebuilt/united/EmailTemplate.html +116 -0
  98. package/email/prebuilt/vapor/DigestTopicTemplate.html +57 -0
  99. package/email/prebuilt/vapor/EmailTemplate.html +116 -0
  100. package/email/prebuilt/yaf/DigestTopicTemplate.html +57 -0
  101. package/email/prebuilt/yaf/EmailTemplate.html +116 -0
  102. package/email/prebuilt/yeti/DigestTopicTemplate.html +57 -0
  103. package/email/prebuilt/yeti/EmailTemplate.html +116 -0
  104. package/email/prebuilt/zephyr/DigestTopicTemplate.html +57 -0
  105. package/email/prebuilt/zephyr/EmailTemplate.html +116 -0
  106. package/email/resources/DigestTopicTemplate.html +23 -0
  107. package/email/resources/EmailTemplate.html +27 -0
  108. package/package.json +41 -5
  109. package/scss/choices/bs-theme.scss +47 -0
  110. package/scss/choices/choices.scss +376 -0
  111. package/scss/forum/chat.scss +99 -0
  112. package/scss/netStack.scss +32 -0
  113. package/themes/brite/LICENSE.md +21 -0
  114. package/themes/brite/_bootswatch.scss +381 -0
  115. package/themes/brite/_variables.scss +236 -0
  116. package/themes/brite/bootstrap-email.scss +35 -0
  117. package/themes/brite/bootstrap-forum.scss +8 -0
  118. package/themes/brite/bootstrap_email-digest.json +5 -0
  119. package/themes/brite/bootstrap_email.json +4 -0
  120. package/themes/cerulean/LICENSE.md +21 -0
  121. package/themes/cerulean/_bootswatch.scss +116 -0
  122. package/themes/cerulean/_variables.scss +64 -0
  123. package/themes/cerulean/bootstrap-email.scss +35 -0
  124. package/themes/cerulean/bootstrap-forum.scss +8 -0
  125. package/themes/cerulean/bootstrap_email-digest.json +5 -0
  126. package/themes/cerulean/bootstrap_email.json +4 -0
  127. package/themes/cosmo/LICENSE.md +21 -0
  128. package/themes/cosmo/_bootswatch.scss +53 -0
  129. package/themes/cosmo/_variables.scss +73 -0
  130. package/themes/cosmo/bootstrap-email.scss +35 -0
  131. package/themes/cosmo/bootstrap-forum.scss +8 -0
  132. package/themes/cosmo/bootstrap_email-digest.json +5 -0
  133. package/themes/cosmo/bootstrap_email.json +4 -0
  134. package/themes/cyborg/LICENSE.md +21 -0
  135. package/themes/cyborg/_bootswatch.scss +146 -0
  136. package/themes/cyborg/_variables.scss +185 -0
  137. package/themes/cyborg/bootstrap-email.scss +35 -0
  138. package/themes/cyborg/bootstrap-forum.scss +8 -0
  139. package/themes/cyborg/bootstrap_email-digest.json +5 -0
  140. package/themes/cyborg/bootstrap_email.json +4 -0
  141. package/themes/darkly/LICENSE.md +21 -0
  142. package/themes/darkly/_bootswatch.scss +78 -0
  143. package/themes/darkly/_variables.scss +184 -0
  144. package/themes/darkly/bootstrap-email.scss +35 -0
  145. package/themes/darkly/bootstrap-forum.scss +8 -0
  146. package/themes/darkly/bootstrap_email-digest.json +5 -0
  147. package/themes/darkly/bootstrap_email.json +4 -0
  148. package/themes/flatly/LICENSE.md +21 -0
  149. package/themes/flatly/_bootswatch.scss +65 -0
  150. package/themes/flatly/_variables.scss +120 -0
  151. package/themes/flatly/bootstrap-email.scss +35 -0
  152. package/themes/flatly/bootstrap-forum.scss +8 -0
  153. package/themes/flatly/bootstrap_email-digest.json +5 -0
  154. package/themes/flatly/bootstrap_email.json +4 -0
  155. package/themes/journal/LICENSE.md +21 -0
  156. package/themes/journal/_bootswatch.scss +57 -0
  157. package/themes/journal/_variables.scss +64 -0
  158. package/themes/journal/bootstrap-email.scss +35 -0
  159. package/themes/journal/bootstrap-forum.scss +8 -0
  160. package/themes/journal/bootstrap_email-digest.json +5 -0
  161. package/themes/journal/bootstrap_email.json +4 -0
  162. package/themes/litera/LICENSE.md +21 -0
  163. package/themes/litera/_bootswatch.scss +98 -0
  164. package/themes/litera/_variables.scss +97 -0
  165. package/themes/litera/bootstrap-email.scss +35 -0
  166. package/themes/litera/bootstrap-forum.scss +8 -0
  167. package/themes/litera/bootstrap_email-digest.json +5 -0
  168. package/themes/litera/bootstrap_email.json +4 -0
  169. package/themes/lumen/LICENSE.md +21 -0
  170. package/themes/lumen/_bootswatch.scss +339 -0
  171. package/themes/lumen/_variables.scss +98 -0
  172. package/themes/lumen/bootstrap-email.scss +35 -0
  173. package/themes/lumen/bootstrap-forum.scss +8 -0
  174. package/themes/lumen/bootstrap_email-digest.json +5 -0
  175. package/themes/lumen/bootstrap_email.json +4 -0
  176. package/themes/lux/LICENSE.md +21 -0
  177. package/themes/lux/_bootswatch.scss +304 -0
  178. package/themes/lux/_variables.scss +124 -0
  179. package/themes/lux/bootstrap-email.scss +35 -0
  180. package/themes/lux/bootstrap-forum.scss +8 -0
  181. package/themes/lux/bootstrap_email-digest.json +5 -0
  182. package/themes/lux/bootstrap_email.json +4 -0
  183. package/themes/materia/LICENSE.md +21 -0
  184. package/themes/materia/_bootswatch.scss +654 -0
  185. package/themes/materia/_variables.scss +126 -0
  186. package/themes/materia/bootstrap-email.scss +35 -0
  187. package/themes/materia/bootstrap-forum.scss +8 -0
  188. package/themes/materia/bootstrap_email-digest.json +5 -0
  189. package/themes/materia/bootstrap_email.json +4 -0
  190. package/themes/minty/LICENSE.md +21 -0
  191. package/themes/minty/_bootswatch.scss +142 -0
  192. package/themes/minty/_variables.scss +100 -0
  193. package/themes/minty/bootstrap-email.scss +35 -0
  194. package/themes/minty/bootstrap-forum.scss +8 -0
  195. package/themes/minty/bootstrap_email-digest.json +5 -0
  196. package/themes/minty/bootstrap_email.json +4 -0
  197. package/themes/morph/LICENSE.md +21 -0
  198. package/themes/morph/_bootswatch.scss +562 -0
  199. package/themes/morph/_variables.scss +223 -0
  200. package/themes/morph/bootstrap-email.scss +35 -0
  201. package/themes/morph/bootstrap-forum.scss +8 -0
  202. package/themes/morph/bootstrap_email-digest.json +5 -0
  203. package/themes/morph/bootstrap_email.json +4 -0
  204. package/themes/pulse/LICENSE.md +21 -0
  205. package/themes/pulse/_bootswatch.scss +155 -0
  206. package/themes/pulse/_variables.scss +92 -0
  207. package/themes/pulse/bootstrap-email.scss +35 -0
  208. package/themes/pulse/bootstrap-forum.scss +8 -0
  209. package/themes/pulse/bootstrap_email-digest.json +5 -0
  210. package/themes/pulse/bootstrap_email.json +4 -0
  211. package/themes/quartz/_bootswatch.scss +297 -0
  212. package/themes/quartz/_variables.scss +226 -0
  213. package/themes/quartz/bootstrap-email.scss +35 -0
  214. package/themes/quartz/bootstrap-forum.scss +8 -0
  215. package/themes/quartz/bootstrap_email-digest.json +5 -0
  216. package/themes/quartz/bootstrap_email.json +4 -0
  217. package/themes/sandstone/LICENSE.md +21 -0
  218. package/themes/sandstone/_bootswatch.scss +242 -0
  219. package/themes/sandstone/_variables.scss +139 -0
  220. package/themes/sandstone/bootstrap-email.scss +35 -0
  221. package/themes/sandstone/bootstrap-forum.scss +8 -0
  222. package/themes/sandstone/bootstrap_email-digest.json +5 -0
  223. package/themes/sandstone/bootstrap_email.json +4 -0
  224. package/themes/simplex/LICENSE.md +21 -0
  225. package/themes/simplex/_bootswatch.scss +150 -0
  226. package/themes/simplex/_variables.scss +105 -0
  227. package/themes/simplex/bootstrap-email.scss +35 -0
  228. package/themes/simplex/bootstrap-forum.scss +8 -0
  229. package/themes/simplex/bootstrap_email-digest.json +5 -0
  230. package/themes/simplex/bootstrap_email.json +4 -0
  231. package/themes/sketchy/LICENSE.md +21 -0
  232. package/themes/sketchy/_bootswatch.scss +557 -0
  233. package/themes/sketchy/_variables.scss +156 -0
  234. package/themes/sketchy/bootstrap-email.scss +35 -0
  235. package/themes/sketchy/bootstrap-forum.scss +8 -0
  236. package/themes/sketchy/bootstrap_email-digest.json +5 -0
  237. package/themes/sketchy/bootstrap_email.json +4 -0
  238. package/themes/slate/LICENSE.md +21 -0
  239. package/themes/slate/_bootswatch.scss +340 -0
  240. package/themes/slate/_variables.scss +187 -0
  241. package/themes/slate/bootstrap-email.scss +35 -0
  242. package/themes/slate/bootstrap-forum.scss +8 -0
  243. package/themes/slate/bootstrap_email-digest.json +5 -0
  244. package/themes/slate/bootstrap_email.json +4 -0
  245. package/themes/solar/LICENSE.md +21 -0
  246. package/themes/solar/_bootswatch.scss +66 -0
  247. package/themes/solar/_variables.scss +193 -0
  248. package/themes/solar/bootstrap-email.scss +35 -0
  249. package/themes/solar/bootstrap-forum.scss +8 -0
  250. package/themes/solar/bootstrap_email-digest.json +5 -0
  251. package/themes/solar/bootstrap_email.json +4 -0
  252. package/themes/spacelab/LICENSE.md +21 -0
  253. package/themes/spacelab/_bootswatch.scss +107 -0
  254. package/themes/spacelab/_variables.scss +65 -0
  255. package/themes/spacelab/bootstrap-email.scss +35 -0
  256. package/themes/spacelab/bootstrap-forum.scss +8 -0
  257. package/themes/spacelab/bootstrap_email-digest.json +5 -0
  258. package/themes/spacelab/bootstrap_email.json +4 -0
  259. package/themes/superhero/LICENSE.md +21 -0
  260. package/themes/superhero/_bootswatch.scss +153 -0
  261. package/themes/superhero/_variables.scss +202 -0
  262. package/themes/superhero/bootstrap-email.scss +35 -0
  263. package/themes/superhero/bootstrap-forum.scss +8 -0
  264. package/themes/superhero/bootstrap_email-digest.json +5 -0
  265. package/themes/superhero/bootstrap_email.json +4 -0
  266. package/themes/united/LICENSE.md +21 -0
  267. package/themes/united/_bootswatch.scss +30 -0
  268. package/themes/united/_variables.scss +56 -0
  269. package/themes/united/bootstrap-email.scss +35 -0
  270. package/themes/united/bootstrap-forum.scss +8 -0
  271. package/themes/united/bootstrap_email-digest.json +5 -0
  272. package/themes/united/bootstrap_email.json +4 -0
  273. package/themes/vapor/_bootswatch.scss +337 -0
  274. package/themes/vapor/_variables.scss +176 -0
  275. package/themes/vapor/bootstrap-email.scss +35 -0
  276. package/themes/vapor/bootstrap-forum.scss +8 -0
  277. package/themes/vapor/bootstrap_email-digest.json +5 -0
  278. package/themes/vapor/bootstrap_email.json +4 -0
  279. package/themes/yaf/_variables-email.scss +39 -0
  280. package/themes/yaf/_variables.scss +10 -0
  281. package/themes/yaf/bootstrap-email.scss +35 -0
  282. package/themes/yaf/bootstrap-forum.scss +8 -0
  283. package/themes/yaf/bootstrap_email-digest.json +5 -0
  284. package/themes/yaf/bootstrap_email.json +4 -0
  285. package/themes/yeti/LICENSE.md +21 -0
  286. package/themes/yeti/_bootswatch.scss +344 -0
  287. package/themes/yeti/_variables.scss +107 -0
  288. package/themes/yeti/bootstrap-email.scss +35 -0
  289. package/themes/yeti/bootstrap-forum.scss +8 -0
  290. package/themes/yeti/bootstrap_email-digest.json +5 -0
  291. package/themes/yeti/bootstrap_email.json +4 -0
  292. package/themes/zephyr/_bootswatch.scss +221 -0
  293. package/themes/zephyr/_variables.scss +157 -0
  294. package/themes/zephyr/bootstrap-email.scss +35 -0
  295. package/themes/zephyr/bootstrap-forum.scss +8 -0
  296. package/themes/zephyr/bootstrap_email-digest.json +5 -0
  297. package/themes/zephyr/bootstrap_email.json +4 -0
@@ -0,0 +1,35 @@
1
+ @import 'scss/helpers';
2
+
3
+ @import '../themes/simplex/variables';
4
+ @import 'scss/variables/colors';
5
+ @import 'scss/variables/body';
6
+ @import 'scss/variables/typography';
7
+ @import 'scss/variables/borders';
8
+ @import 'scss/variables/tables';
9
+ @import 'scss/variables/buttons';
10
+ @import 'scss/variables/utilities';
11
+
12
+ @import 'scss/reboot_email';
13
+
14
+ @import 'scss/components/alert';
15
+ @import 'scss/components/badge';
16
+ @import 'scss/components/button';
17
+ @import 'scss/components/card';
18
+ @import 'scss/components/container';
19
+ @import 'scss/components/grid';
20
+ @import 'scss/components/hr';
21
+ @import 'scss/components/image';
22
+ @import 'scss/components/preview';
23
+ @import 'scss/components/table';
24
+ @import 'scss/components/stack';
25
+
26
+ @import 'scss/utilities/background';
27
+ @import 'scss/utilities/border';
28
+ @import 'scss/utilities/border-radius';
29
+ @import 'scss/utilities/color';
30
+ @import 'scss/utilities/display';
31
+ @import 'scss/utilities/sizing';
32
+ @import 'scss/utilities/spacing';
33
+ @import 'scss/utilities/text-decoration';
34
+ @import 'scss/utilities/typography';
35
+ @import 'scss/utilities/valign';
@@ -0,0 +1,8 @@
1
+ @import "_variables.scss";
2
+ @import "bootstrap/scss/bootstrap";
3
+ @import "_bootswatch.scss";
4
+
5
+ @import "forum/chat.scss";
6
+
7
+ @import "choices/bs-theme.scss";
8
+ @import "netStack.scss";
@@ -0,0 +1,5 @@
1
+ {
2
+ "sass_email_location": "wwwroot/lib/Themes/simplex/",
3
+ "sass_location": "wwwroot/lib/bootstrap-email/",
4
+ "CompileOnlyBody": true
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "sass_email_location": "wwwroot/lib/Themes/simplex/",
3
+ "sass_location":"wwwroot/lib/bootstrap-email/"
4
+ }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Thomas Park
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,557 @@
1
+ // Sketchy 5.3.8
2
+ // Bootswatch
3
+
4
+
5
+ // Variables
6
+
7
+ $web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&display=swap" !default;
8
+ @if $web-font-path {
9
+ @import url("#{$web-font-path}");
10
+ }
11
+
12
+ // stylelint-disable scss/dollar-variable-default
13
+ $border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
14
+ $border-radius-lg-sketchy: 55px 225px 15px 25px / 25px 25px 35px 355px;
15
+ $border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
16
+ // style-enable scss/dollar-variable-default
17
+
18
+ // Navbar
19
+
20
+ .navbar {
21
+ border-style: solid;
22
+ border-width: 2px;
23
+ border-radius: 25px 25px 55px 5px/5px 55px 25px 25px;
24
+
25
+ &.bg-light {
26
+ border-color: $gray-800;
27
+ }
28
+
29
+ &.fixed-top {
30
+ border-width: 0 0 2px;
31
+ border-radius: 0 25px 225px 0/25px 0 25px 255px;
32
+ }
33
+
34
+ &.fixed-bottom {
35
+ border-width: 2px 0 0;
36
+ border-radius: 255px 25px 0 25px/25px 225px 25px 0;
37
+ }
38
+
39
+ &-brand {
40
+ font-family: $headings-font-family;
41
+ font-weight: 400;
42
+ text-decoration: none;
43
+ }
44
+ }
45
+
46
+ // Buttons
47
+
48
+ .btn {
49
+ text-decoration: none;
50
+ border-radius: $border-radius-sketchy;
51
+
52
+ &-lg {
53
+ border-radius: $border-radius-lg-sketchy;
54
+ }
55
+
56
+ &-sm {
57
+ border-radius: $border-radius-sm-sketchy;
58
+ }
59
+ }
60
+
61
+ .btn-check {
62
+ display: inline-block;
63
+ opacity: 0;
64
+ }
65
+
66
+ [data-bs-theme="dark"] .btn-primary {
67
+ --bs-btn-bg: #{$gray-100};
68
+ --bs-btn-hover-bg: #{$gray-300};
69
+ --bs-btn-active-bg: #{$gray-400};
70
+ --bs-btn-disabled-bg: #{$gray-500};
71
+ --bs-btn-color: #{$black};
72
+ --bs-btn-hover-color: #{$black};
73
+ --bs-btn-active-color: #{$black};
74
+ --bs-btn-disabled-color: #{$black};
75
+ }
76
+
77
+ [data-bs-theme="dark"] .btn-outline-primary {
78
+ --bs-btn-hover-bg: #{$gray-300};
79
+ --bs-btn-active-bg: #{$gray-100};
80
+ --bs-btn-disabled-bg: #{$gray-500};
81
+ --bs-btn-border-color: #{$gray-100};
82
+ --bs-btn-hover-border-color: #{$gray-300};
83
+ --bs-btn-active-border-color: #{$gray-100};
84
+ --bs-btn-disabled-border-color: #{$gray-500};
85
+ --bs-btn-color: #{$gray-100};
86
+ --bs-btn-hover-color: #{$black};
87
+ --bs-btn-active-color: #{$black};
88
+ --bs-btn-disabled-color: #{$black};
89
+ }
90
+
91
+ [data-bs-theme="dark"] .btn-outline-secondary,
92
+ [data-bs-theme="dark"] .btn-outline-dark {
93
+ --bs-btn-color: #{$white};
94
+ }
95
+
96
+ // Typography
97
+
98
+ button,
99
+ input,
100
+ optgroup,
101
+ select,
102
+ textarea {
103
+ font-family: $font-family-sans-serif;
104
+ }
105
+
106
+ b,
107
+ strong {
108
+ font-family: $headings-font-family;
109
+ }
110
+
111
+ blockquote {
112
+ border-radius: 15px 27px 25px 25px/25px 25px 305px 635px;
113
+ }
114
+
115
+ // Tables
116
+
117
+ table {
118
+ th,
119
+ td {
120
+ background-color: $white;
121
+ }
122
+ }
123
+
124
+ .table-bordered {
125
+ overflow: hidden;
126
+ border-spacing: 0;
127
+ border-collapse: separate;
128
+ background-color: $gray-800;
129
+ border-radius: 5px 25px 5px 25px/25px 5px 25px 5px;
130
+
131
+ th,
132
+ td {
133
+ border-radius: 5px 5px 25px 4px/5px 4px 3px 5px;
134
+ }
135
+
136
+ .table-success,
137
+ .table-success:hover {
138
+ td,
139
+ th {
140
+ color: $white;
141
+ background-color: $success;
142
+ }
143
+ }
144
+
145
+ .table-info,
146
+ .table-info:hover {
147
+ td,
148
+ th {
149
+ color: $white;
150
+ background-color: $info;
151
+ }
152
+ }
153
+
154
+ .table-warning,
155
+ .table-warning:hover {
156
+ td,
157
+ th {
158
+ color: $white;
159
+ background-color: $warning;
160
+ }
161
+ }
162
+
163
+ .table-danger,
164
+ .table-danger:hover {
165
+ td,
166
+ th {
167
+ color: $white;
168
+ background-color: $danger;
169
+ }
170
+ }
171
+ }
172
+
173
+ .table-dark {
174
+ th,
175
+ td,
176
+ &.table-hover .table-active:hover > th,
177
+ &.table-hover .table-active:hover > td {
178
+ background-color: $gray-800;
179
+ }
180
+ }
181
+
182
+ .table-primary,
183
+ .table-secondary,
184
+ .table-success,
185
+ .table-warning,
186
+ .table-danger,
187
+ .table-info,
188
+ .table-light {
189
+ --#{$prefix}table-color: #{$body-color};
190
+ }
191
+
192
+ // Forms
193
+
194
+ input,
195
+ .form-control,
196
+ .input-group-text {
197
+ border-radius: $border-radius-sketchy;
198
+ }
199
+
200
+ textarea,
201
+ textarea.form-control,
202
+ select,
203
+ select.form-control {
204
+ border-radius: $border-radius-lg-sketchy !important;
205
+ }
206
+
207
+ [type="checkbox"] {
208
+ position: relative;
209
+ width: 0;
210
+ height: 0;
211
+ appearance: none;
212
+ cursor: pointer;
213
+ border: none;
214
+
215
+ &::before {
216
+ position: absolute;
217
+ top: -.1em;
218
+ left: 0;
219
+ display: inline-block;
220
+ width: 15px;
221
+ height: 16px;
222
+ content: "";
223
+ border: 2px solid $gray-800;
224
+ border-radius: 2px 8px 2px 4px / 5px 3px 5px 3px;
225
+ }
226
+
227
+ &:focus::before {
228
+ box-shadow: 0 0 0 .25rem rgba(51, 51, 51, .25);
229
+ }
230
+
231
+ &:checked::after,
232
+ &:indeterminate::after {
233
+ position: absolute;
234
+ top: 0;
235
+ left: .1em;
236
+ font-size: 1.5rem;
237
+ line-height: .5;
238
+ color: $gray-800;
239
+ }
240
+
241
+ &:checked::after {
242
+ content: "x";
243
+ }
244
+
245
+ &:indeterminate::after {
246
+ top: .1em;
247
+ content: "-";
248
+ }
249
+
250
+ &:disabled {
251
+ &::before {
252
+ border: 2px solid $gray-500;
253
+ }
254
+ }
255
+ }
256
+
257
+ [type="radio"] {
258
+ position: relative;
259
+ width: 0;
260
+ height: 0;
261
+ appearance: none;
262
+ cursor: pointer;
263
+ border: none;
264
+
265
+ &::before {
266
+ position: absolute;
267
+ top: -.1em;
268
+ left: 0;
269
+ display: inline-block;
270
+ width: 16px;
271
+ height: 16px;
272
+ content: "";
273
+ border: 2px solid $gray-800;
274
+ border-radius: 50% 45% 40% 50% / 40% 50% 50% 45%;
275
+ }
276
+
277
+ &:focus::before {
278
+ box-shadow: 0 0 0 .25rem rgba(51, 51, 51, .25);
279
+ }
280
+
281
+ &:checked::before {
282
+ background-color: $gray-800;
283
+ }
284
+
285
+ &:disabled {
286
+ &::before {
287
+ border: 2px solid $gray-500;
288
+ }
289
+ }
290
+ }
291
+
292
+ [data-bs-theme="dark"] {
293
+ [type="radio"]::before {
294
+ border-color: $white;
295
+ }
296
+
297
+ [type="radio"]:checked::before {
298
+ background-color: $white;
299
+ }
300
+
301
+ [type="checkbox"]::before {
302
+ border-color: $white;
303
+ }
304
+
305
+ [type="checkbox"]:checked::before {
306
+ background-color: $white;
307
+ }
308
+
309
+ .form-range::-webkit-slider-thumb {
310
+ background-color: $white;
311
+ }
312
+
313
+ .form-range:disabled::-webkit-slider-thumb {
314
+ background-color: $secondary;
315
+ }
316
+ }
317
+
318
+ .form-check-input {
319
+ &:focus {
320
+ box-shadow: none;
321
+ }
322
+ }
323
+
324
+ .form-switch {
325
+ padding-left: 0;
326
+
327
+ .form-check-input {
328
+ position: relative;
329
+ margin-left: 0;
330
+
331
+ &::before {
332
+ width: 32px;
333
+ border-radius: 30% 35% 30% 30% / 30% 50% 30% 45%;
334
+ }
335
+
336
+ &::after {
337
+ position: absolute;
338
+ top: 0;
339
+ left: 0;
340
+ display: inline-block;
341
+ width: 12px;
342
+ height: 12px;
343
+ content: "";
344
+ background-color: $white;
345
+ border: 2px solid #333;
346
+ border-radius: 50% 45% 40% 50% / 40% 50% 50% 45%;
347
+ transition: left .15s ease-in-out;
348
+ }
349
+
350
+ &:checked::after {
351
+ top: 0;
352
+ left: 18px;
353
+ background-color: $gray-800;
354
+ }
355
+ }
356
+
357
+ .form-check-label {
358
+ margin-left: .5em;
359
+ }
360
+ }
361
+
362
+ // Navs
363
+
364
+ .dropdown-menu {
365
+ overflow: hidden;
366
+ border-radius: 555px 25px 25px 25px/25px 25px 25px 555px;
367
+ }
368
+
369
+ .dropdown-divider {
370
+ border-top-width: 2px;
371
+ }
372
+
373
+ .list-group {
374
+ overflow: hidden;
375
+ background-color: $gray-800;
376
+ border: 2px solid $gray-800;
377
+ border-radius: 45px 15px 35px 5px/15px 5px 15px 65px;
378
+
379
+ &-item {
380
+ border-top: 2px solid $gray-800;
381
+ border-right: none;
382
+ border-left: none;
383
+ border-radius: 255px 5px 225px 5px/25px 225px 25px 255px;
384
+
385
+ &:first-child {
386
+ border-top: none;
387
+ }
388
+
389
+ &:last-child {
390
+ border-bottom: none;
391
+ }
392
+ }
393
+ }
394
+
395
+ .nav-pills .nav-link {
396
+ border-radius: $border-radius-sketchy;
397
+ }
398
+
399
+ .nav-link,
400
+ .page-link,
401
+ .list-group-item,
402
+ .dropdown-item {
403
+ text-decoration: none;
404
+ }
405
+
406
+ .nav-tabs {
407
+ .nav-link {
408
+ border-radius: 45px 15px 225px 5px/25px 225px 25px 255px;
409
+ }
410
+ }
411
+
412
+ .breadcrumb {
413
+ border: 2px solid $gray-800;
414
+ border-radius: $border-radius-sketchy;
415
+ }
416
+
417
+ .pagination {
418
+ .page-link {
419
+ border-radius: 425px 255px 25px 25px/25px 25px 5px 25px;
420
+ }
421
+ }
422
+
423
+ // Indicators
424
+
425
+ .badge {
426
+ border-radius: $border-radius-sm-sketchy;
427
+
428
+ &-pill {
429
+ border-radius: 7rem 8rem 8rem 8rem / 4rem 5rem 6rem 6rem;
430
+ }
431
+
432
+ &.bg-light {
433
+ color: $dark;
434
+ }
435
+ }
436
+
437
+ .alert {
438
+ border-radius: $border-radius-sketchy;
439
+
440
+ .btn-close {
441
+ &::before {
442
+ color: inherit;
443
+ }
444
+ }
445
+ }
446
+
447
+ // Progress bars
448
+
449
+ .progress {
450
+ border: 2px solid $gray-800;
451
+ border-radius: $border-radius-sm-sketchy;
452
+ }
453
+
454
+ [data-bs-theme="dark"] .progress,
455
+ [data-bs-theme="dark"] .progress-stacked {
456
+ background-color: $secondary;
457
+ }
458
+
459
+ // Containers
460
+
461
+ .card {
462
+ border-radius: 5px 5px 5px 5px/25px 25px 25px 5px;
463
+
464
+ &-outline {
465
+ &-primary,
466
+ &-success,
467
+ &-info,
468
+ &-warning,
469
+ &-danger {
470
+ border-width: 2px;
471
+ }
472
+ }
473
+
474
+ &-header {
475
+ border-color: inherit;
476
+ border-bottom-width: 2px;
477
+
478
+ &:first-child {
479
+ border-radius: 3px 3px 0 0/23px 23px 0 0;
480
+ }
481
+ }
482
+
483
+ &-footer {
484
+ border-top-width: 2px;
485
+ }
486
+ }
487
+
488
+ .toast {
489
+ border-radius: 10px 10px 15px 5px/5px 15px 5px 15px;
490
+
491
+ &-header {
492
+ font-family: $headings-font-family;
493
+ }
494
+ }
495
+
496
+ .modal {
497
+ &-content {
498
+ border-radius: 15px 5px 5px 25px/5px 25px 25px 5px;
499
+ }
500
+ }
501
+
502
+ .popover {
503
+ padding: 0;
504
+ border-radius: 45px 85px 15px 25px/15px 10px 35px 555px;
505
+
506
+ &-title {
507
+ border-bottom: 2px solid $gray-800;
508
+ }
509
+
510
+ &.bs-popover-start::before,
511
+ &.bs-tether-element-attached-right::before {
512
+ right: -13px;
513
+ }
514
+
515
+ &.bs-popover-top::before,
516
+ &.bs-tether-element-attached-bottom::before {
517
+ bottom: -13px;
518
+ }
519
+
520
+ &.bs-popover-bottom::before,
521
+ &.bs-tether-element-attached-top::before {
522
+ top: -13px;
523
+ }
524
+
525
+ &.bs-popover-end::before,
526
+ &.bs-tether-element-attached-left::before {
527
+ left: -13px;
528
+ }
529
+ }
530
+
531
+ .tooltip {
532
+ &-inner {
533
+ border-radius: $border-radius-sm-sketchy;
534
+ }
535
+ }
536
+
537
+ pre {
538
+ border: 2px solid $gray-800;
539
+ border-radius: 15px 5px 5px 25px/5px 25px 25px 5px;
540
+ }
541
+
542
+ .btn-close {
543
+ background-image: none;
544
+
545
+ &::before {
546
+ position: absolute;
547
+ top: .8rem;
548
+ right: 1rem;
549
+ content: "X";
550
+ }
551
+ }
552
+
553
+ .img {
554
+ &-thumbnail {
555
+ border-radius: $border-radius-sketchy;
556
+ }
557
+ }