cloudmr-ux 4.1.1 → 4.1.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.
|
@@ -58,7 +58,7 @@ export default function Signin(_a) {
|
|
|
58
58
|
};
|
|
59
59
|
dispatch(getLoggedInToken(credentials));
|
|
60
60
|
};
|
|
61
|
-
var content = (_jsxs("div", __assign({ id: "welcome" }, { children: [_jsx("div", __assign({ id: "welcome-logo" }, { children: _jsxs("div", __assign({ style: {
|
|
61
|
+
var content = (_jsxs("div", __assign({ id: "welcome", className: variant === "embed" ? "welcome-embed" : "" }, { children: [_jsx("div", __assign({ id: "welcome-logo" }, { children: _jsxs("div", __assign({ style: {
|
|
62
62
|
margin: "auto",
|
|
63
63
|
width: "100%",
|
|
64
64
|
display: "flex",
|
|
@@ -48,14 +48,14 @@ body {
|
|
|
48
48
|
text-transform: uppercase;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
#welcome{
|
|
51
|
+
#welcome {
|
|
52
52
|
display: grid;
|
|
53
53
|
grid-template-columns: 25% 50% 25%;
|
|
54
54
|
grid-template-rows: fit-content(30%) 0pt 1fr;
|
|
55
55
|
row-gap: 5px;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
#welcome-logo{
|
|
58
|
+
#welcome-logo {
|
|
59
59
|
grid-row: 1;
|
|
60
60
|
grid-column: 2;
|
|
61
61
|
width: 90%;
|
|
@@ -66,19 +66,20 @@ body {
|
|
|
66
66
|
color: #555;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
#welcome-login{
|
|
69
|
+
#welcome-login {
|
|
70
70
|
grid-row: 3;
|
|
71
71
|
grid-column: 2 / span 1;
|
|
72
72
|
display: flex;
|
|
73
73
|
justify-content: center;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
#welcome-icon{
|
|
77
|
-
position:absolute;
|
|
78
|
-
top
|
|
76
|
+
#welcome-icon {
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: -50pt;
|
|
79
|
+
/*it pushes away div element from top 30pt down Remember with
|
|
79
80
|
browser window*/
|
|
80
|
-
left:0;
|
|
81
|
-
right:0;
|
|
81
|
+
left: 0;
|
|
82
|
+
right: 0;
|
|
82
83
|
/*last three property excatly similar to top property it just pushes away
|
|
83
84
|
from specified direction*/
|
|
84
85
|
display: flex;
|
|
@@ -91,3 +92,21 @@ body {
|
|
|
91
92
|
/* Reserve space so content can't be covered by a fixed footer */
|
|
92
93
|
padding-bottom: 96px;
|
|
93
94
|
}
|
|
95
|
+
|
|
96
|
+
/* ---------- Embedded mode (Popover/Card) overrides ---------- */
|
|
97
|
+
#welcome.welcome-embed {
|
|
98
|
+
display: block;
|
|
99
|
+
grid-template-columns: none;
|
|
100
|
+
grid-template-rows: none;
|
|
101
|
+
row-gap: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
#welcome.welcome-embed #welcome-logo {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
#welcome.welcome-embed #welcome-login {
|
|
109
|
+
display: block;
|
|
110
|
+
justify-content: initial;
|
|
111
|
+
width: 100%;
|
|
112
|
+
}
|