@megafon/ui-core 2.1.4 → 3.0.0-beta.2
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/CHANGELOG.md +62 -0
- package/dist/es/colors/ColorItem/ColorItem.css +1 -8
- package/dist/es/colors/ColorItem/ColorItem.js +1 -1
- package/dist/es/colors/Colors.css +3 -11
- package/dist/es/colors/Colors.js +51 -4
- package/dist/es/colors/colorsData.js +78 -71
- package/dist/es/components/Accordion/Accordion.css +6 -12
- package/dist/es/components/Banner/Banner.css +2 -9
- package/dist/es/components/Banner/BannerDot.css +4 -11
- package/dist/es/components/Button/Button.css +83 -74
- package/dist/es/components/Calendar/Calendar.css +0 -7
- package/dist/es/components/Calendar/components/Day/Day.css +10 -17
- package/dist/es/components/Calendar/components/Month/Month.css +3 -10
- package/dist/es/components/Carousel/Carousel.css +4 -11
- package/dist/es/components/Checkbox/Checkbox.css +18 -25
- package/dist/es/components/ContentArea/ContentArea.css +61 -20
- package/dist/es/components/ContentArea/ContentArea.d.ts +0 -1
- package/dist/es/components/ContentArea/ContentArea.js +0 -1
- package/dist/es/components/Counter/Counter.css +61 -11
- package/dist/es/components/Grid/Grid.css +47 -0
- package/dist/es/components/Grid/GridColumn.css +0 -7
- package/dist/es/components/Header/Header.css +8 -12
- package/dist/es/components/Header/Header.d.ts +1 -1
- package/dist/es/components/Header/Header.js +2 -2
- package/dist/es/components/InputLabel/InputLabel.css +0 -7
- package/dist/es/components/List/List.css +9 -13
- package/dist/es/components/List/List.d.ts +1 -1
- package/dist/es/components/List/List.js +2 -2
- package/dist/es/components/List/ListItem.css +0 -7
- package/dist/es/components/Logo/Logo.css +0 -7
- package/dist/es/components/Logo/Logo.js +4 -8
- package/dist/es/components/NavArrow/NavArrow.css +5 -12
- package/dist/es/components/Notification/Notification.css +88 -24
- package/dist/es/components/Pagination/Pagination.css +0 -7
- package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.css +56 -9
- package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +47 -0
- package/dist/es/components/Paragraph/Paragraph.css +7 -17
- package/dist/es/components/Paragraph/Paragraph.d.ts +0 -1
- package/dist/es/components/Paragraph/Paragraph.js +1 -2
- package/dist/es/components/Preloader/Preloader.css +5 -12
- package/dist/es/components/RadioButton/RadioButton.css +7 -14
- package/dist/es/components/RadioButton/RadioButton.d.ts +5 -1
- package/dist/es/components/RadioButton/RadioButton.js +7 -5
- package/dist/es/components/Search/Search.css +20 -25
- package/dist/es/components/Select/Select.css +29 -35
- package/dist/es/components/Switcher/Switcher.css +18 -28
- package/dist/es/components/Tabs/Tabs.css +30 -37
- package/dist/es/components/TextField/TextField.css +27 -33
- package/dist/es/components/TextLink/TextLink.css +10 -14
- package/dist/es/components/TextLink/TextLink.d.ts +1 -1
- package/dist/es/components/TextLink/TextLink.js +1 -1
- package/dist/es/components/Tile/Tile.css +2 -8
- package/dist/es/components/Tooltip/Tooltip.css +1 -8
- package/dist/lib/colors/ColorItem/ColorItem.css +1 -8
- package/dist/lib/colors/ColorItem/ColorItem.js +1 -1
- package/dist/lib/colors/Colors.css +3 -11
- package/dist/lib/colors/Colors.js +53 -4
- package/dist/lib/colors/colorsData.js +78 -71
- package/dist/lib/components/Accordion/Accordion.css +6 -12
- package/dist/lib/components/Banner/Banner.css +2 -9
- package/dist/lib/components/Banner/BannerDot.css +4 -11
- package/dist/lib/components/Button/Button.css +83 -74
- package/dist/lib/components/Calendar/Calendar.css +0 -7
- package/dist/lib/components/Calendar/components/Day/Day.css +10 -17
- package/dist/lib/components/Calendar/components/Month/Month.css +3 -10
- package/dist/lib/components/Carousel/Carousel.css +4 -11
- package/dist/lib/components/Checkbox/Checkbox.css +18 -25
- package/dist/lib/components/ContentArea/ContentArea.css +61 -20
- package/dist/lib/components/ContentArea/ContentArea.d.ts +0 -1
- package/dist/lib/components/ContentArea/ContentArea.js +0 -1
- package/dist/lib/components/Counter/Counter.css +61 -11
- package/dist/lib/components/Grid/Grid.css +47 -0
- package/dist/lib/components/Grid/GridColumn.css +0 -7
- package/dist/lib/components/Header/Header.css +8 -12
- package/dist/lib/components/Header/Header.d.ts +1 -1
- package/dist/lib/components/Header/Header.js +2 -2
- package/dist/lib/components/InputLabel/InputLabel.css +0 -7
- package/dist/lib/components/List/List.css +9 -13
- package/dist/lib/components/List/List.d.ts +1 -1
- package/dist/lib/components/List/List.js +2 -2
- package/dist/lib/components/List/ListItem.css +0 -7
- package/dist/lib/components/Logo/Logo.css +0 -7
- package/dist/lib/components/Logo/Logo.js +4 -8
- package/dist/lib/components/NavArrow/NavArrow.css +5 -12
- package/dist/lib/components/Notification/Notification.css +88 -24
- package/dist/lib/components/Pagination/Pagination.css +0 -7
- package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.css +56 -9
- package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +47 -0
- package/dist/lib/components/Paragraph/Paragraph.css +7 -17
- package/dist/lib/components/Paragraph/Paragraph.d.ts +0 -1
- package/dist/lib/components/Paragraph/Paragraph.js +1 -2
- package/dist/lib/components/Preloader/Preloader.css +5 -12
- package/dist/lib/components/RadioButton/RadioButton.css +7 -14
- package/dist/lib/components/RadioButton/RadioButton.d.ts +5 -1
- package/dist/lib/components/RadioButton/RadioButton.js +6 -4
- package/dist/lib/components/Search/Search.css +20 -25
- package/dist/lib/components/Select/Select.css +29 -35
- package/dist/lib/components/Switcher/Switcher.css +18 -28
- package/dist/lib/components/Tabs/Tabs.css +30 -37
- package/dist/lib/components/TextField/TextField.css +27 -33
- package/dist/lib/components/TextLink/TextLink.css +10 -14
- package/dist/lib/components/TextLink/TextLink.d.ts +1 -1
- package/dist/lib/components/TextLink/TextLink.js +1 -1
- package/dist/lib/components/Tile/Tile.css +2 -8
- package/dist/lib/components/Tooltip/Tooltip.css +1 -8
- package/package.json +4 -4
- package/styles/base.css +54 -0
- package/styles/base.less +61 -73
|
@@ -10,34 +10,35 @@ var colors = {
|
|
|
10
10
|
colorsGroup: [{
|
|
11
11
|
description: 'Основные цвета бренда',
|
|
12
12
|
colors: [{
|
|
13
|
-
name: 'Green',
|
|
14
|
-
code: '
|
|
13
|
+
name: 'Brand Green',
|
|
14
|
+
code: 'brandGreen'
|
|
15
15
|
}, {
|
|
16
|
-
name: 'Purple',
|
|
17
|
-
code: '
|
|
16
|
+
name: 'Brand Purple',
|
|
17
|
+
code: 'brandPurple'
|
|
18
18
|
}]
|
|
19
19
|
}, {
|
|
20
20
|
description: 'Градация оттенков серого',
|
|
21
21
|
colors: [{
|
|
22
22
|
name: 'Base',
|
|
23
|
-
code: '
|
|
24
|
-
border: '1px solid
|
|
23
|
+
code: 'base',
|
|
24
|
+
border: '1px solid var(--spbSky1)'
|
|
25
25
|
}, {
|
|
26
26
|
name: 'Content',
|
|
27
|
-
code: '
|
|
27
|
+
code: 'content',
|
|
28
|
+
border: '1px solid var(--spbSky1)'
|
|
28
29
|
}, {
|
|
29
30
|
name: 'Spb Sky 0',
|
|
30
|
-
code: '
|
|
31
|
-
border: '2px solid
|
|
31
|
+
code: 'spbSky0',
|
|
32
|
+
border: '2px solid var(--spbSky1)'
|
|
32
33
|
}, {
|
|
33
34
|
name: 'Spb Sky 1',
|
|
34
|
-
code: '
|
|
35
|
+
code: 'spbSky1'
|
|
35
36
|
}, {
|
|
36
37
|
name: 'Spb Sky 2',
|
|
37
|
-
code: '
|
|
38
|
+
code: 'spbSky2'
|
|
38
39
|
}, {
|
|
39
40
|
name: 'Spb Sky 3',
|
|
40
|
-
code: '
|
|
41
|
+
code: 'spbSky3'
|
|
41
42
|
}]
|
|
42
43
|
}]
|
|
43
44
|
},
|
|
@@ -47,16 +48,16 @@ var colors = {
|
|
|
47
48
|
description: 'Акцентные цвета',
|
|
48
49
|
colors: [{
|
|
49
50
|
name: 'Warm Red C',
|
|
50
|
-
code: '
|
|
51
|
+
code: 'warmRedC'
|
|
51
52
|
}, {
|
|
52
53
|
name: '137C',
|
|
53
|
-
code: '
|
|
54
|
+
code: '137C'
|
|
54
55
|
}, {
|
|
55
56
|
name: '311C',
|
|
56
|
-
code: '
|
|
57
|
+
code: '311C'
|
|
57
58
|
}, {
|
|
58
59
|
name: 'Reflex Blue',
|
|
59
|
-
code: '
|
|
60
|
+
code: 'reflexBlue'
|
|
60
61
|
}]
|
|
61
62
|
}
|
|
62
63
|
},
|
|
@@ -66,22 +67,22 @@ var colors = {
|
|
|
66
67
|
description: 'Системные цвета, используемые для отображения состояний интерфейсов и ссылок',
|
|
67
68
|
colors: [{
|
|
68
69
|
name: 'Fury',
|
|
69
|
-
code: '
|
|
70
|
+
code: 'fury'
|
|
70
71
|
}, {
|
|
71
72
|
name: 'System Blue',
|
|
72
|
-
code: '
|
|
73
|
+
code: 'systemBlue'
|
|
73
74
|
}, {
|
|
74
75
|
name: 'Background',
|
|
75
|
-
code: '
|
|
76
|
+
code: 'background'
|
|
76
77
|
}, {
|
|
77
78
|
name: 'Button Hov. G.',
|
|
78
|
-
code: '
|
|
79
|
+
code: 'buttonHoverGreen'
|
|
79
80
|
}, {
|
|
80
81
|
name: 'Button Hov. P.',
|
|
81
|
-
code: '
|
|
82
|
+
code: 'buttonhoverPurple'
|
|
82
83
|
}, {
|
|
83
84
|
name: 'Button Down',
|
|
84
|
-
code: '
|
|
85
|
+
code: 'buttonDown'
|
|
85
86
|
}]
|
|
86
87
|
}
|
|
87
88
|
},
|
|
@@ -91,15 +92,15 @@ var colors = {
|
|
|
91
92
|
description: 'Градиентные заливки ',
|
|
92
93
|
colors: [{
|
|
93
94
|
name: 'Basic',
|
|
94
|
-
code: '
|
|
95
|
+
code: 'gradientBasic',
|
|
95
96
|
gradient: 'linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%)'
|
|
96
97
|
}, {
|
|
97
98
|
name: 'VIP',
|
|
98
|
-
code: '
|
|
99
|
+
code: 'gradientVIP',
|
|
99
100
|
gradient: 'linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%)'
|
|
100
101
|
}, {
|
|
101
102
|
name: 'Exclusive',
|
|
102
|
-
code: '
|
|
103
|
+
code: 'gradientExclusive',
|
|
103
104
|
gradient: 'linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%)'
|
|
104
105
|
}]
|
|
105
106
|
}
|
|
@@ -110,11 +111,12 @@ var colors = {
|
|
|
110
111
|
description: 'Цвета не зависящие от темы',
|
|
111
112
|
colors: [{
|
|
112
113
|
name: 'STC White',
|
|
113
|
-
code: '
|
|
114
|
-
border: '1px solid
|
|
114
|
+
code: 'stcWhite',
|
|
115
|
+
border: '1px solid var(--spbSky1)'
|
|
115
116
|
}, {
|
|
116
117
|
name: 'STC Black',
|
|
117
|
-
code: '
|
|
118
|
+
code: 'stcBlack',
|
|
119
|
+
border: '1px solid var(--spbSky1)'
|
|
118
120
|
}]
|
|
119
121
|
}
|
|
120
122
|
},
|
|
@@ -124,31 +126,36 @@ var colors = {
|
|
|
124
126
|
description: 'Цвета c прозрачностью не зависящие от темы',
|
|
125
127
|
colors: [{
|
|
126
128
|
name: 'STC White 5%',
|
|
127
|
-
code: '
|
|
128
|
-
border: '1px solid
|
|
129
|
+
code: 'stcWhite5',
|
|
130
|
+
border: '1px solid var(--spbSky1)'
|
|
129
131
|
}, {
|
|
130
132
|
name: 'STC White 10%',
|
|
131
|
-
code: '
|
|
132
|
-
border: '1px solid
|
|
133
|
+
code: 'stcWhite10',
|
|
134
|
+
border: '1px solid var(--spbSky1)'
|
|
133
135
|
}, {
|
|
134
136
|
name: 'STC White 20%',
|
|
135
|
-
code: '
|
|
136
|
-
border: '1px solid
|
|
137
|
+
code: 'stcWhite20',
|
|
138
|
+
border: '1px solid var(--spbSky1)'
|
|
137
139
|
}, {
|
|
138
140
|
name: 'STC White 50%',
|
|
139
|
-
code: '
|
|
141
|
+
code: 'stcWhite50',
|
|
142
|
+
border: '1px solid var(--spbSky1)'
|
|
140
143
|
}, {
|
|
141
144
|
name: 'STC Black 5%',
|
|
142
|
-
code: '
|
|
145
|
+
code: 'stcBlack5',
|
|
146
|
+
border: '1px solid var(--spbSky1)'
|
|
143
147
|
}, {
|
|
144
148
|
name: 'STC Black 10%',
|
|
145
|
-
code: '
|
|
149
|
+
code: 'stcBlack10',
|
|
150
|
+
border: '1px solid var(--spbSky1)'
|
|
146
151
|
}, {
|
|
147
152
|
name: 'STC Black 20%',
|
|
148
|
-
code: '
|
|
153
|
+
code: 'stcBlack20',
|
|
154
|
+
border: '1px solid var(--spbSky1)'
|
|
149
155
|
}, {
|
|
150
156
|
name: 'STC Black 50%',
|
|
151
|
-
code: '
|
|
157
|
+
code: 'stcBlack50',
|
|
158
|
+
border: '1px solid var(--spbSky1)'
|
|
152
159
|
}]
|
|
153
160
|
}
|
|
154
161
|
},
|
|
@@ -157,61 +164,61 @@ var colors = {
|
|
|
157
164
|
colorsList: {
|
|
158
165
|
description: 'Дополнительная (вспомогательная) палитра, образованная от Basic, Secondary и System цветов. Каждый цвет из Soft палитры работает в паре с его родительским цветом.',
|
|
159
166
|
colors: [{
|
|
160
|
-
name: 'Green 80',
|
|
161
|
-
code: '
|
|
162
|
-
parentColor: '
|
|
167
|
+
name: 'Brand Green 80',
|
|
168
|
+
code: 'brandGreen80',
|
|
169
|
+
parentColor: 'green'
|
|
163
170
|
}, {
|
|
164
|
-
name: 'Purple 80',
|
|
165
|
-
code: '
|
|
166
|
-
parentColor: '
|
|
171
|
+
name: 'Brand Purple 80',
|
|
172
|
+
code: 'brandPurple80',
|
|
173
|
+
parentColor: 'purple'
|
|
167
174
|
}, {
|
|
168
175
|
name: 'Warm Red C 80',
|
|
169
|
-
code: '
|
|
170
|
-
parentColor: '
|
|
176
|
+
code: 'warmRedC80',
|
|
177
|
+
parentColor: 'warmRedC'
|
|
171
178
|
}, {
|
|
172
179
|
name: '137C 80',
|
|
173
|
-
code: '
|
|
174
|
-
parentColor: '
|
|
180
|
+
code: '137C80',
|
|
181
|
+
parentColor: '137C'
|
|
175
182
|
}, {
|
|
176
183
|
name: '311C 80',
|
|
177
|
-
code: '
|
|
178
|
-
parentColor: '
|
|
184
|
+
code: '311C80',
|
|
185
|
+
parentColor: '311C'
|
|
179
186
|
}, {
|
|
180
187
|
name: 'Reflex Blue 80',
|
|
181
|
-
code: '
|
|
182
|
-
parentColor: '
|
|
188
|
+
code: 'reflexBlue80',
|
|
189
|
+
parentColor: 'reflexBlue'
|
|
183
190
|
}, {
|
|
184
191
|
name: 'Fury 80',
|
|
185
|
-
code: '
|
|
186
|
-
parentColor: '
|
|
192
|
+
code: 'fury80',
|
|
193
|
+
parentColor: 'fury'
|
|
187
194
|
}, {
|
|
188
|
-
name: 'Green 20',
|
|
189
|
-
code: '
|
|
190
|
-
parentColor: '
|
|
195
|
+
name: 'Brand Green 20',
|
|
196
|
+
code: 'brandGreen20',
|
|
197
|
+
parentColor: 'green'
|
|
191
198
|
}, {
|
|
192
|
-
name: 'Purple 20',
|
|
193
|
-
code: '
|
|
194
|
-
parentColor: '
|
|
199
|
+
name: 'Brand Purple 20',
|
|
200
|
+
code: 'brandPurple20',
|
|
201
|
+
parentColor: 'purple'
|
|
195
202
|
}, {
|
|
196
203
|
name: 'Warm Red C 20',
|
|
197
|
-
code: '
|
|
198
|
-
parentColor: '
|
|
204
|
+
code: 'warmRedC20',
|
|
205
|
+
parentColor: 'warmRedC'
|
|
199
206
|
}, {
|
|
200
207
|
name: '137C 20',
|
|
201
|
-
code: '
|
|
202
|
-
parentColor: '
|
|
208
|
+
code: '137C20',
|
|
209
|
+
parentColor: '137C'
|
|
203
210
|
}, {
|
|
204
211
|
name: '311C 20',
|
|
205
|
-
code: '
|
|
206
|
-
parentColor: '
|
|
212
|
+
code: '311C20',
|
|
213
|
+
parentColor: '311C'
|
|
207
214
|
}, {
|
|
208
215
|
name: 'Reflex Blue 20',
|
|
209
|
-
code: '
|
|
210
|
-
parentColor: '
|
|
216
|
+
code: 'reflexBlue20',
|
|
217
|
+
parentColor: 'reflexBlue'
|
|
211
218
|
}, {
|
|
212
219
|
name: 'Fury 20',
|
|
213
|
-
code: '
|
|
214
|
-
parentColor: '
|
|
220
|
+
code: 'fury20',
|
|
221
|
+
parentColor: 'fury'
|
|
215
222
|
}]
|
|
216
223
|
}
|
|
217
224
|
}
|
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
h1,
|
|
2
|
-
h2,
|
|
3
|
-
h3,
|
|
4
|
-
h4,
|
|
5
|
-
h5 {
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
1
|
.mfui-accordion {
|
|
9
|
-
border-top: 1px solid
|
|
10
|
-
border-bottom: 1px solid
|
|
2
|
+
border-top: 1px solid var(--spbSky2);
|
|
3
|
+
border-bottom: 1px solid var(--spbSky2);
|
|
11
4
|
}
|
|
12
5
|
.mfui-accordion + .mfui-accordion {
|
|
13
6
|
border-top: none;
|
|
14
7
|
}
|
|
15
8
|
.mfui-accordion:not(.mfui-accordion_open) .mfui-accordion__title-wrap:hover {
|
|
16
|
-
background:
|
|
9
|
+
background: var(--spbSky0);
|
|
17
10
|
}
|
|
18
11
|
.mfui-accordion.mfui-accordion_open .mfui-accordion__title-wrap {
|
|
19
|
-
background:
|
|
12
|
+
background: var(--spbSky1);
|
|
20
13
|
}
|
|
21
14
|
.mfui-accordion__title-wrap {
|
|
22
15
|
position: relative;
|
|
@@ -42,6 +35,7 @@ h5 {
|
|
|
42
35
|
-webkit-transform: translateY(-50%);
|
|
43
36
|
transform: translateY(-50%);
|
|
44
37
|
opacity: 1;
|
|
38
|
+
fill: var(--content);
|
|
45
39
|
}
|
|
46
40
|
.mfui-accordion__content-inner {
|
|
47
41
|
padding: 24px 16px;
|
|
@@ -66,5 +60,5 @@ h5 {
|
|
|
66
60
|
padding-bottom: 24px;
|
|
67
61
|
}
|
|
68
62
|
.mfui-accordion__icon {
|
|
69
|
-
fill:
|
|
63
|
+
fill: var(--content);
|
|
70
64
|
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
h1,
|
|
2
|
-
h2,
|
|
3
|
-
h3,
|
|
4
|
-
h4,
|
|
5
|
-
h5 {
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
1
|
.mfui-banner {
|
|
9
2
|
position: relative;
|
|
10
3
|
overflow: hidden;
|
|
@@ -100,10 +93,10 @@ h5 {
|
|
|
100
93
|
background-color: transparent;
|
|
101
94
|
}
|
|
102
95
|
.mfui-banner__pagination_theme_green {
|
|
103
|
-
background-color:
|
|
96
|
+
background-color: var(--brandGreen);
|
|
104
97
|
}
|
|
105
98
|
.mfui-banner__pagination_theme_dark {
|
|
106
|
-
background-color:
|
|
99
|
+
background-color: var(--stcBlack20);
|
|
107
100
|
}
|
|
108
101
|
.mfui-banner__dot {
|
|
109
102
|
width: 12px;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
h1,
|
|
2
|
-
h2,
|
|
3
|
-
h3,
|
|
4
|
-
h4,
|
|
5
|
-
h5 {
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
1
|
.mfui-banner-dot {
|
|
9
2
|
display: -webkit-box;
|
|
10
3
|
display: -ms-flexbox;
|
|
@@ -27,14 +20,14 @@ h5 {
|
|
|
27
20
|
width: 100%;
|
|
28
21
|
height: 100%;
|
|
29
22
|
border-radius: 50%;
|
|
30
|
-
background-color:
|
|
23
|
+
background-color: var(--stcWhite50);
|
|
31
24
|
}
|
|
32
25
|
.mfui-banner-dot_active {
|
|
33
26
|
padding: 0;
|
|
34
27
|
cursor: default;
|
|
35
28
|
}
|
|
36
29
|
.mfui-banner-dot_active:before {
|
|
37
|
-
background-color:
|
|
30
|
+
background-color: var(--stcWhite);
|
|
38
31
|
}
|
|
39
32
|
.mfui-banner-dot_active.mfui-banner-dot_timer:before {
|
|
40
33
|
display: none;
|
|
@@ -54,8 +47,8 @@ h5 {
|
|
|
54
47
|
transform-origin: center;
|
|
55
48
|
-webkit-animation: timer linear;
|
|
56
49
|
animation: timer linear;
|
|
57
|
-
fill:
|
|
58
|
-
stroke:
|
|
50
|
+
fill: var(--stcWhite50);
|
|
51
|
+
stroke: var(--base);
|
|
59
52
|
stroke-width: 100;
|
|
60
53
|
stroke-dasharray: 1000;
|
|
61
54
|
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
h1,
|
|
2
|
-
h2,
|
|
3
|
-
h3,
|
|
4
|
-
h4,
|
|
5
|
-
h5 {
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
1
|
.mfui-button {
|
|
9
2
|
font-family: inherit;
|
|
10
3
|
font-size: 15px;
|
|
@@ -15,7 +8,7 @@ h5 {
|
|
|
15
8
|
padding: 0 32px;
|
|
16
9
|
border: none;
|
|
17
10
|
border-radius: 30px;
|
|
18
|
-
color:
|
|
11
|
+
color: var(--stcWhite);
|
|
19
12
|
font-weight: 500;
|
|
20
13
|
text-align: center;
|
|
21
14
|
text-decoration: none;
|
|
@@ -207,119 +200,135 @@ h5 {
|
|
|
207
200
|
display: none;
|
|
208
201
|
}
|
|
209
202
|
.mfui-button_type_primary.mfui-button_theme_green {
|
|
210
|
-
color:
|
|
211
|
-
background-color:
|
|
203
|
+
color: var(--stcWhite);
|
|
204
|
+
background-color: var(--brandGreen);
|
|
212
205
|
}
|
|
213
206
|
.mfui-button_type_primary.mfui-button_theme_green svg {
|
|
214
|
-
fill:
|
|
207
|
+
fill: var(--stcWhite);
|
|
215
208
|
}
|
|
216
209
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_green:not(.mfui-button_loading):hover {
|
|
217
|
-
background-color:
|
|
218
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
219
|
-
box-shadow: inset 0 0 0 1px
|
|
210
|
+
background-color: var(--buttonHoverGreen);
|
|
211
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
212
|
+
box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
220
213
|
}
|
|
221
214
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_green:not(.mfui-button_loading):active {
|
|
222
|
-
background-color:
|
|
223
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
224
|
-
box-shadow: inset 0 0 0 1px
|
|
215
|
+
background-color: var(--buttonDown);
|
|
216
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
217
|
+
box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
225
218
|
}
|
|
226
219
|
.mfui-button_type_primary.mfui-button_theme_purple {
|
|
227
|
-
color:
|
|
228
|
-
background-color:
|
|
220
|
+
color: var(--stcWhite);
|
|
221
|
+
background-color: var(--brandPurple);
|
|
229
222
|
}
|
|
230
223
|
.mfui-button_type_primary.mfui-button_theme_purple svg {
|
|
231
|
-
fill:
|
|
224
|
+
fill: var(--stcWhite);
|
|
232
225
|
}
|
|
233
226
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_purple:not(.mfui-button_loading):hover {
|
|
234
|
-
background-color:
|
|
235
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
236
|
-
box-shadow: inset 0 0 0 1px
|
|
227
|
+
background-color: var(--buttonhoverPurple);
|
|
228
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonhoverPurple);
|
|
229
|
+
box-shadow: inset 0 0 0 1px var(--buttonhoverPurple);
|
|
237
230
|
}
|
|
238
231
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_purple:not(.mfui-button_loading):active {
|
|
239
|
-
background-color:
|
|
240
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
241
|
-
box-shadow: inset 0 0 0 1px
|
|
232
|
+
background-color: var(--buttonDown);
|
|
233
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
234
|
+
box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
242
235
|
}
|
|
243
236
|
.mfui-button_type_primary.mfui-button_theme_white {
|
|
244
|
-
color:
|
|
245
|
-
background-color:
|
|
237
|
+
color: var(--stcBlack);
|
|
238
|
+
background-color: var(--stcWhite);
|
|
246
239
|
}
|
|
247
240
|
.mfui-button_type_primary.mfui-button_theme_white svg {
|
|
248
|
-
fill:
|
|
241
|
+
fill: var(--stcBlack);
|
|
249
242
|
}
|
|
250
243
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover {
|
|
251
|
-
color:
|
|
252
|
-
background-color:
|
|
253
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
254
|
-
box-shadow: inset 0 0 0 1px
|
|
244
|
+
color: var(--stcBlack);
|
|
245
|
+
background-color: var(--buttonHoverGreen);
|
|
246
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
247
|
+
box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
255
248
|
}
|
|
256
249
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover svg {
|
|
257
|
-
fill:
|
|
250
|
+
fill: var(--stcBlack);
|
|
258
251
|
}
|
|
259
252
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):active {
|
|
260
|
-
background-color:
|
|
261
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
262
|
-
box-shadow: inset 0 0 0 1px
|
|
253
|
+
background-color: var(--buttonDown);
|
|
254
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
255
|
+
box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
263
256
|
}
|
|
264
257
|
.mfui-button_type_outline.mfui-button_theme_green {
|
|
265
|
-
color:
|
|
258
|
+
color: var(--brandGreen);
|
|
266
259
|
background-color: transparent;
|
|
267
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
268
|
-
box-shadow: inset 0 0 0 1px
|
|
260
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--brandGreen);
|
|
261
|
+
box-shadow: inset 0 0 0 1px var(--brandGreen);
|
|
269
262
|
}
|
|
270
263
|
.mfui-button_type_outline.mfui-button_theme_green svg {
|
|
271
|
-
fill:
|
|
264
|
+
fill: var(--brandGreen);
|
|
265
|
+
}
|
|
266
|
+
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green {
|
|
267
|
+
--brandGreen7: rgba(0, 185, 86, 0.07);
|
|
268
|
+
--brandGreen14: rgba(0, 185, 86, 0.14);
|
|
272
269
|
}
|
|
273
270
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green:not(.mfui-button_loading):hover {
|
|
274
|
-
background-color:
|
|
271
|
+
background-color: var(--brandGreen7);
|
|
275
272
|
}
|
|
276
273
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green:not(.mfui-button_loading):active {
|
|
277
|
-
background-color:
|
|
274
|
+
background-color: var(--brandGreen14);
|
|
278
275
|
}
|
|
279
276
|
.mfui-button_type_outline.mfui-button_theme_purple {
|
|
280
|
-
color:
|
|
277
|
+
color: var(--brandPurple);
|
|
281
278
|
background-color: transparent;
|
|
282
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
283
|
-
box-shadow: inset 0 0 0 1px
|
|
279
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--brandPurple);
|
|
280
|
+
box-shadow: inset 0 0 0 1px var(--brandPurple);
|
|
284
281
|
}
|
|
285
282
|
.mfui-button_type_outline.mfui-button_theme_purple svg {
|
|
286
|
-
fill:
|
|
283
|
+
fill: var(--brandPurple);
|
|
284
|
+
}
|
|
285
|
+
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple {
|
|
286
|
+
--brandPurple7: rgba(115, 25, 130, 0.07);
|
|
287
|
+
--brandPurple14: rgba(115, 25, 130, 0.14);
|
|
287
288
|
}
|
|
288
289
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple:not(.mfui-button_loading):hover {
|
|
289
|
-
background-color:
|
|
290
|
+
background-color: var(--brandPurple7);
|
|
290
291
|
}
|
|
291
292
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple:not(.mfui-button_loading):active {
|
|
292
|
-
background-color:
|
|
293
|
+
background-color: var(--brandPurple14);
|
|
293
294
|
}
|
|
294
295
|
.mfui-button_type_outline.mfui-button_theme_white {
|
|
295
|
-
color:
|
|
296
|
+
color: var(--stcWhite);
|
|
296
297
|
background-color: transparent;
|
|
297
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
298
|
-
box-shadow: inset 0 0 0 1px
|
|
298
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--stcWhite);
|
|
299
|
+
box-shadow: inset 0 0 0 1px var(--stcWhite);
|
|
299
300
|
}
|
|
300
301
|
.mfui-button_type_outline.mfui-button_theme_white svg {
|
|
301
|
-
fill:
|
|
302
|
+
fill: var(--stcWhite);
|
|
303
|
+
}
|
|
304
|
+
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white {
|
|
305
|
+
--base7: rgba(255, 255, 255, 0.07);
|
|
306
|
+
--base14: rgba(255, 255, 255, 0.14);
|
|
302
307
|
}
|
|
303
308
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white:not(.mfui-button_loading):hover {
|
|
304
|
-
background-color:
|
|
309
|
+
background-color: var(--base7);
|
|
305
310
|
}
|
|
306
311
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white:not(.mfui-button_loading):active {
|
|
307
|
-
background-color:
|
|
312
|
+
background-color: var(--base14);
|
|
308
313
|
}
|
|
309
314
|
.mfui-button_type_outline.mfui-button_theme_black {
|
|
310
|
-
color:
|
|
315
|
+
color: var(--stcBlack);
|
|
311
316
|
background-color: transparent;
|
|
312
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
313
|
-
box-shadow: inset 0 0 0 1px
|
|
317
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--stcBlack);
|
|
318
|
+
box-shadow: inset 0 0 0 1px var(--stcBlack);
|
|
314
319
|
}
|
|
315
320
|
.mfui-button_type_outline.mfui-button_theme_black svg {
|
|
316
|
-
fill:
|
|
321
|
+
fill: var(--stcBlack);
|
|
322
|
+
}
|
|
323
|
+
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black {
|
|
324
|
+
--content7: rgba(51, 51, 51, 0.07);
|
|
325
|
+
--content14: rgba(51, 51, 51, 0.14);
|
|
317
326
|
}
|
|
318
327
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black:not(.mfui-button_loading):hover {
|
|
319
|
-
background-color:
|
|
328
|
+
background-color: var(--content7);
|
|
320
329
|
}
|
|
321
330
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black:not(.mfui-button_loading):active {
|
|
322
|
-
background-color:
|
|
331
|
+
background-color: var(--content14);
|
|
323
332
|
}
|
|
324
333
|
.mfui-button_full-width {
|
|
325
334
|
display: block;
|
|
@@ -332,44 +341,44 @@ h5 {
|
|
|
332
341
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled,
|
|
333
342
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:hover,
|
|
334
343
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:active {
|
|
335
|
-
color:
|
|
336
|
-
background-color:
|
|
337
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
338
|
-
box-shadow: inset 0 0 0 1px
|
|
344
|
+
color: var(--spbSky3);
|
|
345
|
+
background-color: var(--spbSky1);
|
|
346
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
347
|
+
box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
339
348
|
}
|
|
340
349
|
.mfui-button.mfui-button_type_primary.mfui-button_disabled svg,
|
|
341
350
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled svg,
|
|
342
351
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:hover svg,
|
|
343
352
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:active svg {
|
|
344
|
-
fill:
|
|
353
|
+
fill: var(--spbSky3);
|
|
345
354
|
}
|
|
346
355
|
.mfui-button.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled,
|
|
347
356
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled,
|
|
348
357
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:hover,
|
|
349
358
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:active {
|
|
350
|
-
color:
|
|
359
|
+
color: var(--stcWhite50);
|
|
351
360
|
background-color: transparent;
|
|
352
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
353
|
-
box-shadow: inset 0 0 0 1px
|
|
361
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--stcWhite50);
|
|
362
|
+
box-shadow: inset 0 0 0 1px var(--stcWhite50);
|
|
354
363
|
}
|
|
355
364
|
.mfui-button.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled svg,
|
|
356
365
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled svg,
|
|
357
366
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:hover svg,
|
|
358
367
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:active svg {
|
|
359
|
-
fill:
|
|
368
|
+
fill: var(--stcWhite50);
|
|
360
369
|
}
|
|
361
370
|
.mfui-button.mfui-button_type_outline.mfui-button_disabled,
|
|
362
371
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled,
|
|
363
372
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:hover,
|
|
364
373
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:active {
|
|
365
|
-
color:
|
|
374
|
+
color: var(--spbSky3);
|
|
366
375
|
background-color: transparent;
|
|
367
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
368
|
-
box-shadow: inset 0 0 0 1px
|
|
376
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
377
|
+
box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
369
378
|
}
|
|
370
379
|
.mfui-button.mfui-button_type_outline.mfui-button_disabled svg,
|
|
371
380
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled svg,
|
|
372
381
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:hover svg,
|
|
373
382
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:active svg {
|
|
374
|
-
fill:
|
|
383
|
+
fill: var(--spbSky3);
|
|
375
384
|
}
|