@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,376 @@
1
+ /* ===============================
2
+ = Choices =
3
+ =============================== */
4
+
5
+ @use "sass:color";
6
+
7
+ $choices-selector: "choices" !default;
8
+
9
+ $choices-font-size-lg: $input-font-size-lg;
10
+ $choices-font-size-md: $input-font-size;
11
+ $choices-font-size-sm: $input-font-size-sm;
12
+
13
+ $choices-guttering: $spacer;
14
+
15
+ $choices-border-radius: 0;
16
+ $choices-border-radius-item: 0;
17
+
18
+ @if $enable-rounded {
19
+ $choices-border-radius: $input-border-radius;
20
+ $choices-border-radius-item: $border-radius-pill;
21
+ }
22
+
23
+ $choices-bg-color: $input-bg;
24
+ $choices-bg-color-disabled: $form-select-disabled-bg;
25
+ $choices-bg-color-dropdown: $input-bg;
26
+ $choices-text-color: $input-color;
27
+ $choices-keyline-color: $input-border-color;
28
+ $choices-primary-color: $primary;
29
+
30
+ $choices-highlight-color: $dropdown-link-hover-color;
31
+ $choices-highlight-bg-color: $dropdown-link-hover-bg;
32
+
33
+ $choices-disabled-color: $form-select-disabled-bg;
34
+ $choices-disabled-border-color: $form-select-disabled-border-color;
35
+
36
+ $choices-button-dimension: 8px;
37
+ $choices-button-offset: 8px;
38
+ $choices-icon-cross: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==") !default;
39
+ $choices-icon-cross-inverse: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==") !default;
40
+ $choices-z-index: 1 !default;
41
+
42
+ .#{$choices-selector} {
43
+ min-width: 300px;
44
+ position: relative;
45
+ overflow: hidden;
46
+ margin-bottom: $choices-guttering;
47
+ font-size: $choices-font-size-lg;
48
+
49
+ &:focus {
50
+ outline: none;
51
+ }
52
+
53
+ &:last-child {
54
+ margin-bottom: 0;
55
+ }
56
+
57
+ &.is-open {
58
+ overflow: visible;
59
+ }
60
+
61
+ &.is-disabled {
62
+ .#{$choices-selector}__inner,
63
+ .#{$choices-selector}__input {
64
+ background-color: $choices-bg-color-disabled;
65
+ cursor: not-allowed;
66
+ user-select: none;
67
+ }
68
+ .#{$choices-selector}__item {
69
+ cursor: not-allowed;
70
+ }
71
+ }
72
+
73
+ [hidden] {
74
+ display: none !important;
75
+ }
76
+ }
77
+
78
+ .#{$choices-selector}[data-type*='select-one'] {
79
+ cursor: pointer;
80
+ .#{$choices-selector}__inner {
81
+ padding-bottom: 7.5px;
82
+ }
83
+ .#{$choices-selector}__input {
84
+ display: block;
85
+ width: 100%;
86
+ padding: 10px;
87
+ border-bottom: 1px solid $choices-keyline-color;
88
+ margin: 0;
89
+ }
90
+ .#{$choices-selector}__button {
91
+ vertical-align: sub;
92
+ }
93
+ .#{$choices-selector}__item[data-value=''] .#{$choices-selector}__button {
94
+ display: none;
95
+ }
96
+
97
+ &::after {
98
+ content: "";
99
+ height: 0;
100
+ width: 0;
101
+ border-style: solid;
102
+ border-color: $choices-text-color transparent transparent transparent;
103
+ border-width: 5px;
104
+ position: absolute;
105
+ right: 11.5px;
106
+ top: 50%;
107
+ margin-top: -2.5px;
108
+ pointer-events: none;
109
+ }
110
+
111
+ &.is-open::after {
112
+ border-color: transparent transparent $choices-text-color transparent;
113
+ margin-top: -7.5px;
114
+ }
115
+
116
+ &[dir="rtl"] {
117
+ &::after {
118
+ left: 11.5px;
119
+ right: auto;
120
+ }
121
+ }
122
+ }
123
+
124
+ .#{$choices-selector}[data-type*='select-multiple'],
125
+ .#{$choices-selector}[data-type*='text'] {
126
+ .#{$choices-selector}__inner {
127
+ cursor: text;
128
+ }
129
+ }
130
+
131
+ .#{$choices-selector}__inner {
132
+ display: inline-block;
133
+ vertical-align: top;
134
+ width: 100%;
135
+ background-color: $choices-bg-color;
136
+ padding: 7.5px 7.5px 3.75px;
137
+ border: 1px solid $choices-keyline-color;
138
+ border-radius: $choices-border-radius;
139
+ font-size: $choices-font-size-md;
140
+ min-height: 44px;
141
+ overflow: hidden;
142
+
143
+ .is-focused &,
144
+ .is-open & {
145
+ border-color: $form-select-focus-border-color;
146
+
147
+ @if $enable-shadows {
148
+ @include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow);
149
+ }
150
+ @else {
151
+ // Avoid using mixin so we can pass custom focus shadow properly
152
+ box-shadow: $form-select-focus-box-shadow;
153
+ }
154
+ }
155
+
156
+ .is-open & {
157
+ border-radius: $choices-border-radius $choices-border-radius 0 0;
158
+ }
159
+
160
+ .is-flipped.is-open & {
161
+ border-radius: 0 0 $choices-border-radius $choices-border-radius;
162
+ }
163
+ }
164
+
165
+ .#{$choices-selector}__list {
166
+ margin: 0;
167
+ padding-left: 0;
168
+ list-style: none;
169
+
170
+ &[aria-expanded] {
171
+ @extend %choices-dropdown;
172
+ }
173
+ }
174
+
175
+ .#{$choices-selector}__list--single {
176
+ display: inline-block;
177
+ padding: 4px 16px 4px 4px;
178
+ width: 100%;
179
+
180
+ [dir="rtl"] & {
181
+ padding-right: 4px;
182
+ padding-left: 16px;
183
+ }
184
+ .#{$choices-selector}__item {
185
+ width: 100%;
186
+ }
187
+ }
188
+
189
+ .#{$choices-selector}__list--multiple {
190
+ display: inline;
191
+
192
+ .#{$choices-selector}__item {
193
+ &[data-deletable] {
194
+ padding-right: 5px;
195
+ }
196
+
197
+ [dir="rtl"] & {
198
+ margin-right: 0;
199
+ margin-left: 3.75px;
200
+ }
201
+
202
+ &.is-highlighted {
203
+ background-color: $choices-highlight-bg-color;
204
+ color: $choices-highlight-color;
205
+ border: 1px solid color.adjust($choices-primary-color, $lightness: -10%);
206
+ }
207
+
208
+ .is-disabled & {
209
+ background-color: $choices-disabled-color;
210
+ border: 1px solid $choices-disabled-border-color;
211
+ }
212
+ }
213
+ }
214
+
215
+ %choices-dropdown {
216
+ visibility: hidden;
217
+ z-index: $choices-z-index;
218
+ position: absolute;
219
+ width: 100%;
220
+ background-color: $choices-bg-color-dropdown;
221
+ border: 1px solid $choices-keyline-color;
222
+ top: 100%;
223
+ margin-top: -1px;
224
+ border-bottom-left-radius: $choices-border-radius;
225
+ border-bottom-right-radius: $choices-border-radius;
226
+ overflow: hidden;
227
+ word-break: break-all;
228
+ will-change: visibility;
229
+
230
+ &.is-active {
231
+ visibility: visible;
232
+ }
233
+
234
+ .is-open & {
235
+ border-color: $form-select-focus-border-color;
236
+ }
237
+
238
+ .is-flipped & {
239
+ top: auto;
240
+ bottom: 100%;
241
+ margin-top: 0;
242
+ margin-bottom: -1px;
243
+ border-radius: 0.25rem 0.25rem 0 0;
244
+ }
245
+
246
+ .#{$choices-selector}__list {
247
+ position: relative;
248
+ max-height: 300px;
249
+ overflow: auto;
250
+ -webkit-overflow-scrolling: touch;
251
+ will-change: scroll-position;
252
+ }
253
+
254
+ .#{$choices-selector}__item {
255
+ position: relative;
256
+ padding: 10px;
257
+ font-size: $choices-font-size-md;
258
+
259
+ [dir="rtl"] & {
260
+ text-align: right;
261
+ }
262
+ }
263
+
264
+ .#{$choices-selector}__item--selectable {
265
+ @media (min-width: 640px) {
266
+ padding-right: 100px;
267
+
268
+ &::after {
269
+ content: attr(data-select-text);
270
+ font-size: $choices-font-size-sm;
271
+ opacity: 0;
272
+ position: absolute;
273
+ right: 10px;
274
+ top: 50%;
275
+ transform: translateY(-50%);
276
+ }
277
+
278
+ [dir="rtl"] & {
279
+ text-align: right;
280
+ padding-left: 100px;
281
+ padding-right: 10px;
282
+
283
+ &::after {
284
+ right: auto;
285
+ left: 10px;
286
+ }
287
+ }
288
+ }
289
+
290
+ &.is-highlighted {
291
+ background-color: $choices-highlight-bg-color;
292
+ color: $choices-highlight-color;
293
+
294
+ &::after {
295
+ opacity: 0.5;
296
+ }
297
+ }
298
+ }
299
+ }
300
+
301
+ .#{$choices-selector}__list--dropdown {
302
+ @extend %choices-dropdown;
303
+ }
304
+
305
+ .#{$choices-selector}__item {
306
+ cursor: default;
307
+
308
+ img {
309
+ max-height: 20px;
310
+ max-width: 20px;
311
+ vertical-align: sub;
312
+ }
313
+ }
314
+
315
+ .#{$choices-selector}__item--selectable {
316
+ cursor: pointer;
317
+ }
318
+
319
+ .#{$choices-selector}__item--disabled {
320
+ cursor: not-allowed;
321
+ user-select: none;
322
+ opacity: 0.5;
323
+ }
324
+
325
+ .#{$choices-selector}__heading {
326
+ font-weight: 600;
327
+ font-size: $choices-font-size-sm;
328
+ padding: 10px;
329
+ border-bottom: 1px solid $form-select-focus-border-color;
330
+ color: color.adjust(#333, $lightness: 30%);
331
+ }
332
+
333
+ .#{$choices-selector}__button {
334
+ vertical-align: sub;
335
+ }
336
+
337
+ .#{$choices-selector}__input {
338
+ display: inline-block;
339
+ vertical-align: baseline;
340
+ background-color: $choices-bg-color;
341
+ font-size: $choices-font-size-md;
342
+ margin-bottom: 5px;
343
+ border: 0;
344
+ border-radius: 0;
345
+ max-width: 100%;
346
+ padding: 4px 0 4px 2px;
347
+
348
+ &:focus {
349
+ outline: 0;
350
+ }
351
+
352
+ &::-webkit-search-decoration,
353
+ &::-webkit-search-cancel-button,
354
+ &::-webkit-search-results-button,
355
+ &::-webkit-search-results-decoration {
356
+ display: none;
357
+ }
358
+
359
+ &::-ms-clear,
360
+ &::-ms-reveal {
361
+ display: none;
362
+ width: 0;
363
+ height: 0;
364
+ }
365
+
366
+ [dir="rtl"] & {
367
+ padding-right: 2px;
368
+ padding-left: 0;
369
+ }
370
+ }
371
+
372
+ .#{$choices-selector}__placeholder {
373
+ opacity: 0.5;
374
+ }
375
+
376
+ /* ===== End of Choices ====== */
@@ -0,0 +1,99 @@
1
+ .direct-chat-messages {
2
+ transform: translate(0, 0);
3
+ padding: 10px;
4
+ height: 450px;
5
+ overflow: auto;
6
+ }
7
+
8
+ .direct-chat-msg {
9
+ margin-bottom: 10px;
10
+ }
11
+
12
+ .direct-chat-text {
13
+ border-radius: 5px;
14
+ position: relative;
15
+ padding: 5px 10px;
16
+ margin: 5px 0 0 50px;
17
+
18
+ &:after {
19
+ position: absolute;
20
+ right: 100%;
21
+ top: 15px;
22
+ border: solid transparent;
23
+ content: ' ';
24
+ height: 0;
25
+ width: 0;
26
+ pointer-events: none;
27
+ border-width: 5px;
28
+ margin-top: -5px;
29
+ }
30
+
31
+ &:before {
32
+ position: absolute;
33
+ right: 100%;
34
+ top: 15px;
35
+ border: solid transparent;
36
+ content: ' ';
37
+ height: 0;
38
+ width: 0;
39
+ pointer-events: none;
40
+ border-width: 6px;
41
+ margin-top: -6px;
42
+ }
43
+ }
44
+
45
+ .start {
46
+ .direct-chat-text {
47
+ background: $primary-bg-subtle;
48
+ border: 1px solid $primary-bg-subtle;
49
+
50
+ &:after {
51
+ border-right-color: $primary-bg-subtle;
52
+ }
53
+
54
+ &:before {
55
+ border-right-color: $primary-bg-subtle;
56
+ }
57
+ }
58
+ }
59
+
60
+ .end {
61
+ .direct-chat-text {
62
+ background: $primary;
63
+ border: 1px solid $primary;
64
+ margin-right: 50px;
65
+ margin-left: 0;
66
+
67
+ &:before,
68
+ &:after {
69
+ border-right-color: $primary;
70
+ right: auto;
71
+ left: 100%;
72
+ border-right-color: transparent;
73
+ border-left-color: $primary-bg-subtle;
74
+ }
75
+ }
76
+
77
+ .direct-chat-img {
78
+ float: right;
79
+ }
80
+ }
81
+
82
+ .direct-chat-img {
83
+ float: left;
84
+ width: 40px;
85
+ }
86
+
87
+ .chat-list {
88
+ max-height: 300px;
89
+ margin-bottom: 10px;
90
+ overflow-y: scroll;
91
+
92
+ img {
93
+ width: 45px;
94
+ }
95
+
96
+ .chat-list-user {
97
+ cursor: pointer;
98
+ }
99
+ }
@@ -0,0 +1,32 @@
1
+ .stacktrace {
2
+ .st-type {
3
+ color: $secondary;
4
+ font-weight: bolder;
5
+ }
6
+
7
+ .st-method {
8
+ color: $primary;
9
+ font-weight: bolder;
10
+ }
11
+
12
+ .st-frame-params {
13
+ color: $secondary;
14
+ font-weight: normal;
15
+ }
16
+
17
+ .st-param-type {
18
+ color: $dark;
19
+ }
20
+
21
+ .st-param-name {
22
+ color: $success;
23
+ }
24
+
25
+ .st-file {
26
+ color: $warning;
27
+ }
28
+
29
+ .st-line {
30
+ color: $info;
31
+ }
32
+ }
@@ -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.