@evotor-dev/ui-kit 7.0.3 → 7.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 (127) hide show
  1. package/README.md +114 -121
  2. package/esm2020/icons/category/index.mjs +4 -4
  3. package/esm2020/icons/navigation/index.mjs +3 -3
  4. package/esm2020/icons/system/index.mjs +9 -5
  5. package/esm2020/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +2 -2
  6. package/esm2020/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +2 -2
  7. package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +2 -2
  8. package/esm2020/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +2 -2
  9. package/esm2020/lib/components/evo-autocomplete/helpers/switch-query-to-list.mjs +1 -1
  10. package/esm2020/lib/components/evo-badge/evo-badge.component.mjs +2 -2
  11. package/esm2020/lib/components/evo-banner/evo-banner.component.mjs +8 -11
  12. package/esm2020/lib/components/evo-banner/evo-banner.module.mjs +7 -11
  13. package/esm2020/lib/components/evo-button/components/evo-button/evo-button.component.mjs +86 -0
  14. package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +91 -0
  15. package/esm2020/lib/components/evo-button/constants/evo-button-themes-map.mjs +31 -0
  16. package/esm2020/lib/components/evo-button/evo-button.module.mjs +9 -14
  17. package/esm2020/lib/components/evo-button/public-api.mjs +4 -2
  18. package/esm2020/lib/components/evo-button/types/evo-button-color.mjs +2 -0
  19. package/esm2020/lib/components/evo-button/types/evo-button-shape.mjs +2 -0
  20. package/esm2020/lib/components/evo-button/types/evo-button-size.mjs +2 -0
  21. package/esm2020/lib/components/evo-button/types/evo-button-theme-params.mjs +2 -0
  22. package/esm2020/lib/components/evo-button/types/evo-button-theme.mjs +2 -0
  23. package/esm2020/lib/components/evo-button/types/index.mjs +6 -0
  24. package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +11 -7
  25. package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +2 -2
  26. package/esm2020/lib/components/evo-control-error/evo-control-error.component.mjs +2 -2
  27. package/esm2020/lib/components/evo-control-label/evo-control-label.component.mjs +2 -2
  28. package/esm2020/lib/components/evo-counter/evo-counter.component.mjs +2 -2
  29. package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +2 -2
  30. package/esm2020/lib/components/evo-icon/evo-icon.component.mjs +15 -11
  31. package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +6 -3
  32. package/esm2020/lib/components/evo-input/evo-input.component.mjs +5 -4
  33. package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +2 -2
  34. package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +3 -3
  35. package/esm2020/lib/components/evo-loader/evo-loader.component.mjs +4 -1
  36. package/esm2020/lib/components/evo-modal/evo-modal.component.mjs +17 -8
  37. package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +12 -0
  38. package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +45 -0
  39. package/esm2020/lib/components/evo-navigation-button/index.mjs +2 -0
  40. package/esm2020/lib/components/evo-navigation-button/public-api.mjs +3 -0
  41. package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +2 -2
  42. package/esm2020/lib/components/evo-popover/evo-popover.component.mjs +3 -3
  43. package/esm2020/lib/components/evo-radio/evo-radio.component.mjs +2 -2
  44. package/esm2020/lib/components/evo-radio-group/evo-radio-group.component.mjs +2 -2
  45. package/esm2020/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +2 -2
  46. package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +6 -5
  47. package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +6 -3
  48. package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +9 -24
  49. package/esm2020/lib/components/evo-select/evo-select.component.mjs +3 -3
  50. package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +2 -2
  51. package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +2 -2
  52. package/esm2020/lib/components/evo-sidebar/evo-sidebar.component.mjs +1 -1
  53. package/esm2020/lib/components/evo-submenu/evo-submenu.component.mjs +19 -14
  54. package/esm2020/lib/components/evo-submenu/evo-submenu.module.mjs +8 -18
  55. package/esm2020/lib/components/evo-switcher/evo-switcher.component.mjs +2 -2
  56. package/esm2020/lib/components/evo-tabs/evo-tabs.component.mjs +2 -2
  57. package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +2 -2
  58. package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +2 -2
  59. package/esm2020/lib/components/evo-upload/evo-upload.component.mjs +4 -4
  60. package/esm2020/lib/directives/evo-let/evo-let.directive.mjs +1 -1
  61. package/esm2020/public_api.mjs +2 -1
  62. package/fesm2015/evotor-dev-ui-kit-icons-category.mjs +3 -3
  63. package/fesm2015/evotor-dev-ui-kit-icons-category.mjs.map +1 -1
  64. package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs +2 -2
  65. package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
  66. package/fesm2015/evotor-dev-ui-kit-icons-system.mjs +9 -5
  67. package/fesm2015/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
  68. package/fesm2015/evotor-dev-ui-kit-icons.mjs +13 -9
  69. package/fesm2015/evotor-dev-ui-kit-icons.mjs.map +1 -1
  70. package/fesm2015/evotor-dev-ui-kit.mjs +393 -231
  71. package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
  72. package/fesm2020/evotor-dev-ui-kit-icons-category.mjs +3 -3
  73. package/fesm2020/evotor-dev-ui-kit-icons-category.mjs.map +1 -1
  74. package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs +2 -2
  75. package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
  76. package/fesm2020/evotor-dev-ui-kit-icons-system.mjs +9 -5
  77. package/fesm2020/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
  78. package/fesm2020/evotor-dev-ui-kit-icons.mjs +13 -9
  79. package/fesm2020/evotor-dev-ui-kit-icons.mjs.map +1 -1
  80. package/fesm2020/evotor-dev-ui-kit.mjs +392 -231
  81. package/fesm2020/evotor-dev-ui-kit.mjs.map +1 -1
  82. package/icons/category/index.d.ts +3 -3
  83. package/icons/index.d.ts +11 -9
  84. package/icons/navigation/index.d.ts +2 -2
  85. package/icons/system/index.d.ts +8 -4
  86. package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +24 -0
  87. package/lib/components/evo-button/{evo-button.component.d.ts → components/evo-button-old/evo-button-old.component.d.ts} +9 -3
  88. package/lib/components/evo-button/constants/evo-button-themes-map.d.ts +2 -0
  89. package/lib/components/evo-button/evo-button.module.d.ts +6 -4
  90. package/lib/components/evo-button/public-api.d.ts +3 -1
  91. package/lib/components/evo-button/types/evo-button-color.d.ts +5 -0
  92. package/lib/components/evo-button/types/evo-button-shape.d.ts +4 -0
  93. package/lib/components/evo-button/types/evo-button-size.d.ts +5 -0
  94. package/lib/components/evo-button/types/evo-button-theme-params.d.ts +5 -0
  95. package/lib/components/evo-button/types/evo-button-theme.d.ts +1 -0
  96. package/lib/components/evo-button/types/index.d.ts +5 -0
  97. package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +4 -1
  98. package/lib/components/evo-icon/evo-icon.component.d.ts +7 -7
  99. package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +3 -0
  100. package/lib/components/evo-modal/evo-modal.component.d.ts +10 -6
  101. package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +5 -0
  102. package/lib/components/evo-navigation-button/evo-navigation-button.module.d.ts +9 -0
  103. package/lib/components/evo-navigation-button/index.d.ts +1 -0
  104. package/lib/components/evo-navigation-button/public-api.d.ts +2 -0
  105. package/package.json +6 -1
  106. package/public_api.d.ts +1 -0
  107. package/styles/components/evo-button.scss +233 -233
  108. package/styles/components/evo-chip.scss +167 -169
  109. package/styles/components/evo-table.scss +42 -42
  110. package/styles/components/evo-title.scss +23 -23
  111. package/styles/globals.scss +78 -67
  112. package/styles/main.scss +24 -19
  113. package/styles/mixins/_evo-input-mixins.scss +74 -0
  114. package/styles/mixins/_evo-text-button-mixin.scss +24 -0
  115. package/styles/mixins/_evo-text-caption-mixin.scss +26 -0
  116. package/styles/mixins/_evo-text-field-mixin.scss +36 -0
  117. package/styles/mixins/_evo-text-header-mixin.scss +62 -0
  118. package/styles/mixins/_evo-text-mobile-header-mixin.scss +34 -0
  119. package/styles/mixins/_evo-text-paragraph-mixin.scss +34 -0
  120. package/styles/mixins/_evo-text-subtitle-mixin.scss +20 -0
  121. package/styles/mixins/_evo-text-tips-mixin.scss +9 -0
  122. package/styles/mixins/_media-mixins.scss +38 -0
  123. package/styles/mixins.scss +96 -210
  124. package/styles/partials/_fonts.scss +2 -0
  125. package/styles/partials/_typography.scss +135 -0
  126. package/styles/variables.scss +140 -137
  127. package/esm2020/lib/components/evo-button/evo-button.component.mjs +0 -82
@@ -1,169 +1,167 @@
1
- @use "sass:math";
2
- @import '../mixins.scss';
3
-
4
- .chip {
5
- $height: 32px;
6
- $parent-selector: &;
7
- position: relative;
8
- display: inline-flex;
9
- max-width: 100%;
10
-
11
- &__label {
12
- display: flex;
13
- align-items: center;
14
-
15
- max-width: inherit;
16
- height: $height;
17
- margin: 0;
18
- padding: 3px 12px;
19
- overflow: hidden;
20
- color: $color-link;
21
-
22
- font-weight: 600;
23
- font-size: 14px;
24
- line-height: 22px;
25
-
26
- background-color: $color-background-grey;
27
-
28
- border-radius: math.div($height, 2);
29
-
30
- cursor: pointer;
31
- transition: color 0.3s, background-color 0.3s;
32
-
33
- user-select: none;
34
- }
35
-
36
- input {
37
- position: absolute;
38
- width: 1px;
39
- height: 1px;
40
- overflow: hidden;
41
- clip: rect(0, 0, 0, 0);
42
- }
43
-
44
- input:disabled + #{$parent-selector}__label,
45
- #{$parent-selector}__label_disabled {
46
- color: $color-white !important;
47
- background-color: $color-disabled !important;
48
- }
49
-
50
- input:checked + #{$parent-selector}__label {
51
- color: $color-white;
52
- background-color: $color-link;
53
-
54
- &:focus,
55
- &:hover {
56
- background-color: $color-link-hover;
57
- }
58
-
59
- &:active {
60
- background-color: $color-link-active;
61
- }
62
- }
63
-
64
- input:not(:checked) + #{$parent-selector}__label {
65
- color: $color-link;
66
- }
67
-
68
- &_theme-white:not(&_type-label) {
69
- input:not(:checked) {
70
- & + #{$parent-selector}__label {
71
- background-color: $color-white;
72
- }
73
-
74
- &:focus + #{$parent-selector}__label,
75
- &:hover + #{$parent-selector}__label {
76
- background-color: $color-white-hover;
77
- }
78
-
79
- &:active + #{$parent-selector}__label {
80
- background-color: $color-grey-active;
81
- }
82
- }
83
- }
84
-
85
- &_theme-grey:not(&_type-label) {
86
- input:not(:checked) {
87
- & + #{$parent-selector}__label {
88
- background-color: $color-grey;
89
- }
90
-
91
- &:focus + #{$parent-selector}__label,
92
- &:hover + #{$parent-selector}__label {
93
- background-color: $color-grey-hover;
94
- }
95
-
96
- &:active + #{$parent-selector}__label {
97
- background-color: $color-grey-active;
98
- }
99
- }
100
- }
101
-
102
- &_type-label {
103
- #{$parent-selector}__label {
104
- color: $color-white;
105
- background-color: $color-link;
106
- cursor: default;
107
- }
108
- }
109
-
110
- &__text {
111
- display: inline-block;
112
- align-items: center;
113
- max-width: 100%;
114
- overflow: hidden;
115
- white-space: nowrap;
116
- text-overflow: ellipsis;
117
- }
118
-
119
- &__counter {
120
- display: flex;
121
- justify-content: center;
122
- align-items: center;
123
- min-width: 18px;
124
- min-height: 18px;
125
- margin-right: -5px;
126
- margin-left: 8px;
127
- overflow: hidden;
128
- color: $color-white;
129
- font-weight: bold;
130
- font-size: 12px;
131
- background-color: $color-primary;
132
- border-radius: 9px;
133
- }
134
-
135
- &__counter-value {
136
- margin: 0 3px;
137
- line-height: 16px;
138
- }
139
-
140
- &__close {
141
- position: relative;
142
- display: block;
143
- width: 24px;
144
- height: 24px;
145
- margin: 0 -9px 0 8px;
146
- padding: 0;
147
- color: $color-white;
148
- background: none;
149
- border: none;
150
- cursor: pointer;
151
- transition: opacity 0.3s;
152
-
153
- &:not(:disabled):hover {
154
- opacity: 0.8;
155
- }
156
-
157
- &:not(:disabled):active {
158
- opacity: 0.9;
159
- }
160
-
161
- evo-icon {
162
- z-index: 1;
163
- display: block;
164
- width: 100%;
165
- height: 100%;
166
- fill: currentColor;
167
- }
168
- }
169
- }
1
+ @use "sass:math";
2
+ @import '../mixins.scss';
3
+
4
+ .chip {
5
+ $height: 32px;
6
+ $parent-selector: &;
7
+ position: relative;
8
+ display: inline-flex;
9
+ max-width: 100%;
10
+
11
+ &__label {
12
+ display: flex;
13
+ align-items: center;
14
+
15
+ max-width: inherit;
16
+ height: $height;
17
+ margin: 0;
18
+ padding: 3px 12px;
19
+ overflow: hidden;
20
+ color: $color-link;
21
+
22
+ @include evo-text-paragraph(p4);
23
+
24
+ background-color: $color-background-grey;
25
+
26
+ border-radius: math.div($height, 2);
27
+
28
+ cursor: pointer;
29
+ transition: color 0.3s, background-color 0.3s;
30
+
31
+ user-select: none;
32
+ }
33
+
34
+ input {
35
+ position: absolute;
36
+ width: 1px;
37
+ height: 1px;
38
+ overflow: hidden;
39
+ clip: rect(0, 0, 0, 0);
40
+ }
41
+
42
+ input:disabled + #{$parent-selector}__label,
43
+ #{$parent-selector}__label_disabled {
44
+ color: $color-white !important;
45
+ background-color: $color-disabled !important;
46
+ }
47
+
48
+ input:checked + #{$parent-selector}__label {
49
+ color: $color-white;
50
+ background-color: $color-link;
51
+
52
+ &:focus,
53
+ &:hover {
54
+ background-color: $color-link-hover;
55
+ }
56
+
57
+ &:active {
58
+ background-color: $color-link-active;
59
+ }
60
+ }
61
+
62
+ input:not(:checked) + #{$parent-selector}__label {
63
+ color: $color-link;
64
+ }
65
+
66
+ &_theme-white:not(&_type-label) {
67
+ input:not(:checked) {
68
+ & + #{$parent-selector}__label {
69
+ background-color: $color-white;
70
+ }
71
+
72
+ &:focus + #{$parent-selector}__label,
73
+ &:hover + #{$parent-selector}__label {
74
+ background-color: $color-white-hover;
75
+ }
76
+
77
+ &:active + #{$parent-selector}__label {
78
+ background-color: $color-grey-active;
79
+ }
80
+ }
81
+ }
82
+
83
+ &_theme-grey:not(&_type-label) {
84
+ input:not(:checked) {
85
+ & + #{$parent-selector}__label {
86
+ background-color: $color-background-grey;
87
+ }
88
+
89
+ &:focus + #{$parent-selector}__label,
90
+ &:hover + #{$parent-selector}__label {
91
+ background-color: $color-grey-hover;
92
+ }
93
+
94
+ &:active + #{$parent-selector}__label {
95
+ background-color: $color-grey-active;
96
+ }
97
+ }
98
+ }
99
+
100
+ &_type-label {
101
+ #{$parent-selector}__label {
102
+ color: $color-white;
103
+ background-color: $color-link;
104
+ cursor: default;
105
+ }
106
+ }
107
+
108
+ &__text {
109
+ display: inline-block;
110
+ align-items: center;
111
+ max-width: 100%;
112
+ overflow: hidden;
113
+ white-space: nowrap;
114
+ text-overflow: ellipsis;
115
+ }
116
+
117
+ &__counter {
118
+ display: flex;
119
+ justify-content: center;
120
+ align-items: center;
121
+ min-width: 18px;
122
+ min-height: 18px;
123
+ margin-right: -5px;
124
+ margin-left: 8px;
125
+ overflow: hidden;
126
+ color: $color-white;
127
+ font-weight: bold;
128
+ font-size: 12px;
129
+ background-color: $color-primary;
130
+ border-radius: 9px;
131
+ }
132
+
133
+ &__counter-value {
134
+ margin: 0 3px;
135
+ line-height: 16px;
136
+ }
137
+
138
+ &__close {
139
+ position: relative;
140
+ display: block;
141
+ width: 24px;
142
+ height: 24px;
143
+ margin: 0 -9px 0 8px;
144
+ padding: 0;
145
+ color: $color-white;
146
+ background: none;
147
+ border: none;
148
+ cursor: pointer;
149
+ transition: opacity 0.3s;
150
+
151
+ &:not(:disabled):hover {
152
+ opacity: 0.8;
153
+ }
154
+
155
+ &:not(:disabled):active {
156
+ opacity: 0.9;
157
+ }
158
+
159
+ evo-icon {
160
+ z-index: 1;
161
+ display: block;
162
+ width: 100%;
163
+ height: 100%;
164
+ fill: currentColor;
165
+ }
166
+ }
167
+ }
@@ -1,42 +1,42 @@
1
- @import "../mixins";
2
-
3
- @mixin table {
4
- display: table;
5
- width: 100%;
6
- }
7
-
8
- @mixin table-row {
9
- display: table-row;
10
- padding: 16px;
11
-
12
- &:nth-child(2n) {
13
- background-color: $color-background-grey;
14
- }
15
-
16
-
17
- &:hover {
18
- background-color: $color-highlight;
19
- }
20
-
21
- &_head {
22
- &:hover {
23
- background: none;
24
- }
25
- }
26
- }
27
-
28
- @mixin table-cell {
29
- display: table-cell;
30
- height: 52px;
31
- padding: 11px 16px;
32
- vertical-align: middle;
33
-
34
- &_head {
35
- height: auto;
36
- padding-top: 0;
37
- padding-bottom: 16px;
38
- font-weight: 600;
39
- white-space: nowrap;
40
- border-top: none;
41
- }
42
- }
1
+ @import '../mixins';
2
+
3
+ @mixin table {
4
+ display: table;
5
+ width: 100%;
6
+ }
7
+
8
+ @mixin table-row($hover: true) {
9
+ display: table-row;
10
+ padding: 16px;
11
+
12
+ &:nth-child(2n) {
13
+ background-color: $color-background-grey;
14
+ }
15
+
16
+ @if $hover == true {
17
+ &:hover {
18
+ background-color: $color-highlight;
19
+ }
20
+ &_head {
21
+ &:hover {
22
+ background: none;
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ @mixin table-cell {
29
+ display: table-cell;
30
+ height: 52px;
31
+ padding: 11px 16px;
32
+ vertical-align: middle;
33
+
34
+ &_head {
35
+ height: auto;
36
+ padding-top: 0;
37
+ padding-bottom: 16px;
38
+ font-weight: 600;
39
+ white-space: nowrap;
40
+ border-top: none;
41
+ }
42
+ }
@@ -1,23 +1,23 @@
1
- @import "../mixins";
2
-
3
- .evo-title {
4
- color: $color-text;
5
- font-weight: 700;
6
- font-family: $font-secondary;
7
-
8
- &_h1 {
9
- @include h1;
10
- }
11
-
12
- &_h2 {
13
- @include h2;
14
- }
15
-
16
- &_h3 {
17
- @include h3;
18
- }
19
-
20
- &_h4 {
21
- @include h4;
22
- }
23
- }
1
+ @import "../mixins";
2
+
3
+ .evo-title {
4
+ color: $color-text;
5
+ font-weight: 700;
6
+ font-family: var(--evo-font-secondary);
7
+
8
+ &_h1 {
9
+ @include h1;
10
+ }
11
+
12
+ &_h2 {
13
+ @include h2;
14
+ }
15
+
16
+ &_h3 {
17
+ @include h3;
18
+ }
19
+
20
+ &_h4 {
21
+ @include h4;
22
+ }
23
+ }
@@ -1,67 +1,78 @@
1
- * {
2
- box-sizing: border-box;
3
- }
4
-
5
- body {
6
- min-width: 320px;
7
- overflow-x: hidden;
8
- color: $color-text;
9
- font-weight: 400;
10
- font-size: 14px;
11
- font-family: $font;
12
- line-height: 1.4;
13
- background-color: $color-white;
14
- -moz-osx-font-smoothing: grayscale;
15
- -webkit-font-smoothing: antialiased;
16
- }
17
-
18
- input, button, select, textarea {
19
- font-size: inherit;
20
- font-family: inherit;
21
- line-height: inherit
22
- }
23
-
24
- a, button {
25
- outline: none !important;
26
- }
27
-
28
- a {
29
- color: $color-link;
30
- cursor: pointer !important;
31
- transition: color .3s;
32
-
33
- &, &:hover, &:focus {
34
- text-decoration: none;
35
- }
36
- }
37
-
38
- .mobile-show {
39
- @media (min-width: #{$media-tablet}) {
40
- display: none !important;
41
- }
42
- }
43
-
44
- .mobile-hide {
45
- @media (max-width: #{$media-tablet - 1px}) {
46
- display: none !important;
47
- }
48
- }
49
-
50
- .main-container {
51
- box-sizing: content-box;
52
- min-height: 70vh;
53
- padding: 20px 15px 60px;
54
-
55
- @include media-tablet {
56
- padding: 40px 15px 50px;
57
- }
58
-
59
- @include media-desktop-s {
60
- padding: 40px 15px 100px;
61
- }
62
-
63
- @include media-desktop-m {
64
- max-width: 1600px;
65
- padding: 40px 40px 100px;
66
- }
67
- }
1
+ @import 'variables';
2
+
3
+ * {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ --evo-font: #{$font};
9
+ --evo-font-secondary: #{$font-secondary};
10
+
11
+ min-width: 320px;
12
+ overflow-x: hidden;
13
+ color: $color-text;
14
+ font-weight: 400;
15
+ font-size: 14px;
16
+ font-family: var(--evo-font);
17
+ line-height: 1.4;
18
+ background-color: $color-white;
19
+ -moz-osx-font-smoothing: grayscale;
20
+ -webkit-font-smoothing: antialiased;
21
+ }
22
+
23
+ input,
24
+ button,
25
+ select,
26
+ textarea {
27
+ font-size: inherit;
28
+ font-family: inherit;
29
+ line-height: inherit;
30
+ }
31
+
32
+ a,
33
+ button {
34
+ outline: none !important;
35
+ }
36
+
37
+ a {
38
+ color: $color-link;
39
+ cursor: pointer !important;
40
+ transition: color 0.3s;
41
+
42
+ &,
43
+ &:hover,
44
+ &:focus {
45
+ text-decoration: none;
46
+ }
47
+ }
48
+
49
+ .mobile-show {
50
+ @media (min-width: #{$media-tablet}) {
51
+ display: none !important;
52
+ }
53
+ }
54
+
55
+ .mobile-hide {
56
+ @media (max-width: #{$media-tablet - 1px}) {
57
+ display: none !important;
58
+ }
59
+ }
60
+
61
+ .main-container {
62
+ box-sizing: content-box;
63
+ min-height: 70vh;
64
+ padding: 20px 15px 60px;
65
+
66
+ @include media-tablet {
67
+ padding: 40px 15px 50px;
68
+ }
69
+
70
+ @include media-desktop-s {
71
+ padding: 40px 15px 100px;
72
+ }
73
+
74
+ @include media-desktop-m {
75
+ max-width: 1600px;
76
+ padding: 40px 40px 100px;
77
+ }
78
+ }
package/styles/main.scss CHANGED
@@ -1,19 +1,24 @@
1
- @import 'reset.scss';
2
- @import 'icons.scss';
3
- @import 'variables.scss';
4
- @import 'mixins.scss';
5
- @import 'globals.scss';
6
- /*components*/
7
- @import './components/evo-grid.scss';
8
- @import './components/evo-alert.scss';
9
- @import './components/evo-button-loader.scss';
10
- @import './components/evo-button-wrapper.scss';
11
- @import './components/evo-card.scss';
12
- @import './components/evo-link.scss';
13
- @import './components/evo-list.scss';
14
- @import './components/evo-title.scss';
15
- @import './components/evo-icon.scss';
16
- @import './components/evo-table.scss';
17
- @import './components/evo-form.scss';
18
- @import './components/evo-dropdown.scss';
19
- @import './components/skeleton.scss';
1
+ @import 'reset.scss';
2
+ @import 'icons.scss';
3
+ @import 'variables.scss';
4
+ @import 'mixins.scss';
5
+ @import 'globals.scss';
6
+
7
+ /* partials*/
8
+ @import './partials/fonts';
9
+ @import './partials/typography';
10
+
11
+ /* components*/
12
+ @import './components/evo-grid.scss';
13
+ @import './components/evo-alert.scss';
14
+ @import './components/evo-button-loader.scss';
15
+ @import './components/evo-button-wrapper.scss';
16
+ @import './components/evo-card.scss';
17
+ @import './components/evo-link.scss';
18
+ @import './components/evo-list.scss';
19
+ @import './components/evo-title.scss';
20
+ @import './components/evo-icon.scss';
21
+ @import './components/evo-table.scss';
22
+ @import './components/evo-form.scss';
23
+ @import './components/evo-dropdown.scss';
24
+ @import './components/skeleton.scss';