react-gldn-kit 0.1.47 → 0.1.49
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/dist/index.js +1 -1
- package/dist/lib/components/BattlesCard/index.js +2 -2
- package/dist/lib/components/BattlesCard/types.d.ts +1 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/index.js +3 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUpTypeTwo/index.js +21 -9
- package/dist/lib/components/Modals/Alert/components/Auth/SignUpTypeTwo/types.d.ts +2 -1
- package/dist/lib/components/Modals/Alert/components/Auth/SignUpTypeTwo/types.js +1 -0
- package/dist/lib/zustandStore/forms/signUp/store.js +5 -1
- package/dist/main.css +90 -5
- package/package.json +1 -1
|
@@ -50,11 +50,11 @@ var ui_1 = require("types/ui");
|
|
|
50
50
|
var styles = __importStar(require("./BattlesCard.module.css"));
|
|
51
51
|
var BattlesCard = function (props) {
|
|
52
52
|
var _a, _b;
|
|
53
|
-
var id = props.id, handleClick = props.handleClick, providerName = props.providerName, name = props.name, classes = props.classes, isInHouse = props.isInHouse, isFinished = props.isFinished, detailsText = props.detailsText, battleText = props.battleText, imagePath = props.imagePath, _c = props.appType, appType = _c === void 0 ? ui_1.EAppType.Unknown : _c, _d = props.endDate, endDate = _d === void 0 ? 0 : _d, _e = props.startDate, startDate = _e === void 0 ? 0 : _e, _f = props.prize, prize = _f === void 0 ? 0 : _f, contentClasses = props.contentClasses;
|
|
53
|
+
var id = props.id, handleClick = props.handleClick, providerName = props.providerName, name = props.name, classes = props.classes, isInHouse = props.isInHouse, isFinished = props.isFinished, detailsText = props.detailsText, battleText = props.battleText, imagePath = props.imagePath, _c = props.appType, appType = _c === void 0 ? ui_1.EAppType.Unknown : _c, _d = props.endDate, endDate = _d === void 0 ? 0 : _d, _e = props.startDate, startDate = _e === void 0 ? 0 : _e, _f = props.prize, prize = _f === void 0 ? 0 : _f, contentClasses = props.contentClasses, battleName = props.battleName;
|
|
54
54
|
var activeLanguage = (0, store_1.useZustandLanguagesKitStore)(selectors_1.languageSelectors.getActiveLanguageNameKitSelector);
|
|
55
55
|
var path = imagePath ||
|
|
56
56
|
"/image/tournaments/".concat(id, "_[").concat(activeLanguage, "]").concat(isFinished ? '_finished' : '', ".webp");
|
|
57
|
-
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperBattlesCard, classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.imageWrapper }, { children: [(0, jsx_runtime_1.jsx)(HOCImageLoader_1.HOCImageLoader, __assign({ src: path.replace("[".concat(activeLanguage, "]"), activeLanguage), classes: styles.image }, { children: (0, jsx_runtime_1.jsx)("img", { src: imagePath || path.replace("[".concat(activeLanguage, "]"), 'en'), className: styles.image }) })), isInHouse && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperContent, contentClasses) }, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Logos_1.Logo, { appType: appType, isMobile: false }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.date }, { children: [startDate, " - ", endDate] }))] }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.prizeWrapper }, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "tournaments.prize", specValue: '' }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.prize }, { children: prize }))] }))] })))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.textBox }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.providerName, (_a = {},
|
|
57
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperBattlesCard, classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.imageWrapper }, { children: [(0, jsx_runtime_1.jsx)(HOCImageLoader_1.HOCImageLoader, __assign({ src: path.replace("[".concat(activeLanguage, "]"), activeLanguage), classes: styles.image }, { children: (0, jsx_runtime_1.jsx)("img", { src: imagePath || path.replace("[".concat(activeLanguage, "]"), 'en'), className: styles.image }) })), isInHouse && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperContent, contentClasses) }, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Logos_1.Logo, { appType: appType, isMobile: false }), battleName && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.battleName }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: battleName }) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.date }, { children: [startDate, " - ", endDate] }))] }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.prizeWrapper }, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "tournaments.prize", specValue: '' }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.prize }, { children: prize }))] }))] })))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.textBox }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.providerName, (_a = {},
|
|
58
58
|
_a[styles.inHouseBattleName] = isInHouse,
|
|
59
59
|
_a)) }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: providerName }) }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: battleText }) })] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.name }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: name }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ onClick: handleClick, className: (0, classnames_1.default)(styles.details, (_b = {},
|
|
60
60
|
_b[styles.dark] = isFinished,
|
|
@@ -74,6 +74,9 @@ var SignIn = function () {
|
|
|
74
74
|
var _e = (0, react_1.useState)(''), phone = _e[0], setPhone = _e[1];
|
|
75
75
|
var handleSignIn = function () {
|
|
76
76
|
var logInInfo = activeForm === types_3.EAuthFormType.Phone ? phone : email;
|
|
77
|
+
if (activeForm === types_3.EAuthFormType.UserName) {
|
|
78
|
+
logInInfo = id;
|
|
79
|
+
}
|
|
77
80
|
var data = (0, utils_1.getAuthorizationData)(logInInfo, password, types_1.ERequestIds.AuthorizeByEmail);
|
|
78
81
|
sendCommand('x02', data, true);
|
|
79
82
|
};
|
|
@@ -115,7 +115,9 @@ var SignUpTypeTwo = function () {
|
|
|
115
115
|
var _f = (0, react_1.useState)(''), phone = _f[0], setPhone = _f[1];
|
|
116
116
|
var _g = (0, react_1.useState)(''), password = _g[0], setPassword = _g[1];
|
|
117
117
|
var _h = (0, react_1.useState)(constant_1.DEFAULT_INPUT_VALUE), email = _h[0], setEmail = _h[1];
|
|
118
|
-
var
|
|
118
|
+
var titleRef = (0, react_1.useRef)(null);
|
|
119
|
+
var _j = (0, react_1.useState)(0), titleHeight = _j[0], setTitleHeight = _j[1];
|
|
120
|
+
var _k = data.registrationTitle, registrationTitle = _k === void 0 ? 'signUpTwo.won' : _k, _l = data.bonusImagePath, bonusImagePath = _l === void 0 ? '' : _l, _m = data.registrationTheme, registrationTheme = _m === void 0 ? types_4.ESignUpTheme.Brown : _m, _o = data.buttonText, buttonText = _o === void 0 ? 'signUpTwo.joinNow' : _o;
|
|
119
121
|
var openSignIn = function () {
|
|
120
122
|
setModal(types_2.EModalTypes.SignIn);
|
|
121
123
|
};
|
|
@@ -206,19 +208,29 @@ var SignUpTypeTwo = function () {
|
|
|
206
208
|
setActiveForm(tabs[0].value);
|
|
207
209
|
}
|
|
208
210
|
}, [activeForm, tabs]);
|
|
211
|
+
(0, react_1.useEffect)(function () {
|
|
212
|
+
if (!titleRef.current) {
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
var height = titleRef.current.offsetHeight;
|
|
216
|
+
setTitleHeight(height);
|
|
217
|
+
}, []);
|
|
209
218
|
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperSignUp, (_a = {},
|
|
210
219
|
_a[styles.brown] = registrationTheme === types_4.ESignUpTheme.Brown,
|
|
211
220
|
_a[styles.purple] = registrationTheme === types_4.ESignUpTheme.Purple,
|
|
212
221
|
_a[styles.green] = registrationTheme === types_4.ESignUpTheme.Green,
|
|
213
222
|
_a[styles.yellow] = registrationTheme === types_4.ESignUpTheme.Yellow,
|
|
214
223
|
_a[styles.darkBrown] = registrationTheme === types_4.ESignUpTheme.DarkBrown,
|
|
215
|
-
_a
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
_a[styles.gray] = registrationTheme === types_4.ESignUpTheme.Gray,
|
|
225
|
+
_a)) }, { children: [registrationTitle && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title, ref: titleRef }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: registrationTitle }) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.contentArea, style: {
|
|
226
|
+
height: "calc(100% - ".concat(titleHeight, "px)"),
|
|
227
|
+
} }, { children: [isSelectedError && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.warning }, { children: [(0, jsx_runtime_1.jsx)(WarningSvg_1.WarningSvg, {}), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.warningText }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpTwo.notConfirm" }) }))] }))), bonusImagePath && ((0, jsx_runtime_1.jsx)("img", { src: bonusImagePath, className: (0, classnames_1.default)(styles.bonusImage, 'KIT_SignUpTypeTwo_wrapperSignUp_bonusImage') })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.content }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, type: "underline", tabClasses: styles.tab, activeTabClasses: styles.activeTab, indicatorClasses: styles.indicator })), (0, jsx_runtime_1.jsxs)("div", { children: [activeForm === types_3.ERegistrationForm.PhoneWithoutCode ? ((0, jsx_runtime_1.jsx)(PhoneBox_1.default, { onChange: setPhone })) : ((0, jsx_runtime_1.jsx)(InputBox_1.default, { leftImg: "/landings/assets-builder/signUpTwo/email.svg", rightImg: "", setInput: setEmail, validation: validation_1.validateEmailValue, input: email, label: "signUpTwo.tabEmail", classes: styles.emailInput })), (0, jsx_runtime_1.jsx)(PasswordBox_1.default, { onChange: setPassword }), (0, jsx_runtime_1.jsx)(CurrencyBox_1.default, {}), (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.submitButton, (_b = {},
|
|
228
|
+
_b[styles.disable] = !mainField.value ||
|
|
229
|
+
mainField.errorText ||
|
|
230
|
+
!password ||
|
|
231
|
+
!currencyId,
|
|
232
|
+
_b)), onClick: handleSubmit }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: buttonText }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.accountExist }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpTwo.accountExist" }) }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.link, onClick: openSignIn }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpTwo.login" }) }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.signIn, onClick: toggleState }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.box }, { children: isSelected && (0, jsx_runtime_1.jsx)(check_svg_1.ReactComponent, { className: styles.checkboxImg }) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.terms, (_c = {},
|
|
233
|
+
_c[styles.errorColor] = isSelectedError,
|
|
234
|
+
_c)) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpTwo.terms" }) }))] }))] })] }))] }))] })));
|
|
223
235
|
};
|
|
224
236
|
exports.SignUpTypeTwo = SignUpTypeTwo;
|
|
@@ -43,7 +43,7 @@ exports.useZustandRegistrationKitStore = (0, zustand_1.create)(function (set, ge
|
|
|
43
43
|
set({ activeForm: activeForm, registeredLogin: '' });
|
|
44
44
|
},
|
|
45
45
|
setCurrencies: function (availableCurrencies) {
|
|
46
|
-
var _a;
|
|
46
|
+
var _a, _b;
|
|
47
47
|
if (!availableCurrencies.length) {
|
|
48
48
|
console.warn('PLACE PROVIDE REGISTRATION CURRENCIES');
|
|
49
49
|
return;
|
|
@@ -57,6 +57,10 @@ exports.useZustandRegistrationKitStore = (0, zustand_1.create)(function (set, ge
|
|
|
57
57
|
constants_1.SIGN_UP_URL_CURRENCY_NAME.toLocaleLowerCase();
|
|
58
58
|
})) === null || _a === void 0 ? void 0 : _a.id) || null;
|
|
59
59
|
}
|
|
60
|
+
else if (!activeCurrencyId && constants_1.SIGN_UP_URL_COUNTRY_ID) {
|
|
61
|
+
newActiveCurrencyId =
|
|
62
|
+
((_b = availableCurrencies.find(function (c) { return c.id === constants_1.SIGN_UP_URL_COUNTRY_ID; })) === null || _b === void 0 ? void 0 : _b.id) || null;
|
|
63
|
+
}
|
|
60
64
|
set({ availableCurrencies: availableCurrencies, activeCurrencyId: newActiveCurrencyId });
|
|
61
65
|
},
|
|
62
66
|
}); });
|
package/dist/main.css
CHANGED
|
@@ -1664,6 +1664,19 @@
|
|
|
1664
1664
|
z-index: var(--layout-lvl-1);
|
|
1665
1665
|
}
|
|
1666
1666
|
|
|
1667
|
+
.KIT__CurrencyBox-module__wrapperItems___IvQ82::-webkit-scrollbar {
|
|
1668
|
+
width: 9px;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
.KIT__CurrencyBox-module__wrapperItems___IvQ82::-webkit-scrollbar-thumb {
|
|
1672
|
+
background: var(--thumb-background);
|
|
1673
|
+
border-radius: 3px;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
.KIT__CurrencyBox-module__wrapperItems___IvQ82::-webkit-scrollbar-track {
|
|
1677
|
+
background: var(--track-background);
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1667
1680
|
.KIT__CurrencyBox-module__input___UN8Sd {
|
|
1668
1681
|
border-color: var(--currency-box-border-color);
|
|
1669
1682
|
}
|
|
@@ -1702,6 +1715,8 @@
|
|
|
1702
1715
|
--submit-button-background: rgb(246, 169, 19);
|
|
1703
1716
|
--tab-border-bottom: 2px solid rgba(252, 216, 32, 0.2);
|
|
1704
1717
|
--tab-indicator-background: rgba(245, 187, 37, 1);
|
|
1718
|
+
--track-background: transparent;
|
|
1719
|
+
--thumb-background: rgba(136, 94, 57, 1);
|
|
1705
1720
|
|
|
1706
1721
|
position: fixed;
|
|
1707
1722
|
top: 0;
|
|
@@ -1713,7 +1728,6 @@
|
|
|
1713
1728
|
background: var(--background);
|
|
1714
1729
|
border: var(--border);
|
|
1715
1730
|
box-shadow: var(--shadow);
|
|
1716
|
-
overflow-y: auto;
|
|
1717
1731
|
}
|
|
1718
1732
|
|
|
1719
1733
|
.KIT__SignUpTypeTwo-module__brown___CRS44 {
|
|
@@ -1727,6 +1741,7 @@
|
|
|
1727
1741
|
--password-box-border-color: rgba(136, 95, 160, 1);
|
|
1728
1742
|
--email-box-border-color: rgba(136, 95, 160, 1);
|
|
1729
1743
|
--phone-box-border-color: rgba(255, 255, 255, 0.3);
|
|
1744
|
+
--thumb-background: rgba(96, 105, 148, 1);
|
|
1730
1745
|
}
|
|
1731
1746
|
|
|
1732
1747
|
.KIT__SignUpTypeTwo-module__purple___B7cKn {
|
|
@@ -1758,6 +1773,8 @@
|
|
|
1758
1773
|
#ec6c06 73.02%
|
|
1759
1774
|
);
|
|
1760
1775
|
--submit-button-font-size: var(--font-size-l);
|
|
1776
|
+
--track-background: var(--base-1000);
|
|
1777
|
+
--thumb-background: rgba(5, 74, 18, 1);
|
|
1761
1778
|
}
|
|
1762
1779
|
|
|
1763
1780
|
.KIT__SignUpTypeTwo-module__yellow___fSYHc {
|
|
@@ -1790,6 +1807,46 @@
|
|
|
1790
1807
|
--tab-border-bottom: 2px solid rgba(252, 216, 32, 0.2);
|
|
1791
1808
|
}
|
|
1792
1809
|
|
|
1810
|
+
.KIT__SignUpTypeTwo-module__gray___ix0Zs {
|
|
1811
|
+
--background: rgba(25, 33, 44, 1);
|
|
1812
|
+
--border: 4px solid;
|
|
1813
|
+
-o-border-image: linear-gradient(180deg, #DCB692 20.52%, #4E3621 113.24%) 1;
|
|
1814
|
+
border-image: linear-gradient(180deg, #DCB692 20.52%, #4E3621 113.24%) 1;
|
|
1815
|
+
--tab-indicator-background: rgba(213, 163, 101, 1);
|
|
1816
|
+
--tab-border-bottom: 2px solid rgba(213, 163, 101, 0.2);
|
|
1817
|
+
--currency-box-border-color: rgba(213, 163, 101, 0.5);
|
|
1818
|
+
--currency-box-background: rgba(14, 19, 25, 1);
|
|
1819
|
+
--currency-box-shadow: 1px 1px 8.6px 3px rgba(253, 249, 255, 0.5);
|
|
1820
|
+
--phone-wrapper-background: rgba(14, 19, 25, 1);
|
|
1821
|
+
--submit-button-background: rgba(255, 10, 10, 1);
|
|
1822
|
+
--password-box-border-color: rgba(213, 163, 101, 0.5);
|
|
1823
|
+
--submit-button-color: var(--base-0);
|
|
1824
|
+
--track-background: var(--base-1000);
|
|
1825
|
+
--thumb-background: rgba(162, 26, 75, 1);
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
.KIT__SignUpTypeTwo-module__gray___ix0Zs .KIT__SignUpTypeTwo-module__submitButton___aPLn7 {
|
|
1829
|
+
font-size: var(--font-size-l);
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
.KIT__SignUpTypeTwo-module__contentArea___fA84v {
|
|
1833
|
+
overflow-y: auto;
|
|
1834
|
+
width: 100%;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
.KIT__SignUpTypeTwo-module__contentArea___fA84v::-webkit-scrollbar {
|
|
1838
|
+
width: 9px;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
.KIT__SignUpTypeTwo-module__contentArea___fA84v::-webkit-scrollbar-thumb {
|
|
1842
|
+
background: var(--thumb-background);
|
|
1843
|
+
border-radius: 3px;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
.KIT__SignUpTypeTwo-module__contentArea___fA84v::-webkit-scrollbar-track {
|
|
1847
|
+
background: var(--track-background);
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1793
1850
|
.KIT__SignUpTypeTwo-module__tabs___Ya07h .KIT__SignUpTypeTwo-module__tab___pHssv {
|
|
1794
1851
|
color: var(--tab-color);
|
|
1795
1852
|
border-bottom: var(--tab-border-bottom);
|
|
@@ -4617,6 +4674,7 @@
|
|
|
4617
4674
|
gap: var(--indent-s);
|
|
4618
4675
|
position: relative;
|
|
4619
4676
|
}
|
|
4677
|
+
|
|
4620
4678
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__wrapperContent___hUZyt {
|
|
4621
4679
|
position: absolute;
|
|
4622
4680
|
top: 0;
|
|
@@ -4629,16 +4687,20 @@
|
|
|
4629
4687
|
color: rgba(255, 255, 255, 1);
|
|
4630
4688
|
padding: var(--indent-s);
|
|
4631
4689
|
}
|
|
4690
|
+
|
|
4632
4691
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__wrapperContent___hUZyt .KIT__BattlesCard-module__date___SNEuT {
|
|
4633
4692
|
font-size: 12px;
|
|
4634
4693
|
padding-left: 12px;
|
|
4635
4694
|
}
|
|
4695
|
+
|
|
4636
4696
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__wrapperContent___hUZyt .KIT__BattlesCard-module__prizeWrapper___Tx_6u {
|
|
4637
4697
|
font-size: 12px;
|
|
4638
4698
|
font-weight: 700;
|
|
4639
|
-
padding:
|
|
4640
|
-
padding-bottom:
|
|
4699
|
+
padding: 0 var(--indent-m);
|
|
4700
|
+
padding-bottom: var(--indent-xs);
|
|
4701
|
+
text-transform: uppercase;
|
|
4641
4702
|
}
|
|
4703
|
+
|
|
4642
4704
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__wrapperContent___hUZyt .KIT__BattlesCard-module__prizeWrapper___Tx_6u .KIT__BattlesCard-module__prize___zCwmd {
|
|
4643
4705
|
font-size: 32px;
|
|
4644
4706
|
font-style: normal;
|
|
@@ -4662,6 +4724,7 @@
|
|
|
4662
4724
|
-webkit-background-clip: text;
|
|
4663
4725
|
-webkit-text-fill-color: transparent;
|
|
4664
4726
|
}
|
|
4727
|
+
|
|
4665
4728
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__imageWrapper___VTIdP {
|
|
4666
4729
|
width: 100%;
|
|
4667
4730
|
height: 215px;
|
|
@@ -4669,11 +4732,14 @@
|
|
|
4669
4732
|
overflow: hidden;
|
|
4670
4733
|
position: relative;
|
|
4671
4734
|
}
|
|
4735
|
+
|
|
4672
4736
|
@media screen and (max-width: 768px) {
|
|
4673
|
-
|
|
4674
|
-
|
|
4737
|
+
|
|
4738
|
+
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__imageWrapper___VTIdP {
|
|
4739
|
+
height: 200px;
|
|
4675
4740
|
}
|
|
4676
4741
|
}
|
|
4742
|
+
|
|
4677
4743
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__image____tzSz {
|
|
4678
4744
|
width: 100%;
|
|
4679
4745
|
height: 100%;
|
|
@@ -4682,12 +4748,14 @@
|
|
|
4682
4748
|
-o-object-position: left;
|
|
4683
4749
|
object-position: left;
|
|
4684
4750
|
}
|
|
4751
|
+
|
|
4685
4752
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 {
|
|
4686
4753
|
display: flex;
|
|
4687
4754
|
flex-direction: column;
|
|
4688
4755
|
gap: var(--indent-xs);
|
|
4689
4756
|
padding: 0 var(--indent-s);
|
|
4690
4757
|
}
|
|
4758
|
+
|
|
4691
4759
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__providerName___hP5is {
|
|
4692
4760
|
border: var(--battles-provider-name-border);
|
|
4693
4761
|
border-radius: var(--border-m);
|
|
@@ -4702,16 +4770,19 @@
|
|
|
4702
4770
|
display: flex;
|
|
4703
4771
|
gap: var(--indent-xs);
|
|
4704
4772
|
}
|
|
4773
|
+
|
|
4705
4774
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__providerName___hP5is.KIT__BattlesCard-module__inHouseBattleName___XoD7E {
|
|
4706
4775
|
background: var(--battles-provider-name-background);
|
|
4707
4776
|
color: var(--battles-battle-in-house-name);
|
|
4708
4777
|
}
|
|
4778
|
+
|
|
4709
4779
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__name___DJXDf {
|
|
4710
4780
|
color: var(--battles-battle-name);
|
|
4711
4781
|
/*вынести в colors*/
|
|
4712
4782
|
font-size: var(--font-size-xl);
|
|
4713
4783
|
font-weight: 600;
|
|
4714
4784
|
}
|
|
4785
|
+
|
|
4715
4786
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__details___Yh7o_ {
|
|
4716
4787
|
display: flex;
|
|
4717
4788
|
align-items: center;
|
|
@@ -4720,19 +4791,33 @@
|
|
|
4720
4791
|
gap: var(--indent-m);
|
|
4721
4792
|
cursor: pointer;
|
|
4722
4793
|
}
|
|
4794
|
+
|
|
4723
4795
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__details___Yh7o_ .KIT__BattlesCard-module__arrowSvg___RwUg1 {
|
|
4724
4796
|
transform: rotate(90deg);
|
|
4725
4797
|
}
|
|
4798
|
+
|
|
4726
4799
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__details___Yh7o_ .KIT__BattlesCard-module__arrowSvg___RwUg1 path {
|
|
4727
4800
|
fill: var(--battles-details-arrow-path);
|
|
4728
4801
|
}
|
|
4802
|
+
|
|
4729
4803
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__details___Yh7o_.KIT__BattlesCard-module__dark___SRv2F {
|
|
4730
4804
|
color: rgb(var(--semi-gray));
|
|
4731
4805
|
}
|
|
4806
|
+
|
|
4732
4807
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__details___Yh7o_.KIT__BattlesCard-module__dark___SRv2F .KIT__BattlesCard-module__arrowSvg___RwUg1 path {
|
|
4733
4808
|
fill: rgb(var(--semi-gray));
|
|
4734
4809
|
}
|
|
4735
4810
|
|
|
4811
|
+
.KIT__BattlesCard-module__battleName___nJncZ {
|
|
4812
|
+
padding-left: var(--indent-m);
|
|
4813
|
+
text-transform: uppercase;
|
|
4814
|
+
font-weight: 700;
|
|
4815
|
+
font-size: var(--font-size-l);
|
|
4816
|
+
line-height: 1.1;
|
|
4817
|
+
max-width: 50%;
|
|
4818
|
+
margin-bottom: calc(var(--indent-m) / 2);
|
|
4819
|
+
}
|
|
4820
|
+
|
|
4736
4821
|
|
|
4737
4822
|
.KIT__Step-module__wrapperStep___wBtLk .KIT__Step-module__img___YsqV2 {
|
|
4738
4823
|
width: 100%;
|