ui-soxo-bootstrap-core 2.6.1-dev.20 → 2.6.1-dev.22
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/core/components/landing-api/landing-api.js +1 -1
- package/core/lib/components/global-header/animations.js +4 -78
- package/core/lib/components/global-header/global-header.js +25 -60
- package/core/lib/components/global-header/global-header.scss +24 -162
- package/core/lib/components/sidemenu/animations.js +2 -84
- package/core/lib/components/sidemenu/sidemenu.js +55 -175
- package/core/lib/components/sidemenu/sidemenu.scss +14 -221
- package/core/lib/elements/basic/country-phone-input/country-phone-input.js +0 -1
- package/core/lib/pages/login/login.js +6 -2
- package/core/modules/steps/action-buttons.js +1 -5
- package/package.json +1 -1
|
@@ -17,7 +17,6 @@ import ReportingDashboard from '../../modules/reporting/components/reporting-das
|
|
|
17
17
|
import PropTypes from 'prop-types';
|
|
18
18
|
|
|
19
19
|
import { MenusAPI, CoreScripts } from '../../models';
|
|
20
|
-
import LicenseAlert from '../license-management/license-alert';
|
|
21
20
|
|
|
22
21
|
const motivatingMessages = [
|
|
23
22
|
'Setting things up for a great start...',
|
|
@@ -68,6 +67,7 @@ export default function LandingApi({ history, CustomComponents, CustomModels, ap
|
|
|
68
67
|
// const [reports, setReports] = useState([]);
|
|
69
68
|
|
|
70
69
|
var config = {};
|
|
70
|
+
|
|
71
71
|
//fetch license summary
|
|
72
72
|
|
|
73
73
|
// Variable decides the control of homepage
|
|
@@ -1,92 +1,18 @@
|
|
|
1
1
|
export const boxVariants = {
|
|
2
|
-
entering: { x: -
|
|
2
|
+
entering: { x: -50, opacity: 0},
|
|
3
3
|
entered: {
|
|
4
4
|
x: 0,
|
|
5
5
|
opacity: 1,
|
|
6
|
-
scale: 1,
|
|
7
6
|
transition: {
|
|
8
7
|
x: {
|
|
9
|
-
duration: 0.
|
|
8
|
+
duration: 0.5,
|
|
10
9
|
ease: [.62,.28,.23,.99]
|
|
11
10
|
},
|
|
12
11
|
opacity: {
|
|
13
|
-
duration: 0.
|
|
12
|
+
duration: 0.5,
|
|
14
13
|
ease: [.62,.28,.23,.99]
|
|
15
|
-
},
|
|
16
|
-
scale: {
|
|
17
|
-
duration: 0.45,
|
|
18
|
-
ease: [.22,1,.36,1]
|
|
19
14
|
}
|
|
20
15
|
},
|
|
21
16
|
|
|
22
17
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const headerShellVariants = {
|
|
26
|
-
hidden: {
|
|
27
|
-
y: -14,
|
|
28
|
-
opacity: 0,
|
|
29
|
-
scale: 0.995,
|
|
30
|
-
filter: 'blur(6px)',
|
|
31
|
-
},
|
|
32
|
-
visible: {
|
|
33
|
-
y: 0,
|
|
34
|
-
opacity: 1,
|
|
35
|
-
scale: 1,
|
|
36
|
-
filter: 'blur(0px)',
|
|
37
|
-
transition: {
|
|
38
|
-
duration: 0.45,
|
|
39
|
-
ease: [.22,1,.36,1],
|
|
40
|
-
when: 'beforeChildren',
|
|
41
|
-
staggerChildren: 0.045,
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export const headerClusterVariants = {
|
|
47
|
-
hidden: { opacity: 0, x: -12 },
|
|
48
|
-
visible: {
|
|
49
|
-
opacity: 1,
|
|
50
|
-
x: 0,
|
|
51
|
-
transition: {
|
|
52
|
-
duration: 0.32,
|
|
53
|
-
ease: [.22,1,.36,1],
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export const headerActionsVariants = {
|
|
59
|
-
hidden: {},
|
|
60
|
-
visible: {
|
|
61
|
-
transition: {
|
|
62
|
-
staggerChildren: 0.05,
|
|
63
|
-
delayChildren: 0.08,
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export const headerActionItemVariants = {
|
|
69
|
-
hidden: { opacity: 0, y: -8, scale: 0.98 },
|
|
70
|
-
visible: {
|
|
71
|
-
opacity: 1,
|
|
72
|
-
y: 0,
|
|
73
|
-
scale: 1,
|
|
74
|
-
transition: {
|
|
75
|
-
duration: 0.28,
|
|
76
|
-
ease: [.22,1,.36,1],
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export const contentRevealVariants = {
|
|
82
|
-
hidden: { opacity: 0, y: 10 },
|
|
83
|
-
visible: {
|
|
84
|
-
opacity: 1,
|
|
85
|
-
y: 0,
|
|
86
|
-
transition: {
|
|
87
|
-
duration: 0.35,
|
|
88
|
-
ease: [.22,1,.36,1],
|
|
89
|
-
delay: 0.08,
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
};
|
|
18
|
+
}
|
|
@@ -5,16 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { useState, useEffect, useContext, useRef } from 'react';
|
|
7
7
|
|
|
8
|
-
import { motion, useAnimation
|
|
8
|
+
import { animationControls, motion, useAnimation } from 'framer-motion';
|
|
9
9
|
|
|
10
|
-
import {
|
|
11
|
-
boxVariants,
|
|
12
|
-
contentRevealVariants,
|
|
13
|
-
headerActionItemVariants,
|
|
14
|
-
headerActionsVariants,
|
|
15
|
-
headerClusterVariants,
|
|
16
|
-
headerShellVariants,
|
|
17
|
-
} from './animations';
|
|
10
|
+
import { boxVariants } from './animations';
|
|
18
11
|
|
|
19
12
|
import { GlobalContext } from './../../Store';
|
|
20
13
|
|
|
@@ -46,8 +39,7 @@ import BorderStyle from 'pdf-lib/cjs/core/annotation/BorderStyle';
|
|
|
46
39
|
|
|
47
40
|
import SettingsUtil from '../../../utils/settings.utils';
|
|
48
41
|
import SpotlightSearch from '../spotlight-search/spotlight-search.component';
|
|
49
|
-
import
|
|
50
|
-
// import { MenusAPI } from '../../../models';
|
|
42
|
+
import LicenseAlert from '../../../components/license-management/license-alert';
|
|
51
43
|
|
|
52
44
|
const { Title } = Typography;
|
|
53
45
|
|
|
@@ -61,8 +53,8 @@ export default function GlobalHeader({
|
|
|
61
53
|
sidemenu = [],
|
|
62
54
|
reload,
|
|
63
55
|
meta = {},
|
|
64
|
-
licenseData,
|
|
65
56
|
licAlert,
|
|
57
|
+
licenseData,
|
|
66
58
|
...props
|
|
67
59
|
}) {
|
|
68
60
|
let location = useLocation();
|
|
@@ -74,6 +66,7 @@ export default function GlobalHeader({
|
|
|
74
66
|
|
|
75
67
|
// Variable to handle toggling of menu
|
|
76
68
|
const [collapsed, setCollapsed] = useState(false);
|
|
69
|
+
|
|
77
70
|
// varibale handle branch switcher
|
|
78
71
|
|
|
79
72
|
// const [searchModalVisible, setSearchModalVisible] = useState(false);
|
|
@@ -81,8 +74,6 @@ export default function GlobalHeader({
|
|
|
81
74
|
const { globalCustomerHeader = () => {} } = appSettings;
|
|
82
75
|
|
|
83
76
|
const { t, i18n } = useTranslation();
|
|
84
|
-
const reduceMotion = useReducedMotion();
|
|
85
|
-
const shouldAnimate = !reduceMotion;
|
|
86
77
|
|
|
87
78
|
const spotlightRef = useRef();
|
|
88
79
|
|
|
@@ -90,7 +81,7 @@ export default function GlobalHeader({
|
|
|
90
81
|
setTimeout(() => {
|
|
91
82
|
i18n.changeLanguage(localStorage.selectedLanguage);
|
|
92
83
|
}, 0);
|
|
93
|
-
|
|
84
|
+
fetchSummary();
|
|
94
85
|
}, []);
|
|
95
86
|
|
|
96
87
|
/**
|
|
@@ -135,11 +126,6 @@ export default function GlobalHeader({
|
|
|
135
126
|
const boxControls = useAnimation();
|
|
136
127
|
|
|
137
128
|
async function animate() {
|
|
138
|
-
if (!shouldAnimate) {
|
|
139
|
-
boxControls.set('entered');
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
129
|
await boxControls.start('entered');
|
|
144
130
|
|
|
145
131
|
//await boxControls.start("show");
|
|
@@ -147,12 +133,10 @@ export default function GlobalHeader({
|
|
|
147
133
|
|
|
148
134
|
useEffect(() => {
|
|
149
135
|
animate();
|
|
150
|
-
}, [
|
|
136
|
+
}, []);
|
|
151
137
|
|
|
152
138
|
useEffect(() => {}, [state.theme]);
|
|
153
139
|
|
|
154
|
-
const motionProps = shouldAnimate ? { initial: 'hidden', animate: 'visible' } : { initial: false, animate: false };
|
|
155
|
-
|
|
156
140
|
return (
|
|
157
141
|
<>
|
|
158
142
|
<div
|
|
@@ -215,14 +199,12 @@ export default function GlobalHeader({
|
|
|
215
199
|
>
|
|
216
200
|
{/* For not connected section */}
|
|
217
201
|
{!isConnected && !kiosk ? (
|
|
218
|
-
<
|
|
219
|
-
variants={headerShellVariants}
|
|
220
|
-
{...motionProps}
|
|
202
|
+
<div
|
|
221
203
|
className={`page-wrapper ${!collapsed ? 'open' : 'close'}`}
|
|
222
204
|
// style={{ background: state.theme.colors.headerBg }}
|
|
223
205
|
>
|
|
224
206
|
{/* */}
|
|
225
|
-
<
|
|
207
|
+
<div className="page-header-name">
|
|
226
208
|
<ProgressBar isLoading={loading} />
|
|
227
209
|
|
|
228
210
|
<span type onClick={!isMobile ? toggleCollapsed : hideToggle} className="toggle-box toggle-menu">
|
|
@@ -247,15 +229,15 @@ export default function GlobalHeader({
|
|
|
247
229
|
{menu.caption}
|
|
248
230
|
</h4>
|
|
249
231
|
) : null}
|
|
250
|
-
</
|
|
232
|
+
</div>
|
|
251
233
|
|
|
252
234
|
{/* Page Menu Actions */}
|
|
253
235
|
|
|
254
236
|
{user.role || user.id ? (
|
|
255
|
-
<
|
|
237
|
+
<div className="page-menu">
|
|
256
238
|
{/* Search Input in header start */}
|
|
257
239
|
{!isMobile && (
|
|
258
|
-
<
|
|
240
|
+
<div>
|
|
259
241
|
<Input
|
|
260
242
|
placeholder="Search (Shift + F)"
|
|
261
243
|
prefix={<SearchOutlined />}
|
|
@@ -265,17 +247,13 @@ export default function GlobalHeader({
|
|
|
265
247
|
/>
|
|
266
248
|
|
|
267
249
|
<SpotlightSearch ref={(elem) => SettingsUtil.registerModal(elem)} props={props} />
|
|
268
|
-
</
|
|
250
|
+
</div>
|
|
269
251
|
)}
|
|
270
252
|
{/* Search Input in header start */}
|
|
271
253
|
|
|
272
254
|
{/** branchswitcher Option */}
|
|
273
255
|
{/* branch switcher controlled with env for matria and nura */}
|
|
274
|
-
{!process.env.REACT_APP_SHOW_BRANCH_SWITCHER ? (
|
|
275
|
-
<motion.div className="branch-switcher header-action" variants={headerActionItemVariants}>
|
|
276
|
-
{globalCustomerHeader()}
|
|
277
|
-
</motion.div>
|
|
278
|
-
) : null}
|
|
256
|
+
{!process.env.REACT_APP_SHOW_BRANCH_SWITCHER ? <div className="branch-switcher">{globalCustomerHeader()}</div> : null}
|
|
279
257
|
{/* <div className="branch-switcher">{globalCustomerHeader()}</div> */}
|
|
280
258
|
|
|
281
259
|
{/* Search Option */}
|
|
@@ -289,11 +267,9 @@ export default function GlobalHeader({
|
|
|
289
267
|
<>
|
|
290
268
|
{/* Models */}
|
|
291
269
|
{menu && menu.id ? (
|
|
292
|
-
<
|
|
293
|
-
<
|
|
294
|
-
|
|
295
|
-
</Link>
|
|
296
|
-
</motion.div>
|
|
270
|
+
<Link to={`/menus/${menu.id}`}>
|
|
271
|
+
<Button type="default" size={'small'} icon={<SettingOutlined />}></Button>
|
|
272
|
+
</Link>
|
|
297
273
|
) : null}
|
|
298
274
|
{/* Models Ends */}
|
|
299
275
|
</>
|
|
@@ -302,40 +278,29 @@ export default function GlobalHeader({
|
|
|
302
278
|
|
|
303
279
|
{/* Reload Button */}
|
|
304
280
|
|
|
305
|
-
<
|
|
306
|
-
<Button onClick={reload} icon={<ReloadOutlined />} type="default" size={'small'}></Button>
|
|
307
|
-
</motion.div>
|
|
281
|
+
<Button onClick={reload} icon={<ReloadOutlined />} type="default" size={'small'}></Button>
|
|
308
282
|
|
|
309
283
|
{/* Reload Button Ends */}
|
|
310
284
|
|
|
311
285
|
{/** Switch Languages starts */}
|
|
312
|
-
{process.env.REACT_APP_ENABLE_LANGUAGE_SWITCHER ?
|
|
313
|
-
<motion.div className="header-action" variants={headerActionItemVariants}>
|
|
314
|
-
<LanguageSwitcher />
|
|
315
|
-
</motion.div>
|
|
316
|
-
) : null}
|
|
286
|
+
{process.env.REACT_APP_ENABLE_LANGUAGE_SWITCHER ? <LanguageSwitcher /> : null}
|
|
317
287
|
{/** Switch Languages ends */}
|
|
318
288
|
|
|
319
289
|
{/* User Profile */}
|
|
320
|
-
<
|
|
290
|
+
<div style={{ padding: '10px' }}>
|
|
321
291
|
<ProfileAvatar />
|
|
322
|
-
<span
|
|
323
|
-
|
|
324
|
-
{user.name}{' '}
|
|
325
|
-
</span>
|
|
326
|
-
</motion.div>
|
|
292
|
+
<span style={{ color: state.theme.colors.colorText }}> {user.name} </span>
|
|
293
|
+
</div>
|
|
327
294
|
{/* User Profile Ends */}
|
|
328
|
-
</
|
|
295
|
+
</div>
|
|
329
296
|
) : null}
|
|
330
297
|
|
|
331
298
|
{/* Page Menu Actions Ends */}
|
|
332
|
-
</
|
|
299
|
+
</div>
|
|
333
300
|
) : null}
|
|
334
301
|
|
|
335
302
|
{/* The children is rendered */}
|
|
336
|
-
|
|
337
|
-
{children}
|
|
338
|
-
</motion.div>
|
|
303
|
+
{children}
|
|
339
304
|
{/* The children is rendered */}
|
|
340
305
|
</div>
|
|
341
306
|
{/* Right Section of the Component Loader Ends */}
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
.right-section {
|
|
124
124
|
margin-top: 0px;
|
|
125
125
|
width: 100%;
|
|
126
|
-
overflow-x:
|
|
126
|
+
overflow-x: scroll;
|
|
127
127
|
position: relative;
|
|
128
128
|
padding: 15px;
|
|
129
129
|
margin-left: 212px;
|
|
@@ -155,10 +155,12 @@
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
|
|
158
|
+
@media only screen and (max-width: 768px) {
|
|
159
159
|
margin-left: 0 !important; // remove left margin on mobile
|
|
160
160
|
padding: 10px !important;
|
|
161
161
|
}
|
|
162
|
+
|
|
163
|
+
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
.profile-avatar {
|
|
@@ -201,19 +203,16 @@
|
|
|
201
203
|
display: flex;
|
|
202
204
|
justify-content: space-between;
|
|
203
205
|
// padding: 3px 8px;
|
|
204
|
-
border: 1px solid
|
|
206
|
+
border-bottom: 1px solid #d7d7d787;
|
|
205
207
|
position: fixed;
|
|
206
|
-
height:
|
|
208
|
+
height: 56px;
|
|
207
209
|
top: 0;
|
|
208
|
-
background:
|
|
209
|
-
backdrop-filter: blur(12px);
|
|
210
|
+
background: white;
|
|
210
211
|
z-index: 1000;
|
|
211
212
|
width: 92%;
|
|
212
213
|
overflow-x: hidden;
|
|
213
214
|
overflow-y: hidden;
|
|
214
|
-
padding:
|
|
215
|
-
border-radius: 0 0 14px 14px;
|
|
216
|
-
box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
|
|
215
|
+
padding: 15px;
|
|
217
216
|
|
|
218
217
|
&.open {
|
|
219
218
|
width: calc(100% - 212px);
|
|
@@ -221,27 +220,20 @@
|
|
|
221
220
|
left: 212px;
|
|
222
221
|
}
|
|
223
222
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
223
|
+
@media only screen and (max-width: 768px) {
|
|
224
|
+
padding: 8px 10px 8px 14px !important;
|
|
225
|
+
left: 0 !important;
|
|
226
|
+
width: 100% !important;
|
|
228
227
|
|
|
229
|
-
|
|
230
|
-
padding: 8px 10px 8px 14px !important;
|
|
231
|
-
left: 0 !important;
|
|
228
|
+
&.open {
|
|
232
229
|
width: 100% !important;
|
|
233
|
-
|
|
234
|
-
&.open {
|
|
235
|
-
width: 100% !important;
|
|
236
|
-
left: 0 !important;
|
|
237
|
-
}
|
|
230
|
+
left: 0 !important;
|
|
238
231
|
}
|
|
232
|
+
}
|
|
233
|
+
|
|
239
234
|
|
|
240
235
|
.page-header-name {
|
|
241
236
|
display: flex;
|
|
242
|
-
align-items: center;
|
|
243
|
-
gap: 8px;
|
|
244
|
-
min-width: 0;
|
|
245
237
|
}
|
|
246
238
|
|
|
247
239
|
&.hidden {
|
|
@@ -251,41 +243,23 @@
|
|
|
251
243
|
.toggle-box {
|
|
252
244
|
display: flex;
|
|
253
245
|
align-items: center;
|
|
254
|
-
justify-content: center;
|
|
255
246
|
cursor: pointer;
|
|
256
|
-
min-width: 34px;
|
|
257
|
-
height: 34px;
|
|
258
|
-
border-radius: 10px;
|
|
259
|
-
background: rgba(255, 255, 255, 0.8);
|
|
260
|
-
transition:
|
|
261
|
-
background-color 180ms ease,
|
|
262
|
-
border-color 180ms ease,
|
|
263
|
-
box-shadow 180ms ease,
|
|
264
|
-
transform 180ms ease;
|
|
265
247
|
|
|
266
248
|
h4 {
|
|
267
249
|
margin-bottom: 0px;
|
|
268
250
|
}
|
|
269
|
-
|
|
270
|
-
&:hover {
|
|
271
|
-
background: rgba(247, 248, 251, 0.98);
|
|
272
|
-
border-color: rgba(219, 225, 235, 0.95);
|
|
273
|
-
box-shadow: 0 2px 8px rgba(71, 85, 105, 0.08);
|
|
274
|
-
transform: translateY(-1px);
|
|
275
|
-
}
|
|
276
251
|
}
|
|
277
252
|
|
|
278
253
|
.toggle-menu {
|
|
279
|
-
margin-right:
|
|
254
|
+
margin-right: 10px;
|
|
280
255
|
cursor: pointer;
|
|
281
256
|
// padding: 10px;
|
|
282
257
|
// border-radius: 4px;
|
|
283
258
|
// border: 1px solid #dcdcdc;
|
|
284
|
-
margin-right:
|
|
285
|
-
border: 1px solid rgba(225, 231, 240, 0.95);
|
|
259
|
+
margin-right: 10px;
|
|
286
260
|
|
|
287
261
|
span {
|
|
288
|
-
margin-right:
|
|
262
|
+
margin-right: 10px;
|
|
289
263
|
}
|
|
290
264
|
|
|
291
265
|
&:hover {
|
|
@@ -306,97 +280,22 @@
|
|
|
306
280
|
.page-menu {
|
|
307
281
|
display: flex;
|
|
308
282
|
align-items: center;
|
|
309
|
-
gap:
|
|
310
|
-
min-width: 0;
|
|
311
|
-
padding: 4px 6px;
|
|
312
|
-
border-radius: 12px;
|
|
313
|
-
border: 1px solid rgba(228, 233, 242, 0.9);
|
|
314
|
-
background: rgba(255, 255, 255, 0.72);
|
|
315
|
-
backdrop-filter: blur(8px);
|
|
283
|
+
gap: 15px;
|
|
316
284
|
|
|
317
285
|
a {
|
|
318
|
-
margin:
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.header-action {
|
|
322
|
-
display: inline-flex;
|
|
323
|
-
align-items: center;
|
|
324
|
-
min-height: 34px;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.header-action .ant-btn {
|
|
328
|
-
border-radius: 10px;
|
|
329
|
-
border-color: rgba(223, 229, 238, 0.95);
|
|
330
|
-
background: rgba(255, 255, 255, 0.9);
|
|
331
|
-
box-shadow: none;
|
|
332
|
-
transition:
|
|
333
|
-
border-color 180ms ease,
|
|
334
|
-
box-shadow 180ms ease,
|
|
335
|
-
transform 180ms ease,
|
|
336
|
-
background-color 180ms ease;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.header-action .ant-btn:hover {
|
|
340
|
-
background: rgba(247, 248, 251, 0.98);
|
|
341
|
-
border-color: rgba(219, 225, 235, 0.95);
|
|
342
|
-
box-shadow: 0 2px 8px rgba(71, 85, 105, 0.08);
|
|
343
|
-
transform: translateY(-1px);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.header-action-search {
|
|
347
|
-
position: relative;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.header-action-search .ant-input-affix-wrapper {
|
|
351
|
-
height: 34px;
|
|
352
|
-
border-radius: 10px;
|
|
353
|
-
border-color: rgba(223, 229, 238, 0.95);
|
|
354
|
-
background: rgba(255, 255, 255, 0.9);
|
|
355
|
-
box-shadow: none;
|
|
356
|
-
transition:
|
|
357
|
-
border-color 180ms ease,
|
|
358
|
-
box-shadow 180ms ease,
|
|
359
|
-
background-color 180ms ease;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.header-action-search .ant-input-affix-wrapper:hover {
|
|
363
|
-
border-color: rgba(214, 221, 232, 0.95);
|
|
364
|
-
background: rgba(249, 250, 252, 0.98);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.header-action-search .ant-input-affix-wrapper:focus-within {
|
|
368
|
-
border-color: rgba(148, 163, 184, 0.95);
|
|
369
|
-
box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.14);
|
|
286
|
+
margin: 0px 5px;
|
|
370
287
|
}
|
|
371
288
|
|
|
372
289
|
.branch-selection {
|
|
373
290
|
margin: 0px 10px;
|
|
374
291
|
}
|
|
375
|
-
|
|
292
|
+
.branch-switcher {
|
|
376
293
|
.branches {
|
|
377
294
|
.ant-select {
|
|
378
295
|
min-width: 150px;
|
|
379
296
|
}
|
|
380
297
|
}
|
|
381
298
|
}
|
|
382
|
-
|
|
383
|
-
.header-profile-wrap {
|
|
384
|
-
padding: 0 6px 0 2px;
|
|
385
|
-
border-radius: 10px;
|
|
386
|
-
border: 1px solid rgba(228, 233, 242, 0.75);
|
|
387
|
-
background: rgba(255, 255, 255, 0.82);
|
|
388
|
-
gap: 4px;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.header-profile-name {
|
|
392
|
-
display: inline-block;
|
|
393
|
-
max-width: 132px;
|
|
394
|
-
overflow: hidden;
|
|
395
|
-
text-overflow: ellipsis;
|
|
396
|
-
white-space: nowrap;
|
|
397
|
-
font-size: 12px;
|
|
398
|
-
font-weight: 600;
|
|
399
|
-
}
|
|
400
299
|
}
|
|
401
300
|
|
|
402
301
|
.header-blk {
|
|
@@ -416,10 +315,6 @@
|
|
|
416
315
|
margin-bottom: 10px;
|
|
417
316
|
}
|
|
418
317
|
}
|
|
419
|
-
|
|
420
|
-
.page-content-stage {
|
|
421
|
-
will-change: transform, opacity;
|
|
422
|
-
}
|
|
423
318
|
}
|
|
424
319
|
|
|
425
320
|
.side-drawer-content-wrapper {
|
|
@@ -428,40 +323,7 @@
|
|
|
428
323
|
padding: 0px;
|
|
429
324
|
}
|
|
430
325
|
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
@media only screen and (max-width: 1100px) {
|
|
434
|
-
.global-header {
|
|
435
|
-
.page-wrapper {
|
|
436
|
-
.page-menu {
|
|
437
|
-
gap: 6px;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.page-menu .header-profile-name {
|
|
441
|
-
max-width: 88px;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.page-menu .header-action-search .ant-input-affix-wrapper {
|
|
445
|
-
width: 210px !important;
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
@media only screen and (max-width: 900px) {
|
|
452
|
-
.global-header {
|
|
453
|
-
.page-wrapper {
|
|
454
|
-
padding: 7px 10px;
|
|
455
|
-
|
|
456
|
-
.page-menu {
|
|
457
|
-
padding: 4px;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
.page-menu .header-profile-name {
|
|
461
|
-
display: none;
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
326
|
+
|
|
465
327
|
}
|
|
466
328
|
|
|
467
329
|
.sidebar-container {
|
|
@@ -499,7 +361,7 @@
|
|
|
499
361
|
.ant-drawer-body {
|
|
500
362
|
padding: 0px;
|
|
501
363
|
}
|
|
502
|
-
.ant-drawer-header
|
|
364
|
+
.ant-drawer-header{
|
|
503
365
|
padding: 2px 20px;
|
|
504
366
|
}
|
|
505
367
|
}
|
|
@@ -22,89 +22,7 @@ export const boxVariants = {
|
|
|
22
22
|
},
|
|
23
23
|
right: { x: [null, 150, 0] },
|
|
24
24
|
zoom: { scale: [null, 2, 1], rotate: [0, 90, 0] }
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const sidebarIntroVariants = {
|
|
28
|
-
hidden: {
|
|
29
|
-
opacity: 0,
|
|
30
|
-
y: -10,
|
|
31
|
-
filter: 'blur(6px)',
|
|
32
|
-
},
|
|
33
|
-
visible: {
|
|
34
|
-
opacity: 1,
|
|
35
|
-
y: 0,
|
|
36
|
-
filter: 'blur(0px)',
|
|
37
|
-
transition: {
|
|
38
|
-
duration: 0.35,
|
|
39
|
-
ease: [.22,1,.36,1],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export const sidebarMenuSurfaceVariants = {
|
|
45
|
-
hidden: {
|
|
46
|
-
opacity: 0,
|
|
47
|
-
x: -10,
|
|
48
|
-
filter: 'blur(4px)',
|
|
49
|
-
},
|
|
50
|
-
visible: {
|
|
51
|
-
opacity: 1,
|
|
52
|
-
x: 0,
|
|
53
|
-
filter: 'blur(0px)',
|
|
54
|
-
transition: {
|
|
55
|
-
duration: 0.4,
|
|
56
|
-
ease: [.22,1,.36,1],
|
|
57
|
-
when: 'beforeChildren',
|
|
58
|
-
staggerChildren: 0.035,
|
|
59
|
-
delayChildren: 0.05,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export const sidebarGroupVariants = {
|
|
65
|
-
hidden: {},
|
|
66
|
-
visible: {
|
|
67
|
-
transition: {
|
|
68
|
-
staggerChildren: 0.03,
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export const sidebarItemRevealVariants = {
|
|
74
|
-
hidden: { opacity: 0, x: -8, y: 2 },
|
|
75
|
-
visible: {
|
|
76
|
-
opacity: 1,
|
|
77
|
-
x: 0,
|
|
78
|
-
y: 0,
|
|
79
|
-
transition: {
|
|
80
|
-
duration: 0.26,
|
|
81
|
-
ease: [.22,1,.36,1],
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export const sidebarLoaderContainerVariants = {
|
|
87
|
-
hidden: { opacity: 0 },
|
|
88
|
-
visible: {
|
|
89
|
-
opacity: 1,
|
|
90
|
-
transition: {
|
|
91
|
-
staggerChildren: 0.06,
|
|
92
|
-
delayChildren: 0.04,
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
export const sidebarLoaderRowVariants = {
|
|
98
|
-
hidden: { opacity: 0, x: -8 },
|
|
99
|
-
visible: {
|
|
100
|
-
opacity: 1,
|
|
101
|
-
x: 0,
|
|
102
|
-
transition: {
|
|
103
|
-
duration: 0.25,
|
|
104
|
-
ease: [.22,1,.36,1],
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
};
|
|
25
|
+
}
|
|
108
26
|
|
|
109
27
|
export const barsVariant = {
|
|
110
28
|
animate: { transition: { staggerChildren: 0.095 } }
|
|
@@ -131,4 +49,4 @@ export const sidebarLoaderRowVariants = {
|
|
|
131
49
|
scale: [1, 0, 1],
|
|
132
50
|
rotate: [0, 360, 0]
|
|
133
51
|
}
|
|
134
|
-
}
|
|
52
|
+
}
|