@loftyshaky/shared-app 1.0.1 → 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.
Files changed (157) hide show
  1. package/_locales/en/messages.json +95 -2
  2. package/_locales/ru/messages.json +77 -2
  3. package/announcement.js +1 -1
  4. package/app.js +1 -1
  5. package/chunk-main-130f654b.js +9 -0
  6. package/chunk-main-35e603b6.js +1 -0
  7. package/{chunk-main-6b1a6024.js → chunk-main-aca0d1f6.js} +1 -1
  8. package/{chunk-pickr.min-ee5e2c4f.js → chunk-pickr.min-81c0b025.js} +1 -1
  9. package/ext.js +1 -1
  10. package/index.d.ts +1 -1
  11. package/index.js +1 -1
  12. package/inputs.js +1 -1
  13. package/js/env.js +11 -3
  14. package/js/locales.js +23 -8
  15. package/js/webpack.config.js +9 -0
  16. package/package.json +2 -2
  17. package/scss/settings/section_btns.scss +52 -52
  18. package/scss/settings/sections.scss +22 -0
  19. package/scss/settings/transitions.scss +2 -12
  20. package/scss/shared/btns.scss +69 -16
  21. package/scss/shared/checkboxes.scss +38 -38
  22. package/scss/shared/close_btn.scss +18 -0
  23. package/scss/shared/color_pickers.scss +93 -93
  24. package/scss/shared/colors.scss +90 -84
  25. package/scss/shared/embed/error.scss +43 -26
  26. package/scss/shared/focus.scss +15 -9
  27. package/scss/shared/functions.scss +5 -0
  28. package/scss/shared/help.scss +3 -5
  29. package/scss/shared/index.scss +5 -0
  30. package/scss/shared/input_btns.scss +12 -11
  31. package/scss/shared/input_error.scss +3 -0
  32. package/scss/shared/inputs.scss +87 -70
  33. package/scss/shared/inset_border.scss +0 -4
  34. package/scss/shared/link_btns.scss +8 -0
  35. package/scss/shared/links.scss +12 -0
  36. package/scss/shared/main.scss +3 -0
  37. package/scss/shared/mixins.scss +50 -0
  38. package/scss/shared/mods.scss +11 -3
  39. package/scss/shared/offers.scss +37 -0
  40. package/scss/shared/scrollbar.scss +35 -35
  41. package/scss/shared/themes/colors/aqua.scss +39 -0
  42. package/scss/shared/themes/colors/dark.scss +47 -12
  43. package/scss/shared/themes/colors/lavender.scss +39 -0
  44. package/scss/shared/themes/colors/light.scss +47 -12
  45. package/scss/shared/themes/colors/very_dark.scss +47 -12
  46. package/scss/shared/themes/general/aqua_theme.scss +9 -0
  47. package/scss/shared/themes/general/dark_theme.scss +3 -1
  48. package/scss/shared/themes/general/lavender_theme.scss +9 -0
  49. package/scss/shared/themes/general/light_theme.scss +3 -1
  50. package/scss/shared/themes/general/template.scss +112 -70
  51. package/scss/shared/themes/general/template_focus.scss +20 -8
  52. package/scss/shared/themes/general/very_dark_theme.scss +3 -1
  53. package/scss/shared/transitions.scss +24 -3
  54. package/scss/shared/upload_box.scss +81 -67
  55. package/scss/shared/vars.scss +9 -2
  56. package/settings.d.ts +1 -1
  57. package/settings.js +1 -1
  58. package/ts/error_modules/error/components/index.d.ts +2 -0
  59. package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -0
  60. package/ts/error_modules/error/components/progress.d.ts +2 -0
  61. package/ts/error_modules/error/data/index.d.ts +1 -0
  62. package/ts/error_modules/error/data/main.d.ts +2 -1
  63. package/ts/error_modules/error/data/msg.d.ts +0 -2
  64. package/ts/error_modules/error/data/progress.d.ts +17 -0
  65. package/ts/error_modules/error/data/state.d.ts +3 -2
  66. package/ts/error_modules/error/interfaces/index.d.ts +2 -0
  67. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -0
  68. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  69. package/ts/error_modules/error/interfaces/show_error.d.ts +7 -2
  70. package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -0
  71. package/ts/error_modules/error/scripts/flash.d.ts +11 -0
  72. package/ts/error_modules/error/scripts/globals.d.ts +3 -0
  73. package/ts/error_modules/error/scripts/index.d.ts +2 -0
  74. package/ts/error_modules/error/scripts/notification.d.ts +8 -0
  75. package/ts/error_modules/init.d.ts +1 -0
  76. package/ts/error_modules/internal.d.ts +1 -0
  77. package/ts/inputs/components/form.d.ts +3 -0
  78. package/ts/inputs/components/index.d.ts +4 -0
  79. package/ts/inputs/components/input_error.d.ts +3 -0
  80. package/ts/inputs/components/label_in_input_item.d.ts +3 -0
  81. package/ts/inputs/components/link_icon_btn.d.ts +3 -0
  82. package/ts/inputs/components/prop_types/form.d.ts +5 -0
  83. package/ts/inputs/components/prop_types/index.d.ts +4 -0
  84. package/ts/inputs/components/prop_types/input_error.d.ts +4 -0
  85. package/ts/inputs/components/prop_types/label.d.ts +2 -2
  86. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -0
  87. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -0
  88. package/ts/inputs/components/prop_types/range.d.ts +2 -0
  89. package/ts/inputs/components/prop_types/section_btn.d.ts +1 -0
  90. package/ts/inputs/components/prop_types/section_content.d.ts +2 -1
  91. package/ts/inputs/components/prop_types/select.d.ts +2 -0
  92. package/ts/inputs/components/prop_types/text.d.ts +2 -0
  93. package/ts/inputs/components/prop_types/textarea.d.ts +2 -0
  94. package/ts/inputs/components/prop_types/upload_box.d.ts +1 -0
  95. package/ts/inputs/data/index.d.ts +2 -1
  96. package/ts/inputs/data/input_error.d.ts +12 -0
  97. package/ts/inputs/data/input_width.d.ts +5 -1
  98. package/ts/inputs/data/{label.d.ts → labelIn_in_putI_iem.d.ts} +2 -2
  99. package/ts/inputs/data/upload_box.d.ts +4 -0
  100. package/ts/inputs/data/val.d.ts +10 -5
  101. package/ts/inputs/interfaces/btn_option.d.ts +9 -0
  102. package/ts/inputs/interfaces/index.d.ts +1 -0
  103. package/ts/inputs/interfaces/input.d.ts +1 -1
  104. package/ts/inputs/obj/btn.d.ts +1 -0
  105. package/ts/inputs/obj/file.d.ts +1 -0
  106. package/ts/inputs/obj/form.d.ts +7 -0
  107. package/ts/inputs/obj/icon_btn.d.ts +2 -1
  108. package/ts/inputs/obj/index.d.ts +2 -0
  109. package/ts/inputs/obj/input_base.d.ts +11 -3
  110. package/ts/inputs/obj/label.d.ts +5 -0
  111. package/ts/inputs/obj/link.d.ts +4 -0
  112. package/ts/inputs/obj/link_btn.d.ts +2 -1
  113. package/ts/inputs/obj/section.d.ts +14 -0
  114. package/ts/inputs/obj/text.d.ts +2 -1
  115. package/ts/inputs/obj/upload_box.d.ts +4 -0
  116. package/ts/inputs/scripts/resolve.d.ts +3 -1
  117. package/ts/settings/components/prop_types/body.d.ts +1 -0
  118. package/ts/settings/data/back_up.d.ts +2 -1
  119. package/ts/settings/data/sections.d.ts +7 -1
  120. package/ts/settings/developer_mode/data/main.d.ts +13 -0
  121. package/ts/settings/internal.d.ts +1 -2
  122. package/ts/shared/app.d.ts +10 -3
  123. package/ts/shared/ext.d.ts +3 -0
  124. package/ts/shared/internal.d.ts +10 -0
  125. package/ts/shared/offers/components/body.d.ts +3 -0
  126. package/ts/shared/offers/components/counter.d.ts +2 -0
  127. package/ts/shared/offers/components/index.d.ts +6 -0
  128. package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
  129. package/ts/shared/offers/components/offer.d.ts +3 -0
  130. package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
  131. package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
  132. package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
  133. package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
  134. package/ts/shared/offers/components/top_bar.d.ts +2 -0
  135. package/ts/shared/offers/data/index.d.ts +1 -0
  136. package/ts/shared/offers/data/main.d.ts +22 -0
  137. package/ts/shared/offers/interfaces/index.d.ts +1 -0
  138. package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
  139. package/ts/shared/offers/obj/index.d.ts +1 -0
  140. package/ts/shared/offers/obj/offer.d.ts +10 -0
  141. package/ts/shared/offers/scripts/index.d.ts +1 -0
  142. package/ts/shared/offers/scripts/main.d.ts +8 -0
  143. package/ts/shared/schema/data/index.d.ts +1 -0
  144. package/ts/{settings → shared}/schema/data/main.d.ts +4 -2
  145. package/ts/shared/service_worker/scripts/index.d.ts +1 -0
  146. package/ts/shared/service_worker/scripts/main.d.ts +9 -0
  147. package/ts/shared/settings/data/index.d.ts +1 -0
  148. package/ts/shared/settings/data/main.d.ts +15 -0
  149. package/ts/shared/svg.d.ts +2 -0
  150. package/ts/shared/t.d.ts +2 -0
  151. package/ts/shared/vars.d.ts +1 -0
  152. package/ts/shared/x.d.ts +9 -0
  153. package/chunk-main-303525a1.js +0 -1
  154. package/chunk-main-3865bde3.js +0 -9
  155. /package/ts/settings/{schema → developer_mode}/data/index.d.ts +0 -0
  156. /package/ts/{settings → shared}/schema/obj/index.d.ts +0 -0
  157. /package/ts/{settings → shared}/schema/obj/transform_item.d.ts +0 -0
@@ -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
- body.keyboard .btn.text:focus,
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 .btn.icon:focus,
45
+ .keyboard .icon_btn:focus,
40
46
  .keyboard .input_item.range .input.is_in_focus_state {
41
- outline-offset: $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: $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: $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: $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: 4px;
75
- left: -2px;
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 {
@@ -0,0 +1,5 @@
1
+ @function two_color_gradient($color_1, $color_2) {
2
+ $result: linear-gradient(97deg, $color_1, $color_2);
3
+
4
+ @return $result;
5
+ }
@@ -1,10 +1,6 @@
1
1
  .help,
2
2
  .color_help {
3
- max-width: 700px;
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
  }
@@ -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';
@@ -27,3 +31,4 @@
27
31
  @import 'textareas';
28
32
  @import 'transitions';
29
33
  @import 'upload_box';
34
+ @import 'offers';
@@ -1,11 +1,12 @@
1
- .btn {
2
- &.text_input {
3
- @include btn;
4
-
5
- padding: $input_content_gap_2 $input_content_gap_2 $input_content_gap_2 0;
6
-
7
- svg {
8
- @include text_btn_svg;
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
+ }
@@ -0,0 +1,3 @@
1
+ .input_error {
2
+ @include folding_text;
3
+ }
@@ -1,70 +1,87 @@
1
- input[type='file'] {
2
- display: none;
3
- }
4
-
5
- .input_item {
6
- padding-right: $main_margin;
7
- margin-left: unset;
8
- justify-content: unset;
9
- align-items: center;
10
- flex-direction: column;
11
- display: table;
12
- width: auto;
13
-
14
- &.child {
15
- margin-left: 28px;
16
- }
17
-
18
- &:not(:first-child) {
19
- margin-top: $gap;
20
- }
21
-
22
- .label {
23
- display: flex;
24
- align-items: center;
25
- height: unset;
26
- margin-right: 0;
27
- white-space: normal;
28
- }
29
-
30
- &.text .label,
31
- &.textarea .label,
32
- &.select .label,
33
- &.range .label {
34
- margin-bottom: $gap_small;
35
- }
36
-
37
- .input {
38
- @include input_basic;
39
-
40
- opacity: 1; // needed to keep default color when element is is_enabled
41
- height: $input_height;
42
- padding: 0 $input_inner_padding 0 $input_inner_padding;
43
- flex-grow: 1;
44
- border-radius: 0;
45
- box-sizing: border-box;
46
- }
47
-
48
- .input_w_and_help_btn {
49
- display: flex;
50
- align-items: center;
51
- }
52
-
53
- .input_w {
54
- position: relative;
55
- display: flex;
56
- flex-shrink: 0;
57
- box-sizing: border-box;
58
-
59
- &.text,
60
- &.textarea,
61
- &.select {
62
- @include border_transparent;
63
- }
64
-
65
- &.is_in_focus_state:not(.select)::before,
66
- &.is_in_warn_state:not(.select)::before {
67
- @include outline_solid_thick;
68
- }
69
- }
70
- }
1
+ input[type='file'] {
2
+ display: none;
3
+ }
4
+
5
+ .input_item_form {
6
+ margin-bottom: 0;
7
+ }
8
+
9
+ .label:not(:first-child) {
10
+ margin-top: $gap;
11
+ }
12
+
13
+ .input_item {
14
+ padding-right: $main_margin;
15
+ margin-left: unset;
16
+ justify-content: unset;
17
+ align-items: center;
18
+ flex-direction: column;
19
+ display: table;
20
+ width: auto;
21
+
22
+ &.child {
23
+ margin-left: 28px;
24
+ }
25
+
26
+ &:not(:first-child) {
27
+ margin-top: $gap;
28
+ }
29
+
30
+ .label_in_input_item {
31
+ display: flex;
32
+ align-items: center;
33
+ height: unset;
34
+ margin-right: 0;
35
+ white-space: normal;
36
+ }
37
+
38
+ &.text,
39
+ &.textarea,
40
+ &.select,
41
+ &.range,
42
+ &.upload_box,
43
+ &.group {
44
+ .label_in_input_item:not(:empty) {
45
+ margin-bottom: $gap_small;
46
+ }
47
+ }
48
+
49
+ .input {
50
+ @include input_basic;
51
+
52
+ width: inherit;
53
+ opacity: 1; // needed to keep default color when element is is_enabled
54
+ height: $input_height;
55
+ padding: 0 $input_inner_padding 0 $input_inner_padding;
56
+ flex-grow: 1;
57
+ border-radius: 0;
58
+ box-sizing: border-box;
59
+ }
60
+
61
+ .input_w_and_help_btn {
62
+ display: flex;
63
+ align-items: center;
64
+ }
65
+
66
+ .input_w {
67
+ position: relative;
68
+ display: flex;
69
+ flex-shrink: 0;
70
+ box-sizing: border-box;
71
+
72
+ &.text,
73
+ &.textarea,
74
+ &.select {
75
+ @include border_transparent;
76
+ }
77
+
78
+ .main_visualization_w {
79
+ @include border_transparent;
80
+ }
81
+
82
+ &.is_in_focus_state:not(.select)::before,
83
+ &.is_in_warn_state:not(.select)::before {
84
+ @include outline_solid_thick;
85
+ }
86
+ }
87
+ }
@@ -14,7 +14,3 @@
14
14
  z-index: 1;
15
15
  }
16
16
  }
17
-
18
- .input_item.color .inset_border::before {
19
- outline: none;
20
- }
@@ -1,10 +1,18 @@
1
1
  .link_btn {
2
+ @include btn;
3
+
2
4
  display: block;
3
5
  font-size: $font_small;
4
6
 
5
7
  &.hide {
6
8
  margin-top: 4px;
7
9
  }
10
+
11
+ &.show_content,
12
+ &.hide_content {
13
+ margin-bottom: $gap;
14
+ font-size: $font_main;
15
+ }
8
16
  }
9
17
 
10
18
  .palette_link_btns .link_btn {
@@ -4,6 +4,18 @@
4
4
  border: 0;
5
5
  padding: 0;
6
6
  cursor: pointer;
7
+
8
+ &.offer {
9
+ display: unset;
10
+ }
11
+
12
+ &.svg {
13
+ svg {
14
+ display: block;
15
+ width: $icon_btn_size;
16
+ height: $icon_btn_size;
17
+ }
18
+ }
7
19
  }
8
20
 
9
21
  .link:not(:first-child) {
@@ -0,0 +1,3 @@
1
+ .main_2 {
2
+ box-sizing: border-box;
3
+ }
@@ -32,6 +32,13 @@ $border_width_thick: 2px;
32
32
  transform: translate(-50%, -50%);
33
33
  }
34
34
 
35
+ @mixin center_horizontal_variable_width { // max-width should be set
36
+ left: calc(-50vw + 50%);
37
+ right: calc(-50vw + 50%);
38
+ margin-left: auto;
39
+ margin-right: auto;
40
+ }
41
+
35
42
  @mixin btn {
36
43
  background-color: transparent;
37
44
  outline: none;
@@ -128,3 +135,46 @@ $box_shadow_for_mixin: rgb(0 0 0 / 30%) 0 0 2px, rgb(0 0 0 / 30%) 0 4px 8px;
128
135
  outline-width: $border_width_thick;
129
136
  outline-style: dashed;
130
137
  }
138
+
139
+ @mixin folding_text {
140
+ max-width: 700px;
141
+ font-size: $font_small;
142
+ margin: 0;
143
+ margin-top: $gap_small;
144
+ white-space: pre-wrap;
145
+ }
146
+
147
+ @mixin glass {
148
+ border: 1px solid $yuv;
149
+ box-shadow: $black_shadow_2;
150
+ }
151
+
152
+ @mixin link_colors($main, $visited, $hover, $active) {
153
+ color: $main;
154
+
155
+ &:visited {
156
+ color: $visited;
157
+ }
158
+
159
+ &:hover {
160
+ color: $hover;
161
+ }
162
+
163
+ &:active {
164
+ color: $active;
165
+ }
166
+ }
167
+
168
+ @mixin backdrop_filter_before {
169
+ @include full_spread;
170
+
171
+ content: '';
172
+ position: absolute;
173
+ z-index: -1;
174
+ backdrop-filter: $glass_blur;
175
+ }
176
+
177
+ @mixin is_disabled {
178
+ opacity: 0.3 !important;
179
+ pointer-events: none !important;
180
+ }
@@ -16,6 +16,10 @@
16
16
  top: -99999px !important;
17
17
  }
18
18
 
19
+ .visibility_hidden {
20
+ visibility: hidden !important;
21
+ }
22
+
19
23
  .overflow_auto {
20
24
  overflow: auto;
21
25
  }
@@ -25,9 +29,8 @@
25
29
  border-style: solid !important;
26
30
  }
27
31
 
28
- .is_disabled {
29
- opacity: 0.3 !important;
30
- pointer-events: none !important;
32
+ .is_disabled:not(.input_item.group) {
33
+ @include is_disabled;
31
34
  }
32
35
 
33
36
  .pointer_events_none {
@@ -37,3 +40,8 @@
37
40
  .cursor_default {
38
41
  cursor: default !important;
39
42
  }
43
+
44
+ .fullscreen {
45
+ width: 100vw;
46
+ height: 100vh;
47
+ }
@@ -0,0 +1,37 @@
1
+ .offers {
2
+ overflow: auto;
3
+ flex-shrink: 0;
4
+
5
+ .top_bar {
6
+ display: flex;
7
+ justify-content: end;
8
+ margin-bottom: $gap;
9
+
10
+ .visible {
11
+ position: absolute;
12
+ }
13
+
14
+ .shadow {
15
+ visibility: hidden;
16
+ }
17
+ }
18
+
19
+ .offer {
20
+ img {
21
+ @include border;
22
+
23
+ display: block;
24
+ margin-right: $main_margin;
25
+ }
26
+
27
+ p {
28
+ margin: 0;
29
+
30
+ + a {
31
+ margin-top: $gap_small;
32
+ display: block;
33
+ width: fit-content;
34
+ }
35
+ }
36
+ }
37
+ }
@@ -1,35 +1,35 @@
1
- $thumb_border_left: 5px solid transparent;
2
- $thumb_border_right: 4px solid transparent;
3
-
4
- :not(html, body, select) {
5
- &::-webkit-scrollbar {
6
- width: 17px;
7
- }
8
-
9
- &::-webkit-scrollbar-thumb {
10
- background-clip: content-box;
11
- }
12
-
13
- &::-webkit-resizer {
14
- @include border_top;
15
- @include border_left;
16
- }
17
-
18
- &::-webkit-scrollbar-track:vertical {
19
- @include border_left;
20
- }
21
-
22
- &::-webkit-scrollbar-track:horizontal {
23
- @include border_top;
24
- }
25
-
26
- &::-webkit-scrollbar-thumb:vertical {
27
- border-left: $thumb_border_left;
28
- border-right: $thumb_border_right;
29
- }
30
-
31
- &::-webkit-scrollbar-thumb:horizontal {
32
- border-top: $thumb_border_left;
33
- border-bottom: $thumb_border_right;
34
- }
35
- }
1
+ $thumb_border_left: 5px solid transparent;
2
+ $thumb_border_right: 4px solid transparent;
3
+
4
+ :not(html, body, select) {
5
+ &::-webkit-scrollbar {
6
+ width: 17px;
7
+ }
8
+
9
+ &::-webkit-scrollbar-thumb {
10
+ background-clip: content-box;
11
+ }
12
+
13
+ &::-webkit-resizer {
14
+ @include border_top;
15
+ @include border_left;
16
+ }
17
+
18
+ &::-webkit-scrollbar-track:vertical {
19
+ @include border_left;
20
+ }
21
+
22
+ &::-webkit-scrollbar-track:horizontal {
23
+ @include border_top;
24
+ }
25
+
26
+ &::-webkit-scrollbar-thumb:vertical {
27
+ border-left: $thumb_border_left;
28
+ border-right: $thumb_border_right;
29
+ }
30
+
31
+ &::-webkit-scrollbar-thumb:horizontal {
32
+ border-top: $thumb_border_left;
33
+ border-bottom: $thumb_border_right;
34
+ }
35
+ }
@@ -0,0 +1,39 @@
1
+ $theme_color_jqv: rgb(255 255 255 / 0.1%);
2
+
3
+ $htc: white;
4
+ $tbn: $glass_color;
5
+ $gaq: #efefef;
6
+ /* stylelint-disable-next-line max-line-length */
7
+ $gqb: linear-gradient(45deg, rgb(39 61 213) 0%, rgb(225 5 34 / 0%) 70%) repeat scroll 0% 0%, linear-gradient(135deg, rgb(12 255 7) 10%, rgb(49 5 209 / 0%) 80%) repeat scroll 0% 0%, linear-gradient(190deg, rgb(135 23 255) 10%, rgb(10 219 216 / 0%) 80%) repeat scroll 0% 0%, rgb(0 0 0 / 0%) linear-gradient(315deg, rgb(51 205 196) 100%, rgb(9 245 5 / 0%) 70%) repeat scroll 0% 0%;
8
+ $hfb: transparent;
9
+ $gvb: rgb(255 255 255 / 36%);
10
+ $npw: rgb(255 255 255 / 20%);
11
+ $hcx: $theme_color_jqv;
12
+ $hev: #bbb;
13
+ $hyn: rgb(255 255 255 / 50%);
14
+ $fxm: rgb(255 255 255 / 37.5%);
15
+ $nur: rgb(255 255 255 / 20.8%);
16
+ $yuv: rgb(255 255 255 / 60%);
17
+ $vqo: $theme_color_jqv;
18
+ $lpe: white;
19
+ $rbp: $black;
20
+ $mdc: #d9d9d9;
21
+ $yos: #16d3f5;
22
+ $nep: #90efff;
23
+ $htm: #ffa96c;
24
+ $qgp: #28dd57;
25
+ $hyv: #66ff8e;
26
+ $ycp: #0014ff;
27
+ $iub: #2e8cff;
28
+ $cop: #be1;
29
+ $yun: #14bf0a;
30
+ $ptn: #ae00ff;
31
+ $dwk: #d046e9;
32
+ $uzf: #ff8f1f;
33
+ $hap: #f17442;
34
+ $rqb: #e7121c;
35
+ $suc: #d0111a;
36
+ $dfp: #0cbea4;
37
+ $nqp: rgb(57 124 249 / 99%);
38
+ $hgb: rgb(255 77 85 / 99%);
39
+ $beu: rgb(255 255 255 / 75%);
@@ -1,14 +1,49 @@
1
- $htc: #2a3038;
2
- $gaq: #1d2329;
3
- $hev: #42505e;
4
- $lpe: white;
5
- $yos: #144581;
1
+ $theme_color_ynq: #2a3038;
2
+ $theme_color_ytb: #1d2329;
3
+ $theme_color_hbt: #42505e;
4
+ $theme_color_kdc: white;
5
+ $theme_color_ecm: #1b5a17;
6
+ $theme_color_uvr: #144581;
7
+ $theme_color_kxn: #308af9;
8
+ $theme_color_tjn: #09a700;
9
+ $theme_color_bvc: #b938c7;
10
+ $theme_color_wnc: #ce7209;
11
+ $theme_color_yhn: #bb141c;
12
+ $theme_color_gsl: rgb(174 35 43 / 99%);
13
+
14
+ $htc: $theme_color_ynq;
15
+ $tbn: $theme_color_ynq;
16
+ $gaq: $theme_color_ytb;
17
+ $gqb: $theme_color_ytb;
18
+ $hfb: $theme_color_ytb;
19
+ $gvb: $theme_color_ytb;
20
+ $npw: $theme_color_ytb;
21
+ $hcx: $theme_color_ytb;
22
+ $hev: $theme_color_hbt;
23
+ $hyn: $theme_color_hbt;
24
+ $fxm: $theme_color_hbt;
25
+ $nur: $theme_color_hbt;
26
+ $yuv: $theme_color_hbt;
27
+ $vqo: $theme_color_hbt;
28
+ $lpe: $theme_color_kdc;
29
+ $rbp: $theme_color_kdc;
30
+ $mdc: #b1b1b1;
31
+ $yos: $theme_color_uvr;
32
+ $nep: $theme_color_uvr;
6
33
  $htm: #8d4816;
7
- $qgp: #1b5a17;
8
- $ycp: #308af9;
9
- $cop: #09a700;
10
- $ptn: #b938c7;
11
- $uzf: #ce7209;
12
- $rqb: #bb141c;
34
+ $qgp: $theme_color_ecm;
35
+ $hyv: $theme_color_ecm;
36
+ $ycp: $theme_color_kxn;
37
+ $iub: $theme_color_kxn;
38
+ $cop: $theme_color_tjn;
39
+ $yun: $theme_color_tjn;
40
+ $ptn: $theme_color_bvc;
41
+ $dwk: $theme_color_bvc;
42
+ $uzf: $theme_color_wnc;
43
+ $hap: $theme_color_wnc;
44
+ $rqb: $theme_color_yhn;
45
+ $suc: $theme_color_yhn;
13
46
  $dfp: #29394d;
14
- $nqp: rgb(174 35 43 / 99%);
47
+ $nqp: $theme_color_gsl;
48
+ $hgb: $theme_color_gsl;
49
+ $beu: rgb(0 0 0 / 90%);