@gravity-ui/page-constructor 5.33.3 → 5.33.4
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/build/cjs/components/BrandFooter/BrandFooter.css +21 -17
- package/build/cjs/components/BrandFooter/BrandFooter.js +1 -1
- package/build/esm/components/BrandFooter/BrandFooter.css +21 -17
- package/build/esm/components/BrandFooter/BrandFooter.js +1 -1
- package/package.json +1 -1
- package/widget/index.js +1 -1
|
@@ -12,8 +12,9 @@ unpredictable css rules order in build */
|
|
|
12
12
|
width: 100%;
|
|
13
13
|
height: 72px;
|
|
14
14
|
margin-top: var(--header-height);
|
|
15
|
-
|
|
16
|
-
border-top: 1px solid
|
|
15
|
+
box-sizing: content-box;
|
|
16
|
+
border-top: 1px solid;
|
|
17
|
+
border-bottom: 1px solid transparent;
|
|
17
18
|
transition: color 0.5s ease-out, border-color 0.5s ease-out;
|
|
18
19
|
}
|
|
19
20
|
.pc-brand-footer::after {
|
|
@@ -22,32 +23,38 @@ unpredictable css rules order in build */
|
|
|
22
23
|
right: 0;
|
|
23
24
|
left: 0;
|
|
24
25
|
height: 1px;
|
|
26
|
+
background: linear-gradient(270deg, rgb(228, 106, 68) 0%, rgb(242, 159, 85) 46.62%, rgb(255, 212, 102) 100%);
|
|
25
27
|
opacity: 0;
|
|
26
28
|
transition: opacity 0.5s ease-out;
|
|
27
29
|
content: "";
|
|
28
30
|
}
|
|
29
|
-
.pc-brand-
|
|
31
|
+
.pc-brand-footer_theme_light {
|
|
32
|
+
color: var(--g-color-text-secondary);
|
|
33
|
+
border-top-color: var(--g-color-private-black-200);
|
|
34
|
+
}
|
|
35
|
+
.pc-brand-footer_theme_light:hover {
|
|
30
36
|
color: var(--g-color-text-primary);
|
|
31
|
-
border-color: transparent;
|
|
37
|
+
border-top-color: transparent;
|
|
32
38
|
}
|
|
33
|
-
.pc-brand-
|
|
39
|
+
.pc-brand-footer_theme_light:hover::after {
|
|
34
40
|
opacity: 1;
|
|
35
41
|
}
|
|
36
|
-
.pc-brand-
|
|
37
|
-
|
|
42
|
+
.pc-brand-footer_theme_dark {
|
|
43
|
+
color: var(--g-color-private-white-700);
|
|
44
|
+
border-top-color: var(--g-color-private-white-100);
|
|
45
|
+
}
|
|
46
|
+
.pc-brand-footer_theme_dark:hover {
|
|
47
|
+
color: var(--g-color-private-white-1000-solid);
|
|
48
|
+
border-top-color: transparent;
|
|
38
49
|
}
|
|
39
|
-
.pc-brand-footer_theme_dark::after {
|
|
40
|
-
|
|
50
|
+
.pc-brand-footer_theme_dark:hover::after {
|
|
51
|
+
opacity: 0.6;
|
|
41
52
|
}
|
|
42
53
|
.pc-brand-footer__content {
|
|
43
54
|
display: flex;
|
|
44
55
|
align-items: center;
|
|
45
56
|
justify-content: center;
|
|
46
57
|
gap: 8px;
|
|
47
|
-
padding-top: 1px;
|
|
48
|
-
}
|
|
49
|
-
.pc-brand-footer__text {
|
|
50
|
-
align-self: flex-end;
|
|
51
58
|
}
|
|
52
59
|
.pc-brand-footer__brand-icon {
|
|
53
60
|
display: flex;
|
|
@@ -78,9 +85,7 @@ unpredictable css rules order in build */
|
|
|
78
85
|
font-size: var(--g-text-body-1-font-size);
|
|
79
86
|
line-height: var(--g-text-body-1-line-height);
|
|
80
87
|
height: 52px;
|
|
81
|
-
|
|
82
|
-
.pc-brand-footer__content {
|
|
83
|
-
padding: 0;
|
|
88
|
+
border-bottom-width: 0;
|
|
84
89
|
}
|
|
85
90
|
.pc-brand-footer__brand-icon {
|
|
86
91
|
width: 20px;
|
|
@@ -89,6 +94,5 @@ unpredictable css rules order in build */
|
|
|
89
94
|
.pc-brand-footer__brand-name {
|
|
90
95
|
width: 72px;
|
|
91
96
|
height: 16px;
|
|
92
|
-
margin-top: 0;
|
|
93
97
|
}
|
|
94
98
|
}
|
|
@@ -15,7 +15,7 @@ const BrandFooter = ({ className }) => {
|
|
|
15
15
|
const theme = (0, theme_1.useTheme)();
|
|
16
16
|
return (react_1.default.createElement(uikit_1.Link, { className: b({ theme }, className), href: "https://gravity-ui.com" },
|
|
17
17
|
react_1.default.createElement("div", { className: b('content') },
|
|
18
|
-
react_1.default.createElement("span",
|
|
18
|
+
react_1.default.createElement("span", null, (0, i18n_1.i18n)('created-on')),
|
|
19
19
|
react_1.default.createElement("div", { className: b('brand-icon') }, theme === models_1.Theme.Light ? react_1.default.createElement(BrandIconLight_1.BrandIconLight, null) : react_1.default.createElement(BrandIconDark_1.BrandIconDark, null)),
|
|
20
20
|
react_1.default.createElement("div", { className: b('brand-name') },
|
|
21
21
|
react_1.default.createElement(BrandName_1.BrandName, null)))));
|
|
@@ -12,8 +12,9 @@ unpredictable css rules order in build */
|
|
|
12
12
|
width: 100%;
|
|
13
13
|
height: 72px;
|
|
14
14
|
margin-top: var(--header-height);
|
|
15
|
-
|
|
16
|
-
border-top: 1px solid
|
|
15
|
+
box-sizing: content-box;
|
|
16
|
+
border-top: 1px solid;
|
|
17
|
+
border-bottom: 1px solid transparent;
|
|
17
18
|
transition: color 0.5s ease-out, border-color 0.5s ease-out;
|
|
18
19
|
}
|
|
19
20
|
.pc-brand-footer::after {
|
|
@@ -22,32 +23,38 @@ unpredictable css rules order in build */
|
|
|
22
23
|
right: 0;
|
|
23
24
|
left: 0;
|
|
24
25
|
height: 1px;
|
|
26
|
+
background: linear-gradient(270deg, rgb(228, 106, 68) 0%, rgb(242, 159, 85) 46.62%, rgb(255, 212, 102) 100%);
|
|
25
27
|
opacity: 0;
|
|
26
28
|
transition: opacity 0.5s ease-out;
|
|
27
29
|
content: "";
|
|
28
30
|
}
|
|
29
|
-
.pc-brand-
|
|
31
|
+
.pc-brand-footer_theme_light {
|
|
32
|
+
color: var(--g-color-text-secondary);
|
|
33
|
+
border-top-color: var(--g-color-private-black-200);
|
|
34
|
+
}
|
|
35
|
+
.pc-brand-footer_theme_light:hover {
|
|
30
36
|
color: var(--g-color-text-primary);
|
|
31
|
-
border-color: transparent;
|
|
37
|
+
border-top-color: transparent;
|
|
32
38
|
}
|
|
33
|
-
.pc-brand-
|
|
39
|
+
.pc-brand-footer_theme_light:hover::after {
|
|
34
40
|
opacity: 1;
|
|
35
41
|
}
|
|
36
|
-
.pc-brand-
|
|
37
|
-
|
|
42
|
+
.pc-brand-footer_theme_dark {
|
|
43
|
+
color: var(--g-color-private-white-700);
|
|
44
|
+
border-top-color: var(--g-color-private-white-100);
|
|
45
|
+
}
|
|
46
|
+
.pc-brand-footer_theme_dark:hover {
|
|
47
|
+
color: var(--g-color-private-white-1000-solid);
|
|
48
|
+
border-top-color: transparent;
|
|
38
49
|
}
|
|
39
|
-
.pc-brand-footer_theme_dark::after {
|
|
40
|
-
|
|
50
|
+
.pc-brand-footer_theme_dark:hover::after {
|
|
51
|
+
opacity: 0.6;
|
|
41
52
|
}
|
|
42
53
|
.pc-brand-footer__content {
|
|
43
54
|
display: flex;
|
|
44
55
|
align-items: center;
|
|
45
56
|
justify-content: center;
|
|
46
57
|
gap: 8px;
|
|
47
|
-
padding-top: 1px;
|
|
48
|
-
}
|
|
49
|
-
.pc-brand-footer__text {
|
|
50
|
-
align-self: flex-end;
|
|
51
58
|
}
|
|
52
59
|
.pc-brand-footer__brand-icon {
|
|
53
60
|
display: flex;
|
|
@@ -78,9 +85,7 @@ unpredictable css rules order in build */
|
|
|
78
85
|
font-size: var(--g-text-body-1-font-size);
|
|
79
86
|
line-height: var(--g-text-body-1-line-height);
|
|
80
87
|
height: 52px;
|
|
81
|
-
|
|
82
|
-
.pc-brand-footer__content {
|
|
83
|
-
padding: 0;
|
|
88
|
+
border-bottom-width: 0;
|
|
84
89
|
}
|
|
85
90
|
.pc-brand-footer__brand-icon {
|
|
86
91
|
width: 20px;
|
|
@@ -89,6 +94,5 @@ unpredictable css rules order in build */
|
|
|
89
94
|
.pc-brand-footer__brand-name {
|
|
90
95
|
width: 72px;
|
|
91
96
|
height: 16px;
|
|
92
|
-
margin-top: 0;
|
|
93
97
|
}
|
|
94
98
|
}
|
|
@@ -13,7 +13,7 @@ const BrandFooter = ({ className }) => {
|
|
|
13
13
|
const theme = useTheme();
|
|
14
14
|
return (React.createElement(Link, { className: b({ theme }, className), href: "https://gravity-ui.com" },
|
|
15
15
|
React.createElement("div", { className: b('content') },
|
|
16
|
-
React.createElement("span",
|
|
16
|
+
React.createElement("span", null, i18n('created-on')),
|
|
17
17
|
React.createElement("div", { className: b('brand-icon') }, theme === Theme.Light ? React.createElement(BrandIconLight, null) : React.createElement(BrandIconDark, null)),
|
|
18
18
|
React.createElement("div", { className: b('brand-name') },
|
|
19
19
|
React.createElement(BrandName, null)))));
|