@megafon/ui-core 2.1.2 → 3.0.0-beta.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/CHANGELOG.md +50 -0
- package/dist/es/colors/ColorItem/ColorItem.css +48 -1
- package/dist/es/colors/Colors.css +54 -7
- package/dist/es/colors/Colors.js +2 -2
- package/dist/es/colors/colorsData.js +24 -8
- package/dist/es/components/Accordion/Accordion.css +53 -5
- package/dist/es/components/Banner/Banner.css +49 -2
- package/dist/es/components/Banner/BannerDot.css +51 -4
- package/dist/es/components/Button/Button.css +124 -67
- package/dist/es/components/Calendar/Calendar.css +47 -0
- package/dist/es/components/Calendar/components/Day/Day.css +57 -10
- package/dist/es/components/Calendar/components/Month/Month.css +50 -3
- package/dist/es/components/Carousel/Carousel.css +51 -4
- package/dist/es/components/Checkbox/Checkbox.css +65 -18
- package/dist/es/components/ContentArea/ContentArea.css +63 -20
- package/dist/es/components/ContentArea/ContentArea.d.ts +3 -2
- package/dist/es/components/ContentArea/ContentArea.js +13 -6
- 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 +47 -0
- package/dist/es/components/Header/Header.css +55 -5
- 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 +47 -0
- package/dist/es/components/List/List.css +56 -6
- 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 +47 -0
- package/dist/es/components/Logo/Logo.css +47 -0
- package/dist/es/components/Logo/Logo.js +4 -8
- package/dist/es/components/NavArrow/NavArrow.css +52 -5
- package/dist/es/components/Notification/Notification.css +88 -24
- package/dist/es/components/Pagination/Pagination.css +47 -0
- 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 +54 -10
- 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 +52 -5
- package/dist/es/components/RadioButton/RadioButton.css +54 -7
- 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 +67 -18
- package/dist/es/components/Select/Select.css +76 -28
- package/dist/es/components/Switcher/Switcher.css +65 -21
- package/dist/es/components/Tabs/Tabs.css +77 -30
- package/dist/es/components/Tabs/Tabs.js +41 -32
- package/dist/es/components/TextField/TextField.css +74 -26
- package/dist/es/components/TextLink/TextLink.css +57 -7
- 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 +49 -1
- package/dist/es/components/Tooltip/Tooltip.css +48 -1
- package/dist/es/styles/base.css +54 -0
- package/dist/lib/colors/ColorItem/ColorItem.css +48 -1
- package/dist/lib/colors/Colors.css +54 -7
- package/dist/lib/colors/Colors.js +2 -2
- package/dist/lib/colors/colorsData.js +24 -8
- package/dist/lib/components/Accordion/Accordion.css +53 -5
- package/dist/lib/components/Banner/Banner.css +49 -2
- package/dist/lib/components/Banner/BannerDot.css +51 -4
- package/dist/lib/components/Button/Button.css +124 -67
- package/dist/lib/components/Calendar/Calendar.css +47 -0
- package/dist/lib/components/Calendar/components/Day/Day.css +57 -10
- package/dist/lib/components/Calendar/components/Month/Month.css +50 -3
- package/dist/lib/components/Carousel/Carousel.css +51 -4
- package/dist/lib/components/Checkbox/Checkbox.css +65 -18
- package/dist/lib/components/ContentArea/ContentArea.css +63 -20
- package/dist/lib/components/ContentArea/ContentArea.d.ts +3 -2
- package/dist/lib/components/ContentArea/ContentArea.js +13 -6
- 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 +47 -0
- package/dist/lib/components/Header/Header.css +55 -5
- 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 +47 -0
- package/dist/lib/components/List/List.css +56 -6
- 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 +47 -0
- package/dist/lib/components/Logo/Logo.css +47 -0
- package/dist/lib/components/Logo/Logo.js +4 -8
- package/dist/lib/components/NavArrow/NavArrow.css +52 -5
- package/dist/lib/components/Notification/Notification.css +88 -24
- package/dist/lib/components/Pagination/Pagination.css +47 -0
- 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 +54 -10
- 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 +52 -5
- package/dist/lib/components/RadioButton/RadioButton.css +54 -7
- 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 +67 -18
- package/dist/lib/components/Select/Select.css +76 -28
- package/dist/lib/components/Switcher/Switcher.css +65 -21
- package/dist/lib/components/Tabs/Tabs.css +77 -30
- package/dist/lib/components/Tabs/Tabs.js +41 -32
- package/dist/lib/components/TextField/TextField.css +74 -26
- package/dist/lib/components/TextLink/TextLink.css +57 -7
- 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 +49 -1
- package/dist/lib/components/Tooltip/Tooltip.css +48 -1
- package/dist/lib/styles/base.css +54 -0
- package/package.json +4 -4
- package/styles/base.less +61 -75
|
@@ -24,7 +24,8 @@ var colors = {
|
|
|
24
24
|
border: '1px solid #EDEDED'
|
|
25
25
|
}, {
|
|
26
26
|
name: 'Content',
|
|
27
|
-
code: '#333333'
|
|
27
|
+
code: '#333333',
|
|
28
|
+
border: '1px solid #EDEDED'
|
|
28
29
|
}, {
|
|
29
30
|
name: 'Spb Sky 0',
|
|
30
31
|
code: '#F6F6F6',
|
|
@@ -73,6 +74,15 @@ var colors = {
|
|
|
73
74
|
}, {
|
|
74
75
|
name: 'Background',
|
|
75
76
|
code: '#FFFFFF'
|
|
77
|
+
}, {
|
|
78
|
+
name: 'Button Hov. G.',
|
|
79
|
+
code: '#10E272'
|
|
80
|
+
}, {
|
|
81
|
+
name: 'Button Hov. P.',
|
|
82
|
+
code: '#A500BF'
|
|
83
|
+
}, {
|
|
84
|
+
name: 'Button Down',
|
|
85
|
+
code: '#404D46'
|
|
76
86
|
}]
|
|
77
87
|
}
|
|
78
88
|
},
|
|
@@ -101,11 +111,12 @@ var colors = {
|
|
|
101
111
|
description: 'Цвета не зависящие от темы',
|
|
102
112
|
colors: [{
|
|
103
113
|
name: 'STC White',
|
|
104
|
-
code: '#
|
|
114
|
+
code: '#FFFFFF',
|
|
105
115
|
border: '1px solid #EDEDED'
|
|
106
116
|
}, {
|
|
107
117
|
name: 'STC Black',
|
|
108
|
-
code: '#333333'
|
|
118
|
+
code: '#333333',
|
|
119
|
+
border: '1px solid #EDEDED'
|
|
109
120
|
}]
|
|
110
121
|
}
|
|
111
122
|
},
|
|
@@ -127,19 +138,24 @@ var colors = {
|
|
|
127
138
|
border: '1px solid #EDEDED'
|
|
128
139
|
}, {
|
|
129
140
|
name: 'STC White 50%',
|
|
130
|
-
code: '#FFFFFF80'
|
|
141
|
+
code: '#FFFFFF80',
|
|
142
|
+
border: '1px solid #EDEDED'
|
|
131
143
|
}, {
|
|
132
144
|
name: 'STC Black 5%',
|
|
133
|
-
code: '#3333330D'
|
|
145
|
+
code: '#3333330D',
|
|
146
|
+
border: '1px solid #EDEDED'
|
|
134
147
|
}, {
|
|
135
148
|
name: 'STC Black 10%',
|
|
136
|
-
code: '#3333331A'
|
|
149
|
+
code: '#3333331A',
|
|
150
|
+
border: '1px solid #EDEDED'
|
|
137
151
|
}, {
|
|
138
152
|
name: 'STC Black 20%',
|
|
139
|
-
code: '#33333333'
|
|
153
|
+
code: '#33333333',
|
|
154
|
+
border: '1px solid #EDEDED'
|
|
140
155
|
}, {
|
|
141
156
|
name: 'STC Black 50%',
|
|
142
|
-
code: '#33333380'
|
|
157
|
+
code: '#33333380',
|
|
158
|
+
border: '1px solid #EDEDED'
|
|
143
159
|
}]
|
|
144
160
|
}
|
|
145
161
|
},
|
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--green: #00B956;
|
|
3
|
+
--purple: #731982;
|
|
4
|
+
--base: #FFFFFF;
|
|
5
|
+
--content: #333333;
|
|
6
|
+
--spbSky0: #F6F6F6;
|
|
7
|
+
--spbSky1: #EDEDED;
|
|
8
|
+
--spbSky2: #D8D8D8;
|
|
9
|
+
--spbSky3: #999999;
|
|
10
|
+
--warmRedC: #EB5A40;
|
|
11
|
+
--137C: #FFA717;
|
|
12
|
+
--311C: #5BD9E5;
|
|
13
|
+
--reflexBlue: #444189;
|
|
14
|
+
--fury: #F62434;
|
|
15
|
+
--systemBlue: #34AAF2;
|
|
16
|
+
--background: #FFFFFF;
|
|
17
|
+
--buttonHoverGreen: #10E272;
|
|
18
|
+
--buttonhoverPurple: #534455;
|
|
19
|
+
--buttonDown: #404D46;
|
|
20
|
+
--gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
|
|
21
|
+
--gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
|
|
22
|
+
--gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
|
|
23
|
+
--STCWhite: #FFFFFF;
|
|
24
|
+
--STCBlack: #333333;
|
|
25
|
+
--STCWhite5: #FFFFFF0D;
|
|
26
|
+
--STCWhite10: #FFFFFF1A;
|
|
27
|
+
--STCWhite20: #FFFFFF33;
|
|
28
|
+
--STCWhite50: #FFFFFF80;
|
|
29
|
+
--STCBlack5: #3333330D;
|
|
30
|
+
--STCBlack10: #3333331A;
|
|
31
|
+
--STCBlack20: #33333333;
|
|
32
|
+
--STCBlack50: #33333380;
|
|
33
|
+
--green80: #0CDC78;
|
|
34
|
+
--green20: #DDFFEC;
|
|
35
|
+
--purple80: #AA67C1;
|
|
36
|
+
--purple20: #FFEEFF;
|
|
37
|
+
--warmRedC80: #FF765D;
|
|
38
|
+
--warmRedC20: #FFCFC7;
|
|
39
|
+
--137C80: #FFB945;
|
|
40
|
+
--137C20: #FFEDD1;
|
|
41
|
+
--311C80: #62E3FF;
|
|
42
|
+
--311C20: #E1FAFF;
|
|
43
|
+
--reflexBlue80: #554FC9;
|
|
44
|
+
--reflexBlue20: #EBEAFF;
|
|
45
|
+
--fury80: #F8505D;
|
|
46
|
+
--fury20: #FFC5C9;
|
|
47
|
+
}
|
|
1
48
|
h1,
|
|
2
49
|
h2,
|
|
3
50
|
h3,
|
|
@@ -6,17 +53,17 @@ h5 {
|
|
|
6
53
|
margin: 0;
|
|
7
54
|
}
|
|
8
55
|
.mfui-accordion {
|
|
9
|
-
border-top: 1px solid
|
|
10
|
-
border-bottom: 1px solid
|
|
56
|
+
border-top: 1px solid var(--spbSky2);
|
|
57
|
+
border-bottom: 1px solid var(--spbSky2);
|
|
11
58
|
}
|
|
12
59
|
.mfui-accordion + .mfui-accordion {
|
|
13
60
|
border-top: none;
|
|
14
61
|
}
|
|
15
62
|
.mfui-accordion:not(.mfui-accordion_open) .mfui-accordion__title-wrap:hover {
|
|
16
|
-
background:
|
|
63
|
+
background: var(--spbSky0);
|
|
17
64
|
}
|
|
18
65
|
.mfui-accordion.mfui-accordion_open .mfui-accordion__title-wrap {
|
|
19
|
-
background:
|
|
66
|
+
background: var(--spbSky1);
|
|
20
67
|
}
|
|
21
68
|
.mfui-accordion__title-wrap {
|
|
22
69
|
position: relative;
|
|
@@ -42,6 +89,7 @@ h5 {
|
|
|
42
89
|
-webkit-transform: translateY(-50%);
|
|
43
90
|
transform: translateY(-50%);
|
|
44
91
|
opacity: 1;
|
|
92
|
+
fill: var(--content);
|
|
45
93
|
}
|
|
46
94
|
.mfui-accordion__content-inner {
|
|
47
95
|
padding: 24px 16px;
|
|
@@ -66,5 +114,5 @@ h5 {
|
|
|
66
114
|
padding-bottom: 24px;
|
|
67
115
|
}
|
|
68
116
|
.mfui-accordion__icon {
|
|
69
|
-
fill:
|
|
117
|
+
fill: var(--content);
|
|
70
118
|
}
|
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--green: #00B956;
|
|
3
|
+
--purple: #731982;
|
|
4
|
+
--base: #FFFFFF;
|
|
5
|
+
--content: #333333;
|
|
6
|
+
--spbSky0: #F6F6F6;
|
|
7
|
+
--spbSky1: #EDEDED;
|
|
8
|
+
--spbSky2: #D8D8D8;
|
|
9
|
+
--spbSky3: #999999;
|
|
10
|
+
--warmRedC: #EB5A40;
|
|
11
|
+
--137C: #FFA717;
|
|
12
|
+
--311C: #5BD9E5;
|
|
13
|
+
--reflexBlue: #444189;
|
|
14
|
+
--fury: #F62434;
|
|
15
|
+
--systemBlue: #34AAF2;
|
|
16
|
+
--background: #FFFFFF;
|
|
17
|
+
--buttonHoverGreen: #10E272;
|
|
18
|
+
--buttonhoverPurple: #534455;
|
|
19
|
+
--buttonDown: #404D46;
|
|
20
|
+
--gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
|
|
21
|
+
--gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
|
|
22
|
+
--gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
|
|
23
|
+
--STCWhite: #FFFFFF;
|
|
24
|
+
--STCBlack: #333333;
|
|
25
|
+
--STCWhite5: #FFFFFF0D;
|
|
26
|
+
--STCWhite10: #FFFFFF1A;
|
|
27
|
+
--STCWhite20: #FFFFFF33;
|
|
28
|
+
--STCWhite50: #FFFFFF80;
|
|
29
|
+
--STCBlack5: #3333330D;
|
|
30
|
+
--STCBlack10: #3333331A;
|
|
31
|
+
--STCBlack20: #33333333;
|
|
32
|
+
--STCBlack50: #33333380;
|
|
33
|
+
--green80: #0CDC78;
|
|
34
|
+
--green20: #DDFFEC;
|
|
35
|
+
--purple80: #AA67C1;
|
|
36
|
+
--purple20: #FFEEFF;
|
|
37
|
+
--warmRedC80: #FF765D;
|
|
38
|
+
--warmRedC20: #FFCFC7;
|
|
39
|
+
--137C80: #FFB945;
|
|
40
|
+
--137C20: #FFEDD1;
|
|
41
|
+
--311C80: #62E3FF;
|
|
42
|
+
--311C20: #E1FAFF;
|
|
43
|
+
--reflexBlue80: #554FC9;
|
|
44
|
+
--reflexBlue20: #EBEAFF;
|
|
45
|
+
--fury80: #F8505D;
|
|
46
|
+
--fury20: #FFC5C9;
|
|
47
|
+
}
|
|
1
48
|
h1,
|
|
2
49
|
h2,
|
|
3
50
|
h3,
|
|
@@ -100,10 +147,10 @@ h5 {
|
|
|
100
147
|
background-color: transparent;
|
|
101
148
|
}
|
|
102
149
|
.mfui-banner__pagination_theme_green {
|
|
103
|
-
background-color:
|
|
150
|
+
background-color: var(--green);
|
|
104
151
|
}
|
|
105
152
|
.mfui-banner__pagination_theme_dark {
|
|
106
|
-
background-color:
|
|
153
|
+
background-color: var(--stcBlack20);
|
|
107
154
|
}
|
|
108
155
|
.mfui-banner__dot {
|
|
109
156
|
width: 12px;
|
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--green: #00B956;
|
|
3
|
+
--purple: #731982;
|
|
4
|
+
--base: #FFFFFF;
|
|
5
|
+
--content: #333333;
|
|
6
|
+
--spbSky0: #F6F6F6;
|
|
7
|
+
--spbSky1: #EDEDED;
|
|
8
|
+
--spbSky2: #D8D8D8;
|
|
9
|
+
--spbSky3: #999999;
|
|
10
|
+
--warmRedC: #EB5A40;
|
|
11
|
+
--137C: #FFA717;
|
|
12
|
+
--311C: #5BD9E5;
|
|
13
|
+
--reflexBlue: #444189;
|
|
14
|
+
--fury: #F62434;
|
|
15
|
+
--systemBlue: #34AAF2;
|
|
16
|
+
--background: #FFFFFF;
|
|
17
|
+
--buttonHoverGreen: #10E272;
|
|
18
|
+
--buttonhoverPurple: #534455;
|
|
19
|
+
--buttonDown: #404D46;
|
|
20
|
+
--gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
|
|
21
|
+
--gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
|
|
22
|
+
--gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
|
|
23
|
+
--STCWhite: #FFFFFF;
|
|
24
|
+
--STCBlack: #333333;
|
|
25
|
+
--STCWhite5: #FFFFFF0D;
|
|
26
|
+
--STCWhite10: #FFFFFF1A;
|
|
27
|
+
--STCWhite20: #FFFFFF33;
|
|
28
|
+
--STCWhite50: #FFFFFF80;
|
|
29
|
+
--STCBlack5: #3333330D;
|
|
30
|
+
--STCBlack10: #3333331A;
|
|
31
|
+
--STCBlack20: #33333333;
|
|
32
|
+
--STCBlack50: #33333380;
|
|
33
|
+
--green80: #0CDC78;
|
|
34
|
+
--green20: #DDFFEC;
|
|
35
|
+
--purple80: #AA67C1;
|
|
36
|
+
--purple20: #FFEEFF;
|
|
37
|
+
--warmRedC80: #FF765D;
|
|
38
|
+
--warmRedC20: #FFCFC7;
|
|
39
|
+
--137C80: #FFB945;
|
|
40
|
+
--137C20: #FFEDD1;
|
|
41
|
+
--311C80: #62E3FF;
|
|
42
|
+
--311C20: #E1FAFF;
|
|
43
|
+
--reflexBlue80: #554FC9;
|
|
44
|
+
--reflexBlue20: #EBEAFF;
|
|
45
|
+
--fury80: #F8505D;
|
|
46
|
+
--fury20: #FFC5C9;
|
|
47
|
+
}
|
|
1
48
|
h1,
|
|
2
49
|
h2,
|
|
3
50
|
h3,
|
|
@@ -27,14 +74,14 @@ h5 {
|
|
|
27
74
|
width: 100%;
|
|
28
75
|
height: 100%;
|
|
29
76
|
border-radius: 50%;
|
|
30
|
-
background-color:
|
|
77
|
+
background-color: var(--stcWhite50);
|
|
31
78
|
}
|
|
32
79
|
.mfui-banner-dot_active {
|
|
33
80
|
padding: 0;
|
|
34
81
|
cursor: default;
|
|
35
82
|
}
|
|
36
83
|
.mfui-banner-dot_active:before {
|
|
37
|
-
background-color:
|
|
84
|
+
background-color: var(--stcWhite);
|
|
38
85
|
}
|
|
39
86
|
.mfui-banner-dot_active.mfui-banner-dot_timer:before {
|
|
40
87
|
display: none;
|
|
@@ -54,8 +101,8 @@ h5 {
|
|
|
54
101
|
transform-origin: center;
|
|
55
102
|
-webkit-animation: timer linear;
|
|
56
103
|
animation: timer linear;
|
|
57
|
-
fill:
|
|
58
|
-
stroke:
|
|
104
|
+
fill: var(--stcWhite50);
|
|
105
|
+
stroke: var(--base);
|
|
59
106
|
stroke-width: 100;
|
|
60
107
|
stroke-dasharray: 1000;
|
|
61
108
|
}
|
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--green: #00B956;
|
|
3
|
+
--purple: #731982;
|
|
4
|
+
--base: #FFFFFF;
|
|
5
|
+
--content: #333333;
|
|
6
|
+
--spbSky0: #F6F6F6;
|
|
7
|
+
--spbSky1: #EDEDED;
|
|
8
|
+
--spbSky2: #D8D8D8;
|
|
9
|
+
--spbSky3: #999999;
|
|
10
|
+
--warmRedC: #EB5A40;
|
|
11
|
+
--137C: #FFA717;
|
|
12
|
+
--311C: #5BD9E5;
|
|
13
|
+
--reflexBlue: #444189;
|
|
14
|
+
--fury: #F62434;
|
|
15
|
+
--systemBlue: #34AAF2;
|
|
16
|
+
--background: #FFFFFF;
|
|
17
|
+
--buttonHoverGreen: #10E272;
|
|
18
|
+
--buttonhoverPurple: #534455;
|
|
19
|
+
--buttonDown: #404D46;
|
|
20
|
+
--gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
|
|
21
|
+
--gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
|
|
22
|
+
--gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
|
|
23
|
+
--STCWhite: #FFFFFF;
|
|
24
|
+
--STCBlack: #333333;
|
|
25
|
+
--STCWhite5: #FFFFFF0D;
|
|
26
|
+
--STCWhite10: #FFFFFF1A;
|
|
27
|
+
--STCWhite20: #FFFFFF33;
|
|
28
|
+
--STCWhite50: #FFFFFF80;
|
|
29
|
+
--STCBlack5: #3333330D;
|
|
30
|
+
--STCBlack10: #3333331A;
|
|
31
|
+
--STCBlack20: #33333333;
|
|
32
|
+
--STCBlack50: #33333380;
|
|
33
|
+
--green80: #0CDC78;
|
|
34
|
+
--green20: #DDFFEC;
|
|
35
|
+
--purple80: #AA67C1;
|
|
36
|
+
--purple20: #FFEEFF;
|
|
37
|
+
--warmRedC80: #FF765D;
|
|
38
|
+
--warmRedC20: #FFCFC7;
|
|
39
|
+
--137C80: #FFB945;
|
|
40
|
+
--137C20: #FFEDD1;
|
|
41
|
+
--311C80: #62E3FF;
|
|
42
|
+
--311C20: #E1FAFF;
|
|
43
|
+
--reflexBlue80: #554FC9;
|
|
44
|
+
--reflexBlue20: #EBEAFF;
|
|
45
|
+
--fury80: #F8505D;
|
|
46
|
+
--fury20: #FFC5C9;
|
|
47
|
+
}
|
|
1
48
|
h1,
|
|
2
49
|
h2,
|
|
3
50
|
h3,
|
|
@@ -5,6 +52,16 @@ h4,
|
|
|
5
52
|
h5 {
|
|
6
53
|
margin: 0;
|
|
7
54
|
}
|
|
55
|
+
:root {
|
|
56
|
+
--green7: rgba(0, 185, 86, 0.07);
|
|
57
|
+
--green14: rgba(0, 185, 86, 0.14);
|
|
58
|
+
--purple7: rgba(115, 25, 130, 0.07);
|
|
59
|
+
--purple14: rgba(115, 25, 130, 0.14);
|
|
60
|
+
--content7: rgba(51, 51, 51, 0.07);
|
|
61
|
+
--content14: rgba(51, 51, 51, 0.14);
|
|
62
|
+
--base7: rgba(255, 255, 255, 0.07);
|
|
63
|
+
--base14: rgba(255, 255, 255, 0.14);
|
|
64
|
+
}
|
|
8
65
|
.mfui-button {
|
|
9
66
|
font-family: inherit;
|
|
10
67
|
font-size: 15px;
|
|
@@ -15,7 +72,7 @@ h5 {
|
|
|
15
72
|
padding: 0 32px;
|
|
16
73
|
border: none;
|
|
17
74
|
border-radius: 30px;
|
|
18
|
-
color:
|
|
75
|
+
color: var(--stcWhite);
|
|
19
76
|
font-weight: 500;
|
|
20
77
|
text-align: center;
|
|
21
78
|
text-decoration: none;
|
|
@@ -207,119 +264,119 @@ h5 {
|
|
|
207
264
|
display: none;
|
|
208
265
|
}
|
|
209
266
|
.mfui-button_type_primary.mfui-button_theme_green {
|
|
210
|
-
color:
|
|
211
|
-
background-color:
|
|
267
|
+
color: var(--stcWhite);
|
|
268
|
+
background-color: var(--green);
|
|
212
269
|
}
|
|
213
270
|
.mfui-button_type_primary.mfui-button_theme_green svg {
|
|
214
|
-
fill:
|
|
271
|
+
fill: var(--stcWhite);
|
|
215
272
|
}
|
|
216
273
|
.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
|
|
274
|
+
background-color: var(--buttonHoverGreen);
|
|
275
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
276
|
+
box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
220
277
|
}
|
|
221
278
|
.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
|
|
279
|
+
background-color: var(--buttonDown);
|
|
280
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
281
|
+
box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
225
282
|
}
|
|
226
283
|
.mfui-button_type_primary.mfui-button_theme_purple {
|
|
227
|
-
color:
|
|
228
|
-
background-color:
|
|
284
|
+
color: var(--stcWhite);
|
|
285
|
+
background-color: var(--purple);
|
|
229
286
|
}
|
|
230
287
|
.mfui-button_type_primary.mfui-button_theme_purple svg {
|
|
231
|
-
fill:
|
|
288
|
+
fill: var(--stcWhite);
|
|
232
289
|
}
|
|
233
290
|
.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
|
|
291
|
+
background-color: var(--buttonhoverPurple);
|
|
292
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonhoverPurple);
|
|
293
|
+
box-shadow: inset 0 0 0 1px var(--buttonhoverPurple);
|
|
237
294
|
}
|
|
238
295
|
.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
|
|
296
|
+
background-color: var(--buttonDown);
|
|
297
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
298
|
+
box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
242
299
|
}
|
|
243
300
|
.mfui-button_type_primary.mfui-button_theme_white {
|
|
244
|
-
color:
|
|
245
|
-
background-color:
|
|
301
|
+
color: var(--stcBlack);
|
|
302
|
+
background-color: var(--stcWhite);
|
|
246
303
|
}
|
|
247
304
|
.mfui-button_type_primary.mfui-button_theme_white svg {
|
|
248
|
-
fill:
|
|
305
|
+
fill: var(--stcBlack);
|
|
249
306
|
}
|
|
250
307
|
.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
|
|
308
|
+
color: var(--stcBlack);
|
|
309
|
+
background-color: var(--buttonHoverGreen);
|
|
310
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
311
|
+
box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
|
|
255
312
|
}
|
|
256
313
|
.mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover svg {
|
|
257
|
-
fill:
|
|
314
|
+
fill: var(--stcBlack);
|
|
258
315
|
}
|
|
259
316
|
.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
|
|
317
|
+
background-color: var(--buttonDown);
|
|
318
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
319
|
+
box-shadow: inset 0 0 0 1px var(--buttonDown);
|
|
263
320
|
}
|
|
264
321
|
.mfui-button_type_outline.mfui-button_theme_green {
|
|
265
|
-
color:
|
|
322
|
+
color: var(--green);
|
|
266
323
|
background-color: transparent;
|
|
267
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
268
|
-
box-shadow: inset 0 0 0 1px
|
|
324
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--green);
|
|
325
|
+
box-shadow: inset 0 0 0 1px var(--green);
|
|
269
326
|
}
|
|
270
327
|
.mfui-button_type_outline.mfui-button_theme_green svg {
|
|
271
|
-
fill:
|
|
328
|
+
fill: var(--green);
|
|
272
329
|
}
|
|
273
330
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green:not(.mfui-button_loading):hover {
|
|
274
|
-
background-color:
|
|
331
|
+
background-color: var(--green7);
|
|
275
332
|
}
|
|
276
333
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green:not(.mfui-button_loading):active {
|
|
277
|
-
background-color:
|
|
334
|
+
background-color: var(--green14);
|
|
278
335
|
}
|
|
279
336
|
.mfui-button_type_outline.mfui-button_theme_purple {
|
|
280
|
-
color:
|
|
337
|
+
color: var(--purple);
|
|
281
338
|
background-color: transparent;
|
|
282
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
283
|
-
box-shadow: inset 0 0 0 1px
|
|
339
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--purple);
|
|
340
|
+
box-shadow: inset 0 0 0 1px var(--purple);
|
|
284
341
|
}
|
|
285
342
|
.mfui-button_type_outline.mfui-button_theme_purple svg {
|
|
286
|
-
fill:
|
|
343
|
+
fill: var(--purple);
|
|
287
344
|
}
|
|
288
345
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple:not(.mfui-button_loading):hover {
|
|
289
|
-
background-color:
|
|
346
|
+
background-color: var(--purple7);
|
|
290
347
|
}
|
|
291
348
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple:not(.mfui-button_loading):active {
|
|
292
|
-
background-color:
|
|
349
|
+
background-color: var(--purple14);
|
|
293
350
|
}
|
|
294
351
|
.mfui-button_type_outline.mfui-button_theme_white {
|
|
295
|
-
color:
|
|
352
|
+
color: var(--stcWhite);
|
|
296
353
|
background-color: transparent;
|
|
297
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
298
|
-
box-shadow: inset 0 0 0 1px
|
|
354
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--stcWhite);
|
|
355
|
+
box-shadow: inset 0 0 0 1px var(--stcWhite);
|
|
299
356
|
}
|
|
300
357
|
.mfui-button_type_outline.mfui-button_theme_white svg {
|
|
301
|
-
fill:
|
|
358
|
+
fill: var(--stcWhite);
|
|
302
359
|
}
|
|
303
360
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white:not(.mfui-button_loading):hover {
|
|
304
|
-
background-color:
|
|
361
|
+
background-color: var(--base7);
|
|
305
362
|
}
|
|
306
363
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white:not(.mfui-button_loading):active {
|
|
307
|
-
background-color:
|
|
364
|
+
background-color: var(--base14);
|
|
308
365
|
}
|
|
309
366
|
.mfui-button_type_outline.mfui-button_theme_black {
|
|
310
|
-
color:
|
|
367
|
+
color: var(--stcBlack);
|
|
311
368
|
background-color: transparent;
|
|
312
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
313
|
-
box-shadow: inset 0 0 0 1px
|
|
369
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--stcBlack);
|
|
370
|
+
box-shadow: inset 0 0 0 1px var(--stcBlack);
|
|
314
371
|
}
|
|
315
372
|
.mfui-button_type_outline.mfui-button_theme_black svg {
|
|
316
|
-
fill:
|
|
373
|
+
fill: var(--stcBlack);
|
|
317
374
|
}
|
|
318
375
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black:not(.mfui-button_loading):hover {
|
|
319
|
-
background-color:
|
|
376
|
+
background-color: var(--content7);
|
|
320
377
|
}
|
|
321
378
|
.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black:not(.mfui-button_loading):active {
|
|
322
|
-
background-color:
|
|
379
|
+
background-color: var(--content14);
|
|
323
380
|
}
|
|
324
381
|
.mfui-button_full-width {
|
|
325
382
|
display: block;
|
|
@@ -332,44 +389,44 @@ h5 {
|
|
|
332
389
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled,
|
|
333
390
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:hover,
|
|
334
391
|
.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
|
|
392
|
+
color: var(--spbSky3);
|
|
393
|
+
background-color: var(--spbSky1);
|
|
394
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
395
|
+
box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
339
396
|
}
|
|
340
397
|
.mfui-button.mfui-button_type_primary.mfui-button_disabled svg,
|
|
341
398
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled svg,
|
|
342
399
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:hover svg,
|
|
343
400
|
.mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:active svg {
|
|
344
|
-
fill:
|
|
401
|
+
fill: var(--spbSky3);
|
|
345
402
|
}
|
|
346
403
|
.mfui-button.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled,
|
|
347
404
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled,
|
|
348
405
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:hover,
|
|
349
406
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:active {
|
|
350
|
-
color:
|
|
407
|
+
color: var(--stcWhite50);
|
|
351
408
|
background-color: transparent;
|
|
352
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
353
|
-
box-shadow: inset 0 0 0 1px
|
|
409
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--stcWhite50);
|
|
410
|
+
box-shadow: inset 0 0 0 1px var(--stcWhite50);
|
|
354
411
|
}
|
|
355
412
|
.mfui-button.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled svg,
|
|
356
413
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled svg,
|
|
357
414
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:hover svg,
|
|
358
415
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:active svg {
|
|
359
|
-
fill:
|
|
416
|
+
fill: var(--stcWhite50);
|
|
360
417
|
}
|
|
361
418
|
.mfui-button.mfui-button_type_outline.mfui-button_disabled,
|
|
362
419
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled,
|
|
363
420
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:hover,
|
|
364
421
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:active {
|
|
365
|
-
color:
|
|
422
|
+
color: var(--spbSky3);
|
|
366
423
|
background-color: transparent;
|
|
367
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
|
368
|
-
box-shadow: inset 0 0 0 1px
|
|
424
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
425
|
+
box-shadow: inset 0 0 0 1px var(--spbSky3);
|
|
369
426
|
}
|
|
370
427
|
.mfui-button.mfui-button_type_outline.mfui-button_disabled svg,
|
|
371
428
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled svg,
|
|
372
429
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:hover svg,
|
|
373
430
|
.mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:active svg {
|
|
374
|
-
fill:
|
|
431
|
+
fill: var(--spbSky3);
|
|
375
432
|
}
|
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--green: #00B956;
|
|
3
|
+
--purple: #731982;
|
|
4
|
+
--base: #FFFFFF;
|
|
5
|
+
--content: #333333;
|
|
6
|
+
--spbSky0: #F6F6F6;
|
|
7
|
+
--spbSky1: #EDEDED;
|
|
8
|
+
--spbSky2: #D8D8D8;
|
|
9
|
+
--spbSky3: #999999;
|
|
10
|
+
--warmRedC: #EB5A40;
|
|
11
|
+
--137C: #FFA717;
|
|
12
|
+
--311C: #5BD9E5;
|
|
13
|
+
--reflexBlue: #444189;
|
|
14
|
+
--fury: #F62434;
|
|
15
|
+
--systemBlue: #34AAF2;
|
|
16
|
+
--background: #FFFFFF;
|
|
17
|
+
--buttonHoverGreen: #10E272;
|
|
18
|
+
--buttonhoverPurple: #534455;
|
|
19
|
+
--buttonDown: #404D46;
|
|
20
|
+
--gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
|
|
21
|
+
--gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
|
|
22
|
+
--gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
|
|
23
|
+
--STCWhite: #FFFFFF;
|
|
24
|
+
--STCBlack: #333333;
|
|
25
|
+
--STCWhite5: #FFFFFF0D;
|
|
26
|
+
--STCWhite10: #FFFFFF1A;
|
|
27
|
+
--STCWhite20: #FFFFFF33;
|
|
28
|
+
--STCWhite50: #FFFFFF80;
|
|
29
|
+
--STCBlack5: #3333330D;
|
|
30
|
+
--STCBlack10: #3333331A;
|
|
31
|
+
--STCBlack20: #33333333;
|
|
32
|
+
--STCBlack50: #33333380;
|
|
33
|
+
--green80: #0CDC78;
|
|
34
|
+
--green20: #DDFFEC;
|
|
35
|
+
--purple80: #AA67C1;
|
|
36
|
+
--purple20: #FFEEFF;
|
|
37
|
+
--warmRedC80: #FF765D;
|
|
38
|
+
--warmRedC20: #FFCFC7;
|
|
39
|
+
--137C80: #FFB945;
|
|
40
|
+
--137C20: #FFEDD1;
|
|
41
|
+
--311C80: #62E3FF;
|
|
42
|
+
--311C20: #E1FAFF;
|
|
43
|
+
--reflexBlue80: #554FC9;
|
|
44
|
+
--reflexBlue20: #EBEAFF;
|
|
45
|
+
--fury80: #F8505D;
|
|
46
|
+
--fury20: #FFC5C9;
|
|
47
|
+
}
|
|
1
48
|
h1,
|
|
2
49
|
h2,
|
|
3
50
|
h3,
|