@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.
- package/LICENSE.md +201 -0
- package/README.md +103 -2
- package/bin/yafnet-theme.js +409 -0
- package/email/bootstrap-email/bootstrap-email.scss +26 -0
- package/email/bootstrap-email/bootstrap-head.scss +169 -0
- package/email/bootstrap-email/layout.html.erb +12 -0
- package/email/bootstrap-email/scss/_helpers.scss +3 -0
- package/email/bootstrap-email/scss/_reboot_email.scss +54 -0
- package/email/bootstrap-email/scss/_reboot_head.scss +59 -0
- package/email/bootstrap-email/scss/_variables.scss +7 -0
- package/email/bootstrap-email/scss/components/_alert.scss +21 -0
- package/email/bootstrap-email/scss/components/_badge.scss +61 -0
- package/email/bootstrap-email/scss/components/_button.scss +47 -0
- package/email/bootstrap-email/scss/components/_card.scss +19 -0
- package/email/bootstrap-email/scss/components/_container.scss +18 -0
- package/email/bootstrap-email/scss/components/_grid.scss +43 -0
- package/email/bootstrap-email/scss/components/_hr.scss +8 -0
- package/email/bootstrap-email/scss/components/_image.scss +6 -0
- package/email/bootstrap-email/scss/components/_preview.scss +5 -0
- package/email/bootstrap-email/scss/components/_stack.scss +39 -0
- package/email/bootstrap-email/scss/components/_table.scss +137 -0
- package/email/bootstrap-email/scss/helpers/_functions.scss +29 -0
- package/email/bootstrap-email/scss/helpers/_mixins.scss +21 -0
- package/email/bootstrap-email/scss/helpers/_selectors_for_utils.scss +124 -0
- package/email/bootstrap-email/scss/utilities/_background.scss +5 -0
- package/email/bootstrap-email/scss/utilities/_border-radius.scss +21 -0
- package/email/bootstrap-email/scss/utilities/_border.scss +13 -0
- package/email/bootstrap-email/scss/utilities/_color.scss +9 -0
- package/email/bootstrap-email/scss/utilities/_display.scss +7 -0
- package/email/bootstrap-email/scss/utilities/_sizing.scss +35 -0
- package/email/bootstrap-email/scss/utilities/_spacing.scss +18 -0
- package/email/bootstrap-email/scss/utilities/_text-decoration.scss +9 -0
- package/email/bootstrap-email/scss/utilities/_typography.scss +56 -0
- package/email/bootstrap-email/scss/utilities/_valign.scss +5 -0
- package/email/bootstrap-email/scss/variables/_body.scss +2 -0
- package/email/bootstrap-email/scss/variables/_borders.scss +6 -0
- package/email/bootstrap-email/scss/variables/_buttons.scss +47 -0
- package/email/bootstrap-email/scss/variables/_colors.scss +161 -0
- package/email/bootstrap-email/scss/variables/_tables.scss +4 -0
- package/email/bootstrap-email/scss/variables/_typography.scss +26 -0
- package/email/bootstrap-email/scss/variables/_utilities.scss +154 -0
- package/email/bootstrap-email/templates/body.html +8 -0
- package/email/bootstrap-email/templates/button.html +9 -0
- package/email/bootstrap-email/templates/container.html +29 -0
- package/email/bootstrap-email/templates/div.html +3 -0
- package/email/bootstrap-email/templates/table-left.html +9 -0
- package/email/bootstrap-email/templates/table-to-tbody.html +5 -0
- package/email/bootstrap-email/templates/table-to-tr.html +7 -0
- package/email/bootstrap-email/templates/table.html +9 -0
- package/email/bootstrap-email/templates/td.html +3 -0
- package/email/bootstrap-email/templates/tr.html +5 -0
- package/email/prebuilt/brite/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/brite/EmailTemplate.html +116 -0
- package/email/prebuilt/cerulean/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/cerulean/EmailTemplate.html +116 -0
- package/email/prebuilt/cosmo/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/cosmo/EmailTemplate.html +116 -0
- package/email/prebuilt/cyborg/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/cyborg/EmailTemplate.html +116 -0
- package/email/prebuilt/darkly/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/darkly/EmailTemplate.html +116 -0
- package/email/prebuilt/flatly/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/flatly/EmailTemplate.html +116 -0
- package/email/prebuilt/journal/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/journal/EmailTemplate.html +116 -0
- package/email/prebuilt/litera/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/litera/EmailTemplate.html +116 -0
- package/email/prebuilt/lumen/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/lumen/EmailTemplate.html +116 -0
- package/email/prebuilt/lux/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/lux/EmailTemplate.html +116 -0
- package/email/prebuilt/materia/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/materia/EmailTemplate.html +116 -0
- package/email/prebuilt/minty/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/minty/EmailTemplate.html +116 -0
- package/email/prebuilt/morph/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/morph/EmailTemplate.html +116 -0
- package/email/prebuilt/pulse/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/pulse/EmailTemplate.html +116 -0
- package/email/prebuilt/quartz/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/quartz/EmailTemplate.html +116 -0
- package/email/prebuilt/sandstone/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/sandstone/EmailTemplate.html +116 -0
- package/email/prebuilt/simplex/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/simplex/EmailTemplate.html +116 -0
- package/email/prebuilt/sketchy/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/sketchy/EmailTemplate.html +116 -0
- package/email/prebuilt/slate/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/slate/EmailTemplate.html +116 -0
- package/email/prebuilt/solar/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/solar/EmailTemplate.html +116 -0
- package/email/prebuilt/spacelab/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/spacelab/EmailTemplate.html +116 -0
- package/email/prebuilt/superhero/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/superhero/EmailTemplate.html +116 -0
- package/email/prebuilt/united/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/united/EmailTemplate.html +116 -0
- package/email/prebuilt/vapor/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/vapor/EmailTemplate.html +116 -0
- package/email/prebuilt/yaf/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/yaf/EmailTemplate.html +116 -0
- package/email/prebuilt/yeti/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/yeti/EmailTemplate.html +116 -0
- package/email/prebuilt/zephyr/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/zephyr/EmailTemplate.html +116 -0
- package/email/resources/DigestTopicTemplate.html +23 -0
- package/email/resources/EmailTemplate.html +27 -0
- package/package.json +41 -5
- package/scss/choices/bs-theme.scss +47 -0
- package/scss/choices/choices.scss +376 -0
- package/scss/forum/chat.scss +99 -0
- package/scss/netStack.scss +32 -0
- package/themes/brite/LICENSE.md +21 -0
- package/themes/brite/_bootswatch.scss +381 -0
- package/themes/brite/_variables.scss +236 -0
- package/themes/brite/bootstrap-email.scss +35 -0
- package/themes/brite/bootstrap-forum.scss +8 -0
- package/themes/brite/bootstrap_email-digest.json +5 -0
- package/themes/brite/bootstrap_email.json +4 -0
- package/themes/cerulean/LICENSE.md +21 -0
- package/themes/cerulean/_bootswatch.scss +116 -0
- package/themes/cerulean/_variables.scss +64 -0
- package/themes/cerulean/bootstrap-email.scss +35 -0
- package/themes/cerulean/bootstrap-forum.scss +8 -0
- package/themes/cerulean/bootstrap_email-digest.json +5 -0
- package/themes/cerulean/bootstrap_email.json +4 -0
- package/themes/cosmo/LICENSE.md +21 -0
- package/themes/cosmo/_bootswatch.scss +53 -0
- package/themes/cosmo/_variables.scss +73 -0
- package/themes/cosmo/bootstrap-email.scss +35 -0
- package/themes/cosmo/bootstrap-forum.scss +8 -0
- package/themes/cosmo/bootstrap_email-digest.json +5 -0
- package/themes/cosmo/bootstrap_email.json +4 -0
- package/themes/cyborg/LICENSE.md +21 -0
- package/themes/cyborg/_bootswatch.scss +146 -0
- package/themes/cyborg/_variables.scss +185 -0
- package/themes/cyborg/bootstrap-email.scss +35 -0
- package/themes/cyborg/bootstrap-forum.scss +8 -0
- package/themes/cyborg/bootstrap_email-digest.json +5 -0
- package/themes/cyborg/bootstrap_email.json +4 -0
- package/themes/darkly/LICENSE.md +21 -0
- package/themes/darkly/_bootswatch.scss +78 -0
- package/themes/darkly/_variables.scss +184 -0
- package/themes/darkly/bootstrap-email.scss +35 -0
- package/themes/darkly/bootstrap-forum.scss +8 -0
- package/themes/darkly/bootstrap_email-digest.json +5 -0
- package/themes/darkly/bootstrap_email.json +4 -0
- package/themes/flatly/LICENSE.md +21 -0
- package/themes/flatly/_bootswatch.scss +65 -0
- package/themes/flatly/_variables.scss +120 -0
- package/themes/flatly/bootstrap-email.scss +35 -0
- package/themes/flatly/bootstrap-forum.scss +8 -0
- package/themes/flatly/bootstrap_email-digest.json +5 -0
- package/themes/flatly/bootstrap_email.json +4 -0
- package/themes/journal/LICENSE.md +21 -0
- package/themes/journal/_bootswatch.scss +57 -0
- package/themes/journal/_variables.scss +64 -0
- package/themes/journal/bootstrap-email.scss +35 -0
- package/themes/journal/bootstrap-forum.scss +8 -0
- package/themes/journal/bootstrap_email-digest.json +5 -0
- package/themes/journal/bootstrap_email.json +4 -0
- package/themes/litera/LICENSE.md +21 -0
- package/themes/litera/_bootswatch.scss +98 -0
- package/themes/litera/_variables.scss +97 -0
- package/themes/litera/bootstrap-email.scss +35 -0
- package/themes/litera/bootstrap-forum.scss +8 -0
- package/themes/litera/bootstrap_email-digest.json +5 -0
- package/themes/litera/bootstrap_email.json +4 -0
- package/themes/lumen/LICENSE.md +21 -0
- package/themes/lumen/_bootswatch.scss +339 -0
- package/themes/lumen/_variables.scss +98 -0
- package/themes/lumen/bootstrap-email.scss +35 -0
- package/themes/lumen/bootstrap-forum.scss +8 -0
- package/themes/lumen/bootstrap_email-digest.json +5 -0
- package/themes/lumen/bootstrap_email.json +4 -0
- package/themes/lux/LICENSE.md +21 -0
- package/themes/lux/_bootswatch.scss +304 -0
- package/themes/lux/_variables.scss +124 -0
- package/themes/lux/bootstrap-email.scss +35 -0
- package/themes/lux/bootstrap-forum.scss +8 -0
- package/themes/lux/bootstrap_email-digest.json +5 -0
- package/themes/lux/bootstrap_email.json +4 -0
- package/themes/materia/LICENSE.md +21 -0
- package/themes/materia/_bootswatch.scss +654 -0
- package/themes/materia/_variables.scss +126 -0
- package/themes/materia/bootstrap-email.scss +35 -0
- package/themes/materia/bootstrap-forum.scss +8 -0
- package/themes/materia/bootstrap_email-digest.json +5 -0
- package/themes/materia/bootstrap_email.json +4 -0
- package/themes/minty/LICENSE.md +21 -0
- package/themes/minty/_bootswatch.scss +142 -0
- package/themes/minty/_variables.scss +100 -0
- package/themes/minty/bootstrap-email.scss +35 -0
- package/themes/minty/bootstrap-forum.scss +8 -0
- package/themes/minty/bootstrap_email-digest.json +5 -0
- package/themes/minty/bootstrap_email.json +4 -0
- package/themes/morph/LICENSE.md +21 -0
- package/themes/morph/_bootswatch.scss +562 -0
- package/themes/morph/_variables.scss +223 -0
- package/themes/morph/bootstrap-email.scss +35 -0
- package/themes/morph/bootstrap-forum.scss +8 -0
- package/themes/morph/bootstrap_email-digest.json +5 -0
- package/themes/morph/bootstrap_email.json +4 -0
- package/themes/pulse/LICENSE.md +21 -0
- package/themes/pulse/_bootswatch.scss +155 -0
- package/themes/pulse/_variables.scss +92 -0
- package/themes/pulse/bootstrap-email.scss +35 -0
- package/themes/pulse/bootstrap-forum.scss +8 -0
- package/themes/pulse/bootstrap_email-digest.json +5 -0
- package/themes/pulse/bootstrap_email.json +4 -0
- package/themes/quartz/_bootswatch.scss +297 -0
- package/themes/quartz/_variables.scss +226 -0
- package/themes/quartz/bootstrap-email.scss +35 -0
- package/themes/quartz/bootstrap-forum.scss +8 -0
- package/themes/quartz/bootstrap_email-digest.json +5 -0
- package/themes/quartz/bootstrap_email.json +4 -0
- package/themes/sandstone/LICENSE.md +21 -0
- package/themes/sandstone/_bootswatch.scss +242 -0
- package/themes/sandstone/_variables.scss +139 -0
- package/themes/sandstone/bootstrap-email.scss +35 -0
- package/themes/sandstone/bootstrap-forum.scss +8 -0
- package/themes/sandstone/bootstrap_email-digest.json +5 -0
- package/themes/sandstone/bootstrap_email.json +4 -0
- package/themes/simplex/LICENSE.md +21 -0
- package/themes/simplex/_bootswatch.scss +150 -0
- package/themes/simplex/_variables.scss +105 -0
- package/themes/simplex/bootstrap-email.scss +35 -0
- package/themes/simplex/bootstrap-forum.scss +8 -0
- package/themes/simplex/bootstrap_email-digest.json +5 -0
- package/themes/simplex/bootstrap_email.json +4 -0
- package/themes/sketchy/LICENSE.md +21 -0
- package/themes/sketchy/_bootswatch.scss +557 -0
- package/themes/sketchy/_variables.scss +156 -0
- package/themes/sketchy/bootstrap-email.scss +35 -0
- package/themes/sketchy/bootstrap-forum.scss +8 -0
- package/themes/sketchy/bootstrap_email-digest.json +5 -0
- package/themes/sketchy/bootstrap_email.json +4 -0
- package/themes/slate/LICENSE.md +21 -0
- package/themes/slate/_bootswatch.scss +340 -0
- package/themes/slate/_variables.scss +187 -0
- package/themes/slate/bootstrap-email.scss +35 -0
- package/themes/slate/bootstrap-forum.scss +8 -0
- package/themes/slate/bootstrap_email-digest.json +5 -0
- package/themes/slate/bootstrap_email.json +4 -0
- package/themes/solar/LICENSE.md +21 -0
- package/themes/solar/_bootswatch.scss +66 -0
- package/themes/solar/_variables.scss +193 -0
- package/themes/solar/bootstrap-email.scss +35 -0
- package/themes/solar/bootstrap-forum.scss +8 -0
- package/themes/solar/bootstrap_email-digest.json +5 -0
- package/themes/solar/bootstrap_email.json +4 -0
- package/themes/spacelab/LICENSE.md +21 -0
- package/themes/spacelab/_bootswatch.scss +107 -0
- package/themes/spacelab/_variables.scss +65 -0
- package/themes/spacelab/bootstrap-email.scss +35 -0
- package/themes/spacelab/bootstrap-forum.scss +8 -0
- package/themes/spacelab/bootstrap_email-digest.json +5 -0
- package/themes/spacelab/bootstrap_email.json +4 -0
- package/themes/superhero/LICENSE.md +21 -0
- package/themes/superhero/_bootswatch.scss +153 -0
- package/themes/superhero/_variables.scss +202 -0
- package/themes/superhero/bootstrap-email.scss +35 -0
- package/themes/superhero/bootstrap-forum.scss +8 -0
- package/themes/superhero/bootstrap_email-digest.json +5 -0
- package/themes/superhero/bootstrap_email.json +4 -0
- package/themes/united/LICENSE.md +21 -0
- package/themes/united/_bootswatch.scss +30 -0
- package/themes/united/_variables.scss +56 -0
- package/themes/united/bootstrap-email.scss +35 -0
- package/themes/united/bootstrap-forum.scss +8 -0
- package/themes/united/bootstrap_email-digest.json +5 -0
- package/themes/united/bootstrap_email.json +4 -0
- package/themes/vapor/_bootswatch.scss +337 -0
- package/themes/vapor/_variables.scss +176 -0
- package/themes/vapor/bootstrap-email.scss +35 -0
- package/themes/vapor/bootstrap-forum.scss +8 -0
- package/themes/vapor/bootstrap_email-digest.json +5 -0
- package/themes/vapor/bootstrap_email.json +4 -0
- package/themes/yaf/_variables-email.scss +39 -0
- package/themes/yaf/_variables.scss +10 -0
- package/themes/yaf/bootstrap-email.scss +35 -0
- package/themes/yaf/bootstrap-forum.scss +8 -0
- package/themes/yaf/bootstrap_email-digest.json +5 -0
- package/themes/yaf/bootstrap_email.json +4 -0
- package/themes/yeti/LICENSE.md +21 -0
- package/themes/yeti/_bootswatch.scss +344 -0
- package/themes/yeti/_variables.scss +107 -0
- package/themes/yeti/bootstrap-email.scss +35 -0
- package/themes/yeti/bootstrap-forum.scss +8 -0
- package/themes/yeti/bootstrap_email-digest.json +5 -0
- package/themes/yeti/bootstrap_email.json +4 -0
- package/themes/zephyr/_bootswatch.scss +221 -0
- package/themes/zephyr/_variables.scss +157 -0
- package/themes/zephyr/bootstrap-email.scss +35 -0
- package/themes/zephyr/bootstrap-forum.scss +8 -0
- package/themes/zephyr/bootstrap_email-digest.json +5 -0
- 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.
|