@megafon/ui-shared 2.0.0-beta.223 → 2.0.0-beta.227
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 +59 -0
- package/dist/es/components/BenefitsIcons/BenefitsIcons.d.ts +2 -0
- package/dist/es/components/BenefitsIcons/BenefitsIcons.js +4 -1
- package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +1 -1
- package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +2 -2
- package/dist/es/components/BenefitsPictures/BenfitsPictures.css +1 -1
- package/dist/es/components/Breadcrumbs/Breadcrumbs.css +1 -1
- package/dist/es/components/ButtonBanner/ButtonBanner.css +6 -6
- package/dist/es/components/Card/Card.css +16 -12
- package/dist/es/components/Card/Card.d.ts +2 -2
- package/dist/es/components/Card/Card.js +4 -5
- package/dist/es/components/Container/Container.css +26 -18
- package/dist/es/components/Instructions/Instructions.css +42 -32
- package/dist/es/components/Instructions/Instructions.js +9 -23
- package/dist/es/components/PageTitle/PageTitle.css +7 -7
- package/dist/es/components/PageTitle/PageTitle.js +12 -7
- package/dist/es/components/Partners/Partners.css +2 -2
- package/dist/es/components/PictureWithDescription/PictureWithDescription.css +2 -2
- package/dist/es/components/Property/Property.css +12 -12
- package/dist/es/components/Property/PropertyDescription.css +1 -1
- package/dist/es/components/Steps/Steps.css +2 -2
- package/dist/es/components/Steps/StepsItem.css +3 -3
- package/dist/es/components/StoreBanner/StoreBanner.css +51 -8
- package/dist/es/components/StoreBanner/StoreBanner.d.ts +11 -2
- package/dist/es/components/StoreBanner/StoreBanner.js +39 -19
- package/dist/es/components/StoreButton/StoreButton.css +5 -2
- package/dist/es/components/StoreButton/StoreButton.d.ts +2 -1
- package/dist/es/components/StoreButton/StoreButton.js +1 -0
- package/dist/es/components/StoreButton/img/huawei-store.png +0 -0
- package/dist/es/components/Table/Table.css +48 -48
- package/dist/es/components/TextBox/TextBoxPicture.css +23 -0
- package/dist/es/components/TextBox/TextBoxPicture.d.ts +17 -0
- package/dist/es/components/TextBox/TextBoxPicture.js +31 -0
- package/dist/es/components/VideoBanner/VideoBanner.css +8 -9
- package/dist/es/components/VideoBlock/VideoBlock.css +3 -3
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +1 -0
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.d.ts +2 -0
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +4 -1
- package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +1 -1
- package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +2 -2
- package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +1 -1
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +1 -1
- package/dist/lib/components/ButtonBanner/ButtonBanner.css +6 -6
- package/dist/lib/components/Card/Card.css +16 -12
- package/dist/lib/components/Card/Card.d.ts +2 -2
- package/dist/lib/components/Card/Card.js +3 -4
- package/dist/lib/components/Container/Container.css +26 -18
- package/dist/lib/components/Instructions/Instructions.css +42 -32
- package/dist/lib/components/Instructions/Instructions.js +8 -25
- package/dist/lib/components/PageTitle/PageTitle.css +7 -7
- package/dist/lib/components/PageTitle/PageTitle.js +12 -7
- package/dist/lib/components/Partners/Partners.css +2 -2
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +2 -2
- package/dist/lib/components/Property/Property.css +12 -12
- package/dist/lib/components/Property/PropertyDescription.css +1 -1
- package/dist/lib/components/Steps/Steps.css +2 -2
- package/dist/lib/components/Steps/StepsItem.css +3 -3
- package/dist/lib/components/StoreBanner/StoreBanner.css +51 -8
- package/dist/lib/components/StoreBanner/StoreBanner.d.ts +11 -2
- package/dist/lib/components/StoreBanner/StoreBanner.js +38 -18
- package/dist/lib/components/StoreButton/StoreButton.css +5 -2
- package/dist/lib/components/StoreButton/StoreButton.d.ts +2 -1
- package/dist/lib/components/StoreButton/StoreButton.js +1 -0
- package/dist/lib/components/StoreButton/img/huawei-store.png +0 -0
- package/dist/lib/components/Table/Table.css +48 -48
- package/dist/lib/components/TextBox/TextBoxPicture.css +23 -0
- package/dist/lib/components/TextBox/TextBoxPicture.d.ts +17 -0
- package/dist/lib/components/TextBox/TextBoxPicture.js +48 -0
- package/dist/lib/components/VideoBanner/VideoBanner.css +8 -9
- package/dist/lib/components/VideoBlock/VideoBlock.css +3 -3
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +8 -0
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,65 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [2.0.0-beta.227](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.226...@megafon/ui-shared@2.0.0-beta.227) (2021-09-27)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **.stylelintrc.json:** move .stylelint.json to root and extends package configs from it ([ae5eac3](https://github.com/MegafonWebLab/megafon-ui/commit/ae5eac3dbbbea00413cea6b45ecbc22babb723c4))
|
12
|
+
* **buttonbanner.less:** fix [@media](https://github.com/media) query position ([955b9b4](https://github.com/MegafonWebLab/megafon-ui/commit/955b9b416933078340e7ad9482073da25ba3a0eb))
|
13
|
+
* **textboxpicture:** fix modifiers names ([52e713d](https://github.com/MegafonWebLab/megafon-ui/commit/52e713d60edb8da68a0dafe62df08baec6ad23bf))
|
14
|
+
* **ui-shared:** add frontend-presets configs; fix stylelint errors ([06df02d](https://github.com/MegafonWebLab/megafon-ui/commit/06df02d5218c611282fa5aea079bca46afcdbd56))
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
# [2.0.0-beta.226](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.225...@megafon/ui-shared@2.0.0-beta.226) (2021-09-20)
|
21
|
+
|
22
|
+
|
23
|
+
### Bug Fixes
|
24
|
+
|
25
|
+
* add frontend-presets for ui-core package and fix stylelint errors ([752bce5](https://github.com/MegafonWebLab/megafon-ui/commit/752bce59cfd31494e85c11faa4795ca7ee89adcc))
|
26
|
+
|
27
|
+
|
28
|
+
### Features
|
29
|
+
|
30
|
+
* **card:** extend type of title and text props ([e275054](https://github.com/MegafonWebLab/megafon-ui/commit/e275054d304ee8870186b21e2e871a94a0e59ca2))
|
31
|
+
* **textboxpictures:** add TextBoxPicture component, should be used only in TexBox component ([a88265f](https://github.com/MegafonWebLab/megafon-ui/commit/a88265f5938f8a27fe51b7cb39fa14ef2e4bdb7f))
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
# [2.0.0-beta.225](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.224...@megafon/ui-shared@2.0.0-beta.225) (2021-09-14)
|
38
|
+
|
39
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
# [2.0.0-beta.224](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.223...@megafon/ui-shared@2.0.0-beta.224) (2021-09-13)
|
46
|
+
|
47
|
+
|
48
|
+
### Bug Fixes
|
49
|
+
|
50
|
+
* **instructions:** removed javascript resolution tracking ([7cfaddb](https://github.com/MegafonWebLab/megafon-ui/commit/7cfaddb3cda52c671b5541e42ff29bd5864809a5))
|
51
|
+
|
52
|
+
|
53
|
+
### Features
|
54
|
+
|
55
|
+
* **benefitsicons:** added classes for Grid and GridColumn ([be71f0c](https://github.com/MegafonWebLab/megafon-ui/commit/be71f0c32ae6e721c30baaa895acca7220a217c0))
|
56
|
+
* **instructions:** fix style for Instructions ([acb53fa](https://github.com/MegafonWebLab/megafon-ui/commit/acb53fa8e8574c22631d89edf02c0503d091f72d))
|
57
|
+
* **instructions:** fix style for iphone 12 mask ([4ae746b](https://github.com/MegafonWebLab/megafon-ui/commit/4ae746b9a347acaf5de29fdbc82082474d7ffcb7))
|
58
|
+
* **pagetitle:** removed breadcrumbs from grid ([04c2c79](https://github.com/MegafonWebLab/megafon-ui/commit/04c2c794061dea920a7db6ed2f1303bbe48127b6))
|
59
|
+
* **storebanner:** added new store button and update StoreBanner ([c13f37b](https://github.com/MegafonWebLab/megafon-ui/commit/c13f37bf8d2e5ed61f4d43c0e1d19eb4375a8c15))
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
6
65
|
# [2.0.0-beta.223](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.222...@megafon/ui-shared@2.0.0-beta.223) (2021-08-30)
|
7
66
|
|
8
67
|
|
@@ -125,13 +125,16 @@ var BenefitsIcons = function BenefitsIcons(_ref) {
|
|
125
125
|
}, /*#__PURE__*/React.createElement("div", {
|
126
126
|
className: cn('inner')
|
127
127
|
}, /*#__PURE__*/React.createElement(Grid, {
|
128
|
+
className: classes.grid,
|
128
129
|
guttersLeft: "medium",
|
129
130
|
hAlign: hAlign
|
130
131
|
}, items.map(function (_ref2, i) {
|
131
132
|
var title = _ref2.title,
|
132
133
|
text = _ref2.text,
|
133
134
|
icon = _ref2.icon;
|
134
|
-
return /*#__PURE__*/React.createElement(GridColumn, _extends({
|
135
|
+
return /*#__PURE__*/React.createElement(GridColumn, _extends({
|
136
|
+
className: classes.gridColumn
|
137
|
+
}, getColumnConfig(iconPosition, items.length, i), {
|
135
138
|
key: i
|
136
139
|
}), /*#__PURE__*/React.createElement(BenefitsIconsTile, {
|
137
140
|
className: classes.item,
|
@@ -19,9 +19,9 @@ h5 {
|
|
19
19
|
.mfui-beta-button-banner:before {
|
20
20
|
content: '';
|
21
21
|
position: absolute;
|
22
|
-
left: 0;
|
23
22
|
top: 0;
|
24
23
|
bottom: 0;
|
24
|
+
left: 0;
|
25
25
|
width: 12px;
|
26
26
|
background-color: #00B956;
|
27
27
|
border-radius: 0 12px 12px 0;
|
@@ -33,8 +33,8 @@ h5 {
|
|
33
33
|
}
|
34
34
|
@media screen and (max-width: 767px) {
|
35
35
|
.mfui-beta-button-banner:before {
|
36
|
-
bottom: auto;
|
37
36
|
right: 0;
|
37
|
+
bottom: auto;
|
38
38
|
width: auto;
|
39
39
|
height: 12px;
|
40
40
|
}
|
@@ -45,8 +45,8 @@ h5 {
|
|
45
45
|
}
|
46
46
|
@media screen and (max-width: 767px) {
|
47
47
|
.mfui-beta-button-banner__content {
|
48
|
-
text-align: center;
|
49
48
|
padding: 36px 16px 32px;
|
49
|
+
text-align: center;
|
50
50
|
}
|
51
51
|
}
|
52
52
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
@@ -65,8 +65,6 @@ h5 {
|
|
65
65
|
}
|
66
66
|
}
|
67
67
|
.mfui-beta-button-banner__media {
|
68
|
-
overflow: hidden;
|
69
|
-
height: 100%;
|
70
68
|
display: -webkit-box;
|
71
69
|
display: -ms-flexbox;
|
72
70
|
display: flex;
|
@@ -76,9 +74,11 @@ h5 {
|
|
76
74
|
-webkit-box-pack: center;
|
77
75
|
-ms-flex-pack: center;
|
78
76
|
justify-content: center;
|
77
|
+
height: 100%;
|
78
|
+
padding: 0 20px;
|
79
|
+
overflow: hidden;
|
79
80
|
background-repeat: no-repeat;
|
80
81
|
background-position: center;
|
81
|
-
padding: 0 20px;
|
82
82
|
border-radius: 0 8px 8px 0;
|
83
83
|
}
|
84
84
|
@media screen and (max-width: 767px) {
|
@@ -10,10 +10,10 @@ h5 {
|
|
10
10
|
display: -ms-flexbox;
|
11
11
|
display: flex;
|
12
12
|
border-radius: 8px;
|
13
|
+
overflow: hidden;
|
14
|
+
background-color: #FFFFFF;
|
13
15
|
-webkit-box-shadow: 0 0.25px 3px rgba(0, 0, 0, 0.25);
|
14
16
|
box-shadow: 0 0.25px 3px rgba(0, 0, 0, 0.25);
|
15
|
-
background-color: #FFFFFF;
|
16
|
-
overflow: hidden;
|
17
17
|
}
|
18
18
|
.mfui-beta-card__inner {
|
19
19
|
display: -webkit-box;
|
@@ -28,9 +28,9 @@ h5 {
|
|
28
28
|
flex-grow: 0;
|
29
29
|
-ms-flex-negative: 1;
|
30
30
|
flex-shrink: 1;
|
31
|
-
width: 100%;
|
32
31
|
-webkit-box-sizing: border-box;
|
33
32
|
box-sizing: border-box;
|
33
|
+
width: 100%;
|
34
34
|
padding: 32px 20px;
|
35
35
|
}
|
36
36
|
@media screen and (max-width: 767px) {
|
@@ -39,7 +39,11 @@ h5 {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
.mfui-beta-card__text {
|
42
|
+
font-size: 15px;
|
43
|
+
line-height: 24px;
|
44
|
+
font-weight: 400;
|
42
45
|
margin-top: 12px;
|
46
|
+
color: #333333;
|
43
47
|
}
|
44
48
|
.mfui-beta-card__btns-wrapper {
|
45
49
|
display: -webkit-box;
|
@@ -47,14 +51,14 @@ h5 {
|
|
47
51
|
display: flex;
|
48
52
|
-ms-flex-wrap: wrap;
|
49
53
|
flex-wrap: wrap;
|
50
|
-
-webkit-box-pack: space-evenly;
|
51
|
-
-ms-flex-pack: space-evenly;
|
52
|
-
justify-content: space-evenly;
|
53
54
|
-webkit-box-align: center;
|
54
55
|
-ms-flex-align: center;
|
55
56
|
align-items: center;
|
56
|
-
|
57
|
+
-webkit-box-pack: space-evenly;
|
58
|
+
-ms-flex-pack: space-evenly;
|
59
|
+
justify-content: space-evenly;
|
57
60
|
margin-top: auto;
|
61
|
+
padding-top: 12px;
|
58
62
|
}
|
59
63
|
.mfui-beta-card__btns-wrapper_left-align {
|
60
64
|
-webkit-box-pack: start;
|
@@ -88,21 +92,21 @@ h5 {
|
|
88
92
|
display: -webkit-box;
|
89
93
|
display: -ms-flexbox;
|
90
94
|
display: flex;
|
91
|
-
-webkit-box-pack: center;
|
92
|
-
-ms-flex-pack: center;
|
93
|
-
justify-content: center;
|
94
95
|
-webkit-box-align: center;
|
95
96
|
-ms-flex-align: center;
|
96
97
|
align-items: center;
|
98
|
+
-webkit-box-pack: center;
|
99
|
+
-ms-flex-pack: center;
|
100
|
+
justify-content: center;
|
97
101
|
margin-top: -32px;
|
98
|
-
margin-left: -20px;
|
99
102
|
margin-right: -20px;
|
103
|
+
margin-left: -20px;
|
100
104
|
}
|
101
105
|
@media screen and (max-width: 767px) {
|
102
106
|
.mfui-beta-card__pic-wrapper_img {
|
103
107
|
margin-top: -24px;
|
104
|
-
margin-left: -16px;
|
105
108
|
margin-right: -16px;
|
109
|
+
margin-left: -16px;
|
106
110
|
}
|
107
111
|
}
|
108
112
|
.mfui-beta-card__pic-wrapper_object-fit_fill img {
|
@@ -43,9 +43,9 @@ export interface ICard {
|
|
43
43
|
/** Иконка в карточке */
|
44
44
|
svgSrc?: React.ReactNode;
|
45
45
|
/** Заголовок карточки */
|
46
|
-
title: string;
|
46
|
+
title: string | React.ReactNode[] | React.ReactNode;
|
47
47
|
/** Текст карточки */
|
48
|
-
text?: string;
|
48
|
+
text?: string | React.ReactNode[] | React.ReactNode;
|
49
49
|
/** Данные для кнопки */
|
50
50
|
button?: IButton;
|
51
51
|
/** Данные для ссылки */
|
@@ -3,7 +3,7 @@ import "core-js/modules/es.string.link";
|
|
3
3
|
import _extends from "@babel/runtime/helpers/extends";
|
4
4
|
import React from 'react';
|
5
5
|
import "./Card.css";
|
6
|
-
import { Header,
|
6
|
+
import { Header, Button, TextLink, Link } from '@megafon/ui-core';
|
7
7
|
import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
|
8
8
|
import PropTypes from 'prop-types';
|
9
9
|
export var Target = {
|
@@ -134,8 +134,7 @@ var Card = function Card(_ref) {
|
|
134
134
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, renderImage(), /*#__PURE__*/React.createElement(Header, {
|
135
135
|
as: "h3",
|
136
136
|
className: cn('title')
|
137
|
-
}, title), !!text && /*#__PURE__*/React.createElement(
|
138
|
-
hasMargin: false,
|
137
|
+
}, title), !!text && /*#__PURE__*/React.createElement("div", {
|
139
138
|
className: cn('text')
|
140
139
|
}, text), renderBtnsWrapper())));
|
141
140
|
};
|
@@ -154,8 +153,8 @@ Card.propTypes = {
|
|
154
153
|
}), PropTypes.any])]),
|
155
154
|
imageSrc: PropTypes.string,
|
156
155
|
svgSrc: PropTypes.node,
|
157
|
-
title: PropTypes.string.isRequired,
|
158
|
-
text: PropTypes.string,
|
156
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.arrayOf(PropTypes.node)]).isRequired,
|
157
|
+
text: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.arrayOf(PropTypes.node)]),
|
159
158
|
button: PropTypes.shape({
|
160
159
|
title: PropTypes.string.isRequired,
|
161
160
|
href: PropTypes.string.isRequired,
|
@@ -8,22 +8,6 @@ h5 {
|
|
8
8
|
.mfui-beta-container {
|
9
9
|
padding-bottom: 96px;
|
10
10
|
}
|
11
|
-
.mfui-beta-container_disable-padding-top {
|
12
|
-
padding-top: 0 !important;
|
13
|
-
}
|
14
|
-
.mfui-beta-container_disable-padding-bottom {
|
15
|
-
padding-bottom: 0 !important;
|
16
|
-
}
|
17
|
-
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
18
|
-
.mfui-beta-container {
|
19
|
-
padding-bottom: 72px;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
@media screen and (max-width: 767px) {
|
23
|
-
.mfui-beta-container {
|
24
|
-
padding-bottom: 48px;
|
25
|
-
}
|
26
|
-
}
|
27
11
|
.mfui-beta-container_bg-color_default {
|
28
12
|
background-color: #FFFFFF;
|
29
13
|
}
|
@@ -39,6 +23,16 @@ h5 {
|
|
39
23
|
.mfui-beta-container_bg-color_purple {
|
40
24
|
background-color: #731982;
|
41
25
|
}
|
26
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
27
|
+
.mfui-beta-container {
|
28
|
+
padding-bottom: 72px;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
@media screen and (max-width: 767px) {
|
32
|
+
.mfui-beta-container {
|
33
|
+
padding-bottom: 48px;
|
34
|
+
}
|
35
|
+
}
|
42
36
|
.mfui-beta-container_bg-color_default + .mfui-beta-container_bg-color_light-gray {
|
43
37
|
padding-top: 96px;
|
44
38
|
}
|
@@ -1897,10 +1891,18 @@ h5 {
|
|
1897
1891
|
margin-top: 40px;
|
1898
1892
|
}
|
1899
1893
|
}
|
1900
|
-
.mfui-beta-container .mfui-beta-property + .mfui-beta-property
|
1894
|
+
.mfui-beta-container .mfui-beta-property + .mfui-beta-property {
|
1895
|
+
margin-top: 0 !important;
|
1896
|
+
}
|
1901
1897
|
.mfui-beta-container .mfui-beta-property + .mfui-beta-button-link-box,
|
1902
1898
|
.mfui-beta-container .mfui-beta-property + .mfui-beta-download-links {
|
1903
|
-
margin-top:
|
1899
|
+
margin-top: 48px;
|
1900
|
+
}
|
1901
|
+
@media screen and (max-width: 1023px) {
|
1902
|
+
.mfui-beta-container .mfui-beta-property + .mfui-beta-button-link-box,
|
1903
|
+
.mfui-beta-container .mfui-beta-property + .mfui-beta-download-links {
|
1904
|
+
margin-top: 32px;
|
1905
|
+
}
|
1904
1906
|
}
|
1905
1907
|
.mfui-beta-container .mfui-beta-table + .mfui-beta-benefits-icons {
|
1906
1908
|
margin-top: 56px;
|
@@ -2798,3 +2800,9 @@ h5 {
|
|
2798
2800
|
.mfui-beta-container .mfui-beta-page-title + .mfui-beta-button-link-box {
|
2799
2801
|
margin-top: 0 !important;
|
2800
2802
|
}
|
2803
|
+
.mfui-beta-container_disable-padding-top {
|
2804
|
+
padding-top: 0 !important;
|
2805
|
+
}
|
2806
|
+
.mfui-beta-container_disable-padding-bottom {
|
2807
|
+
padding-bottom: 0 !important;
|
2808
|
+
}
|
@@ -6,8 +6,8 @@ h5 {
|
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
8
|
.mfui-beta-instructions__title_resolution_mobile {
|
9
|
-
text-align: center;
|
10
9
|
margin-bottom: 32px;
|
10
|
+
text-align: center;
|
11
11
|
}
|
12
12
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
13
13
|
.mfui-beta-instructions__title_resolution_mobile {
|
@@ -67,10 +67,10 @@ h5 {
|
|
67
67
|
}
|
68
68
|
@media screen and (min-width: 1024px) {
|
69
69
|
.mfui-beta-instructions__picture {
|
70
|
-
width: 50%;
|
71
70
|
-webkit-box-ordinal-group: 3;
|
72
71
|
-ms-flex-order: 2;
|
73
72
|
order: 2;
|
73
|
+
width: 50%;
|
74
74
|
}
|
75
75
|
}
|
76
76
|
@media screen and (min-width: 1024px) {
|
@@ -103,15 +103,15 @@ h5 {
|
|
103
103
|
.mfui-beta-instructions__img-wrapper:before {
|
104
104
|
content: '';
|
105
105
|
position: absolute;
|
106
|
-
|
106
|
+
right: 0;
|
107
107
|
bottom: 0;
|
108
108
|
left: 0;
|
109
|
-
|
109
|
+
z-index: 2;
|
110
|
+
display: block;
|
110
111
|
width: 324px;
|
111
112
|
height: 1px;
|
112
113
|
margin: 0 auto;
|
113
114
|
background: #D8D8D8;
|
114
|
-
z-index: 2;
|
115
115
|
}
|
116
116
|
}
|
117
117
|
.mfui-beta-instructions__device-screen {
|
@@ -136,8 +136,8 @@ h5 {
|
|
136
136
|
.mfui-beta-instructions_mask_android .mfui-beta-instructions__swiper {
|
137
137
|
position: absolute;
|
138
138
|
top: 59px;
|
139
|
-
left: 0;
|
140
139
|
right: 0;
|
140
|
+
left: 0;
|
141
141
|
width: 204px;
|
142
142
|
height: 363px;
|
143
143
|
margin: auto;
|
@@ -171,45 +171,50 @@ h5 {
|
|
171
171
|
}
|
172
172
|
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__device-screen {
|
173
173
|
position: relative;
|
174
|
+
z-index: 2;
|
174
175
|
width: 100%;
|
175
176
|
height: 490px;
|
176
177
|
margin: auto;
|
177
178
|
background: url('./img/newIphone.png') 50% no-repeat;
|
178
179
|
background-size: contain;
|
179
|
-
z-index: 2;
|
180
180
|
}
|
181
181
|
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__swiper {
|
182
182
|
position: absolute;
|
183
183
|
top: 14px;
|
184
|
-
left: 0;
|
185
184
|
right: 0;
|
185
|
+
left: 0;
|
186
|
+
z-index: 1;
|
186
187
|
width: 214px;
|
187
188
|
height: 462px;
|
188
189
|
margin: auto;
|
189
|
-
overflow: hidden;
|
190
190
|
border-radius: 20px;
|
191
|
-
|
191
|
+
overflow: hidden;
|
192
|
+
}
|
193
|
+
@media screen and (max-width: 1023px) {
|
194
|
+
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__img-wrapper:before {
|
195
|
+
display: none;
|
196
|
+
}
|
192
197
|
}
|
193
198
|
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__device-screen {
|
194
199
|
position: relative;
|
200
|
+
z-index: 2;
|
195
201
|
width: 100%;
|
196
202
|
height: 490px;
|
197
203
|
margin: auto;
|
198
204
|
background: url('./img/iphone12.png') 50% no-repeat;
|
199
205
|
background-size: contain;
|
200
|
-
z-index: 2;
|
201
206
|
}
|
202
207
|
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__swiper {
|
203
208
|
position: absolute;
|
204
209
|
top: 14px;
|
205
|
-
left: 0;
|
206
210
|
right: 0;
|
211
|
+
left: 0;
|
212
|
+
z-index: 1;
|
207
213
|
width: 214px;
|
208
214
|
height: 462px;
|
209
215
|
margin: auto;
|
210
|
-
overflow: hidden;
|
211
216
|
border-radius: 20px;
|
212
|
-
|
217
|
+
overflow: hidden;
|
213
218
|
}
|
214
219
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
215
220
|
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper {
|
@@ -273,8 +278,8 @@ h5 {
|
|
273
278
|
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__swiper {
|
274
279
|
position: absolute;
|
275
280
|
top: 50%;
|
276
|
-
left: 50%;
|
277
281
|
right: 0;
|
282
|
+
left: 50%;
|
278
283
|
width: 78%;
|
279
284
|
margin: auto;
|
280
285
|
overflow: hidden;
|
@@ -306,10 +311,10 @@ h5 {
|
|
306
311
|
}
|
307
312
|
@media screen and (min-width: 1024px) {
|
308
313
|
.mfui-beta-instructions__articles {
|
309
|
-
width: 50%;
|
310
314
|
-webkit-box-ordinal-group: 2;
|
311
315
|
-ms-flex-order: 1;
|
312
316
|
order: 1;
|
317
|
+
width: 50%;
|
313
318
|
}
|
314
319
|
}
|
315
320
|
@media screen and (min-width: 1024px) {
|
@@ -318,16 +323,26 @@ h5 {
|
|
318
323
|
}
|
319
324
|
}
|
320
325
|
.mfui-beta-instructions__articles-list {
|
321
|
-
list-style-type: none;
|
322
|
-
padding: 0;
|
323
326
|
margin: 0;
|
327
|
+
padding: 0;
|
328
|
+
list-style-type: none;
|
324
329
|
}
|
325
330
|
.mfui-beta-instructions__articles-list_text-after {
|
326
331
|
margin-bottom: 48px;
|
327
332
|
}
|
333
|
+
@media screen and (min-width: 1024px) {
|
334
|
+
.mfui-beta-instructions__articles-list_mobile {
|
335
|
+
display: none;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
@media screen and (max-width: 1023px) {
|
339
|
+
.mfui-beta-instructions__articles-list_desktop {
|
340
|
+
display: none;
|
341
|
+
}
|
342
|
+
}
|
328
343
|
.mfui-beta-instructions__articles-item {
|
329
|
-
opacity: 0.5;
|
330
344
|
position: relative;
|
345
|
+
opacity: 0.5;
|
331
346
|
}
|
332
347
|
@media screen and (min-width: 1024px) {
|
333
348
|
.mfui-beta-instructions__articles-item {
|
@@ -345,9 +360,9 @@ h5 {
|
|
345
360
|
.mfui-beta-instructions__articles-item:hover .mfui-beta-instructions__articles-item-dot:before,
|
346
361
|
.mfui-beta-instructions__articles-item_active .mfui-beta-instructions__articles-item-dot:before {
|
347
362
|
top: 0;
|
348
|
-
left: 0;
|
349
363
|
right: 0;
|
350
364
|
bottom: 0;
|
365
|
+
left: 0;
|
351
366
|
background: #00B956;
|
352
367
|
}
|
353
368
|
@media screen and (min-width: 1024px) {
|
@@ -361,16 +376,16 @@ h5 {
|
|
361
376
|
display: inline-block;
|
362
377
|
width: 40px;
|
363
378
|
height: 40px;
|
379
|
+
border-radius: 50%;
|
380
|
+
font-weight: 500;
|
364
381
|
font-size: 15px;
|
365
382
|
line-height: 40px;
|
366
|
-
font-weight: 500;
|
367
383
|
text-align: center;
|
368
|
-
border-radius: 50%;
|
369
384
|
-webkit-box-shadow: inset 0 0 0 1px #B2B2B2;
|
370
385
|
box-shadow: inset 0 0 0 1px #B2B2B2;
|
371
386
|
cursor: pointer;
|
372
387
|
}
|
373
|
-
@media screen and (max-width:
|
388
|
+
@media screen and (max-width: 479px) {
|
374
389
|
.mfui-beta-instructions__articles-item-dot,
|
375
390
|
.mfui-beta-instructions__articles-dot {
|
376
391
|
min-width: 40px;
|
@@ -381,12 +396,12 @@ h5 {
|
|
381
396
|
content: '';
|
382
397
|
position: absolute;
|
383
398
|
top: 50%;
|
384
|
-
left: 50%;
|
385
399
|
right: 50%;
|
386
400
|
bottom: 50%;
|
401
|
+
left: 50%;
|
402
|
+
border-radius: 50%;
|
387
403
|
-webkit-transition: all 0.3s ease;
|
388
404
|
transition: all 0.3s ease;
|
389
|
-
border-radius: 50%;
|
390
405
|
}
|
391
406
|
.mfui-beta-instructions__articles-item-dot-number,
|
392
407
|
.mfui-beta-instructions__articles-dot-number {
|
@@ -412,8 +427,8 @@ h5 {
|
|
412
427
|
-webkit-box-pack: center;
|
413
428
|
-ms-flex-pack: center;
|
414
429
|
justify-content: center;
|
415
|
-
padding: 0;
|
416
430
|
margin: 0;
|
431
|
+
padding: 0;
|
417
432
|
list-style-type: none;
|
418
433
|
}
|
419
434
|
.mfui-beta-instructions__articles-dots_text-after {
|
@@ -432,11 +447,6 @@ h5 {
|
|
432
447
|
margin-right: 40px;
|
433
448
|
}
|
434
449
|
}
|
435
|
-
@media screen and (max-width: 370px) {
|
436
|
-
.mfui-beta-instructions__articles-dot {
|
437
|
-
margin-right: 12px;
|
438
|
-
}
|
439
|
-
}
|
440
450
|
.mfui-beta-instructions__articles-dot:hover,
|
441
451
|
.mfui-beta-instructions__articles-dot_active {
|
442
452
|
color: #FFFFFF;
|
@@ -444,9 +454,9 @@ h5 {
|
|
444
454
|
.mfui-beta-instructions__articles-dot:hover:before,
|
445
455
|
.mfui-beta-instructions__articles-dot_active:before {
|
446
456
|
top: 0;
|
447
|
-
left: 0;
|
448
457
|
right: 0;
|
449
458
|
bottom: 0;
|
459
|
+
left: 0;
|
450
460
|
background: #00B956;
|
451
461
|
}
|
452
462
|
.mfui-beta-instructions__articles-dot:last-child {
|