@mediusinc/mng-commons-layout 6.0.0-rc.5 → 6.0.0-rc.7
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/components/pages/error/index.d.ts +1 -3
- package/components/pages/not-found/index.d.ts +1 -3
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs +6 -8
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs +3 -3
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs +6 -8
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs +63 -60
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout.mjs +21 -14
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
- package/package.json +12 -22
- package/scss/commons.scss +1 -0
- package/scss/layout/_breadcrumb.scss +14 -11
- package/scss/layout/_config.scss +75 -7
- package/scss/layout/_content.scss +1 -1
- package/scss/layout/_main.scss +7 -9
- package/scss/layout/_profile.scss +1 -1
- package/scss/layout/_responsive.scss +4 -2
- package/scss/layout/_sass_variables.scss +1 -0
- package/scss/layout/_sidebar_drawer.scss +6 -5
- package/scss/layout/_sidebar_horizontal.scss +15 -11
- package/scss/layout/_sidebar_reveal.scss +16 -10
- package/scss/layout/_sidebar_slim.scss +5 -3
- package/scss/layout/_sidebar_slim_plus.scss +5 -2
- package/scss/layout/_sidebar_vertical.scss +13 -7
- package/scss/layout/_topbar.scss +75 -45
- package/scss/layout/_utils.scss +1 -5
- package/scss/layout/layout.scss +29 -22
- package/scss/layout/mng/{_mng_layout_menu.scss → layout/_mng_layout_menu.scss} +0 -4
- package/scss/layout/mng/{_mng_layout_topbar.scss → layout/_mng_layout_topbar.scss} +2 -2
- package/scss/layout/mng/theme/_mng_theme_button.scss +63 -0
- package/scss/{theme/theme-base/mng → layout/mng/theme}/_mng_theme_dialog.scss +44 -46
- package/scss/{theme/theme-base/mng → layout/mng/theme}/_mng_theme_toast.scss +4 -4
- package/scss/layout/mng/theme/_mng_theme_toggleswitch.scss +3 -0
- package/scss/layout/mng/variables/_mng-variables-common.scss +22 -0
- package/scss/layout/variables/_common.scss +15 -0
- package/scss/layout/variables/_dark.scss +10 -0
- package/scss/layout/variables/_light.scss +10 -0
- package/version-info.json +3 -3
- package/esm2022/components/index.mjs +0 -12
- package/esm2022/components/lib/components/breadcrumb.component.mjs +0 -29
- package/esm2022/components/lib/components/footer.component.mjs +0 -23
- package/esm2022/components/lib/components/main-layout.component.mjs +0 -86
- package/esm2022/components/lib/components/menu-item.component.mjs +0 -169
- package/esm2022/components/lib/components/menu.component.mjs +0 -36
- package/esm2022/components/lib/components/settings.component.mjs +0 -87
- package/esm2022/components/lib/components/sidebar.component.mjs +0 -51
- package/esm2022/components/lib/components/topbar-user.component.mjs +0 -51
- package/esm2022/components/lib/components/topbar.component.mjs +0 -37
- package/esm2022/components/lib/components/version.component.mjs +0 -95
- package/esm2022/components/mediusinc-mng-commons-layout-components.mjs +0 -5
- package/esm2022/components/pages/error/index.mjs +0 -4
- package/esm2022/components/pages/error/lib/error.page.component.mjs +0 -20
- package/esm2022/components/pages/error/mediusinc-mng-commons-layout-components-pages-error.mjs +0 -5
- package/esm2022/components/pages/main/index.mjs +0 -3
- package/esm2022/components/pages/main/lazy/index.mjs +0 -2
- package/esm2022/components/pages/main/lazy/lib/route-builder.mjs +0 -11
- package/esm2022/components/pages/main/lazy/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs +0 -5
- package/esm2022/components/pages/main/lib/main-layout.component.mjs +0 -84
- package/esm2022/components/pages/main/lib/route-builder.mjs +0 -12
- package/esm2022/components/pages/main/mediusinc-mng-commons-layout-components-pages-main.mjs +0 -5
- package/esm2022/components/pages/not-found/index.mjs +0 -4
- package/esm2022/components/pages/not-found/lib/not-found.page.component.mjs +0 -20
- package/esm2022/components/pages/not-found/mediusinc-mng-commons-layout-components-pages-not-found.mjs +0 -5
- package/esm2022/index.mjs +0 -13
- package/esm2022/lib/helpers/menu-items.mjs +0 -29
- package/esm2022/lib/models/layout-state.model.mjs +0 -2
- package/esm2022/lib/models/menu.model.mjs +0 -2
- package/esm2022/lib/provide.mjs +0 -25
- package/esm2022/lib/services/layout-feature-config.token.mjs +0 -3
- package/esm2022/lib/services/layout.service.mjs +0 -167
- package/esm2022/lib/services/menu.service.mjs +0 -121
- package/esm2022/lib/services/version.service.mjs +0 -45
- package/esm2022/mediusinc-mng-commons-layout.mjs +0 -5
- package/scss/commons-dark.scss +0 -9
- package/scss/commons-light.scss +0 -9
- package/scss/layout/_animation.scss +0 -53
- package/scss/layout/_fonts.scss +0 -40
- package/scss/layout/_layout_dark.scss +0 -12
- package/scss/layout/_layout_light.scss +0 -12
- package/scss/layout/_typography.scss +0 -67
- package/scss/layout/mng/_mng_layout_styles.scss +0 -4
- package/scss/layout/preloading.scss +0 -84
- package/scss/theme/extensions/_fullcalendar.scss +0 -328
- package/scss/theme/theme-base/_colors.scss +0 -17
- package/scss/theme/theme-base/_common.scss +0 -76
- package/scss/theme/theme-base/_components.scss +0 -110
- package/scss/theme/theme-base/_mixins.scss +0 -337
- package/scss/theme/theme-base/components/button/_button.scss +0 -576
- package/scss/theme/theme-base/components/button/_speeddial.scss +0 -96
- package/scss/theme/theme-base/components/button/_splitbutton.scss +0 -348
- package/scss/theme/theme-base/components/data/_carousel.scss +0 -37
- package/scss/theme/theme-base/components/data/_datatable.scss +0 -338
- package/scss/theme/theme-base/components/data/_dataview.scss +0 -46
- package/scss/theme/theme-base/components/data/_filter.scss +0 -137
- package/scss/theme/theme-base/components/data/_orderlist.scss +0 -114
- package/scss/theme/theme-base/components/data/_organizationchart.scss +0 -50
- package/scss/theme/theme-base/components/data/_paginator.scss +0 -92
- package/scss/theme/theme-base/components/data/_picklist.scss +0 -114
- package/scss/theme/theme-base/components/data/_timeline.scss +0 -35
- package/scss/theme/theme-base/components/data/_tree.scss +0 -150
- package/scss/theme/theme-base/components/data/_treetable.scss +0 -255
- package/scss/theme/theme-base/components/data/_virtualscroller.scss +0 -28
- package/scss/theme/theme-base/components/file/_fileupload.scss +0 -64
- package/scss/theme/theme-base/components/input/_autocomplete.scss +0 -136
- package/scss/theme/theme-base/components/input/_calendar.scss +0 -267
- package/scss/theme/theme-base/components/input/_cascadeselect.scss +0 -135
- package/scss/theme/theme-base/components/input/_checkbox.scss +0 -94
- package/scss/theme/theme-base/components/input/_chips.scss +0 -65
- package/scss/theme/theme-base/components/input/_colorpicker.scss +0 -19
- package/scss/theme/theme-base/components/input/_dropdown.scss +0 -151
- package/scss/theme/theme-base/components/input/_editor.scss +0 -122
- package/scss/theme/theme-base/components/input/_inputgroup.scss +0 -74
- package/scss/theme/theme-base/components/input/_inputmask.scss +0 -16
- package/scss/theme/theme-base/components/input/_inputnumber.scss +0 -28
- package/scss/theme/theme-base/components/input/_inputswitch.scss +0 -60
- package/scss/theme/theme-base/components/input/_inputtext.scss +0 -100
- package/scss/theme/theme-base/components/input/_listbox.scss +0 -97
- package/scss/theme/theme-base/components/input/_multiselect.scss +0 -177
- package/scss/theme/theme-base/components/input/_password.scss +0 -52
- package/scss/theme/theme-base/components/input/_radiobutton.scss +0 -78
- package/scss/theme/theme-base/components/input/_rating.scss +0 -60
- package/scss/theme/theme-base/components/input/_selectbutton.scss +0 -50
- package/scss/theme/theme-base/components/input/_slider.scss +0 -75
- package/scss/theme/theme-base/components/input/_togglebutton.scss +0 -48
- package/scss/theme/theme-base/components/input/_treeselect.scss +0 -139
- package/scss/theme/theme-base/components/menu/_breadcrumb.scss +0 -42
- package/scss/theme/theme-base/components/menu/_contextmenu.scss +0 -39
- package/scss/theme/theme-base/components/menu/_dock.scss +0 -95
- package/scss/theme/theme-base/components/menu/_megamenu.scss +0 -55
- package/scss/theme/theme-base/components/menu/_menu.scss +0 -37
- package/scss/theme/theme-base/components/menu/_menubar.scss +0 -140
- package/scss/theme/theme-base/components/menu/_panelmenu.scss +0 -153
- package/scss/theme/theme-base/components/menu/_slidemenu.scss +0 -59
- package/scss/theme/theme-base/components/menu/_steps.scss +0 -56
- package/scss/theme/theme-base/components/menu/_tabmenu.scss +0 -73
- package/scss/theme/theme-base/components/menu/_tieredmenu.scss +0 -43
- package/scss/theme/theme-base/components/messages/_inlinemessage.scss +0 -69
- package/scss/theme/theme-base/components/messages/_message.scss +0 -107
- package/scss/theme/theme-base/components/messages/_toast.scss +0 -99
- package/scss/theme/theme-base/components/misc/_avatar.scss +0 -30
- package/scss/theme/theme-base/components/misc/_badge.scss +0 -48
- package/scss/theme/theme-base/components/misc/_blockui.scss +0 -0
- package/scss/theme/theme-base/components/misc/_chip.scss +0 -42
- package/scss/theme/theme-base/components/misc/_inplace.scss +0 -16
- package/scss/theme/theme-base/components/misc/_progressbar.scss +0 -17
- package/scss/theme/theme-base/components/misc/_scrolltop.scss +0 -25
- package/scss/theme/theme-base/components/misc/_skeleton.scss +0 -8
- package/scss/theme/theme-base/components/misc/_tag.scss +0 -40
- package/scss/theme/theme-base/components/misc/_terminal.scss +0 -12
- package/scss/theme/theme-base/components/multimedia/_galleria.scss +0 -155
- package/scss/theme/theme-base/components/multimedia/_image.scss +0 -49
- package/scss/theme/theme-base/components/overlay/_confirmpopup.scss +0 -70
- package/scss/theme/theme-base/components/overlay/_dialog.scss +0 -69
- package/scss/theme/theme-base/components/overlay/_overlaypanel.scss +0 -62
- package/scss/theme/theme-base/components/overlay/_sidebar.scss +0 -27
- package/scss/theme/theme-base/components/overlay/_tooltip.scss +0 -33
- package/scss/theme/theme-base/components/panel/_accordion.scss +0 -119
- package/scss/theme/theme-base/components/panel/_card.scss +0 -30
- package/scss/theme/theme-base/components/panel/_divider.scss +0 -31
- package/scss/theme/theme-base/components/panel/_fieldset.scss +0 -47
- package/scss/theme/theme-base/components/panel/_panel.scss +0 -63
- package/scss/theme/theme-base/components/panel/_scrollpanel.scss +0 -6
- package/scss/theme/theme-base/components/panel/_splitter.scss +0 -19
- package/scss/theme/theme-base/components/panel/_tabview.scss +0 -82
- package/scss/theme/theme-base/components/panel/_toolbar.scss +0 -11
- package/scss/theme/theme-base/mng/_mng_mixins.scss +0 -69
- package/scss/theme/theme-base/mng/_mng_theme_autocomplete.scss +0 -34
- package/scss/theme/theme-base/mng/_mng_theme_button.scss +0 -68
- package/scss/theme/theme-base/mng/_mng_theme_datatable.scss +0 -157
- package/scss/theme/theme-base/mng/_mng_theme_datepicker.scss +0 -21
- package/scss/theme/theme-base/mng/_mng_theme_dropdown.scss +0 -32
- package/scss/theme/theme-base/mng/_mng_theme_fileupload.scss +0 -24
- package/scss/theme/theme-base/mng/_mng_theme_forms.scss +0 -66
- package/scss/theme/theme-base/mng/_mng_theme_image.scss +0 -27
- package/scss/theme/theme-base/mng/_mng_theme_input.scss +0 -42
- package/scss/theme/theme-base/mng/_mng_theme_menu.scss +0 -5
- package/scss/theme/theme-base/mng/_mng_theme_multiselect.scss +0 -20
- package/scss/theme/theme-base/mng/_mng_theme_styles.scss +0 -19
- package/scss/theme/theme-base/mng/_mng_theme_table.scss +0 -54
- package/scss/theme/theme-base/mng/_mng_theme_tableview.scss +0 -41
- package/scss/theme/theme-base/mng/_mng_theme_tabview.scss +0 -14
- package/scss/theme/theme-base/mng/_mng_theme_tag.scss +0 -11
- package/scss/theme/theme-base/mng/_mng_theme_toolbar.scss +0 -5
- package/scss/theme/theme-base/mng/_mng_variables.scss +0 -15
- package/scss/theme/theme-dark/_extensions.scss +0 -109
- package/scss/theme/theme-dark/_variables.scss +0 -941
- package/scss/theme/theme-dark/blue/theme.scss +0 -14
- package/scss/theme/theme-light/_extensions.scss +0 -109
- package/scss/theme/theme-light/_variables.scss +0 -937
- package/scss/theme/theme-light/blue/theme.scss +0 -14
- /package/scss/layout/mng/{_mng_layout_footer.scss → layout/_mng_layout_footer.scss} +0 -0
- /package/scss/layout/mng/{_mng_sidebar_vertical.scss → layout/_mng_sidebar_vertical.scss} +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use './_sass_variables' as *;
|
|
2
|
+
|
|
1
3
|
@media screen and (min-width: $breakpoint) {
|
|
2
4
|
.layout-container {
|
|
3
5
|
&.layout-reveal {
|
|
@@ -27,7 +29,8 @@
|
|
|
27
29
|
.app-logo-small {
|
|
28
30
|
display: inline;
|
|
29
31
|
order: 1;
|
|
30
|
-
margin-right:
|
|
32
|
+
margin-right: .5rem;
|
|
33
|
+
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
.app-logo-normal {
|
|
@@ -42,23 +45,23 @@
|
|
|
42
45
|
border-radius: 50%;
|
|
43
46
|
border: 2px solid var(--primary-color);
|
|
44
47
|
background-color: transparent;
|
|
45
|
-
transition:
|
|
46
|
-
|
|
47
|
-
transform 0.3s;
|
|
48
|
+
transition: background-color var(--layout-section-transition-duration),
|
|
49
|
+
transform 0.3s;
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
.layout-menu-container {
|
|
51
53
|
overflow: hidden;
|
|
52
54
|
}
|
|
53
55
|
|
|
56
|
+
|
|
54
57
|
.layout-menu {
|
|
55
58
|
.layout-root-menuitem {
|
|
56
|
-
|
|
57
|
-
>
|
|
59
|
+
>.layout-menuitem-root-text {
|
|
60
|
+
>span {
|
|
58
61
|
margin-right: auto;
|
|
59
62
|
}
|
|
60
63
|
|
|
61
|
-
|
|
64
|
+
>.layout-menuitem-root-icon {
|
|
62
65
|
display: block;
|
|
63
66
|
margin-right: 0.125rem;
|
|
64
67
|
}
|
|
@@ -103,7 +106,7 @@
|
|
|
103
106
|
|
|
104
107
|
&.layout-sidebar-active {
|
|
105
108
|
.layout-sidebar {
|
|
106
|
-
padding-bottom:
|
|
109
|
+
padding-bottom: 0rem;
|
|
107
110
|
transform: translateX(0);
|
|
108
111
|
.layout-menu-container {
|
|
109
112
|
overflow: auto;
|
|
@@ -124,13 +127,16 @@
|
|
|
124
127
|
.layout-sidebar-anchor {
|
|
125
128
|
display: block;
|
|
126
129
|
animation: px-fadein 0.15s linear;
|
|
130
|
+
flex-shrink: 0;
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
|
|
134
|
+
|
|
135
|
+
|
|
130
136
|
.layout-menu {
|
|
131
137
|
.layout-root-menuitem {
|
|
132
|
-
|
|
133
|
-
|
|
138
|
+
>.layout-menuitem-root-text {
|
|
139
|
+
>.layout-menuitem-root-icon {
|
|
134
140
|
display: none;
|
|
135
141
|
}
|
|
136
142
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use './_sass_variables' as *;
|
|
2
|
+
|
|
1
3
|
@media screen and (min-width: $breakpoint) {
|
|
2
4
|
.layout-container {
|
|
3
5
|
&.layout-slim {
|
|
@@ -8,7 +10,7 @@
|
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
.sidebar-header {
|
|
11
|
-
padding:
|
|
13
|
+
padding: 1.7rem 0;
|
|
12
14
|
.app-logo {
|
|
13
15
|
display: flex;
|
|
14
16
|
align-items: center;
|
|
@@ -62,8 +64,7 @@
|
|
|
62
64
|
border: none;
|
|
63
65
|
cursor: pointer;
|
|
64
66
|
outline: none;
|
|
65
|
-
transition: background-color var(--transition-duration);
|
|
66
|
-
margin: 0;
|
|
67
|
+
transition: background-color var(--layout-section-transition-duration);
|
|
67
68
|
padding: 8px;
|
|
68
69
|
width: 40px;
|
|
69
70
|
height: 40px;
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
|
|
76
77
|
.layout-menuitem-icon {
|
|
77
78
|
font-size: 1.5rem;
|
|
79
|
+
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
.layout-menuitem-text {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use './_sass_variables' as *;
|
|
2
|
+
|
|
1
3
|
@media screen and (min-width: $breakpoint) {
|
|
2
4
|
.layout-container {
|
|
3
5
|
&.layout-slim-plus {
|
|
@@ -9,7 +11,7 @@
|
|
|
9
11
|
|
|
10
12
|
.sidebar-header {
|
|
11
13
|
justify-content: center;
|
|
12
|
-
padding:
|
|
14
|
+
padding: 1.7rem 0;
|
|
13
15
|
.app-logo {
|
|
14
16
|
display: flex;
|
|
15
17
|
justify-content: center;
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
cursor: pointer;
|
|
70
72
|
border: none;
|
|
71
73
|
outline: none;
|
|
72
|
-
transition: background-color var(--transition-duration);
|
|
74
|
+
transition: background-color var(--layout-section-transition-duration);
|
|
73
75
|
width: auto;
|
|
74
76
|
height: auto;
|
|
75
77
|
margin: 0 auto 1rem auto;
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
color: var(--text-color);
|
|
92
94
|
}
|
|
93
95
|
|
|
96
|
+
|
|
94
97
|
&:hover {
|
|
95
98
|
background-color: var(--root-menu-item-hover-bg);
|
|
96
99
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use './_sass_variables' as *;
|
|
2
|
+
|
|
1
3
|
.layout-sidebar {
|
|
2
4
|
position: fixed;
|
|
3
5
|
height: 100%;
|
|
@@ -6,7 +8,7 @@
|
|
|
6
8
|
width: 21rem;
|
|
7
9
|
display: flex;
|
|
8
10
|
flex-direction: column;
|
|
9
|
-
border-radius:
|
|
11
|
+
border-radius: 0px 40px 40px 0px;
|
|
10
12
|
|
|
11
13
|
.sidebar-header {
|
|
12
14
|
padding: 1.7rem 1.57rem 0.5rem 2.42rem;
|
|
@@ -16,6 +18,7 @@
|
|
|
16
18
|
|
|
17
19
|
.app-logo {
|
|
18
20
|
width: 100%;
|
|
21
|
+
|
|
19
22
|
.app-logo-normal {
|
|
20
23
|
display: inline;
|
|
21
24
|
img {
|
|
@@ -23,16 +26,21 @@
|
|
|
23
26
|
border: 0 none;
|
|
24
27
|
}
|
|
25
28
|
}
|
|
29
|
+
|
|
26
30
|
.app-logo-small {
|
|
31
|
+
display: none;
|
|
32
|
+
|
|
27
33
|
img {
|
|
28
34
|
height: 2.5rem;
|
|
29
35
|
border: 0 none;
|
|
30
36
|
}
|
|
31
|
-
display: none;
|
|
32
37
|
}
|
|
33
38
|
}
|
|
34
|
-
}
|
|
35
39
|
|
|
40
|
+
.layout-sidebar-anchor {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
36
44
|
.layout-menu-container {
|
|
37
45
|
overflow: auto;
|
|
38
46
|
flex: 1;
|
|
@@ -109,9 +117,7 @@
|
|
|
109
117
|
cursor: pointer;
|
|
110
118
|
padding: 0.5rem 1rem;
|
|
111
119
|
border-radius: 8px;
|
|
112
|
-
transition:
|
|
113
|
-
background-color var(--transition-duration),
|
|
114
|
-
box-shadow var(--transition-duration);
|
|
120
|
+
transition: background-color var(--layout-section-transition-duration), box-shadow var(--layout-section-transition-duration);
|
|
115
121
|
|
|
116
122
|
.layout-menuitem-icon {
|
|
117
123
|
margin-right: 0.5rem;
|
|
@@ -120,7 +126,7 @@
|
|
|
120
126
|
.layout-submenu-toggler {
|
|
121
127
|
font-size: 75%;
|
|
122
128
|
margin-left: auto;
|
|
123
|
-
transition: transform var(--transition-duration);
|
|
129
|
+
transition: transform var(--layout-section-transition-duration);
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
&.active-route {
|
package/scss/layout/_topbar.scss
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
.layout-rightmenu-button {
|
|
2
|
-
background: linear-gradient(271.89deg, rgba(70, 82, 104, 1), rgba(115, 130, 161, 1));
|
|
3
|
-
border-radius: 6px
|
|
4
|
-
border-color: transparent;
|
|
5
|
-
border-left: 0 none;
|
|
6
|
-
box-shadow:
|
|
2
|
+
background: linear-gradient(271.89deg, rgba(70, 82, 104, 1), rgba(115, 130, 161, 1)) !important;
|
|
3
|
+
border-radius: 6px 0px 0px 6px !important;
|
|
4
|
+
border-color: transparent !important;
|
|
5
|
+
border-left: 0 none !important;
|
|
6
|
+
box-shadow: 0px 0px 10px rgb(15 139 253 / 25%) !important;
|
|
7
7
|
right: 0;
|
|
8
|
-
color: #fff;
|
|
8
|
+
color: #fff !important;
|
|
9
|
+
|
|
9
10
|
span {
|
|
10
11
|
font-weight: 400 !important;
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
&:enabled:hover {
|
|
13
15
|
background: linear-gradient(271.89deg, rgba(70, 82, 104, 0.5), rgba(115, 130, 161, 0.5));
|
|
14
16
|
border-color: transparent;
|
|
@@ -25,29 +27,14 @@
|
|
|
25
27
|
align-items: center;
|
|
26
28
|
position: relative;
|
|
27
29
|
z-index: 999;
|
|
30
|
+
|
|
28
31
|
.topbar-menubutton {
|
|
29
|
-
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
margin-right: 2rem;
|
|
33
|
-
border-radius: var(--border-radius);
|
|
32
|
+
margin-right: 1.5rem;
|
|
34
33
|
width: 2.5rem;
|
|
35
34
|
height: 2.5rem;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
transition: background-color var(--transition-duration);
|
|
38
35
|
|
|
39
36
|
i {
|
|
40
37
|
font-size: 1.25rem;
|
|
41
|
-
color: var(--text-color);
|
|
42
|
-
transition: color var(--transition-duration);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:hover {
|
|
46
|
-
background-color: var(--primary-color);
|
|
47
|
-
|
|
48
|
-
i {
|
|
49
|
-
color: var(--primary-color-text);
|
|
50
|
-
}
|
|
51
38
|
}
|
|
52
39
|
}
|
|
53
40
|
}
|
|
@@ -61,14 +48,15 @@
|
|
|
61
48
|
padding-right: 0;
|
|
62
49
|
list-style: none;
|
|
63
50
|
flex-grow: 1;
|
|
64
|
-
color: var(--topbar-item-text-color);
|
|
65
51
|
margin-right: -2rem;
|
|
66
52
|
|
|
67
53
|
li {
|
|
68
54
|
margin-left: 1.5rem;
|
|
55
|
+
|
|
69
56
|
&.topbar-item {
|
|
70
57
|
margin-left: 1.5rem;
|
|
71
58
|
display: inline-flex;
|
|
59
|
+
flex-shrink: 0;
|
|
72
60
|
align-items: center;
|
|
73
61
|
justify-content: center;
|
|
74
62
|
position: relative;
|
|
@@ -82,22 +70,21 @@
|
|
|
82
70
|
border-radius: 50%;
|
|
83
71
|
width: 2rem;
|
|
84
72
|
height: 2rem;
|
|
85
|
-
transition: box-shadow var(--transition-duration);
|
|
73
|
+
transition: box-shadow var(--layout-section-transition-duration);
|
|
86
74
|
|
|
87
75
|
&:focus {
|
|
88
|
-
box-shadow: var(--focus-ring);
|
|
76
|
+
box-shadow: var(--focus-ring-shadow);
|
|
89
77
|
}
|
|
90
78
|
}
|
|
91
79
|
|
|
92
80
|
ul {
|
|
93
81
|
position: absolute;
|
|
94
|
-
bottom: -
|
|
82
|
+
bottom: -9.4rem;
|
|
95
83
|
right: 0;
|
|
96
|
-
margin-right: 0;
|
|
97
84
|
display: none;
|
|
98
85
|
color: var(--text-color);
|
|
99
86
|
background: var(--surface-ground);
|
|
100
|
-
|
|
87
|
+
|
|
101
88
|
&.active-topbar-menu {
|
|
102
89
|
display: block;
|
|
103
90
|
}
|
|
@@ -107,10 +94,12 @@
|
|
|
107
94
|
}
|
|
108
95
|
}
|
|
109
96
|
}
|
|
97
|
+
|
|
110
98
|
.topbar-search {
|
|
111
99
|
display: flex;
|
|
112
100
|
align-items: center;
|
|
113
101
|
flex-shrink: 0;
|
|
102
|
+
|
|
114
103
|
.topbar-searchbutton {
|
|
115
104
|
display: flex;
|
|
116
105
|
}
|
|
@@ -122,20 +111,16 @@
|
|
|
122
111
|
visibility: hidden;
|
|
123
112
|
transition: 400ms cubic-bezier(0.86, 0, 0.07, 1);
|
|
124
113
|
|
|
125
|
-
|
|
114
|
+
.p-inputtext {
|
|
126
115
|
width: 100%;
|
|
116
|
+
position: relative;
|
|
117
|
+
border-radius: 40px;
|
|
118
|
+
padding: 9px;
|
|
119
|
+
}
|
|
127
120
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
border-radius: 40px;
|
|
132
|
-
padding: 9px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
i {
|
|
136
|
-
font-size: 18px;
|
|
137
|
-
margin-top: -9px;
|
|
138
|
-
}
|
|
121
|
+
span {
|
|
122
|
+
font-size: 18px;
|
|
123
|
+
margin-top: -9px;
|
|
139
124
|
}
|
|
140
125
|
}
|
|
141
126
|
|
|
@@ -154,6 +139,7 @@
|
|
|
154
139
|
opacity: 1;
|
|
155
140
|
visibility: visible;
|
|
156
141
|
border-radius: var(--border-radius);
|
|
142
|
+
|
|
157
143
|
i {
|
|
158
144
|
display: block;
|
|
159
145
|
}
|
|
@@ -163,12 +149,56 @@
|
|
|
163
149
|
}
|
|
164
150
|
}
|
|
165
151
|
}
|
|
152
|
+
}
|
|
166
153
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
154
|
+
.config-button {
|
|
155
|
+
position: relative;
|
|
156
|
+
|
|
157
|
+
&::before,
|
|
158
|
+
&::after {
|
|
159
|
+
content: '';
|
|
160
|
+
position: absolute;
|
|
161
|
+
inset: 0;
|
|
162
|
+
border: 1px solid var(--primary-color);
|
|
163
|
+
transition: all 0.5s;
|
|
164
|
+
animation: clippath 10s infinite linear;
|
|
165
|
+
border-radius: 50%;
|
|
166
|
+
opacity: 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&::after {
|
|
170
|
+
animation: clippath 10s infinite -5s linear;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
+
|
|
176
|
+
@keyframes clippath {
|
|
177
|
+
0% {
|
|
178
|
+
clip-path: inset(0 0 98% 0);
|
|
179
|
+
}
|
|
180
|
+
12.5% {
|
|
181
|
+
clip-path: inset(0 0 60% 0);
|
|
182
|
+
}
|
|
183
|
+
25% {
|
|
184
|
+
clip-path: inset(0 98% 0 0);
|
|
185
|
+
}
|
|
186
|
+
37.5% {
|
|
187
|
+
clip-path: inset(0 60% 0 0);
|
|
188
|
+
}
|
|
189
|
+
50% {
|
|
190
|
+
clip-path: inset(98% 0 0 0);
|
|
191
|
+
}
|
|
192
|
+
62.5% {
|
|
193
|
+
clip-path: inset(60% 0 0 0);
|
|
194
|
+
}
|
|
195
|
+
75% {
|
|
196
|
+
clip-path: inset(0 0 0 98%);
|
|
197
|
+
}
|
|
198
|
+
87.5% {
|
|
199
|
+
clip-path: inset(0 0 0 60%);
|
|
200
|
+
}
|
|
201
|
+
100% {
|
|
202
|
+
clip-path: inset(0 0 98% 0);
|
|
203
|
+
}
|
|
204
|
+
}
|
package/scss/layout/_utils.scss
CHANGED
package/scss/layout/layout.scss
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use './_sass_variables';
|
|
2
|
+
@use './mng/variables/mng-variables-common';
|
|
3
|
+
@use './variables/_common';
|
|
4
|
+
@use './variables/_light';
|
|
5
|
+
@use './variables/_dark';
|
|
6
|
+
@use './_main';
|
|
7
|
+
@use './_sidebar_slim';
|
|
8
|
+
@use './_sidebar_slim_plus';
|
|
9
|
+
@use './_sidebar_vertical';
|
|
10
|
+
@use './_sidebar_horizontal';
|
|
11
|
+
@use './_sidebar_reveal';
|
|
12
|
+
@use './_sidebar_drawer';
|
|
13
|
+
@use './_responsive';
|
|
14
|
+
@use './_topbar';
|
|
15
|
+
@use './_breadcrumb';
|
|
16
|
+
@use './_profile';
|
|
17
|
+
@use './_content';
|
|
18
|
+
@use './_config';
|
|
19
|
+
@use './_utils';
|
|
3
20
|
|
|
4
|
-
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@import './_sidebar_vertical';
|
|
10
|
-
@import './_sidebar_slim';
|
|
11
|
-
@import './_sidebar_slim_plus';
|
|
12
|
-
//@import './_sidebar_horizontal';
|
|
13
|
-
@import './_sidebar_reveal';
|
|
14
|
-
@import './_sidebar_drawer';
|
|
15
|
-
@import './_responsive';
|
|
16
|
-
@import './_topbar';
|
|
17
|
-
@import './_breadcrumb';
|
|
18
|
-
@import './_profile';
|
|
19
|
-
@import './_config';
|
|
20
|
-
@import './_content';
|
|
21
|
-
@import './_typography';
|
|
22
|
-
@import './_utils';
|
|
21
|
+
// mng layout
|
|
22
|
+
@use './mng/layout/mng_layout_footer';
|
|
23
|
+
@use './mng/layout/mng_layout_menu';
|
|
24
|
+
@use './mng/layout/mng_layout_topbar';
|
|
25
|
+
@use './mng/layout/mng_sidebar_vertical';
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
// mng theme (primeNG directly)
|
|
28
|
+
@use './mng/theme/mng_theme_button';
|
|
29
|
+
@use './mng/theme/mng_theme_dialog';
|
|
30
|
+
@use './mng/theme/mng_theme_toast';
|
|
31
|
+
@use './mng/theme/mng_theme_toggleswitch';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.p-button {
|
|
2
|
+
&.mng-button-xs {
|
|
3
|
+
font-size: var(--mng-button-xs-font-size);
|
|
4
|
+
padding-block: var(--mng-button-xs-padding-y);
|
|
5
|
+
padding-inline: var(--mng-button-xs-padding-x);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// double that, just in case
|
|
9
|
+
&.mng-button-sm {
|
|
10
|
+
font-size: var(--p-button-sm-font-size);
|
|
11
|
+
padding-block: var(--p-button-sm-padding-y);
|
|
12
|
+
padding-inline: var(--p-button-sm-padding-x);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// double that, just in case
|
|
16
|
+
&.mng-button-lg {
|
|
17
|
+
font-size: var(--p-button-lg-font-size);
|
|
18
|
+
padding-block: var(--p-button-lg-padding-y);
|
|
19
|
+
padding-inline: var(--p-button-lg-padding-x);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.mng-button-xl {
|
|
23
|
+
font-size: var(--mng-button-xl-font-size);
|
|
24
|
+
padding-block: var(--mng-button-xl-padding-y);
|
|
25
|
+
padding-inline: var(--mng-button-xl-padding-x);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.p-button-icon-only {
|
|
29
|
+
&.mng-button-xs {
|
|
30
|
+
width: var(--mng-button-icon-only-xs-width);
|
|
31
|
+
|
|
32
|
+
&.p-button-rounded {
|
|
33
|
+
height: var(--mng-button-icon-only-xs-width);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.mng-button-sm,
|
|
38
|
+
&.p-button-sm {
|
|
39
|
+
width: var(--mng-button-icon-only-sm-width);
|
|
40
|
+
|
|
41
|
+
&.p-button-rounded {
|
|
42
|
+
height: var(--mng-button-icon-only-sm-width);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.mng-button-lg,
|
|
47
|
+
&.p-button-lg {
|
|
48
|
+
width: var(--mng-button-icon-only-lg-width);
|
|
49
|
+
|
|
50
|
+
&.p-button-rounded {
|
|
51
|
+
height: var(--mng-button-icon-only-lg-width);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.mng-button-xl {
|
|
56
|
+
width: var(--mng-button-icon-only-xl-width);
|
|
57
|
+
|
|
58
|
+
&.p-button-rounded {
|
|
59
|
+
height: var(--mng-button-icon-only-xl-width);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|