@evotor-dev/ui-kit 7.0.2 → 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.
- package/README.md +114 -121
- package/esm2020/icons/category/index.mjs +4 -4
- package/esm2020/icons/navigation/index.mjs +3 -3
- package/esm2020/icons/system/index.mjs +9 -5
- package/esm2020/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +2 -2
- package/esm2020/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +2 -2
- package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +2 -2
- package/esm2020/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +2 -2
- package/esm2020/lib/components/evo-autocomplete/helpers/switch-query-to-list.mjs +1 -1
- package/esm2020/lib/components/evo-badge/evo-badge.component.mjs +2 -2
- package/esm2020/lib/components/evo-banner/evo-banner.component.mjs +8 -11
- package/esm2020/lib/components/evo-banner/evo-banner.module.mjs +7 -11
- package/esm2020/lib/components/evo-button/components/evo-button/evo-button.component.mjs +86 -0
- package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +91 -0
- package/esm2020/lib/components/evo-button/constants/evo-button-themes-map.mjs +31 -0
- package/esm2020/lib/components/evo-button/evo-button.module.mjs +9 -14
- package/esm2020/lib/components/evo-button/public-api.mjs +4 -2
- package/esm2020/lib/components/evo-button/types/evo-button-color.mjs +2 -0
- package/esm2020/lib/components/evo-button/types/evo-button-shape.mjs +2 -0
- package/esm2020/lib/components/evo-button/types/evo-button-size.mjs +2 -0
- package/esm2020/lib/components/evo-button/types/evo-button-theme-params.mjs +2 -0
- package/esm2020/lib/components/evo-button/types/evo-button-theme.mjs +2 -0
- package/esm2020/lib/components/evo-button/types/index.mjs +6 -0
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +11 -7
- package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +2 -2
- package/esm2020/lib/components/evo-control-error/evo-control-error.component.mjs +2 -2
- package/esm2020/lib/components/evo-control-label/evo-control-label.component.mjs +2 -2
- package/esm2020/lib/components/evo-counter/evo-counter.component.mjs +2 -2
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +2 -2
- package/esm2020/lib/components/evo-icon/evo-icon.component.mjs +15 -11
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +6 -3
- package/esm2020/lib/components/evo-input/evo-input.component.mjs +5 -4
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +2 -2
- package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +3 -3
- package/esm2020/lib/components/evo-loader/evo-loader.component.mjs +4 -1
- package/esm2020/lib/components/evo-modal/evo-modal.component.mjs +17 -8
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +12 -0
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +45 -0
- package/esm2020/lib/components/evo-navigation-button/index.mjs +2 -0
- package/esm2020/lib/components/evo-navigation-button/public-api.mjs +3 -0
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +2 -2
- package/esm2020/lib/components/evo-popover/evo-popover.component.mjs +3 -3
- package/esm2020/lib/components/evo-radio/evo-radio.component.mjs +2 -2
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.component.mjs +2 -2
- package/esm2020/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +2 -2
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +6 -5
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +6 -3
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +9 -24
- package/esm2020/lib/components/evo-select/evo-select.component.mjs +3 -3
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +2 -2
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +2 -2
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.component.mjs +1 -1
- package/esm2020/lib/components/evo-submenu/evo-submenu.component.mjs +19 -14
- package/esm2020/lib/components/evo-submenu/evo-submenu.module.mjs +8 -18
- package/esm2020/lib/components/evo-switcher/evo-switcher.component.mjs +2 -2
- package/esm2020/lib/components/evo-tabs/evo-tabs.component.mjs +2 -2
- package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +2 -2
- package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +2 -2
- package/esm2020/lib/components/evo-upload/evo-upload.component.mjs +4 -4
- package/esm2020/lib/directives/evo-let/evo-let.directive.mjs +10 -1
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/evotor-dev-ui-kit-icons-category.mjs +3 -3
- package/fesm2015/evotor-dev-ui-kit-icons-category.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs +2 -2
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-system.mjs +9 -5
- package/fesm2015/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons.mjs +13 -9
- package/fesm2015/evotor-dev-ui-kit-icons.mjs.map +1 -1
- package/fesm2015/evotor-dev-ui-kit.mjs +402 -231
- package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons-category.mjs +3 -3
- package/fesm2020/evotor-dev-ui-kit-icons-category.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs +2 -2
- package/fesm2020/evotor-dev-ui-kit-icons-navigation.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons-system.mjs +9 -5
- package/fesm2020/evotor-dev-ui-kit-icons-system.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit-icons.mjs +13 -9
- package/fesm2020/evotor-dev-ui-kit-icons.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit.mjs +401 -231
- package/fesm2020/evotor-dev-ui-kit.mjs.map +1 -1
- package/icons/category/index.d.ts +3 -3
- package/icons/index.d.ts +11 -9
- package/icons/navigation/index.d.ts +2 -2
- package/icons/system/index.d.ts +8 -4
- package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +24 -0
- package/lib/components/evo-button/{evo-button.component.d.ts → components/evo-button-old/evo-button-old.component.d.ts} +9 -3
- package/lib/components/evo-button/constants/evo-button-themes-map.d.ts +2 -0
- package/lib/components/evo-button/evo-button.module.d.ts +6 -4
- package/lib/components/evo-button/public-api.d.ts +3 -1
- package/lib/components/evo-button/types/evo-button-color.d.ts +5 -0
- package/lib/components/evo-button/types/evo-button-shape.d.ts +4 -0
- package/lib/components/evo-button/types/evo-button-size.d.ts +5 -0
- package/lib/components/evo-button/types/evo-button-theme-params.d.ts +5 -0
- package/lib/components/evo-button/types/evo-button-theme.d.ts +1 -0
- package/lib/components/evo-button/types/index.d.ts +5 -0
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +4 -1
- package/lib/components/evo-icon/evo-icon.component.d.ts +7 -7
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +3 -0
- package/lib/components/evo-modal/evo-modal.component.d.ts +10 -6
- package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +5 -0
- package/lib/components/evo-navigation-button/evo-navigation-button.module.d.ts +9 -0
- package/lib/components/evo-navigation-button/index.d.ts +1 -0
- package/lib/components/evo-navigation-button/public-api.d.ts +2 -0
- package/lib/directives/evo-let/evo-let.directive.d.ts +16 -0
- package/package.json +6 -1
- package/public_api.d.ts +1 -0
- package/styles/components/evo-button.scss +233 -233
- package/styles/components/evo-chip.scss +167 -169
- package/styles/components/evo-table.scss +42 -42
- package/styles/components/evo-title.scss +23 -23
- package/styles/globals.scss +78 -67
- package/styles/main.scss +24 -19
- package/styles/mixins/_evo-input-mixins.scss +74 -0
- package/styles/mixins/_evo-text-button-mixin.scss +24 -0
- package/styles/mixins/_evo-text-caption-mixin.scss +26 -0
- package/styles/mixins/_evo-text-field-mixin.scss +36 -0
- package/styles/mixins/_evo-text-header-mixin.scss +62 -0
- package/styles/mixins/_evo-text-mobile-header-mixin.scss +34 -0
- package/styles/mixins/_evo-text-paragraph-mixin.scss +34 -0
- package/styles/mixins/_evo-text-subtitle-mixin.scss +20 -0
- package/styles/mixins/_evo-text-tips-mixin.scss +9 -0
- package/styles/mixins/_media-mixins.scss +38 -0
- package/styles/mixins.scss +96 -210
- package/styles/partials/_fonts.scss +2 -0
- package/styles/partials/_typography.scss +135 -0
- package/styles/variables.scss +140 -137
- package/esm2020/lib/components/evo-button/evo-button.component.mjs +0 -82
|
@@ -1,233 +1,233 @@
|
|
|
1
|
-
@import '../mixins';
|
|
2
|
-
@import '../keyframes';
|
|
3
|
-
|
|
4
|
-
$dot-size: 10px;
|
|
5
|
-
|
|
6
|
-
.evo-button {
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
min-width: 96px;
|
|
11
|
-
height: 40px;
|
|
12
|
-
padding: 0 24px;
|
|
13
|
-
color: $color-white;
|
|
14
|
-
font-weight: 500;
|
|
15
|
-
font-size: 16px;
|
|
16
|
-
font-family:
|
|
17
|
-
line-height: 1;
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
text-align: center;
|
|
20
|
-
text-transform: uppercase;
|
|
21
|
-
background: $color-primary none;
|
|
22
|
-
border: solid 1px transparent;
|
|
23
|
-
border-radius: 30px;
|
|
24
|
-
outline: none;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
transition: background-color .3s, color .3s, border .3s;
|
|
27
|
-
user-select: none;
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
color: $color-white;
|
|
31
|
-
background-color: $color-primary-hover;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:active,
|
|
35
|
-
&:focus {
|
|
36
|
-
color: $color-white;
|
|
37
|
-
background-color: $color-primary-active;
|
|
38
|
-
outline: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:disabled,
|
|
42
|
-
&_disabled {
|
|
43
|
-
color: $color-white !important;
|
|
44
|
-
background: rgba($color-black, .16) !important;
|
|
45
|
-
border-color: transparent !important;
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* COLORS */
|
|
50
|
-
&_lined {
|
|
51
|
-
color: $color-primary;
|
|
52
|
-
background-color: $color-white;
|
|
53
|
-
border: 1px solid $color-primary;
|
|
54
|
-
|
|
55
|
-
&:hover {
|
|
56
|
-
color: $color-white;
|
|
57
|
-
background-color: $color-primary;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:active,
|
|
61
|
-
&:focus {
|
|
62
|
-
color: $color-white;
|
|
63
|
-
background-color: $color-primary-active;
|
|
64
|
-
border-color: $color-primary-active;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&_darkblue {
|
|
69
|
-
background-color: #546E7A;
|
|
70
|
-
|
|
71
|
-
&:hover {
|
|
72
|
-
background-color: #7596A5;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:active,
|
|
76
|
-
&:focus {
|
|
77
|
-
background-color: #283239;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&_darkblue-lined {
|
|
82
|
-
color: $color-secondary-light;
|
|
83
|
-
background-color: $color-white;
|
|
84
|
-
border: 1px solid $color-secondary-light;
|
|
85
|
-
|
|
86
|
-
&:hover {
|
|
87
|
-
color: $color-white;
|
|
88
|
-
background-color: $color-secondary-light;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&:active,
|
|
92
|
-
&:focus {
|
|
93
|
-
color: $color-white;
|
|
94
|
-
background-color: #343031;
|
|
95
|
-
border-color: #343031;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&_green {
|
|
100
|
-
background-color: $color-success;
|
|
101
|
-
|
|
102
|
-
&:hover {
|
|
103
|
-
background-color: #4cd2a2;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&:active,
|
|
107
|
-
&:focus {
|
|
108
|
-
background-color: #1c9e6e;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&_green-lined {
|
|
113
|
-
color: $color-success;
|
|
114
|
-
background-color: $color-white;
|
|
115
|
-
border: 1px solid $color-success;
|
|
116
|
-
|
|
117
|
-
&:hover {
|
|
118
|
-
color: $color-white;
|
|
119
|
-
background-color: $color-success;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&:active,
|
|
123
|
-
&:focus {
|
|
124
|
-
color: $color-white;
|
|
125
|
-
background-color: #1c9e6e;
|
|
126
|
-
border-color: #1c9e6e;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&_red {
|
|
131
|
-
color: $color-white;
|
|
132
|
-
background-color: $color-error;
|
|
133
|
-
|
|
134
|
-
&:hover {
|
|
135
|
-
background-color: $color-error-hover;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&:active,
|
|
139
|
-
&:focus {
|
|
140
|
-
background-color: $color-error-active;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&_purple {
|
|
145
|
-
background-color: $color-bonus;
|
|
146
|
-
|
|
147
|
-
&:hover {
|
|
148
|
-
background-color: #d255be;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&:active,
|
|
152
|
-
&:focus {
|
|
153
|
-
background-color: #9f228b;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&_white {
|
|
158
|
-
background-color: transparent;
|
|
159
|
-
border: 1px solid $color-white;
|
|
160
|
-
|
|
161
|
-
&:hover {
|
|
162
|
-
color: $color-secondary-light;
|
|
163
|
-
background-color: $color-white;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&:active,
|
|
167
|
-
&:focus {
|
|
168
|
-
color: $color-white;
|
|
169
|
-
background-color: transparent;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/* COLORS */
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
&_small {
|
|
177
|
-
min-width: 72px;
|
|
178
|
-
height: 32px;
|
|
179
|
-
padding: 0 16px;
|
|
180
|
-
font-size: 14px;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&_large {
|
|
184
|
-
min-width: 120px;
|
|
185
|
-
height: 56px;
|
|
186
|
-
padding: 0 40px;
|
|
187
|
-
font-size: 18px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/* SIZES */
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
/*with icon*/
|
|
194
|
-
&_icon {
|
|
195
|
-
display: inline-flex;
|
|
196
|
-
align-items: center;
|
|
197
|
-
padding-right: 22px;
|
|
198
|
-
padding-left: 22px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
&_loading {
|
|
202
|
-
position: relative;
|
|
203
|
-
pointer-events: none;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&__dots {
|
|
207
|
-
position: absolute;
|
|
208
|
-
top: 50%;
|
|
209
|
-
left: 50%;
|
|
210
|
-
margin-top: -5px;
|
|
211
|
-
margin-left: -30px;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
&__dot {
|
|
215
|
-
float: left;
|
|
216
|
-
width: $dot-size;
|
|
217
|
-
height: $dot-size;
|
|
218
|
-
margin: 0 5px;
|
|
219
|
-
background: currentColor;
|
|
220
|
-
border-radius: 50%;
|
|
221
|
-
transform: scale(0);
|
|
222
|
-
@include animation();
|
|
223
|
-
|
|
224
|
-
&:nth-child(2) {
|
|
225
|
-
@include animation($animation-speed * 0.3);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&:nth-child(3) {
|
|
229
|
-
@include animation($animation-speed * 0.6);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
1
|
+
@import '../mixins';
|
|
2
|
+
@import '../keyframes';
|
|
3
|
+
|
|
4
|
+
$dot-size: 10px;
|
|
5
|
+
|
|
6
|
+
.evo-button {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
min-width: 96px;
|
|
11
|
+
height: 40px;
|
|
12
|
+
padding: 0 24px;
|
|
13
|
+
color: $color-white;
|
|
14
|
+
font-weight: 500;
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
font-family: var(--evo-font-secondary);
|
|
17
|
+
line-height: 1;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
text-align: center;
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
background: $color-primary none;
|
|
22
|
+
border: solid 1px transparent;
|
|
23
|
+
border-radius: 30px;
|
|
24
|
+
outline: none;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
transition: background-color .3s, color .3s, border .3s;
|
|
27
|
+
user-select: none;
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
color: $color-white;
|
|
31
|
+
background-color: $color-primary-hover;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:active,
|
|
35
|
+
&:focus {
|
|
36
|
+
color: $color-white;
|
|
37
|
+
background-color: $color-primary-active;
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:disabled,
|
|
42
|
+
&_disabled {
|
|
43
|
+
color: $color-white !important;
|
|
44
|
+
background: rgba($color-black, .16) !important;
|
|
45
|
+
border-color: transparent !important;
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* COLORS */
|
|
50
|
+
&_lined {
|
|
51
|
+
color: $color-primary;
|
|
52
|
+
background-color: $color-white;
|
|
53
|
+
border: 1px solid $color-primary;
|
|
54
|
+
|
|
55
|
+
&:hover {
|
|
56
|
+
color: $color-white;
|
|
57
|
+
background-color: $color-primary;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:active,
|
|
61
|
+
&:focus {
|
|
62
|
+
color: $color-white;
|
|
63
|
+
background-color: $color-primary-active;
|
|
64
|
+
border-color: $color-primary-active;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&_darkblue {
|
|
69
|
+
background-color: #546E7A;
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
background-color: #7596A5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:active,
|
|
76
|
+
&:focus {
|
|
77
|
+
background-color: #283239;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&_darkblue-lined {
|
|
82
|
+
color: $color-secondary-light;
|
|
83
|
+
background-color: $color-white;
|
|
84
|
+
border: 1px solid $color-secondary-light;
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
color: $color-white;
|
|
88
|
+
background-color: $color-secondary-light;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&:active,
|
|
92
|
+
&:focus {
|
|
93
|
+
color: $color-white;
|
|
94
|
+
background-color: #343031;
|
|
95
|
+
border-color: #343031;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&_green {
|
|
100
|
+
background-color: $color-success;
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
background-color: #4cd2a2;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:active,
|
|
107
|
+
&:focus {
|
|
108
|
+
background-color: #1c9e6e;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&_green-lined {
|
|
113
|
+
color: $color-success;
|
|
114
|
+
background-color: $color-white;
|
|
115
|
+
border: 1px solid $color-success;
|
|
116
|
+
|
|
117
|
+
&:hover {
|
|
118
|
+
color: $color-white;
|
|
119
|
+
background-color: $color-success;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:active,
|
|
123
|
+
&:focus {
|
|
124
|
+
color: $color-white;
|
|
125
|
+
background-color: #1c9e6e;
|
|
126
|
+
border-color: #1c9e6e;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&_red {
|
|
131
|
+
color: $color-white;
|
|
132
|
+
background-color: $color-error;
|
|
133
|
+
|
|
134
|
+
&:hover {
|
|
135
|
+
background-color: $color-error-hover;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:active,
|
|
139
|
+
&:focus {
|
|
140
|
+
background-color: $color-error-active;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&_purple {
|
|
145
|
+
background-color: $color-bonus;
|
|
146
|
+
|
|
147
|
+
&:hover {
|
|
148
|
+
background-color: #d255be;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&:active,
|
|
152
|
+
&:focus {
|
|
153
|
+
background-color: #9f228b;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&_white {
|
|
158
|
+
background-color: transparent;
|
|
159
|
+
border: 1px solid $color-white;
|
|
160
|
+
|
|
161
|
+
&:hover {
|
|
162
|
+
color: $color-secondary-light;
|
|
163
|
+
background-color: $color-white;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:active,
|
|
167
|
+
&:focus {
|
|
168
|
+
color: $color-white;
|
|
169
|
+
background-color: transparent;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* COLORS */
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
&_small {
|
|
177
|
+
min-width: 72px;
|
|
178
|
+
height: 32px;
|
|
179
|
+
padding: 0 16px;
|
|
180
|
+
font-size: 14px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&_large {
|
|
184
|
+
min-width: 120px;
|
|
185
|
+
height: 56px;
|
|
186
|
+
padding: 0 40px;
|
|
187
|
+
font-size: 18px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* SIZES */
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
/*with icon*/
|
|
194
|
+
&_icon {
|
|
195
|
+
display: inline-flex;
|
|
196
|
+
align-items: center;
|
|
197
|
+
padding-right: 22px;
|
|
198
|
+
padding-left: 22px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&_loading {
|
|
202
|
+
position: relative;
|
|
203
|
+
pointer-events: none;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&__dots {
|
|
207
|
+
position: absolute;
|
|
208
|
+
top: 50%;
|
|
209
|
+
left: 50%;
|
|
210
|
+
margin-top: -5px;
|
|
211
|
+
margin-left: -30px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&__dot {
|
|
215
|
+
float: left;
|
|
216
|
+
width: $dot-size;
|
|
217
|
+
height: $dot-size;
|
|
218
|
+
margin: 0 5px;
|
|
219
|
+
background: currentColor;
|
|
220
|
+
border-radius: 50%;
|
|
221
|
+
transform: scale(0);
|
|
222
|
+
@include animation();
|
|
223
|
+
|
|
224
|
+
&:nth-child(2) {
|
|
225
|
+
@include animation($animation-speed * 0.3);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&:nth-child(3) {
|
|
229
|
+
@include animation($animation-speed * 0.6);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|