@mediusinc/mng-commons-layout 5.0.0-rc.0
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/README.md +13 -0
- package/assets/fonts/poppins-v20-latin-500.woff +0 -0
- package/assets/fonts/poppins-v20-latin-500.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-600.woff +0 -0
- package/assets/fonts/poppins-v20-latin-600.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-700.woff +0 -0
- package/assets/fonts/poppins-v20-latin-700.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-regular.woff +0 -0
- package/assets/fonts/poppins-v20-latin-regular.woff2 +0 -0
- package/assets/images/effect-ondark.png +0 -0
- package/assets/images/effect-ondark.svg +38 -0
- package/assets/images/effect-ondark@2x.png +0 -0
- package/assets/images/effect-onlight.png +0 -0
- package/assets/images/effect-onlight.svg +38 -0
- package/assets/images/effect-onlight@2x.png +0 -0
- package/assets/images/pages/exception-ondark.png +0 -0
- package/assets/images/pages/exception-onlight.png +0 -0
- package/assets/images/pages/login-ondark.png +0 -0
- package/assets/images/pages/login-onlight.png +0 -0
- package/esm2022/index.mjs +23 -0
- package/esm2022/lib/components/breadcrumb.component.mjs +30 -0
- package/esm2022/lib/components/footer.component.mjs +28 -0
- package/esm2022/lib/components/main-layout.component.mjs +99 -0
- package/esm2022/lib/components/menu-item.component.mjs +275 -0
- package/esm2022/lib/components/menu.component.mjs +40 -0
- package/esm2022/lib/components/sidebar.component.mjs +61 -0
- package/esm2022/lib/components/topbar-user.component.mjs +39 -0
- package/esm2022/lib/components/topbar.component.mjs +57 -0
- package/esm2022/lib/components/version.component.mjs +63 -0
- package/esm2022/lib/helpers/route-builder.mjs +11 -0
- package/esm2022/lib/models/layout-state.model.mjs +2 -0
- package/esm2022/lib/models/menu.model.mjs +2 -0
- package/esm2022/lib/provide.mjs +23 -0
- package/esm2022/lib/services/layout-feature-config.token.mjs +3 -0
- package/esm2022/lib/services/main-layout.component.service.mjs +71 -0
- package/esm2022/lib/services/menu.service.mjs +120 -0
- package/esm2022/lib/services/version.service.mjs +45 -0
- package/esm2022/mediusinc-mng-commons-layout.mjs +5 -0
- package/fesm2022/mediusinc-mng-commons-layout.mjs +878 -0
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -0
- package/index.d.ts +17 -0
- package/lib/components/breadcrumb.component.d.ts +10 -0
- package/lib/components/footer.component.d.ts +12 -0
- package/lib/components/main-layout.component.d.ts +27 -0
- package/lib/components/menu-item.component.d.ts +40 -0
- package/lib/components/menu.component.d.ts +14 -0
- package/lib/components/sidebar.component.d.ts +19 -0
- package/lib/components/topbar-user.component.d.ts +15 -0
- package/lib/components/topbar.component.d.ts +22 -0
- package/lib/components/version.component.d.ts +18 -0
- package/lib/helpers/route-builder.d.ts +6 -0
- package/lib/models/layout-state.model.d.ts +10 -0
- package/lib/models/menu.model.d.ts +4 -0
- package/lib/provide.d.ts +8 -0
- package/lib/services/layout-feature-config.token.d.ts +18 -0
- package/lib/services/main-layout.component.service.d.ts +17 -0
- package/lib/services/menu.service.d.ts +22 -0
- package/lib/services/version.service.d.ts +14 -0
- package/package.json +35 -0
- package/scss/commons-dark.scss +9 -0
- package/scss/commons-light.scss +9 -0
- package/scss/layout/_animation.scss +53 -0
- package/scss/layout/_breadcrumb.scss +97 -0
- package/scss/layout/_config.scss +42 -0
- package/scss/layout/_content.scss +3 -0
- package/scss/layout/_fonts.scss +40 -0
- package/scss/layout/_layout_dark.scss +12 -0
- package/scss/layout/_layout_light.scss +12 -0
- package/scss/layout/_main.scss +54 -0
- package/scss/layout/_profile.scss +10 -0
- package/scss/layout/_responsive.scss +131 -0
- package/scss/layout/_sidebar_drawer.scss +285 -0
- package/scss/layout/_sidebar_horizontal.scss +168 -0
- package/scss/layout/_sidebar_reveal.scss +203 -0
- package/scss/layout/_sidebar_slim.scss +157 -0
- package/scss/layout/_sidebar_slim_plus.scss +166 -0
- package/scss/layout/_sidebar_vertical.scss +178 -0
- package/scss/layout/_topbar.scss +174 -0
- package/scss/layout/_typography.scss +67 -0
- package/scss/layout/_utils.scss +33 -0
- package/scss/layout/layout.scss +24 -0
- package/scss/layout/mng/_mng_layout_footer.scss +39 -0
- package/scss/layout/mng/_mng_layout_menu.scss +10 -0
- package/scss/layout/mng/_mng_layout_styles.scss +3 -0
- package/scss/layout/mng/_mng_layout_topbar.scss +18 -0
- package/scss/layout/preloading.scss +84 -0
- package/scss/theme/extensions/_fullcalendar.scss +328 -0
- package/scss/theme/theme-base/_colors.scss +17 -0
- package/scss/theme/theme-base/_common.scss +76 -0
- package/scss/theme/theme-base/_components.scss +110 -0
- package/scss/theme/theme-base/_mixins.scss +337 -0
- package/scss/theme/theme-base/components/button/_button.scss +576 -0
- package/scss/theme/theme-base/components/button/_speeddial.scss +96 -0
- package/scss/theme/theme-base/components/button/_splitbutton.scss +348 -0
- package/scss/theme/theme-base/components/data/_carousel.scss +37 -0
- package/scss/theme/theme-base/components/data/_datatable.scss +338 -0
- package/scss/theme/theme-base/components/data/_dataview.scss +46 -0
- package/scss/theme/theme-base/components/data/_filter.scss +137 -0
- package/scss/theme/theme-base/components/data/_orderlist.scss +114 -0
- package/scss/theme/theme-base/components/data/_organizationchart.scss +50 -0
- package/scss/theme/theme-base/components/data/_paginator.scss +92 -0
- package/scss/theme/theme-base/components/data/_picklist.scss +114 -0
- package/scss/theme/theme-base/components/data/_timeline.scss +35 -0
- package/scss/theme/theme-base/components/data/_tree.scss +150 -0
- package/scss/theme/theme-base/components/data/_treetable.scss +255 -0
- package/scss/theme/theme-base/components/data/_virtualscroller.scss +28 -0
- package/scss/theme/theme-base/components/file/_fileupload.scss +64 -0
- package/scss/theme/theme-base/components/input/_autocomplete.scss +136 -0
- package/scss/theme/theme-base/components/input/_calendar.scss +267 -0
- package/scss/theme/theme-base/components/input/_cascadeselect.scss +135 -0
- package/scss/theme/theme-base/components/input/_checkbox.scss +94 -0
- package/scss/theme/theme-base/components/input/_chips.scss +65 -0
- package/scss/theme/theme-base/components/input/_colorpicker.scss +19 -0
- package/scss/theme/theme-base/components/input/_dropdown.scss +151 -0
- package/scss/theme/theme-base/components/input/_editor.scss +122 -0
- package/scss/theme/theme-base/components/input/_inputgroup.scss +74 -0
- package/scss/theme/theme-base/components/input/_inputmask.scss +16 -0
- package/scss/theme/theme-base/components/input/_inputnumber.scss +28 -0
- package/scss/theme/theme-base/components/input/_inputswitch.scss +60 -0
- package/scss/theme/theme-base/components/input/_inputtext.scss +100 -0
- package/scss/theme/theme-base/components/input/_listbox.scss +97 -0
- package/scss/theme/theme-base/components/input/_multiselect.scss +177 -0
- package/scss/theme/theme-base/components/input/_password.scss +52 -0
- package/scss/theme/theme-base/components/input/_radiobutton.scss +78 -0
- package/scss/theme/theme-base/components/input/_rating.scss +60 -0
- package/scss/theme/theme-base/components/input/_selectbutton.scss +50 -0
- package/scss/theme/theme-base/components/input/_slider.scss +75 -0
- package/scss/theme/theme-base/components/input/_togglebutton.scss +48 -0
- package/scss/theme/theme-base/components/input/_treeselect.scss +139 -0
- package/scss/theme/theme-base/components/menu/_breadcrumb.scss +42 -0
- package/scss/theme/theme-base/components/menu/_contextmenu.scss +39 -0
- package/scss/theme/theme-base/components/menu/_dock.scss +95 -0
- package/scss/theme/theme-base/components/menu/_megamenu.scss +55 -0
- package/scss/theme/theme-base/components/menu/_menu.scss +37 -0
- package/scss/theme/theme-base/components/menu/_menubar.scss +140 -0
- package/scss/theme/theme-base/components/menu/_panelmenu.scss +153 -0
- package/scss/theme/theme-base/components/menu/_slidemenu.scss +59 -0
- package/scss/theme/theme-base/components/menu/_steps.scss +56 -0
- package/scss/theme/theme-base/components/menu/_tabmenu.scss +73 -0
- package/scss/theme/theme-base/components/menu/_tieredmenu.scss +43 -0
- package/scss/theme/theme-base/components/messages/_inlinemessage.scss +69 -0
- package/scss/theme/theme-base/components/messages/_message.scss +107 -0
- package/scss/theme/theme-base/components/messages/_toast.scss +99 -0
- package/scss/theme/theme-base/components/misc/_avatar.scss +30 -0
- package/scss/theme/theme-base/components/misc/_badge.scss +48 -0
- package/scss/theme/theme-base/components/misc/_blockui.scss +0 -0
- package/scss/theme/theme-base/components/misc/_chip.scss +42 -0
- package/scss/theme/theme-base/components/misc/_inplace.scss +16 -0
- package/scss/theme/theme-base/components/misc/_progressbar.scss +17 -0
- package/scss/theme/theme-base/components/misc/_scrolltop.scss +25 -0
- package/scss/theme/theme-base/components/misc/_skeleton.scss +8 -0
- package/scss/theme/theme-base/components/misc/_tag.scss +40 -0
- package/scss/theme/theme-base/components/misc/_terminal.scss +12 -0
- package/scss/theme/theme-base/components/multimedia/_galleria.scss +155 -0
- package/scss/theme/theme-base/components/multimedia/_image.scss +49 -0
- package/scss/theme/theme-base/components/overlay/_confirmpopup.scss +70 -0
- package/scss/theme/theme-base/components/overlay/_dialog.scss +69 -0
- package/scss/theme/theme-base/components/overlay/_overlaypanel.scss +62 -0
- package/scss/theme/theme-base/components/overlay/_sidebar.scss +27 -0
- package/scss/theme/theme-base/components/overlay/_tooltip.scss +33 -0
- package/scss/theme/theme-base/components/panel/_accordion.scss +119 -0
- package/scss/theme/theme-base/components/panel/_card.scss +30 -0
- package/scss/theme/theme-base/components/panel/_divider.scss +31 -0
- package/scss/theme/theme-base/components/panel/_fieldset.scss +47 -0
- package/scss/theme/theme-base/components/panel/_panel.scss +63 -0
- package/scss/theme/theme-base/components/panel/_scrollpanel.scss +6 -0
- package/scss/theme/theme-base/components/panel/_splitter.scss +19 -0
- package/scss/theme/theme-base/components/panel/_tabview.scss +82 -0
- package/scss/theme/theme-base/components/panel/_toolbar.scss +11 -0
- package/scss/theme/theme-base/mng/_mng_mixins.scss +69 -0
- package/scss/theme/theme-base/mng/_mng_theme_autocomplete.scss +34 -0
- package/scss/theme/theme-base/mng/_mng_theme_button.scss +68 -0
- package/scss/theme/theme-base/mng/_mng_theme_datatable.scss +153 -0
- package/scss/theme/theme-base/mng/_mng_theme_datepicker.scss +21 -0
- package/scss/theme/theme-base/mng/_mng_theme_dialog.scss +206 -0
- package/scss/theme/theme-base/mng/_mng_theme_dropdown.scss +32 -0
- package/scss/theme/theme-base/mng/_mng_theme_fileupload.scss +24 -0
- package/scss/theme/theme-base/mng/_mng_theme_forms.scss +66 -0
- package/scss/theme/theme-base/mng/_mng_theme_image.scss +27 -0
- package/scss/theme/theme-base/mng/_mng_theme_input.scss +31 -0
- package/scss/theme/theme-base/mng/_mng_theme_menu.scss +5 -0
- package/scss/theme/theme-base/mng/_mng_theme_multiselect.scss +20 -0
- package/scss/theme/theme-base/mng/_mng_theme_styles.scss +17 -0
- package/scss/theme/theme-base/mng/_mng_theme_tableview.scss +97 -0
- package/scss/theme/theme-base/mng/_mng_theme_tabview.scss +14 -0
- package/scss/theme/theme-base/mng/_mng_theme_toast.scss +3 -0
- package/scss/theme/theme-base/mng/_mng_theme_toolbar.scss +5 -0
- package/scss/theme/theme-base/mng/_mng_variables.scss +15 -0
- package/scss/theme/theme-dark/_extensions.scss +109 -0
- package/scss/theme/theme-dark/_variables.scss +940 -0
- package/scss/theme/theme-dark/blue/theme.scss +14 -0
- package/scss/theme/theme-light/_extensions.scss +109 -0
- package/scss/theme/theme-light/_variables.scss +936 -0
- package/scss/theme/theme-light/blue/theme.scss +14 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@keyframes px-mask-in {
|
|
2
|
+
from {
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
to {
|
|
7
|
+
background-color: var(--maskbg);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@keyframes px-scalein {
|
|
12
|
+
0% {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transform: scaleY(0.8);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
100% {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transform: scaleY(1);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@keyframes px-fadein {
|
|
24
|
+
0% {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes px-fadeout {
|
|
34
|
+
0% {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
100% {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.px-scalein {
|
|
44
|
+
animation: px-scalein 0.12s cubic-bezier(0, 0, 0.2, 1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.px-fadein {
|
|
48
|
+
animation: px-fadein 0.15s linear;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.px-fadeout {
|
|
52
|
+
animation: px-fadeout 0.15s linear;
|
|
53
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.layout-breadcrumb {
|
|
2
|
+
ol {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
list-style: none;
|
|
8
|
+
gap: 1rem;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
color: var(--text-color-secondary);
|
|
11
|
+
|
|
12
|
+
li {
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.breadcrumb-menu {
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0 1.15rem 0 0.85rem;
|
|
19
|
+
padding-right: 0;
|
|
20
|
+
list-style: none;
|
|
21
|
+
flex-grow: 1;
|
|
22
|
+
color: var(--topbar-item-text-color);
|
|
23
|
+
margin-right: -2rem;
|
|
24
|
+
|
|
25
|
+
li {
|
|
26
|
+
margin-left: 1.5rem;
|
|
27
|
+
.breadcrumb-search {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex-shrink: 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
margin-left: 0rem;
|
|
33
|
+
|
|
34
|
+
.breadcrumb-searchbutton {
|
|
35
|
+
display: flex;
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.search-input-wrapper {
|
|
40
|
+
position: relative;
|
|
41
|
+
width: 0;
|
|
42
|
+
opacity: 0;
|
|
43
|
+
visibility: hidden;
|
|
44
|
+
transition: 400ms cubic-bezier(0.86, 0, 0.07, 1);
|
|
45
|
+
|
|
46
|
+
span {
|
|
47
|
+
width: 100%;
|
|
48
|
+
|
|
49
|
+
.p-inputtext {
|
|
50
|
+
width: 100%;
|
|
51
|
+
position: relative;
|
|
52
|
+
border-radius: 40px;
|
|
53
|
+
padding: 9px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
i {
|
|
57
|
+
font-size: 18px;
|
|
58
|
+
margin-top: -9px;
|
|
59
|
+
margin-right: 9px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.breadcrumb-search-active {
|
|
65
|
+
.breadcrumb-searchbutton {
|
|
66
|
+
opacity: 0;
|
|
67
|
+
display: none;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
cursor: default;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.search-input-wrapper {
|
|
73
|
+
width: 100%;
|
|
74
|
+
opacity: 1;
|
|
75
|
+
visibility: visible;
|
|
76
|
+
border-radius: var(--border-radius);
|
|
77
|
+
i {
|
|
78
|
+
display: block;
|
|
79
|
+
}
|
|
80
|
+
.p-input-icon-right {
|
|
81
|
+
input {
|
|
82
|
+
border-radius: var(--border-radius);
|
|
83
|
+
width: 100%;
|
|
84
|
+
background: var(--surface-ground);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.content-breadcrumb {
|
|
95
|
+
margin-bottom: 2rem;
|
|
96
|
+
padding: 0 0.5rem;
|
|
97
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.layout-config-button {
|
|
2
|
+
display: block;
|
|
3
|
+
position: fixed;
|
|
4
|
+
width: 3rem;
|
|
5
|
+
height: 3rem;
|
|
6
|
+
line-height: 3rem;
|
|
7
|
+
background: var(--primary-color);
|
|
8
|
+
color: var(--primary-color-text);
|
|
9
|
+
text-align: center;
|
|
10
|
+
top: 50%;
|
|
11
|
+
right: 0;
|
|
12
|
+
margin-top: -1.5rem;
|
|
13
|
+
border-top-left-radius: var(--border-radius);
|
|
14
|
+
border-bottom-left-radius: var(--border-radius);
|
|
15
|
+
border-top-right-radius: 0;
|
|
16
|
+
border-bottom-right-radius: 0;
|
|
17
|
+
transition: background-color var(--transition-duration);
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
z-index: 999;
|
|
21
|
+
box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15);
|
|
22
|
+
|
|
23
|
+
i {
|
|
24
|
+
font-size: 2rem;
|
|
25
|
+
line-height: inherit;
|
|
26
|
+
transform: rotate(0deg);
|
|
27
|
+
transition: transform 1s;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
background: var(--primary-400);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.layout-config-sidebar {
|
|
36
|
+
&.p-sidebar {
|
|
37
|
+
.p-sidebar-content {
|
|
38
|
+
padding-left: 2rem;
|
|
39
|
+
padding-right: 2rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* poppins-regular - latin */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Poppins';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
src:
|
|
7
|
+
local(''),
|
|
8
|
+
url('../../../assets/fonts/poppins-v20-latin-regular.woff2') format('woff2'),
|
|
9
|
+
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../../assets/fonts/poppins-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
10
|
+
}
|
|
11
|
+
/* poppins-500 - latin */
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Poppins';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
src:
|
|
17
|
+
local(''),
|
|
18
|
+
url('../../../assets/fonts/poppins-v20-latin-500.woff2') format('woff2'),
|
|
19
|
+
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../../assets/fonts/poppins-v20-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
20
|
+
}
|
|
21
|
+
/* poppins-600 - latin */
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Poppins';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
src:
|
|
27
|
+
local(''),
|
|
28
|
+
url('../../../assets/fonts/poppins-v20-latin-600.woff2') format('woff2'),
|
|
29
|
+
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../../assets/fonts/poppins-v20-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
30
|
+
}
|
|
31
|
+
/* poppins-700 - latin */
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: 'Poppins';
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 700;
|
|
36
|
+
src:
|
|
37
|
+
local(''),
|
|
38
|
+
url('../../../assets/fonts/poppins-v20-latin-700.woff2') format('woff2'),
|
|
39
|
+
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../../assets/fonts/poppins-v20-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
40
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$breakpoint: 992px !default;
|
|
2
|
+
$scale: 14px !default;
|
|
3
|
+
|
|
4
|
+
.layout-dark {
|
|
5
|
+
--sidebar-shadow: none;
|
|
6
|
+
--sidebar-border: 1px solid var(--surface-border);
|
|
7
|
+
--card-shadow: none;
|
|
8
|
+
--body-bg: linear-gradient(180deg, #2e323f 0%, #0a061a 100%);
|
|
9
|
+
--body-image: url('#{$baseHref}assets/images/mng/effect-ondark.png');
|
|
10
|
+
--root-menu-item-hover-bg: rgba(255, 255, 255, 0.05);
|
|
11
|
+
--exception-pages-image: url('#{$baseHref}assets/images/mng/pages/exception-ondark.png');
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$breakpoint: 992px !default;
|
|
2
|
+
$scale: 14px !default;
|
|
3
|
+
|
|
4
|
+
.layout-light {
|
|
5
|
+
--sidebar-shadow: 0px 4px 50px #d9ddfc;
|
|
6
|
+
--sidebar-border: 1px solid transparent;
|
|
7
|
+
--card-shadow: 0px 4px 30px rgba(221, 224, 255, 0.54);
|
|
8
|
+
--body-bg: linear-gradient(180deg, #f6f9fc 0%, #ececf9 100%);
|
|
9
|
+
--body-image: url('#{$baseHref}assets/images/mng/effect-onlight.png');
|
|
10
|
+
--root-menu-item-hover-bg: rgba(68, 72, 109, 0.07);
|
|
11
|
+
--exception-pages-image: url('#{$baseHref}assets/images/mng/pages/exception-onlight.png');
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
html {
|
|
6
|
+
height: 100%;
|
|
7
|
+
font-size: $scale;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
min-height: 100%;
|
|
15
|
+
color: var(--text-color);
|
|
16
|
+
font-family: var(--font-family);
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
a {
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.layout-container {
|
|
26
|
+
background: var(--body-bg);
|
|
27
|
+
min-height: 100vh;
|
|
28
|
+
&:before {
|
|
29
|
+
min-height: 100vh;
|
|
30
|
+
height: 100%;
|
|
31
|
+
width: 100%;
|
|
32
|
+
content: '';
|
|
33
|
+
z-index: 0;
|
|
34
|
+
display: block;
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
background-image: var(--body-image);
|
|
39
|
+
background-repeat: no-repeat;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.layout-content-wrapper {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
position: relative;
|
|
46
|
+
min-height: 100vh;
|
|
47
|
+
z-index: 1;
|
|
48
|
+
overflow-x: hidden;
|
|
49
|
+
|
|
50
|
+
.layout-content {
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@media screen and (min-width: $breakpoint) {
|
|
2
|
+
.layout-container {
|
|
3
|
+
&.layout-static {
|
|
4
|
+
.layout-sidebar {
|
|
5
|
+
transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.layout-content-wrapper {
|
|
9
|
+
margin-left: 22rem;
|
|
10
|
+
transition: margin-left 0.3s cubic-bezier(0, 0, 0.2, 1);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.layout-static-inactive {
|
|
15
|
+
.layout-sidebar {
|
|
16
|
+
transform: translateX(-100%);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.layout-content-wrapper {
|
|
20
|
+
margin-left: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.layout-overlay {
|
|
25
|
+
.layout-content-wrapper {
|
|
26
|
+
margin-left: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.layout-sidebar {
|
|
30
|
+
z-index: 999;
|
|
31
|
+
transform: translateX(-100%);
|
|
32
|
+
transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
|
|
33
|
+
background: var(--surface-ground);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.layout-overlay-active {
|
|
37
|
+
.layout-sidebar {
|
|
38
|
+
transform: translateX(0);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.content-breadcrumb {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media screen and (max-width: ($breakpoint - 1)) {
|
|
50
|
+
.blocked-scroll {
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.layout-topbar {
|
|
55
|
+
.topbar-menu {
|
|
56
|
+
margin-right: 0 !important;
|
|
57
|
+
}
|
|
58
|
+
.right-panel-button {
|
|
59
|
+
position: absolute !important;
|
|
60
|
+
right: 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.layout-container {
|
|
65
|
+
.layout-content-wrapper {
|
|
66
|
+
margin-left: 0;
|
|
67
|
+
padding: 1rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.layout-sidebar {
|
|
71
|
+
z-index: 999;
|
|
72
|
+
transform: translateX(-100%);
|
|
73
|
+
transition: transform var(--transition-duration);
|
|
74
|
+
box-shadow: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.layout-mobile-active {
|
|
78
|
+
.layout-sidebar {
|
|
79
|
+
transform: translateX(0);
|
|
80
|
+
background: var(--surface-ground);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.layout-mask {
|
|
84
|
+
display: block;
|
|
85
|
+
animation: fadein var(--transition-duration);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.layout-mask {
|
|
90
|
+
display: none;
|
|
91
|
+
position: fixed;
|
|
92
|
+
top: 0;
|
|
93
|
+
left: 0;
|
|
94
|
+
z-index: 998;
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
background-color: var(--maskbg);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.topbar-breadcrumb {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.content-breadcrumb {
|
|
105
|
+
display: block;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@media screen and (min-width: 1960px) {
|
|
111
|
+
.layout-content,
|
|
112
|
+
.landing-wrapper {
|
|
113
|
+
width: 1504px;
|
|
114
|
+
margin-left: auto !important;
|
|
115
|
+
margin-right: auto !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.layout-topbar {
|
|
119
|
+
width: 1504px;
|
|
120
|
+
margin-left: auto !important;
|
|
121
|
+
margin-right: auto !important;
|
|
122
|
+
.topbar-menu {
|
|
123
|
+
margin-right: 0 !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.right-panel-button {
|
|
127
|
+
position: absolute !important;
|
|
128
|
+
right: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|