@stokr/components-library 2.0.0-beta.4 → 2.0.0-beta.5
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.
|
@@ -32,7 +32,7 @@ exports.Dimmer = Dimmer;
|
|
|
32
32
|
var Box = _styledComponents.default.div.withConfig({
|
|
33
33
|
displayName: "Modalstyles__Box",
|
|
34
34
|
componentId: "sc-9hc271-2"
|
|
35
|
-
})(["display:inline-block;vertical-align:middle;position:relative;left:0;top:0;width:100%;background-color:", ";font-size:10px;text-align:left;box-shadow:0 2px 20px 0 rgba(0,0,0,0.1);", " ", " ", " ", " ", ""], _colors.default.white, function (props) {
|
|
35
|
+
})(["display:inline-block;vertical-align:middle;position:relative;left:0;top:0;width:100%;background-color:", ";font-size:10px;text-align:left;box-shadow:0 2px 20px 0 rgba(0,0,0,0.1);", " ", " ", " ", " @media screen and (max-width:767px){min-height:100vh;}@media screen and (max-width:490px){min-height:100vh;}", ""], _colors.default.white, function (props) {
|
|
36
36
|
return props.fullscreen && "\n height: 90vh;\n ";
|
|
37
37
|
}, function (props) {
|
|
38
38
|
return props.kyc && "\n width: 100vw;\n height: 100vh;\n max-width: 1024px!important;\n max-height: 768px!important;\n ";
|
|
@@ -70,7 +70,10 @@ exports.ModalInnerWithBorder = ModalInnerWithBorder;
|
|
|
70
70
|
var ModalInner = _styledComponents.default.div.withConfig({
|
|
71
71
|
displayName: "Modalstyles__ModalInner",
|
|
72
72
|
componentId: "sc-9hc271-5"
|
|
73
|
-
})(["width:100%;height:100%;padding:40px ", ";display:flex;flex-direction:column;", " ", " ", " ", " ", " ", " ", " ", " ", ""], (0, _grid.default)(1), function (
|
|
73
|
+
})(["width:100%;height:100%;padding:40px ", ";display:flex;flex-direction:column;@media screen and (max-width:767px){height:", ";}", " ", " ", " ", " ", " ", " ", " ", " ", ""], (0, _grid.default)(1), function (_ref2) {
|
|
74
|
+
var isMobile = _ref2.isMobile;
|
|
75
|
+
return isMobile && '100vh';
|
|
76
|
+
}, function (props) {
|
|
74
77
|
return props.center && "\n text-align: center;\n ";
|
|
75
78
|
}, function (props) {
|
|
76
79
|
return props.background && "\n background-color: ".concat(_colors.default.grey, ";\n ");
|
|
@@ -35,7 +35,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
35
35
|
var StyledPrivacyText = _styledComponents.default.div.withConfig({
|
|
36
36
|
displayName: "TermsModal__StyledPrivacyText",
|
|
37
37
|
componentId: "sc-1x5p4y6-0"
|
|
38
|
-
})(["width:100%;p{color:", ";font-size:16px;line-height:1.5;font-weight:300;margin:0;padding-bottom:10px;font-style:normal;font-stretch:normal;letter-spacing:0.6px;}a{text-decoration:none;color:", ";font-weight:300;}
|
|
38
|
+
})(["&&{width:100%;p{color:", ";font-size:16px;line-height:1.5;font-weight:300;margin:0;padding-bottom:10px;font-style:normal;font-stretch:normal;letter-spacing:0.6px;}a{text-decoration:none;color:", ";font-weight:300;word-break:break-all !important;}h4{font-size:17.2px !important;font-weight:700 !important;line-height:1.28571em;letter-spacing:normal;position:relative;margin-top:29px;margin-bottom:16px;}table{border-collapse:collapse;margin:32px 0;font-size:16px;tr{td:first-child{width:", ";text-align:center;}td:last-child{width:", ";}}td,th{border:1px solid #2e2e2e;padding:10px;li{margin-bottom:0;}}}ul{list-style-type:disclosure-closed;list-style:none;margin:0;padding:0;}li{padding:0 0 0 32px;color:", ";font-size:0.75rem;letter-spacing:normal;line-height:1.31rem;font-weight:200;margin-bottom:16px;position:relative;font-size:16px !important;font-weight:300;font-style:normal;font-stretch:normal;line-height:1.5 !important;letter-spacing:0.6px;a{word-break:break-all !important;}&:before{content:'';position:absolute;width:10px;height:10px;background:#0050ca;border-radius:100px;left:0;top:3px;margin-top:0.4rem;}}}"], _theme.default.cBlack, _theme.default.cBlack, function (props) {
|
|
39
39
|
return props.thirdParties ? '30%' : '40%';
|
|
40
40
|
}, function (props) {
|
|
41
41
|
return props.thirdParties ? '70%' : '60%';
|