@loftyshaky/shared-app 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_locales/en/messages.json +95 -2
- package/_locales/ru/messages.json +77 -2
- package/announcement.js +1 -1
- package/app.js +1 -1
- package/chunk-main-130f654b.js +9 -0
- package/chunk-main-35e603b6.js +1 -0
- package/{chunk-main-6b1a6024.js → chunk-main-aca0d1f6.js} +1 -1
- package/{chunk-pickr.min-ee5e2c4f.js → chunk-pickr.min-81c0b025.js} +1 -1
- package/ext.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/inputs.js +1 -1
- package/js/env.js +11 -3
- package/js/locales.js +23 -8
- package/js/webpack.config.js +9 -0
- package/package.json +2 -2
- package/scss/settings/section_btns.scss +52 -52
- package/scss/settings/sections.scss +22 -0
- package/scss/settings/transitions.scss +2 -12
- package/scss/shared/btns.scss +69 -16
- package/scss/shared/checkboxes.scss +38 -38
- package/scss/shared/close_btn.scss +18 -0
- package/scss/shared/color_pickers.scss +93 -93
- package/scss/shared/colors.scss +90 -84
- package/scss/shared/embed/error.scss +43 -26
- package/scss/shared/focus.scss +15 -9
- package/scss/shared/functions.scss +5 -0
- package/scss/shared/help.scss +3 -5
- package/scss/shared/index.scss +5 -0
- package/scss/shared/input_btns.scss +12 -11
- package/scss/shared/input_error.scss +3 -0
- package/scss/shared/inputs.scss +87 -70
- package/scss/shared/inset_border.scss +0 -4
- package/scss/shared/link_btns.scss +8 -0
- package/scss/shared/links.scss +12 -0
- package/scss/shared/main.scss +3 -0
- package/scss/shared/mixins.scss +50 -0
- package/scss/shared/mods.scss +11 -3
- package/scss/shared/offers.scss +37 -0
- package/scss/shared/scrollbar.scss +35 -35
- package/scss/shared/themes/colors/aqua.scss +39 -0
- package/scss/shared/themes/colors/dark.scss +47 -12
- package/scss/shared/themes/colors/lavender.scss +39 -0
- package/scss/shared/themes/colors/light.scss +47 -12
- package/scss/shared/themes/colors/very_dark.scss +47 -12
- package/scss/shared/themes/general/aqua_theme.scss +9 -0
- package/scss/shared/themes/general/dark_theme.scss +3 -1
- package/scss/shared/themes/general/lavender_theme.scss +9 -0
- package/scss/shared/themes/general/light_theme.scss +3 -1
- package/scss/shared/themes/general/template.scss +112 -70
- package/scss/shared/themes/general/template_focus.scss +20 -8
- package/scss/shared/themes/general/very_dark_theme.scss +3 -1
- package/scss/shared/transitions.scss +24 -3
- package/scss/shared/upload_box.scss +81 -67
- package/scss/shared/vars.scss +9 -2
- package/settings.d.ts +1 -1
- package/settings.js +1 -1
- package/ts/error_modules/error/components/index.d.ts +2 -0
- package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -0
- package/ts/error_modules/error/components/progress.d.ts +2 -0
- package/ts/error_modules/error/data/index.d.ts +1 -0
- package/ts/error_modules/error/data/main.d.ts +2 -1
- package/ts/error_modules/error/data/msg.d.ts +0 -2
- package/ts/error_modules/error/data/progress.d.ts +17 -0
- package/ts/error_modules/error/data/state.d.ts +3 -2
- package/ts/error_modules/error/interfaces/index.d.ts +2 -0
- package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -0
- package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
- package/ts/error_modules/error/interfaces/show_error.d.ts +7 -2
- package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -0
- package/ts/error_modules/error/scripts/flash.d.ts +11 -0
- package/ts/error_modules/error/scripts/globals.d.ts +3 -0
- package/ts/error_modules/error/scripts/index.d.ts +2 -0
- package/ts/error_modules/error/scripts/notification.d.ts +8 -0
- package/ts/error_modules/init.d.ts +1 -0
- package/ts/error_modules/internal.d.ts +1 -0
- package/ts/inputs/components/form.d.ts +3 -0
- package/ts/inputs/components/index.d.ts +4 -0
- package/ts/inputs/components/input_error.d.ts +3 -0
- package/ts/inputs/components/label_in_input_item.d.ts +3 -0
- package/ts/inputs/components/link_icon_btn.d.ts +3 -0
- package/ts/inputs/components/prop_types/form.d.ts +5 -0
- package/ts/inputs/components/prop_types/index.d.ts +4 -0
- package/ts/inputs/components/prop_types/input_error.d.ts +4 -0
- package/ts/inputs/components/prop_types/label.d.ts +2 -2
- package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -0
- package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -0
- package/ts/inputs/components/prop_types/range.d.ts +2 -0
- package/ts/inputs/components/prop_types/section_btn.d.ts +1 -0
- package/ts/inputs/components/prop_types/section_content.d.ts +2 -1
- package/ts/inputs/components/prop_types/select.d.ts +2 -0
- package/ts/inputs/components/prop_types/text.d.ts +2 -0
- package/ts/inputs/components/prop_types/textarea.d.ts +2 -0
- package/ts/inputs/components/prop_types/upload_box.d.ts +1 -0
- package/ts/inputs/data/index.d.ts +2 -1
- package/ts/inputs/data/input_error.d.ts +12 -0
- package/ts/inputs/data/input_width.d.ts +5 -1
- package/ts/inputs/data/{label.d.ts → labelIn_in_putI_iem.d.ts} +2 -2
- package/ts/inputs/data/upload_box.d.ts +4 -0
- package/ts/inputs/data/val.d.ts +10 -5
- package/ts/inputs/interfaces/btn_option.d.ts +9 -0
- package/ts/inputs/interfaces/index.d.ts +1 -0
- package/ts/inputs/interfaces/input.d.ts +1 -1
- package/ts/inputs/obj/btn.d.ts +1 -0
- package/ts/inputs/obj/file.d.ts +1 -0
- package/ts/inputs/obj/form.d.ts +7 -0
- package/ts/inputs/obj/icon_btn.d.ts +2 -1
- package/ts/inputs/obj/index.d.ts +2 -0
- package/ts/inputs/obj/input_base.d.ts +11 -3
- package/ts/inputs/obj/label.d.ts +5 -0
- package/ts/inputs/obj/link.d.ts +4 -0
- package/ts/inputs/obj/link_btn.d.ts +2 -1
- package/ts/inputs/obj/section.d.ts +14 -0
- package/ts/inputs/obj/text.d.ts +2 -1
- package/ts/inputs/obj/upload_box.d.ts +4 -0
- package/ts/inputs/scripts/resolve.d.ts +3 -1
- package/ts/settings/components/prop_types/body.d.ts +1 -0
- package/ts/settings/data/back_up.d.ts +2 -1
- package/ts/settings/data/sections.d.ts +7 -1
- package/ts/settings/developer_mode/data/main.d.ts +13 -0
- package/ts/settings/internal.d.ts +1 -2
- package/ts/shared/app.d.ts +10 -3
- package/ts/shared/ext.d.ts +3 -0
- package/ts/shared/internal.d.ts +10 -0
- package/ts/shared/offers/components/body.d.ts +3 -0
- package/ts/shared/offers/components/counter.d.ts +2 -0
- package/ts/shared/offers/components/index.d.ts +6 -0
- package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
- package/ts/shared/offers/components/offer.d.ts +3 -0
- package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
- package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
- package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
- package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
- package/ts/shared/offers/components/top_bar.d.ts +2 -0
- package/ts/shared/offers/data/index.d.ts +1 -0
- package/ts/shared/offers/data/main.d.ts +22 -0
- package/ts/shared/offers/interfaces/index.d.ts +1 -0
- package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
- package/ts/shared/offers/obj/index.d.ts +1 -0
- package/ts/shared/offers/obj/offer.d.ts +10 -0
- package/ts/shared/offers/scripts/index.d.ts +1 -0
- package/ts/shared/offers/scripts/main.d.ts +8 -0
- package/ts/shared/schema/data/index.d.ts +1 -0
- package/ts/{settings → shared}/schema/data/main.d.ts +4 -2
- package/ts/shared/service_worker/scripts/index.d.ts +1 -0
- package/ts/shared/service_worker/scripts/main.d.ts +9 -0
- package/ts/shared/settings/data/index.d.ts +1 -0
- package/ts/shared/settings/data/main.d.ts +15 -0
- package/ts/shared/svg.d.ts +2 -0
- package/ts/shared/t.d.ts +2 -0
- package/ts/shared/vars.d.ts +1 -0
- package/ts/shared/x.d.ts +9 -0
- package/chunk-main-303525a1.js +0 -1
- package/chunk-main-3865bde3.js +0 -9
- /package/ts/settings/{schema → developer_mode}/data/index.d.ts +0 -0
- /package/ts/{settings → shared}/schema/obj/index.d.ts +0 -0
- /package/ts/{settings → shared}/schema/obj/transform_item.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
.section,
|
|
2
|
+
.section_inner,
|
|
3
3
|
.help, {
|
|
4
4
|
transition: var(--transition);
|
|
5
5
|
transition-property: opacity;
|
|
@@ -9,13 +9,3 @@
|
|
|
9
9
|
transition: var(--transition);
|
|
10
10
|
transition-property: background-color;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
.link,
|
|
14
|
-
.link_btn {
|
|
15
|
-
transition: var(--transition);
|
|
16
|
-
transition-property: color;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.link:active {
|
|
20
|
-
transition: none;
|
|
21
|
-
}
|
package/scss/shared/btns.scss
CHANGED
|
@@ -3,37 +3,90 @@ $icon_btn_size: 20px;
|
|
|
3
3
|
.btn {
|
|
4
4
|
@include btn;
|
|
5
5
|
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
.shadow {
|
|
9
|
+
@include full_spread;
|
|
10
|
+
|
|
11
|
+
position: absolute;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
svg {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.btn.icon_btn {
|
|
6
20
|
border-radius: 0;
|
|
7
21
|
position: relative;
|
|
8
22
|
vertical-align: bottom;
|
|
23
|
+
background-color: transparent;
|
|
9
24
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
@include outline_solid;
|
|
25
|
+
&:not(:first-child) {
|
|
26
|
+
margin-left: $gap !important;
|
|
27
|
+
}
|
|
14
28
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
svg {
|
|
30
|
+
width: $icon_btn_size;
|
|
31
|
+
height: $icon_btn_size;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
19
34
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
.btn.text {
|
|
36
|
+
@include border_transparent;
|
|
37
|
+
@include outline_solid;
|
|
23
38
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
39
|
+
border-radius: 0;
|
|
40
|
+
height: $input_height;
|
|
41
|
+
padding: 0 $input_inner_padding 0 $input_inner_padding;
|
|
42
|
+
display: table;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
|
|
45
|
+
&:not(:first-child) {
|
|
46
|
+
margin-top: $gap;
|
|
27
47
|
}
|
|
28
48
|
|
|
29
49
|
&.color_ok_btn {
|
|
30
|
-
margin-left: auto;
|
|
50
|
+
margin-left: auto !important;
|
|
31
51
|
}
|
|
32
52
|
|
|
33
|
-
&.
|
|
53
|
+
&.icon_btn {
|
|
34
54
|
svg {
|
|
35
55
|
width: $icon_btn_size;
|
|
36
56
|
height: $icon_btn_size;
|
|
37
57
|
}
|
|
38
58
|
}
|
|
39
59
|
}
|
|
60
|
+
|
|
61
|
+
.btn_options {
|
|
62
|
+
@include border;
|
|
63
|
+
|
|
64
|
+
backdrop-filter: $glass_blur;
|
|
65
|
+
box-shadow: $black_shadow;
|
|
66
|
+
|
|
67
|
+
.btn_option {
|
|
68
|
+
@include btn;
|
|
69
|
+
|
|
70
|
+
display: block;
|
|
71
|
+
width: 100%;
|
|
72
|
+
padding: 3px 6px;
|
|
73
|
+
border: 0;
|
|
74
|
+
text-align: left;
|
|
75
|
+
background-color: transparent;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
color: unset;
|
|
79
|
+
text-decoration: none;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
hr {
|
|
84
|
+
margin-top: 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.keyboard .btn_options .btn_option:focus {
|
|
89
|
+
@include outline_solid_thick;
|
|
90
|
+
|
|
91
|
+
outline-offset: -1px;
|
|
92
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
$box_size: 20px;
|
|
2
|
-
$checkmark_size: 16px;
|
|
3
|
-
|
|
4
|
-
.input_item {
|
|
5
|
-
&.checkbox {
|
|
6
|
-
input {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.wrap_label {
|
|
11
|
-
@include border_transparent;
|
|
12
|
-
|
|
13
|
-
margin-right: $input_content_gap;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.box {
|
|
17
|
-
@include center_flex;
|
|
18
|
-
@include outline_solid;
|
|
19
|
-
|
|
20
|
-
height: $box_size;
|
|
21
|
-
width: $box_size;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.box svg {
|
|
26
|
-
width: $checkmark_size;
|
|
27
|
-
height: $checkmark_size;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
input + .box svg {
|
|
31
|
-
opacity: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input:checked + .box svg {
|
|
35
|
-
opacity: 1;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
$box_size: 20px;
|
|
2
|
+
$checkmark_size: 16px;
|
|
3
|
+
|
|
4
|
+
.input_item {
|
|
5
|
+
&.checkbox {
|
|
6
|
+
input {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.wrap_label {
|
|
11
|
+
@include border_transparent;
|
|
12
|
+
|
|
13
|
+
margin-right: $input_content_gap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.box {
|
|
17
|
+
@include center_flex;
|
|
18
|
+
@include outline_solid;
|
|
19
|
+
|
|
20
|
+
height: $box_size;
|
|
21
|
+
width: $box_size;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.box svg {
|
|
26
|
+
width: $checkmark_size;
|
|
27
|
+
height: $checkmark_size;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
input + .box svg {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input:checked + .box svg {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.close_btn {
|
|
2
|
+
@include btn();
|
|
3
|
+
|
|
4
|
+
margin-top: $ext_name_offset;
|
|
5
|
+
margin-right: $ext_name_offset;
|
|
6
|
+
margin-left: $gap;
|
|
7
|
+
|
|
8
|
+
&:focus {
|
|
9
|
+
outline-offset: 2px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
svg {
|
|
13
|
+
display: block;
|
|
14
|
+
fill: white;
|
|
15
|
+
height: 20px;
|
|
16
|
+
width: 20px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
/* stylelint-disable selector-class-pattern */
|
|
2
|
-
|
|
3
|
-
$pcr_picker_size: 16px;
|
|
4
|
-
$btn_padding: 6px;
|
|
5
|
-
|
|
6
|
-
.input_item {
|
|
7
|
-
.pcr-app,
|
|
8
|
-
.pcr-last-color,
|
|
9
|
-
.pcr-palette,
|
|
10
|
-
.pcr-current-color,
|
|
11
|
-
.pcr-slider,
|
|
12
|
-
.color_picker_w input {
|
|
13
|
-
border-radius: 0 !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.pcr-palette,
|
|
17
|
-
.pcr-slider {
|
|
18
|
-
@include border;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.color_picker_w {
|
|
22
|
-
position: absolute;
|
|
23
|
-
z-index:
|
|
24
|
-
top: $input_height + $input_content_gap;
|
|
25
|
-
left: 0;
|
|
26
|
-
user-select: none;
|
|
27
|
-
|
|
28
|
-
input {
|
|
29
|
-
@include outline_solid;
|
|
30
|
-
|
|
31
|
-
filter: initial !important;
|
|
32
|
-
|
|
33
|
-
&:not(.pcr-result) {
|
|
34
|
-
padding: $btn_padding $btn_padding 5px $btn_padding;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.color_picker {
|
|
40
|
-
position: fixed;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.pcr-app {
|
|
44
|
-
@include box_shadow_important;
|
|
45
|
-
|
|
46
|
-
position: relative !important;
|
|
47
|
-
left: initial !important;
|
|
48
|
-
top: initial !important;
|
|
49
|
-
width: fit-content !important;
|
|
50
|
-
padding: $gap !important;
|
|
51
|
-
transition: none !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.pcr-picker {
|
|
55
|
-
width: $pcr_picker_size !important;
|
|
56
|
-
height: $pcr_picker_size !important;
|
|
57
|
-
border-width: 1px !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.pcr-color-preview {
|
|
61
|
-
@include border;
|
|
62
|
-
|
|
63
|
-
margin-bottom: $gap !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.pcr-swatches {
|
|
67
|
-
margin-top: 2px !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.pcr-interaction {
|
|
71
|
-
margin-left: -2px !important;
|
|
72
|
-
margin-right: -1px !important;
|
|
73
|
-
margin-bottom: 1px !important;
|
|
74
|
-
white-space: nowrap;
|
|
75
|
-
display: unset !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.pcr-result {
|
|
79
|
-
width: calc(100% - 5px);
|
|
80
|
-
display: block;
|
|
81
|
-
margin-top: 9px !important;
|
|
82
|
-
padding-top: 6px !important;
|
|
83
|
-
margin-bottom: 2px !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.pcr-color-chooser {
|
|
87
|
-
margin-top: $gap !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.pcr-type {
|
|
91
|
-
margin-right: 5px !important;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
1
|
+
/* stylelint-disable selector-class-pattern */
|
|
2
|
+
|
|
3
|
+
$pcr_picker_size: 16px;
|
|
4
|
+
$btn_padding: 6px;
|
|
5
|
+
|
|
6
|
+
.input_item {
|
|
7
|
+
.pcr-app,
|
|
8
|
+
.pcr-last-color,
|
|
9
|
+
.pcr-palette,
|
|
10
|
+
.pcr-current-color,
|
|
11
|
+
.pcr-slider,
|
|
12
|
+
.color_picker_w input {
|
|
13
|
+
border-radius: 0 !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pcr-palette,
|
|
17
|
+
.pcr-slider {
|
|
18
|
+
@include border;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.color_picker_w {
|
|
22
|
+
position: absolute;
|
|
23
|
+
z-index: 3;
|
|
24
|
+
top: $input_height + $input_content_gap;
|
|
25
|
+
left: 0;
|
|
26
|
+
user-select: none;
|
|
27
|
+
|
|
28
|
+
input {
|
|
29
|
+
@include outline_solid;
|
|
30
|
+
|
|
31
|
+
filter: initial !important;
|
|
32
|
+
|
|
33
|
+
&:not(.pcr-result) {
|
|
34
|
+
padding: $btn_padding $btn_padding 5px $btn_padding;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.color_picker {
|
|
40
|
+
position: fixed;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.pcr-app {
|
|
44
|
+
@include box_shadow_important;
|
|
45
|
+
|
|
46
|
+
position: relative !important;
|
|
47
|
+
left: initial !important;
|
|
48
|
+
top: initial !important;
|
|
49
|
+
width: fit-content !important;
|
|
50
|
+
padding: $gap !important;
|
|
51
|
+
transition: none !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.pcr-picker {
|
|
55
|
+
width: $pcr_picker_size !important;
|
|
56
|
+
height: $pcr_picker_size !important;
|
|
57
|
+
border-width: 1px !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pcr-color-preview {
|
|
61
|
+
@include border;
|
|
62
|
+
|
|
63
|
+
margin-bottom: $gap !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.pcr-swatches {
|
|
67
|
+
margin-top: 2px !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.pcr-interaction {
|
|
71
|
+
margin-left: -2px !important;
|
|
72
|
+
margin-right: -1px !important;
|
|
73
|
+
margin-bottom: 1px !important;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
display: unset !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.pcr-result {
|
|
79
|
+
width: calc(100% - 5px);
|
|
80
|
+
display: block;
|
|
81
|
+
margin-top: 9px !important;
|
|
82
|
+
padding-top: 6px !important;
|
|
83
|
+
margin-bottom: 2px !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.pcr-color-chooser {
|
|
87
|
+
margin-top: $gap !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.pcr-type {
|
|
91
|
+
margin-right: 5px !important;
|
|
92
|
+
}
|
|
93
|
+
}
|
package/scss/shared/colors.scss
CHANGED
|
@@ -1,84 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.
|
|
64
|
-
position:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
$palette_visualization_w_border_offset: 1 * 2;
|
|
2
|
+
|
|
3
|
+
.input_item {
|
|
4
|
+
&.color .label_in_input_item {
|
|
5
|
+
align-self: normal;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.inner_w {
|
|
9
|
+
position: absolute;
|
|
10
|
+
height: $color_input_height;
|
|
11
|
+
align-self: center;
|
|
12
|
+
order: -1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.main_visualization_w {
|
|
16
|
+
height: fit-content;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-self: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.visualization_w {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
margin-right: $input_content_gap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.visualization {
|
|
28
|
+
border: 0;
|
|
29
|
+
outline: none;
|
|
30
|
+
min-width: $color_input_height;
|
|
31
|
+
height: $color_input_height;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
border-radius: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.palette_visualization_w {
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
padding: 0;
|
|
39
|
+
margin-right: $gap + $palette_visualization_w_border_offset;
|
|
40
|
+
margin-bottom: $gap + $palette_visualization_w_border_offset;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
|
|
43
|
+
&:nth-child(10),
|
|
44
|
+
&:nth-child(20),
|
|
45
|
+
&:nth-child(30) {
|
|
46
|
+
margin-right: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:nth-child(n + 21) {
|
|
50
|
+
margin-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.palette_visualization {
|
|
55
|
+
border: 0;
|
|
56
|
+
outline: none;
|
|
57
|
+
width: $color_input_height;
|
|
58
|
+
height: $color_input_height;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
border-radius: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fill_shadow_w {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: $input_content_gap + $input_content_gap;
|
|
66
|
+
left: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.fill_shadow {
|
|
70
|
+
position: fixed;
|
|
71
|
+
display: block;
|
|
72
|
+
visibility: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.palette_w {
|
|
76
|
+
z-index: 3;
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: $input_content_gap + $input_content_gap;
|
|
79
|
+
left: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.palette {
|
|
83
|
+
@include box_shadow;
|
|
84
|
+
|
|
85
|
+
position: fixed;
|
|
86
|
+
padding: 10px;
|
|
87
|
+
width: 410px;
|
|
88
|
+
line-height: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
@import '../mods';
|
|
6
6
|
@import '../text';
|
|
7
7
|
@import '../crash_handler';
|
|
8
|
-
|
|
9
|
-
$ext_name_offset: 7px;
|
|
8
|
+
@import '../close_btn';
|
|
10
9
|
|
|
11
10
|
body,
|
|
12
11
|
button {
|
|
@@ -28,38 +27,52 @@ button {
|
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
.error {
|
|
31
|
-
.
|
|
32
|
-
|
|
33
|
-
text-align: center;
|
|
34
|
-
padding: 10px;
|
|
35
|
-
padding-top: 40px;
|
|
36
|
-
}
|
|
30
|
+
.body {
|
|
31
|
+
position: relative;
|
|
37
32
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
left: $ext_name_offset;
|
|
42
|
-
}
|
|
33
|
+
.top_stuff {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: start;
|
|
43
36
|
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
.ext_name_and_keep_visible_msg {
|
|
38
|
+
flex-grow: 1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
46
42
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
.progress {
|
|
44
|
+
appearance: none;
|
|
45
|
+
display: block;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 8px;
|
|
50
48
|
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
&::-webkit-progress-bar {
|
|
50
|
+
background-color: transparent;
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
fill: white;
|
|
58
|
-
height: 20px;
|
|
59
|
-
width: 20px;
|
|
53
|
+
&::-webkit-progress-value {
|
|
54
|
+
background-color: #ffe81a;
|
|
60
55
|
}
|
|
61
56
|
}
|
|
62
57
|
|
|
58
|
+
.keep_visible_msg {
|
|
59
|
+
font-size: $font_small;
|
|
60
|
+
margin-left: $ext_name_offset;
|
|
61
|
+
margin-top: 2px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.msg {
|
|
65
|
+
white-space: pre-wrap;
|
|
66
|
+
text-align: center;
|
|
67
|
+
padding: 10px;
|
|
68
|
+
padding-top: 12px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ext_name {
|
|
72
|
+
margin-top: $ext_name_offset;
|
|
73
|
+
margin-left: $ext_name_offset;
|
|
74
|
+
}
|
|
75
|
+
|
|
63
76
|
.more_info_btn {
|
|
64
77
|
@include btn();
|
|
65
78
|
@include outline_solid();
|
|
@@ -86,7 +99,11 @@ button {
|
|
|
86
99
|
outline-color: $black;
|
|
87
100
|
}
|
|
88
101
|
|
|
89
|
-
&.
|
|
102
|
+
&.positive {
|
|
103
|
+
background-color: #40af49;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.neutral {
|
|
90
107
|
background-color: #4d94ea;
|
|
91
108
|
}
|
|
92
109
|
|