@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.
Files changed (108) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/dist/es/colors/ColorItem/ColorItem.css +1 -8
  3. package/dist/es/colors/ColorItem/ColorItem.js +1 -1
  4. package/dist/es/colors/Colors.css +3 -11
  5. package/dist/es/colors/Colors.js +51 -4
  6. package/dist/es/colors/colorsData.js +78 -71
  7. package/dist/es/components/Accordion/Accordion.css +6 -12
  8. package/dist/es/components/Banner/Banner.css +2 -9
  9. package/dist/es/components/Banner/BannerDot.css +4 -11
  10. package/dist/es/components/Button/Button.css +83 -74
  11. package/dist/es/components/Calendar/Calendar.css +0 -7
  12. package/dist/es/components/Calendar/components/Day/Day.css +10 -17
  13. package/dist/es/components/Calendar/components/Month/Month.css +3 -10
  14. package/dist/es/components/Carousel/Carousel.css +4 -11
  15. package/dist/es/components/Checkbox/Checkbox.css +18 -25
  16. package/dist/es/components/ContentArea/ContentArea.css +61 -20
  17. package/dist/es/components/ContentArea/ContentArea.d.ts +0 -1
  18. package/dist/es/components/ContentArea/ContentArea.js +0 -1
  19. package/dist/es/components/Counter/Counter.css +61 -11
  20. package/dist/es/components/Grid/Grid.css +47 -0
  21. package/dist/es/components/Grid/GridColumn.css +0 -7
  22. package/dist/es/components/Header/Header.css +8 -12
  23. package/dist/es/components/Header/Header.d.ts +1 -1
  24. package/dist/es/components/Header/Header.js +2 -2
  25. package/dist/es/components/InputLabel/InputLabel.css +0 -7
  26. package/dist/es/components/List/List.css +9 -13
  27. package/dist/es/components/List/List.d.ts +1 -1
  28. package/dist/es/components/List/List.js +2 -2
  29. package/dist/es/components/List/ListItem.css +0 -7
  30. package/dist/es/components/Logo/Logo.css +0 -7
  31. package/dist/es/components/Logo/Logo.js +4 -8
  32. package/dist/es/components/NavArrow/NavArrow.css +5 -12
  33. package/dist/es/components/Notification/Notification.css +88 -24
  34. package/dist/es/components/Pagination/Pagination.css +0 -7
  35. package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.css +56 -9
  36. package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +47 -0
  37. package/dist/es/components/Paragraph/Paragraph.css +7 -17
  38. package/dist/es/components/Paragraph/Paragraph.d.ts +0 -1
  39. package/dist/es/components/Paragraph/Paragraph.js +1 -2
  40. package/dist/es/components/Preloader/Preloader.css +5 -12
  41. package/dist/es/components/RadioButton/RadioButton.css +7 -14
  42. package/dist/es/components/RadioButton/RadioButton.d.ts +5 -1
  43. package/dist/es/components/RadioButton/RadioButton.js +7 -5
  44. package/dist/es/components/Search/Search.css +20 -25
  45. package/dist/es/components/Select/Select.css +29 -35
  46. package/dist/es/components/Switcher/Switcher.css +18 -28
  47. package/dist/es/components/Tabs/Tabs.css +30 -37
  48. package/dist/es/components/TextField/TextField.css +27 -33
  49. package/dist/es/components/TextLink/TextLink.css +10 -14
  50. package/dist/es/components/TextLink/TextLink.d.ts +1 -1
  51. package/dist/es/components/TextLink/TextLink.js +1 -1
  52. package/dist/es/components/Tile/Tile.css +2 -8
  53. package/dist/es/components/Tooltip/Tooltip.css +1 -8
  54. package/dist/lib/colors/ColorItem/ColorItem.css +1 -8
  55. package/dist/lib/colors/ColorItem/ColorItem.js +1 -1
  56. package/dist/lib/colors/Colors.css +3 -11
  57. package/dist/lib/colors/Colors.js +53 -4
  58. package/dist/lib/colors/colorsData.js +78 -71
  59. package/dist/lib/components/Accordion/Accordion.css +6 -12
  60. package/dist/lib/components/Banner/Banner.css +2 -9
  61. package/dist/lib/components/Banner/BannerDot.css +4 -11
  62. package/dist/lib/components/Button/Button.css +83 -74
  63. package/dist/lib/components/Calendar/Calendar.css +0 -7
  64. package/dist/lib/components/Calendar/components/Day/Day.css +10 -17
  65. package/dist/lib/components/Calendar/components/Month/Month.css +3 -10
  66. package/dist/lib/components/Carousel/Carousel.css +4 -11
  67. package/dist/lib/components/Checkbox/Checkbox.css +18 -25
  68. package/dist/lib/components/ContentArea/ContentArea.css +61 -20
  69. package/dist/lib/components/ContentArea/ContentArea.d.ts +0 -1
  70. package/dist/lib/components/ContentArea/ContentArea.js +0 -1
  71. package/dist/lib/components/Counter/Counter.css +61 -11
  72. package/dist/lib/components/Grid/Grid.css +47 -0
  73. package/dist/lib/components/Grid/GridColumn.css +0 -7
  74. package/dist/lib/components/Header/Header.css +8 -12
  75. package/dist/lib/components/Header/Header.d.ts +1 -1
  76. package/dist/lib/components/Header/Header.js +2 -2
  77. package/dist/lib/components/InputLabel/InputLabel.css +0 -7
  78. package/dist/lib/components/List/List.css +9 -13
  79. package/dist/lib/components/List/List.d.ts +1 -1
  80. package/dist/lib/components/List/List.js +2 -2
  81. package/dist/lib/components/List/ListItem.css +0 -7
  82. package/dist/lib/components/Logo/Logo.css +0 -7
  83. package/dist/lib/components/Logo/Logo.js +4 -8
  84. package/dist/lib/components/NavArrow/NavArrow.css +5 -12
  85. package/dist/lib/components/Notification/Notification.css +88 -24
  86. package/dist/lib/components/Pagination/Pagination.css +0 -7
  87. package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.css +56 -9
  88. package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +47 -0
  89. package/dist/lib/components/Paragraph/Paragraph.css +7 -17
  90. package/dist/lib/components/Paragraph/Paragraph.d.ts +0 -1
  91. package/dist/lib/components/Paragraph/Paragraph.js +1 -2
  92. package/dist/lib/components/Preloader/Preloader.css +5 -12
  93. package/dist/lib/components/RadioButton/RadioButton.css +7 -14
  94. package/dist/lib/components/RadioButton/RadioButton.d.ts +5 -1
  95. package/dist/lib/components/RadioButton/RadioButton.js +6 -4
  96. package/dist/lib/components/Search/Search.css +20 -25
  97. package/dist/lib/components/Select/Select.css +29 -35
  98. package/dist/lib/components/Switcher/Switcher.css +18 -28
  99. package/dist/lib/components/Tabs/Tabs.css +30 -37
  100. package/dist/lib/components/TextField/TextField.css +27 -33
  101. package/dist/lib/components/TextLink/TextLink.css +10 -14
  102. package/dist/lib/components/TextLink/TextLink.d.ts +1 -1
  103. package/dist/lib/components/TextLink/TextLink.js +1 -1
  104. package/dist/lib/components/Tile/Tile.css +2 -8
  105. package/dist/lib/components/Tooltip/Tooltip.css +1 -8
  106. package/package.json +4 -4
  107. package/styles/base.css +54 -0
  108. 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: '#00B956'
13
+ name: 'Brand Green',
14
+ code: 'brandGreen'
15
15
  }, {
16
- name: 'Purple',
17
- code: '#731982'
16
+ name: 'Brand Purple',
17
+ code: 'brandPurple'
18
18
  }]
19
19
  }, {
20
20
  description: 'Градация оттенков серого',
21
21
  colors: [{
22
22
  name: 'Base',
23
- code: '#FFFFFF',
24
- border: '1px solid #EDEDED'
23
+ code: 'base',
24
+ border: '1px solid var(--spbSky1)'
25
25
  }, {
26
26
  name: 'Content',
27
- code: '#333333'
27
+ code: 'content',
28
+ border: '1px solid var(--spbSky1)'
28
29
  }, {
29
30
  name: 'Spb Sky 0',
30
- code: '#F6F6F6',
31
- border: '2px solid #EDEDED'
31
+ code: 'spbSky0',
32
+ border: '2px solid var(--spbSky1)'
32
33
  }, {
33
34
  name: 'Spb Sky 1',
34
- code: '#EDEDED'
35
+ code: 'spbSky1'
35
36
  }, {
36
37
  name: 'Spb Sky 2',
37
- code: '#D8D8D8'
38
+ code: 'spbSky2'
38
39
  }, {
39
40
  name: 'Spb Sky 3',
40
- code: '#999999'
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: '#EB5A40'
51
+ code: 'warmRedC'
51
52
  }, {
52
53
  name: '137C',
53
- code: '#FFA717'
54
+ code: '137C'
54
55
  }, {
55
56
  name: '311C',
56
- code: '#5BD9E5'
57
+ code: '311C'
57
58
  }, {
58
59
  name: 'Reflex Blue',
59
- code: '#444189'
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: '#F62434'
70
+ code: 'fury'
70
71
  }, {
71
72
  name: 'System Blue',
72
- code: '#34AAF2'
73
+ code: 'systemBlue'
73
74
  }, {
74
75
  name: 'Background',
75
- code: '#FFFFFF'
76
+ code: 'background'
76
77
  }, {
77
78
  name: 'Button Hov. G.',
78
- code: '#10E272'
79
+ code: 'buttonHoverGreen'
79
80
  }, {
80
81
  name: 'Button Hov. P.',
81
- code: '#A500BF'
82
+ code: 'buttonhoverPurple'
82
83
  }, {
83
84
  name: 'Button Down',
84
- code: '#404D46'
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: '#01873F #00B956 #14CD6A',
95
+ code: 'gradientBasic',
95
96
  gradient: 'linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%)'
96
97
  }, {
97
98
  name: 'VIP',
98
- code: '#5B1168 #731982 #821E93',
99
+ code: 'gradientVIP',
99
100
  gradient: 'linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%)'
100
101
  }, {
101
102
  name: 'Exclusive',
102
- code: '#2A2674 #444189 #504D93',
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: '#FFFFFFF',
114
- border: '1px solid #EDEDED'
114
+ code: 'stcWhite',
115
+ border: '1px solid var(--spbSky1)'
115
116
  }, {
116
117
  name: 'STC Black',
117
- code: '#333333'
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: '#FFFFFF0D',
128
- border: '1px solid #EDEDED'
129
+ code: 'stcWhite5',
130
+ border: '1px solid var(--spbSky1)'
129
131
  }, {
130
132
  name: 'STC White 10%',
131
- code: '#FFFFFF1A',
132
- border: '1px solid #EDEDED'
133
+ code: 'stcWhite10',
134
+ border: '1px solid var(--spbSky1)'
133
135
  }, {
134
136
  name: 'STC White 20%',
135
- code: '#FFFFFF33',
136
- border: '1px solid #EDEDED'
137
+ code: 'stcWhite20',
138
+ border: '1px solid var(--spbSky1)'
137
139
  }, {
138
140
  name: 'STC White 50%',
139
- code: '#FFFFFF80'
141
+ code: 'stcWhite50',
142
+ border: '1px solid var(--spbSky1)'
140
143
  }, {
141
144
  name: 'STC Black 5%',
142
- code: '#3333330D'
145
+ code: 'stcBlack5',
146
+ border: '1px solid var(--spbSky1)'
143
147
  }, {
144
148
  name: 'STC Black 10%',
145
- code: '#3333331A'
149
+ code: 'stcBlack10',
150
+ border: '1px solid var(--spbSky1)'
146
151
  }, {
147
152
  name: 'STC Black 20%',
148
- code: '#33333333'
153
+ code: 'stcBlack20',
154
+ border: '1px solid var(--spbSky1)'
149
155
  }, {
150
156
  name: 'STC Black 50%',
151
- code: '#33333380'
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: '#0CDC78',
162
- parentColor: '#00B956'
167
+ name: 'Brand Green 80',
168
+ code: 'brandGreen80',
169
+ parentColor: 'green'
163
170
  }, {
164
- name: 'Purple 80',
165
- code: '#AA67C1',
166
- parentColor: '#731982'
171
+ name: 'Brand Purple 80',
172
+ code: 'brandPurple80',
173
+ parentColor: 'purple'
167
174
  }, {
168
175
  name: 'Warm Red C 80',
169
- code: '#FF765D',
170
- parentColor: '#EB5A40'
176
+ code: 'warmRedC80',
177
+ parentColor: 'warmRedC'
171
178
  }, {
172
179
  name: '137C 80',
173
- code: '#FFB945',
174
- parentColor: '#FFB945'
180
+ code: '137C80',
181
+ parentColor: '137C'
175
182
  }, {
176
183
  name: '311C 80',
177
- code: '#62E3FF',
178
- parentColor: '#5BD9E5'
184
+ code: '311C80',
185
+ parentColor: '311C'
179
186
  }, {
180
187
  name: 'Reflex Blue 80',
181
- code: '#554FC9',
182
- parentColor: '#444189'
188
+ code: 'reflexBlue80',
189
+ parentColor: 'reflexBlue'
183
190
  }, {
184
191
  name: 'Fury 80',
185
- code: '#F8505D',
186
- parentColor: '#F62434'
192
+ code: 'fury80',
193
+ parentColor: 'fury'
187
194
  }, {
188
- name: 'Green 20',
189
- code: '#DDFFEC',
190
- parentColor: '#00B956'
195
+ name: 'Brand Green 20',
196
+ code: 'brandGreen20',
197
+ parentColor: 'green'
191
198
  }, {
192
- name: 'Purple 20',
193
- code: '#FFEEFF',
194
- parentColor: '#731982'
199
+ name: 'Brand Purple 20',
200
+ code: 'brandPurple20',
201
+ parentColor: 'purple'
195
202
  }, {
196
203
  name: 'Warm Red C 20',
197
- code: '#FFCFC7',
198
- parentColor: '#EB5A40'
204
+ code: 'warmRedC20',
205
+ parentColor: 'warmRedC'
199
206
  }, {
200
207
  name: '137C 20',
201
- code: '#FFEDD1',
202
- parentColor: '#FFB945'
208
+ code: '137C20',
209
+ parentColor: '137C'
203
210
  }, {
204
211
  name: '311C 20',
205
- code: '#E1FAFF',
206
- parentColor: '#5BD9E5'
212
+ code: '311C20',
213
+ parentColor: '311C'
207
214
  }, {
208
215
  name: 'Reflex Blue 20',
209
- code: '#EBEAFF',
210
- parentColor: '#444189'
216
+ code: 'reflexBlue20',
217
+ parentColor: 'reflexBlue'
211
218
  }, {
212
219
  name: 'Fury 20',
213
- code: '#FFC5C9',
214
- parentColor: '#F62434'
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 #D8D8D8;
10
- border-bottom: 1px solid #D8D8D8;
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: rgba(237, 237, 237, 0.5);
9
+ background: var(--spbSky0);
17
10
  }
18
11
  .mfui-accordion.mfui-accordion_open .mfui-accordion__title-wrap {
19
- background: #EDEDED;
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: #000000;
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: #00B956;
96
+ background-color: var(--brandGreen);
104
97
  }
105
98
  .mfui-banner__pagination_theme_dark {
106
- background-color: rgba(0, 0, 0, 0.25);
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: #FFFFFF80;
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: #FFFFFF;
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: #FFFFFF80;
58
- stroke: #FFFFFF;
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: #FFFFFF;
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: #FFFFFF;
211
- background-color: #00B956;
203
+ color: var(--stcWhite);
204
+ background-color: var(--brandGreen);
212
205
  }
213
206
  .mfui-button_type_primary.mfui-button_theme_green svg {
214
- fill: #FFFFFF;
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: #10E272;
218
- -webkit-box-shadow: inset 0 0 0 1px #10E272;
219
- box-shadow: inset 0 0 0 1px #10E272;
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: #404D46;
223
- -webkit-box-shadow: inset 0 0 0 1px #404D46;
224
- box-shadow: inset 0 0 0 1px #404D46;
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: #FFFFFF;
228
- background-color: #731982;
220
+ color: var(--stcWhite);
221
+ background-color: var(--brandPurple);
229
222
  }
230
223
  .mfui-button_type_primary.mfui-button_theme_purple svg {
231
- fill: #FFFFFF;
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: #534455;
235
- -webkit-box-shadow: inset 0 0 0 1px #534455;
236
- box-shadow: inset 0 0 0 1px #534455;
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: #404D46;
240
- -webkit-box-shadow: inset 0 0 0 1px #404D46;
241
- box-shadow: inset 0 0 0 1px #404D46;
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: #333333;
245
- background-color: #FFFFFF;
237
+ color: var(--stcBlack);
238
+ background-color: var(--stcWhite);
246
239
  }
247
240
  .mfui-button_type_primary.mfui-button_theme_white svg {
248
- fill: #333333;
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: #FFFFFF;
252
- background-color: #10E272;
253
- -webkit-box-shadow: inset 0 0 0 1px #10E272;
254
- box-shadow: inset 0 0 0 1px #10E272;
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: #FFFFFF;
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: #404D46;
261
- -webkit-box-shadow: inset 0 0 0 1px #404D46;
262
- box-shadow: inset 0 0 0 1px #404D46;
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: #00B956;
258
+ color: var(--brandGreen);
266
259
  background-color: transparent;
267
- -webkit-box-shadow: inset 0 0 0 1px #00B956;
268
- box-shadow: inset 0 0 0 1px #00B956;
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: #00B956;
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: rgba(0, 185, 86, 0.07);
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: rgba(0, 185, 86, 0.14);
274
+ background-color: var(--brandGreen14);
278
275
  }
279
276
  .mfui-button_type_outline.mfui-button_theme_purple {
280
- color: #731982;
277
+ color: var(--brandPurple);
281
278
  background-color: transparent;
282
- -webkit-box-shadow: inset 0 0 0 1px #731982;
283
- box-shadow: inset 0 0 0 1px #731982;
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: #731982;
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: rgba(115, 25, 130, 0.07);
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: rgba(115, 25, 130, 0.14);
293
+ background-color: var(--brandPurple14);
293
294
  }
294
295
  .mfui-button_type_outline.mfui-button_theme_white {
295
- color: #FFFFFF;
296
+ color: var(--stcWhite);
296
297
  background-color: transparent;
297
- -webkit-box-shadow: inset 0 0 0 1px #FFFFFF;
298
- box-shadow: inset 0 0 0 1px #FFFFFF;
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: #FFFFFF;
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: rgba(255, 255, 255, 0.07);
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: rgba(255, 255, 255, 0.14);
312
+ background-color: var(--base14);
308
313
  }
309
314
  .mfui-button_type_outline.mfui-button_theme_black {
310
- color: #333333;
315
+ color: var(--stcBlack);
311
316
  background-color: transparent;
312
- -webkit-box-shadow: inset 0 0 0 1px #333333;
313
- box-shadow: inset 0 0 0 1px #333333;
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: #333333;
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: rgba(51, 51, 51, 0.07);
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: rgba(51, 51, 51, 0.14);
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: #33333380;
336
- background-color: #EDEDED;
337
- -webkit-box-shadow: inset 0 0 0 1px #D8D8D8;
338
- box-shadow: inset 0 0 0 1px #D8D8D8;
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: #33333380;
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: #FFFFFF80;
359
+ color: var(--stcWhite50);
351
360
  background-color: transparent;
352
- -webkit-box-shadow: inset 0 0 0 1px #FFFFFF80;
353
- box-shadow: inset 0 0 0 1px #FFFFFF80;
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: #FFFFFF80;
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: #33333380;
374
+ color: var(--spbSky3);
366
375
  background-color: transparent;
367
- -webkit-box-shadow: inset 0 0 0 1px #D8D8D8;
368
- box-shadow: inset 0 0 0 1px #D8D8D8;
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: #33333380;
383
+ fill: var(--spbSky3);
375
384
  }
@@ -1,10 +1,3 @@
1
- h1,
2
- h2,
3
- h3,
4
- h4,
5
- h5 {
6
- margin: 0;
7
- }
8
1
  .mfui-calendar {
9
2
  display: -webkit-inline-box;
10
3
  display: -ms-inline-flexbox;