@megafon/ui-core 2.1.3 → 3.0.0-beta.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.
- package/CHANGELOG.md +66 -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 +6 -14
- package/dist/es/colors/Colors.js +36 -5
- package/dist/es/colors/colorsData.js +84 -68
- 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/Tabs/Tabs.js +41 -32
- 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 +6 -14
- package/dist/lib/colors/Colors.js +37 -5
- package/dist/lib/colors/colorsData.js +84 -68
- 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/Tabs/Tabs.js +41 -32
- 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 -75
|
@@ -15,6 +15,8 @@ require("core-js/modules/es.array.map");
|
|
|
15
15
|
|
|
16
16
|
require("core-js/modules/es.function.name");
|
|
17
17
|
|
|
18
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
19
|
+
|
|
18
20
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
19
21
|
|
|
20
22
|
var React = _interopRequireWildcard(require("react"));
|
|
@@ -134,6 +136,36 @@ var basic = _colorsData["default"].basic,
|
|
|
134
136
|
var cn = (0, _uiHelpers.cnCreate)('colors');
|
|
135
137
|
|
|
136
138
|
var Colors = function Colors() {
|
|
139
|
+
var _React$useState = React.useState(window.localStorage.getItem('theme') === 'dark' ? 'dark' : 'light'),
|
|
140
|
+
_React$useState2 = (0, _slicedToArray2["default"])(_React$useState, 2),
|
|
141
|
+
setCurrentTheme = _React$useState2[1];
|
|
142
|
+
|
|
143
|
+
var getCurrentColorValue = function getCurrentColorValue(code) {
|
|
144
|
+
return document.documentElement.style.getPropertyValue("--".concat(code));
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
React.useEffect(function () {
|
|
148
|
+
// theme switcher from src/gatsby-theme-docz/components/SideBar/index.tsx
|
|
149
|
+
var themeSwitcher = document.querySelector('[data-current-theme]');
|
|
150
|
+
|
|
151
|
+
if (themeSwitcher) {
|
|
152
|
+
var themeSwitcherObserver = new MutationObserver(function (mutationsList) {
|
|
153
|
+
var data = mutationsList[0];
|
|
154
|
+
setCurrentTheme(data.oldValue === 'light' ? 'dark' : 'light');
|
|
155
|
+
});
|
|
156
|
+
var config = {
|
|
157
|
+
attributeOldValue: true,
|
|
158
|
+
attributeFilter: ['data-current-theme']
|
|
159
|
+
};
|
|
160
|
+
themeSwitcherObserver.observe(themeSwitcher, config);
|
|
161
|
+
return function () {
|
|
162
|
+
return themeSwitcherObserver.disconnect();
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
return undefined;
|
|
167
|
+
}, []);
|
|
168
|
+
|
|
137
169
|
var renderUnderline = function renderUnderline() {
|
|
138
170
|
return /*#__PURE__*/React.createElement("div", {
|
|
139
171
|
className: cn('underline')
|
|
@@ -169,7 +201,7 @@ var Colors = function Colors() {
|
|
|
169
201
|
return /*#__PURE__*/React.createElement(_ColorItem["default"], {
|
|
170
202
|
className: cn('item'),
|
|
171
203
|
colorName: name,
|
|
172
|
-
colorCode: code,
|
|
204
|
+
colorCode: getCurrentColorValue(code),
|
|
173
205
|
key: name,
|
|
174
206
|
border: border
|
|
175
207
|
});
|
|
@@ -199,7 +231,7 @@ var Colors = function Colors() {
|
|
|
199
231
|
return /*#__PURE__*/React.createElement(_ColorItem["default"], {
|
|
200
232
|
className: cn('item'),
|
|
201
233
|
colorName: name,
|
|
202
|
-
colorCode: code,
|
|
234
|
+
colorCode: getCurrentColorValue(code),
|
|
203
235
|
gradient: gradient,
|
|
204
236
|
key: name,
|
|
205
237
|
border: border
|
|
@@ -231,7 +263,7 @@ var Colors = function Colors() {
|
|
|
231
263
|
soft: true
|
|
232
264
|
}),
|
|
233
265
|
colorName: name,
|
|
234
|
-
colorCode: code,
|
|
266
|
+
colorCode: getCurrentColorValue(code),
|
|
235
267
|
parentColorCode: parentColor,
|
|
236
268
|
key: name
|
|
237
269
|
});
|
|
@@ -256,7 +288,7 @@ var Colors = function Colors() {
|
|
|
256
288
|
mobile: "12",
|
|
257
289
|
tablet: "12"
|
|
258
290
|
}, renderColorBlock(secondary)), /*#__PURE__*/React.createElement(_GridColumn["default"], {
|
|
259
|
-
all: "
|
|
291
|
+
all: "10",
|
|
260
292
|
mobile: "12",
|
|
261
293
|
tablet: "12"
|
|
262
294
|
}, renderColorBlock(system))), /*#__PURE__*/React.createElement(_Grid["default"], null, /*#__PURE__*/React.createElement(_GridColumn["default"], {
|
|
@@ -265,7 +297,7 @@ var Colors = function Colors() {
|
|
|
265
297
|
tablet: "12"
|
|
266
298
|
}, renderColorBlock(gradientColors)), /*#__PURE__*/React.createElement(_GridColumn["default"], {
|
|
267
299
|
all: "3",
|
|
268
|
-
leftOffsetWide: "
|
|
300
|
+
leftOffsetWide: "2",
|
|
269
301
|
leftOffsetTablet: "1",
|
|
270
302
|
leftOffsetDesktop: "1",
|
|
271
303
|
mobile: "12",
|
|
@@ -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,13 +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'
|
|
77
|
+
}, {
|
|
78
|
+
name: 'Button Hov. G.',
|
|
79
|
+
code: 'buttonHoverGreen'
|
|
80
|
+
}, {
|
|
81
|
+
name: 'Button Hov. P.',
|
|
82
|
+
code: 'buttonhoverPurple'
|
|
83
|
+
}, {
|
|
84
|
+
name: 'Button Down',
|
|
85
|
+
code: 'buttonDown'
|
|
76
86
|
}]
|
|
77
87
|
}
|
|
78
88
|
},
|
|
@@ -82,15 +92,15 @@ var colors = {
|
|
|
82
92
|
description: 'Градиентные заливки ',
|
|
83
93
|
colors: [{
|
|
84
94
|
name: 'Basic',
|
|
85
|
-
code: '
|
|
95
|
+
code: 'gradientBasic',
|
|
86
96
|
gradient: 'linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%)'
|
|
87
97
|
}, {
|
|
88
98
|
name: 'VIP',
|
|
89
|
-
code: '
|
|
99
|
+
code: 'gradientVIP',
|
|
90
100
|
gradient: 'linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%)'
|
|
91
101
|
}, {
|
|
92
102
|
name: 'Exclusive',
|
|
93
|
-
code: '
|
|
103
|
+
code: 'gradientExclusive',
|
|
94
104
|
gradient: 'linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%)'
|
|
95
105
|
}]
|
|
96
106
|
}
|
|
@@ -101,11 +111,12 @@ var colors = {
|
|
|
101
111
|
description: 'Цвета не зависящие от темы',
|
|
102
112
|
colors: [{
|
|
103
113
|
name: 'STC White',
|
|
104
|
-
code: '
|
|
105
|
-
border: '1px solid
|
|
114
|
+
code: 'stcWhite',
|
|
115
|
+
border: '1px solid var(--spbSky1)'
|
|
106
116
|
}, {
|
|
107
117
|
name: 'STC Black',
|
|
108
|
-
code: '
|
|
118
|
+
code: 'stcBlack',
|
|
119
|
+
border: '1px solid var(--spbSky1)'
|
|
109
120
|
}]
|
|
110
121
|
}
|
|
111
122
|
},
|
|
@@ -115,31 +126,36 @@ var colors = {
|
|
|
115
126
|
description: 'Цвета c прозрачностью не зависящие от темы',
|
|
116
127
|
colors: [{
|
|
117
128
|
name: 'STC White 5%',
|
|
118
|
-
code: '
|
|
119
|
-
border: '1px solid
|
|
129
|
+
code: 'stcWhite5',
|
|
130
|
+
border: '1px solid var(--spbSky1)'
|
|
120
131
|
}, {
|
|
121
132
|
name: 'STC White 10%',
|
|
122
|
-
code: '
|
|
123
|
-
border: '1px solid
|
|
133
|
+
code: 'stcWhite10',
|
|
134
|
+
border: '1px solid var(--spbSky1)'
|
|
124
135
|
}, {
|
|
125
136
|
name: 'STC White 20%',
|
|
126
|
-
code: '
|
|
127
|
-
border: '1px solid
|
|
137
|
+
code: 'stcWhite20',
|
|
138
|
+
border: '1px solid var(--spbSky1)'
|
|
128
139
|
}, {
|
|
129
140
|
name: 'STC White 50%',
|
|
130
|
-
code: '
|
|
141
|
+
code: 'stcWhite50',
|
|
142
|
+
border: '1px solid var(--spbSky1)'
|
|
131
143
|
}, {
|
|
132
144
|
name: 'STC Black 5%',
|
|
133
|
-
code: '
|
|
145
|
+
code: 'stcBlack5',
|
|
146
|
+
border: '1px solid var(--spbSky1)'
|
|
134
147
|
}, {
|
|
135
148
|
name: 'STC Black 10%',
|
|
136
|
-
code: '
|
|
149
|
+
code: 'stcBlack10',
|
|
150
|
+
border: '1px solid var(--spbSky1)'
|
|
137
151
|
}, {
|
|
138
152
|
name: 'STC Black 20%',
|
|
139
|
-
code: '
|
|
153
|
+
code: 'stcBlack20',
|
|
154
|
+
border: '1px solid var(--spbSky1)'
|
|
140
155
|
}, {
|
|
141
156
|
name: 'STC Black 50%',
|
|
142
|
-
code: '
|
|
157
|
+
code: 'stcBlack50',
|
|
158
|
+
border: '1px solid var(--spbSky1)'
|
|
143
159
|
}]
|
|
144
160
|
}
|
|
145
161
|
},
|
|
@@ -148,61 +164,61 @@ var colors = {
|
|
|
148
164
|
colorsList: {
|
|
149
165
|
description: 'Дополнительная (вспомогательная) палитра, образованная от Basic, Secondary и System цветов. Каждый цвет из Soft палитры работает в паре с его родительским цветом.',
|
|
150
166
|
colors: [{
|
|
151
|
-
name: 'Green 80',
|
|
152
|
-
code: '
|
|
153
|
-
parentColor: '
|
|
167
|
+
name: 'Brand Green 80',
|
|
168
|
+
code: 'brandGreen80',
|
|
169
|
+
parentColor: 'green'
|
|
154
170
|
}, {
|
|
155
|
-
name: 'Purple 80',
|
|
156
|
-
code: '
|
|
157
|
-
parentColor: '
|
|
171
|
+
name: 'Brand Purple 80',
|
|
172
|
+
code: 'brandPurple80',
|
|
173
|
+
parentColor: 'purple'
|
|
158
174
|
}, {
|
|
159
175
|
name: 'Warm Red C 80',
|
|
160
|
-
code: '
|
|
161
|
-
parentColor: '
|
|
176
|
+
code: 'warmRedC80',
|
|
177
|
+
parentColor: 'warmRedC'
|
|
162
178
|
}, {
|
|
163
179
|
name: '137C 80',
|
|
164
|
-
code: '
|
|
165
|
-
parentColor: '
|
|
180
|
+
code: '137C80',
|
|
181
|
+
parentColor: '137C'
|
|
166
182
|
}, {
|
|
167
183
|
name: '311C 80',
|
|
168
|
-
code: '
|
|
169
|
-
parentColor: '
|
|
184
|
+
code: '311C80',
|
|
185
|
+
parentColor: '311C'
|
|
170
186
|
}, {
|
|
171
187
|
name: 'Reflex Blue 80',
|
|
172
|
-
code: '
|
|
173
|
-
parentColor: '
|
|
188
|
+
code: 'reflexBlue80',
|
|
189
|
+
parentColor: 'reflexBlue'
|
|
174
190
|
}, {
|
|
175
191
|
name: 'Fury 80',
|
|
176
|
-
code: '
|
|
177
|
-
parentColor: '
|
|
192
|
+
code: 'fury80',
|
|
193
|
+
parentColor: 'fury'
|
|
178
194
|
}, {
|
|
179
|
-
name: 'Green 20',
|
|
180
|
-
code: '
|
|
181
|
-
parentColor: '
|
|
195
|
+
name: 'Brand Green 20',
|
|
196
|
+
code: 'brandGreen20',
|
|
197
|
+
parentColor: 'green'
|
|
182
198
|
}, {
|
|
183
|
-
name: 'Purple 20',
|
|
184
|
-
code: '
|
|
185
|
-
parentColor: '
|
|
199
|
+
name: 'Brand Purple 20',
|
|
200
|
+
code: 'brandPurple20',
|
|
201
|
+
parentColor: 'purple'
|
|
186
202
|
}, {
|
|
187
203
|
name: 'Warm Red C 20',
|
|
188
|
-
code: '
|
|
189
|
-
parentColor: '
|
|
204
|
+
code: 'warmRedC20',
|
|
205
|
+
parentColor: 'warmRedC'
|
|
190
206
|
}, {
|
|
191
207
|
name: '137C 20',
|
|
192
|
-
code: '
|
|
193
|
-
parentColor: '
|
|
208
|
+
code: '137C20',
|
|
209
|
+
parentColor: '137C'
|
|
194
210
|
}, {
|
|
195
211
|
name: '311C 20',
|
|
196
|
-
code: '
|
|
197
|
-
parentColor: '
|
|
212
|
+
code: '311C20',
|
|
213
|
+
parentColor: '311C'
|
|
198
214
|
}, {
|
|
199
215
|
name: 'Reflex Blue 20',
|
|
200
|
-
code: '
|
|
201
|
-
parentColor: '
|
|
216
|
+
code: 'reflexBlue20',
|
|
217
|
+
parentColor: 'reflexBlue'
|
|
202
218
|
}, {
|
|
203
219
|
name: 'Fury 20',
|
|
204
|
-
code: '
|
|
205
|
-
parentColor: '
|
|
220
|
+
code: 'fury20',
|
|
221
|
+
parentColor: 'fury'
|
|
206
222
|
}]
|
|
207
223
|
}
|
|
208
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
|
}
|