@loftyshaky/shared 1.0.2 → 1.1.1
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 +7 -1
- package/_locales/ru/messages.json +6 -0
- package/announcement.js +1 -1
- package/app.js +1 -1
- package/chunk-main-42bcd395.js +1 -0
- package/chunk-main-83638fdc.js +9 -0
- package/{chunk-main-4661c4ad.js → chunk-main-adf43da6.js} +1 -1
- package/{chunk-pickr.min-e4e11a57.js → chunk-pickr.min-ebbd43c5.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 +12 -3
- package/js/webpack.config.js +5 -0
- package/package.json +13 -13
- package/scss/settings/section_btns.scss +52 -52
- package/scss/settings/transitions.scss +0 -10
- 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 +7 -23
- 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 +4 -0
- package/scss/shared/input_btns.scss +12 -11
- package/scss/shared/input_error.scss +3 -0
- package/scss/shared/inputs.scss +86 -70
- package/scss/shared/inset_border.scss +0 -4
- package/scss/shared/link_btns.scss +2 -0
- package/scss/shared/links.scss +8 -0
- package/scss/shared/main.scss +3 -0
- package/scss/shared/mixins.scss +45 -0
- package/scss/shared/mods.scss +4 -0
- package/scss/shared/scrollbar.scss +35 -35
- package/scss/shared/themes/colors/aqua.scss +38 -0
- package/scss/shared/themes/colors/dark.scss +46 -12
- package/scss/shared/themes/colors/lavender.scss +38 -0
- package/scss/shared/themes/colors/light.scss +46 -12
- package/scss/shared/themes/colors/very_dark.scss +46 -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 +105 -71
- 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 +21 -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/data/main.d.ts +1 -1
- package/ts/error_modules/error/data/msg.d.ts +0 -2
- package/ts/error_modules/error/data/state.d.ts +1 -2
- package/ts/error_modules/error/interfaces/index.d.ts +1 -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 +5 -2
- package/ts/error_modules/error/scripts/flash.d.ts +11 -0
- package/ts/error_modules/error/scripts/globals.d.ts +2 -0
- package/ts/error_modules/error/scripts/index.d.ts +2 -0
- package/ts/error_modules/error/scripts/notification.d.ts +7 -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/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 +10 -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 +2 -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/data/back_up.d.ts +2 -1
- package/ts/settings/data/sections.d.ts +4 -1
- package/ts/settings/internal.d.ts +0 -2
- package/ts/shared/app.d.ts +10 -3
- package/ts/shared/internal.d.ts +2 -0
- package/ts/{settings → shared}/schema/data/index.d.ts +0 -0
- package/ts/{settings → shared}/schema/data/main.d.ts +3 -2
- package/ts/{settings → shared}/schema/obj/index.d.ts +0 -0
- package/ts/{settings → shared}/schema/obj/transform_item.d.ts +0 -0
- package/ts/shared/t.d.ts +2 -0
- package/ts/shared/x.d.ts +5 -0
- package/chunk-main-536b8e4c.js +0 -9
- package/chunk-main-53e40464.js +0 -1
|
@@ -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
|
+
}
|
|
@@ -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 {
|
|
@@ -32,7 +31,7 @@ button {
|
|
|
32
31
|
white-space: pre-wrap;
|
|
33
32
|
text-align: center;
|
|
34
33
|
padding: 10px;
|
|
35
|
-
padding-top:
|
|
34
|
+
padding-top: $error_msg_offset_top;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
.ext_name {
|
|
@@ -41,25 +40,6 @@ button {
|
|
|
41
40
|
left: $ext_name_offset;
|
|
42
41
|
}
|
|
43
42
|
|
|
44
|
-
.close_btn {
|
|
45
|
-
@include btn();
|
|
46
|
-
|
|
47
|
-
position: absolute;
|
|
48
|
-
top: $ext_name_offset;
|
|
49
|
-
right: $ext_name_offset;
|
|
50
|
-
|
|
51
|
-
&:focus {
|
|
52
|
-
outline-offset: $outline_offset;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
svg {
|
|
56
|
-
display: block;
|
|
57
|
-
fill: white;
|
|
58
|
-
height: 20px;
|
|
59
|
-
width: 20px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
43
|
.more_info_btn {
|
|
64
44
|
@include btn();
|
|
65
45
|
@include outline_solid();
|
|
@@ -86,7 +66,11 @@ button {
|
|
|
86
66
|
outline-color: $black;
|
|
87
67
|
}
|
|
88
68
|
|
|
89
|
-
&.
|
|
69
|
+
&.positive {
|
|
70
|
+
background-color: #40af49;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.neutral {
|
|
90
74
|
background-color: #4d94ea;
|
|
91
75
|
}
|
|
92
76
|
|
package/scss/shared/focus.scss
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* stylelint-disable no-descending-specificity, selector-class-pattern */
|
|
2
2
|
|
|
3
3
|
$text_input_outline_size: 20px;
|
|
4
|
+
$text_input_outline_offset: 4px;
|
|
5
|
+
$outline_offset_1: 2px;
|
|
6
|
+
$outline_offset_2: 3px;
|
|
4
7
|
|
|
5
8
|
.input_item .pcr-interaction input:focus {
|
|
6
9
|
box-shadow: none !important;
|
|
@@ -20,8 +23,7 @@ $text_input_outline_size: 20px;
|
|
|
20
23
|
.input_item .pcr-result:focus,
|
|
21
24
|
.keyboard .input_item .color_picker_w input:not(.pcr-result):focus,
|
|
22
25
|
.keyboard .btn.text_input:focus::before,
|
|
23
|
-
|
|
24
|
-
.keyboard .btn.icon:focus,
|
|
26
|
+
.keyboard .icon_btn:focus,
|
|
25
27
|
.keyboard .input_item .checkbox .box:focus,
|
|
26
28
|
.keyboard .link:focus,
|
|
27
29
|
.keyboard .link_btn:focus,
|
|
@@ -31,34 +33,38 @@ body.keyboard .btn.text:focus,
|
|
|
31
33
|
@include outline_solid_thick;
|
|
32
34
|
}
|
|
33
35
|
|
|
36
|
+
body.keyboard .btn.text:focus {
|
|
37
|
+
@include outline_solid_thick;
|
|
38
|
+
}
|
|
39
|
+
|
|
34
40
|
.keyboard .input_item .pcr-palette:focus,
|
|
35
41
|
.keyboard .input_item .pcr-slider:focus,
|
|
36
42
|
.keyboard .link:focus,
|
|
37
43
|
.keyboard .link_btn:focus,
|
|
38
44
|
.keyboard .help_btn:focus,
|
|
39
|
-
.keyboard .
|
|
45
|
+
.keyboard .icon_btn:focus,
|
|
40
46
|
.keyboard .input_item.range .input.is_in_focus_state {
|
|
41
|
-
outline-offset: $
|
|
47
|
+
outline-offset: $outline_offset_1;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
.input_item .palette_visualization_w.selected:not(.opened) .palette_visualization {
|
|
45
51
|
@include outline_solid_thick;
|
|
46
52
|
|
|
47
|
-
outline-offset: $
|
|
53
|
+
outline-offset: $outline_offset_2;
|
|
48
54
|
}
|
|
49
55
|
|
|
50
56
|
.input_item .visualization_w.opened .visualization,
|
|
51
57
|
.input_item .palette_visualization_w.opened .palette_visualization {
|
|
52
58
|
@include outline_dashed_thick;
|
|
53
59
|
|
|
54
|
-
outline-offset: $
|
|
60
|
+
outline-offset: $outline_offset_2;
|
|
55
61
|
}
|
|
56
62
|
|
|
57
63
|
.keyboard .input_item .visualization_w .visualization:focus,
|
|
58
64
|
.keyboard .input_item .palette_visualization_w .palette_visualization:focus {
|
|
59
65
|
@include outline_solid_thick;
|
|
60
66
|
|
|
61
|
-
outline-offset: $
|
|
67
|
+
outline-offset: $outline_offset_2;
|
|
62
68
|
}
|
|
63
69
|
|
|
64
70
|
.keyboard .input_item .visualization_w.opened .visualization:focus,
|
|
@@ -71,8 +77,8 @@ body.keyboard .btn.text:focus,
|
|
|
71
77
|
position: absolute;
|
|
72
78
|
width: $text_input_outline_size;
|
|
73
79
|
height: $text_input_outline_size;
|
|
74
|
-
top:
|
|
75
|
-
|
|
80
|
+
top: $text_input_outline_offset;
|
|
81
|
+
right: $text_input_outline_offset;
|
|
76
82
|
}
|
|
77
83
|
|
|
78
84
|
.reload_ui_btn_w .keyboard .btn:focus {
|
package/scss/shared/help.scss
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
.help,
|
|
2
2
|
.color_help {
|
|
3
|
-
|
|
4
|
-
font-size: $font_small;
|
|
5
|
-
margin: 0;
|
|
6
|
-
margin-top: $gap_small;
|
|
7
|
-
white-space: pre-wrap;
|
|
3
|
+
@include folding_text;
|
|
8
4
|
}
|
|
9
5
|
|
|
10
6
|
.help_btn {
|
|
@@ -61,6 +57,8 @@
|
|
|
61
57
|
|
|
62
58
|
.help_btn {
|
|
63
59
|
margin-top: 5px;
|
|
60
|
+
display: inline-block;
|
|
61
|
+
height: max-content;
|
|
64
62
|
}
|
|
65
63
|
}
|
|
66
64
|
}
|
package/scss/shared/index.scss
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
@import '~@simonwep/pickr/dist/themes/monolith.min.css';
|
|
3
3
|
@import 'vars';
|
|
4
4
|
@import 'mixins';
|
|
5
|
+
@import 'functions';
|
|
5
6
|
@import 'themes/general/light_theme';
|
|
6
7
|
@import 'all';
|
|
7
8
|
@import 'btns';
|
|
8
9
|
@import 'checkboxes';
|
|
10
|
+
@import 'close_btn';
|
|
9
11
|
@import 'color_pickers';
|
|
10
12
|
@import 'colors';
|
|
11
13
|
@import 'crash_handler';
|
|
@@ -14,11 +16,13 @@
|
|
|
14
16
|
@import 'hr';
|
|
15
17
|
@import 'group';
|
|
16
18
|
@import 'help';
|
|
19
|
+
@import 'input_error';
|
|
17
20
|
@import 'input_btns';
|
|
18
21
|
@import 'inputs';
|
|
19
22
|
@import 'inset_border';
|
|
20
23
|
@import 'link_btns';
|
|
21
24
|
@import 'links';
|
|
25
|
+
@import 'main';
|
|
22
26
|
@import 'mods';
|
|
23
27
|
@import 'range';
|
|
24
28
|
@import 'scrollbar';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
.btn {
|
|
2
|
-
&.text_input {
|
|
3
|
-
@include btn;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
.btn {
|
|
2
|
+
&.text_input {
|
|
3
|
+
@include btn;
|
|
4
|
+
|
|
5
|
+
position: relative;
|
|
6
|
+
padding: $input_content_gap_2 $input_content_gap_2 $input_content_gap_2 0;
|
|
7
|
+
|
|
8
|
+
svg {
|
|
9
|
+
@include text_btn_svg;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|