@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.
Files changed (118) hide show
  1. package/_locales/en/messages.json +7 -1
  2. package/_locales/ru/messages.json +6 -0
  3. package/announcement.js +1 -1
  4. package/app.js +1 -1
  5. package/chunk-main-42bcd395.js +1 -0
  6. package/chunk-main-83638fdc.js +9 -0
  7. package/{chunk-main-4661c4ad.js → chunk-main-adf43da6.js} +1 -1
  8. package/{chunk-pickr.min-e4e11a57.js → chunk-pickr.min-ebbd43c5.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 +12 -3
  15. package/js/webpack.config.js +5 -0
  16. package/package.json +13 -13
  17. package/scss/settings/section_btns.scss +52 -52
  18. package/scss/settings/transitions.scss +0 -10
  19. package/scss/shared/btns.scss +69 -16
  20. package/scss/shared/checkboxes.scss +38 -38
  21. package/scss/shared/close_btn.scss +18 -0
  22. package/scss/shared/color_pickers.scss +93 -93
  23. package/scss/shared/colors.scss +90 -84
  24. package/scss/shared/embed/error.scss +7 -23
  25. package/scss/shared/focus.scss +15 -9
  26. package/scss/shared/functions.scss +5 -0
  27. package/scss/shared/help.scss +3 -5
  28. package/scss/shared/index.scss +4 -0
  29. package/scss/shared/input_btns.scss +12 -11
  30. package/scss/shared/input_error.scss +3 -0
  31. package/scss/shared/inputs.scss +86 -70
  32. package/scss/shared/inset_border.scss +0 -4
  33. package/scss/shared/link_btns.scss +2 -0
  34. package/scss/shared/links.scss +8 -0
  35. package/scss/shared/main.scss +3 -0
  36. package/scss/shared/mixins.scss +45 -0
  37. package/scss/shared/mods.scss +4 -0
  38. package/scss/shared/scrollbar.scss +35 -35
  39. package/scss/shared/themes/colors/aqua.scss +38 -0
  40. package/scss/shared/themes/colors/dark.scss +46 -12
  41. package/scss/shared/themes/colors/lavender.scss +38 -0
  42. package/scss/shared/themes/colors/light.scss +46 -12
  43. package/scss/shared/themes/colors/very_dark.scss +46 -12
  44. package/scss/shared/themes/general/aqua_theme.scss +9 -0
  45. package/scss/shared/themes/general/dark_theme.scss +3 -1
  46. package/scss/shared/themes/general/lavender_theme.scss +9 -0
  47. package/scss/shared/themes/general/light_theme.scss +3 -1
  48. package/scss/shared/themes/general/template.scss +105 -71
  49. package/scss/shared/themes/general/template_focus.scss +20 -8
  50. package/scss/shared/themes/general/very_dark_theme.scss +3 -1
  51. package/scss/shared/transitions.scss +21 -3
  52. package/scss/shared/upload_box.scss +81 -67
  53. package/scss/shared/vars.scss +9 -2
  54. package/settings.d.ts +1 -1
  55. package/settings.js +1 -1
  56. package/ts/error_modules/error/data/main.d.ts +1 -1
  57. package/ts/error_modules/error/data/msg.d.ts +0 -2
  58. package/ts/error_modules/error/data/state.d.ts +1 -2
  59. package/ts/error_modules/error/interfaces/index.d.ts +1 -0
  60. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -0
  61. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  62. package/ts/error_modules/error/interfaces/show_error.d.ts +5 -2
  63. package/ts/error_modules/error/scripts/flash.d.ts +11 -0
  64. package/ts/error_modules/error/scripts/globals.d.ts +2 -0
  65. package/ts/error_modules/error/scripts/index.d.ts +2 -0
  66. package/ts/error_modules/error/scripts/notification.d.ts +7 -0
  67. package/ts/error_modules/internal.d.ts +1 -0
  68. package/ts/inputs/components/form.d.ts +3 -0
  69. package/ts/inputs/components/index.d.ts +4 -0
  70. package/ts/inputs/components/input_error.d.ts +3 -0
  71. package/ts/inputs/components/label_in_input_item.d.ts +3 -0
  72. package/ts/inputs/components/link_icon_btn.d.ts +3 -0
  73. package/ts/inputs/components/prop_types/form.d.ts +5 -0
  74. package/ts/inputs/components/prop_types/index.d.ts +4 -0
  75. package/ts/inputs/components/prop_types/input_error.d.ts +4 -0
  76. package/ts/inputs/components/prop_types/label.d.ts +2 -2
  77. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -0
  78. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -0
  79. package/ts/inputs/components/prop_types/range.d.ts +2 -0
  80. package/ts/inputs/components/prop_types/select.d.ts +2 -0
  81. package/ts/inputs/components/prop_types/text.d.ts +2 -0
  82. package/ts/inputs/components/prop_types/textarea.d.ts +2 -0
  83. package/ts/inputs/components/prop_types/upload_box.d.ts +1 -0
  84. package/ts/inputs/data/index.d.ts +2 -1
  85. package/ts/inputs/data/input_error.d.ts +12 -0
  86. package/ts/inputs/data/input_width.d.ts +5 -1
  87. package/ts/inputs/data/{label.d.ts → labelIn_in_putI_iem.d.ts} +2 -2
  88. package/ts/inputs/data/upload_box.d.ts +4 -0
  89. package/ts/inputs/data/val.d.ts +10 -5
  90. package/ts/inputs/interfaces/btn_option.d.ts +9 -0
  91. package/ts/inputs/interfaces/index.d.ts +1 -0
  92. package/ts/inputs/interfaces/input.d.ts +1 -1
  93. package/ts/inputs/obj/btn.d.ts +1 -0
  94. package/ts/inputs/obj/file.d.ts +1 -0
  95. package/ts/inputs/obj/form.d.ts +7 -0
  96. package/ts/inputs/obj/icon_btn.d.ts +2 -1
  97. package/ts/inputs/obj/index.d.ts +2 -0
  98. package/ts/inputs/obj/input_base.d.ts +10 -3
  99. package/ts/inputs/obj/label.d.ts +5 -0
  100. package/ts/inputs/obj/link.d.ts +4 -0
  101. package/ts/inputs/obj/link_btn.d.ts +2 -1
  102. package/ts/inputs/obj/section.d.ts +2 -0
  103. package/ts/inputs/obj/text.d.ts +2 -1
  104. package/ts/inputs/obj/upload_box.d.ts +4 -0
  105. package/ts/inputs/scripts/resolve.d.ts +3 -1
  106. package/ts/settings/data/back_up.d.ts +2 -1
  107. package/ts/settings/data/sections.d.ts +4 -1
  108. package/ts/settings/internal.d.ts +0 -2
  109. package/ts/shared/app.d.ts +10 -3
  110. package/ts/shared/internal.d.ts +2 -0
  111. package/ts/{settings → shared}/schema/data/index.d.ts +0 -0
  112. package/ts/{settings → shared}/schema/data/main.d.ts +3 -2
  113. package/ts/{settings → shared}/schema/obj/index.d.ts +0 -0
  114. package/ts/{settings → shared}/schema/obj/transform_item.d.ts +0 -0
  115. package/ts/shared/t.d.ts +2 -0
  116. package/ts/shared/x.d.ts +5 -0
  117. package/chunk-main-536b8e4c.js +0 -9
  118. 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
+ }
@@ -0,0 +1,18 @@
1
+ .close_btn {
2
+ @include btn();
3
+
4
+ position: absolute;
5
+ top: $ext_name_offset;
6
+ right: $ext_name_offset;
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: 2;
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
+ }
@@ -1,84 +1,90 @@
1
- .input_item {
2
- &.color .label {
3
- align-self: normal;
4
- }
5
-
6
- .inner_w {
7
- position: absolute;
8
- height: $color_input_height;
9
- align-self: center;
10
- order: -1;
11
- }
12
-
13
- .visualization_w {
14
- display: flex;
15
- align-items: center;
16
- }
17
-
18
- .visualization {
19
- @include border;
20
-
21
- outline: none;
22
- margin-right: $input_content_gap;
23
- min-width: $color_input_height;
24
- height: $color_input_height;
25
- cursor: pointer;
26
- border-radius: 0;
27
- }
28
-
29
- .palette_visualization_w {
30
- display: inline-flex;
31
- padding: 0;
32
- margin-right: $gap;
33
- margin-bottom: $gap;
34
- cursor: pointer;
35
-
36
- &:nth-child(10),
37
- &:nth-child(20),
38
- &:nth-child(30) {
39
- margin-right: 0;
40
- }
41
-
42
- &:nth-child(n + 21) {
43
- margin-bottom: 0;
44
- }
45
- }
46
-
47
- .palette_visualization {
48
- @include border;
49
-
50
- outline: none;
51
- width: $color_input_height;
52
- height: $color_input_height;
53
- cursor: pointer;
54
- border-radius: 0;
55
- }
56
-
57
- .fill_shadow_w {
58
- position: absolute;
59
- top: $input_content_gap + $input_content_gap;
60
- left: 0;
61
- }
62
-
63
- .fill_shadow {
64
- position: fixed;
65
- display: block;
66
- visibility: hidden;
67
- }
68
-
69
- .palette_w {
70
- z-index: 2;
71
- position: absolute;
72
- top: $input_content_gap + $input_content_gap;
73
- left: 0;
74
- }
75
-
76
- .palette {
77
- @include box_shadow;
78
-
79
- position: fixed;
80
- padding: 10px;
81
- width: 410px;
82
- line-height: 0;
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: 40px;
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
- &.is_notification {
69
+ &.positive {
70
+ background-color: #40af49;
71
+ }
72
+
73
+ &.neutral {
90
74
  background-color: #4d94ea;
91
75
  }
92
76
 
@@ -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';
@@ -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
+ }