@mediusinc/mng-commons-layout 6.2.0 → 7.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/components/index.d.ts +168 -10
- package/components/pages/error/index.d.ts +10 -1
- package/components/pages/main/index.d.ts +35 -2
- package/components/pages/main/lazy/index.d.ts +11 -1
- package/components/pages/not-found/index.d.ts +10 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs +9 -9
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs +66 -65
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout.mjs +40 -41
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
- package/index.d.ts +206 -8
- package/package.json +25 -16
- package/styles/atlantis/index.scss +16 -0
- package/{scss → styles/atlantis}/layout/_content.scss +1 -1
- package/{scss → styles/atlantis}/layout/_main.scss +17 -2
- package/{scss → styles/atlantis}/layout/_profile.scss +1 -1
- package/styles/atlantis/layout/_sass_variables.scss +1 -0
- package/{scss → styles/atlantis}/layout/_sidebar_drawer.scss +5 -3
- package/{scss → styles/atlantis}/layout/_sidebar_horizontal.scss +8 -10
- package/{scss → styles/atlantis}/layout/_sidebar_reveal.scss +9 -12
- package/{scss → styles/atlantis}/layout/_sidebar_slim.scss +1 -2
- package/{scss → styles/atlantis}/layout/_sidebar_slim_plus.scss +1 -2
- package/{scss → styles/atlantis}/layout/_sidebar_vertical.scss +3 -1
- package/{scss → styles/atlantis}/layout/_topbar.scss +0 -1
- package/styles/atlantis/layout/atlantis.scss +0 -0
- package/{scss → styles/atlantis}/layout/layout.scss +3 -3
- package/{scss → styles/atlantis}/layout/variables/_dark.scss +2 -2
- package/{scss → styles/atlantis}/layout/variables/_light.scss +2 -2
- package/styles/tailwindcss-commons/atlantis/index.css +20 -0
- package/styles/tailwindcss-commons/atlantis/layout/breadcrumb.css +100 -0
- package/styles/tailwindcss-commons/atlantis/layout/content.css +3 -0
- package/styles/tailwindcss-commons/atlantis/layout/main.css +67 -0
- package/styles/tailwindcss-commons/atlantis/layout/profile.css +10 -0
- package/styles/tailwindcss-commons/atlantis/layout/responsive.css +131 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-drawer.css +286 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-reveal.css +204 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim-plus.css +166 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim.css +156 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-vertical.css +184 -0
- package/styles/tailwindcss-commons/atlantis/layout/topbar.css +203 -0
- package/styles/tailwindcss-commons/atlantis/layout/utils.css +29 -0
- package/styles/tailwindcss-commons/atlantis/variables/common.css +15 -0
- package/styles/tailwindcss-commons/atlantis/variables/dark.css +10 -0
- package/styles/tailwindcss-commons/atlantis/variables/light.css +10 -0
- package/styles/tailwindcss-commons/index.css +14 -0
- package/styles/tailwindcss-commons/index_wo_atlantis.css +13 -0
- package/styles/tailwindcss-commons/setup/breakpoints.css +15 -0
- package/styles/tailwindcss-commons/setup/dark.css +2 -0
- package/{scss/layout/mng/variables/_mng-variables-common.scss → styles/tailwindcss-commons/setup/variables.css} +9 -0
- package/{scss/layout/mng/theme/_mng_theme_button.scss → styles/tailwindcss-commons/styles/button.css} +2 -2
- package/{scss/layout/mng/theme/_mng_theme_dialog.scss → styles/tailwindcss-commons/styles/dialog.css} +22 -18
- package/styles/tailwindcss-commons/styles/tailwind.css +44 -0
- package/styles/tailwindcss-commons/styles/topbar.css +24 -0
- package/version-info.json +6 -6
- package/components/lib/components/breadcrumb.component.d.ts +0 -9
- package/components/lib/components/footer.component.d.ts +0 -13
- package/components/lib/components/main-layout.component.d.ts +0 -23
- package/components/lib/components/menu-item.component.d.ts +0 -26
- package/components/lib/components/menu.component.d.ts +0 -12
- package/components/lib/components/settings.component.d.ts +0 -28
- package/components/lib/components/sidebar.component.d.ts +0 -15
- package/components/lib/components/topbar-user.component.d.ts +0 -16
- package/components/lib/components/topbar.component.d.ts +0 -16
- package/components/lib/components/version.component.d.ts +0 -19
- package/components/pages/error/lib/error.page.component.d.ts +0 -7
- package/components/pages/main/lazy/lib/route-builder.d.ts +0 -8
- package/components/pages/main/lib/main-layout.component.d.ts +0 -23
- package/components/pages/main/lib/route-builder.d.ts +0 -8
- package/components/pages/not-found/lib/not-found.page.component.d.ts +0 -7
- package/lib/helpers/menu-items.d.ts +0 -5
- package/lib/models/layout-state.model.d.ts +0 -10
- package/lib/models/menu.model.d.ts +0 -4
- package/lib/provide.d.ts +0 -8
- package/lib/services/layout-feature-config.token.d.ts +0 -91
- package/lib/services/layout.service.d.ts +0 -48
- package/lib/services/menu.service.d.ts +0 -22
- package/lib/services/version.service.d.ts +0 -14
- package/scss/commons.scss +0 -1
- package/scss/layout/_sass_variables.scss +0 -1
- package/scss/layout/mng/layout/_mng_layout_topbar.scss +0 -18
- /package/{scss → styles/atlantis}/layout/_breadcrumb.scss +0 -0
- /package/{scss → styles/atlantis}/layout/_config.scss +0 -0
- /package/{scss → styles/atlantis}/layout/_responsive.scss +0 -0
- /package/{scss → styles/atlantis}/layout/_utils.scss +0 -0
- /package/{scss → styles/atlantis}/layout/variables/_common.scss +0 -0
- /package/{scss/layout/mng/layout/_mng_layout_footer.scss → styles/tailwindcss-commons/styles/footer.css} +0 -0
- /package/{scss/layout/mng/layout/_mng_layout.scss → styles/tailwindcss-commons/styles/layout.css} +0 -0
- /package/{scss/layout/mng/layout/_mng_layout_menu.scss → styles/tailwindcss-commons/styles/menu.css} +0 -0
- /package/{scss/layout/mng/layout/_mng_sidebar_vertical.scss → styles/tailwindcss-commons/styles/sidebar.css} +0 -0
- /package/{scss/layout/mng/theme/_mng_theme_toast.scss → styles/tailwindcss-commons/styles/toast.css} +0 -0
- /package/{scss/layout/mng/theme/_mng_theme_toggleswitch.scss → styles/tailwindcss-commons/styles/toggleswitch.css} +0 -0
package/index.d.ts
CHANGED
|
@@ -1,8 +1,206 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { CommonsMenuItem, InternalCommonsMenuItem, CommonsFeature } from '@mediusinc/mng-commons/core';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { Type, InjectionToken } from '@angular/core';
|
|
4
|
+
import { MenuItem } from 'primeng/api';
|
|
5
|
+
import * as rxjs from 'rxjs';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
declare function prepareMenuItemsToInternal(menuItems: CommonsMenuItem[], parentKey?: string): InternalCommonsMenuItem[];
|
|
12
|
+
|
|
13
|
+
interface LayoutState {
|
|
14
|
+
staticMenuDesktopInactive: boolean;
|
|
15
|
+
overlayMenuActive: boolean;
|
|
16
|
+
rightMenuActive: boolean;
|
|
17
|
+
configSidebarVisible: boolean;
|
|
18
|
+
staticMenuMobileActive: boolean;
|
|
19
|
+
menuHoverActive: boolean;
|
|
20
|
+
sidebarActive: boolean;
|
|
21
|
+
anchored: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface MenuChangeEvent {
|
|
25
|
+
key?: string;
|
|
26
|
+
eventType?: 'routeChange' | 'reset';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type LayoutMenuMode = 'static' | 'overlay' | 'reveal' | 'drawer' | 'slim' | 'slim-plus';
|
|
30
|
+
type ColorScheme = 'light' | 'dark' | 'auto';
|
|
31
|
+
/**
|
|
32
|
+
* Set of configurations for layout customization.
|
|
33
|
+
*/
|
|
34
|
+
interface LayoutFeatureConfig {
|
|
35
|
+
/**
|
|
36
|
+
* Choose default menu mode.
|
|
37
|
+
*/
|
|
38
|
+
menuMode?: LayoutMenuMode;
|
|
39
|
+
/**
|
|
40
|
+
* Sets available menu modes.
|
|
41
|
+
*/
|
|
42
|
+
menuModes?: LayoutMenuMode[];
|
|
43
|
+
/**
|
|
44
|
+
* Predefines menu modes (instead of taking them from route data config).
|
|
45
|
+
*/
|
|
46
|
+
menuItems?: MenuItem[];
|
|
47
|
+
/**
|
|
48
|
+
* Logo path (usually icon part only).
|
|
49
|
+
*/
|
|
50
|
+
logoPath?: string | false;
|
|
51
|
+
/**
|
|
52
|
+
* Logo path for light color mode (usually icon part only).
|
|
53
|
+
*/
|
|
54
|
+
logoPathLight?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Logo path for dark color mode (usually icon part only).
|
|
57
|
+
*/
|
|
58
|
+
logoPathDark?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Logo path (usually name part only).
|
|
61
|
+
*/
|
|
62
|
+
logoNamePath?: string | false;
|
|
63
|
+
/**
|
|
64
|
+
* Logo path for light color mode (usually name part only).
|
|
65
|
+
*/
|
|
66
|
+
logoNamePathLight?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Logo path for dark color mode (usually name part only).
|
|
69
|
+
*/
|
|
70
|
+
logoNamePathDark?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Default color scheme (defaults to 'auto').
|
|
73
|
+
*/
|
|
74
|
+
colorScheme?: ColorScheme;
|
|
75
|
+
/**
|
|
76
|
+
* Enable ripple effect.
|
|
77
|
+
*/
|
|
78
|
+
ripple?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Disables wrapping layout in notification wrapper.
|
|
81
|
+
*/
|
|
82
|
+
disableNotificationWrapper?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Set custom components instead of default layout's one. If false provided for component, then it will not be displayed.
|
|
85
|
+
*/
|
|
86
|
+
components?: {
|
|
87
|
+
/**
|
|
88
|
+
* Specify custom topbar component or disable (if false).
|
|
89
|
+
*/
|
|
90
|
+
topbar?: Type<any> | false;
|
|
91
|
+
/**
|
|
92
|
+
* Specify custom menu component or disable (if false).
|
|
93
|
+
*/
|
|
94
|
+
menu?: Type<any> | false;
|
|
95
|
+
/**
|
|
96
|
+
* Specify custom footer component or disable (if false).
|
|
97
|
+
*/
|
|
98
|
+
footer?: Type<any> | false;
|
|
99
|
+
/**
|
|
100
|
+
* Specify custom breadcrumb component or disable (if false).
|
|
101
|
+
*/
|
|
102
|
+
breadcrumb?: Type<any> | false;
|
|
103
|
+
/**
|
|
104
|
+
* Specify custom topbarUser component or disable (if false).
|
|
105
|
+
*/
|
|
106
|
+
topbarUser?: Type<any> | false;
|
|
107
|
+
/**
|
|
108
|
+
* Specify custom version component or disable (if false).
|
|
109
|
+
*/
|
|
110
|
+
version?: Type<any> | false;
|
|
111
|
+
/**
|
|
112
|
+
* Specify custom settings component or disable (if false).
|
|
113
|
+
*/
|
|
114
|
+
settings?: Type<any> | false;
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
declare const COMMONS_LAYOUT_FEATURE_CONFIG_IT: InjectionToken<LayoutFeatureConfig>;
|
|
118
|
+
|
|
119
|
+
declare class LayoutService {
|
|
120
|
+
private readonly typeName;
|
|
121
|
+
private readonly storageMenuModeKey;
|
|
122
|
+
private readonly storageColorSchemeKey;
|
|
123
|
+
private readonly config;
|
|
124
|
+
private readonly storageService;
|
|
125
|
+
state: _angular_core.WritableSignal<LayoutState>;
|
|
126
|
+
private overlayOpen;
|
|
127
|
+
overlayOpen$: rxjs.Observable<any>;
|
|
128
|
+
private _colorSchemeSetting;
|
|
129
|
+
colorSchemeSetting: _angular_core.Signal<ColorScheme>;
|
|
130
|
+
private _colorScheme;
|
|
131
|
+
colorScheme: _angular_core.Signal<ColorScheme>;
|
|
132
|
+
colorSchemeIsLight: _angular_core.Signal<boolean>;
|
|
133
|
+
private getInitColorScheme;
|
|
134
|
+
private getInitActualColorScheme;
|
|
135
|
+
private getDefaultColorScheme;
|
|
136
|
+
setColorScheme(scheme: ColorScheme): void;
|
|
137
|
+
readonly menuModes: LayoutMenuMode[];
|
|
138
|
+
private _menuMode;
|
|
139
|
+
menuMode: _angular_core.Signal<LayoutMenuMode>;
|
|
140
|
+
private appLogoLight;
|
|
141
|
+
private appLogoDark;
|
|
142
|
+
appLogo: _angular_core.Signal<string | false>;
|
|
143
|
+
private appLogoNameLight;
|
|
144
|
+
private appLogoNameDark;
|
|
145
|
+
appLogoName: _angular_core.Signal<string | false>;
|
|
146
|
+
isOverlay: _angular_core.Signal<boolean>;
|
|
147
|
+
isSlim: _angular_core.Signal<boolean>;
|
|
148
|
+
isSlimPlus: _angular_core.Signal<boolean>;
|
|
149
|
+
submenuOverlayKey: _angular_core.WritableSignal<string | undefined>;
|
|
150
|
+
constructor();
|
|
151
|
+
onMenuModeChange(mode: LayoutMenuMode): void;
|
|
152
|
+
onMenuToggle(): void;
|
|
153
|
+
onOverlaySubmenuOpen(key: string): void;
|
|
154
|
+
onOverlaySubmenuClose(): void;
|
|
155
|
+
isDesktop(): boolean;
|
|
156
|
+
isMobile(): boolean;
|
|
157
|
+
private initMenuMode;
|
|
158
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutService, never>;
|
|
159
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<LayoutService>;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare class MenuService {
|
|
163
|
+
private readonly destroyRef;
|
|
164
|
+
private readonly logger;
|
|
165
|
+
private readonly router;
|
|
166
|
+
private readonly commonsRouter;
|
|
167
|
+
private readonly _menuItems;
|
|
168
|
+
menuItems: _angular_core.Signal<InternalCommonsMenuItem[]>;
|
|
169
|
+
private readonly menuChangeSubject;
|
|
170
|
+
menuChange$: rxjs.Observable<MenuChangeEvent>;
|
|
171
|
+
private routeLoadedChildrenSubscriptions;
|
|
172
|
+
setItems(menuItems: Array<CommonsMenuItem>): void;
|
|
173
|
+
private appendListenersToLazyChildren;
|
|
174
|
+
private findAndSetActiveMenuItem;
|
|
175
|
+
private listenToMenuItemLazyChildrenLoad;
|
|
176
|
+
private findActiveRouteMatches;
|
|
177
|
+
reset(): void;
|
|
178
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuService, never>;
|
|
179
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<MenuService>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare class VersionService {
|
|
183
|
+
private readonly logger;
|
|
184
|
+
private readonly http;
|
|
185
|
+
private readonly configurationService;
|
|
186
|
+
private cache;
|
|
187
|
+
loadVersion(path: string, baseConfigKey?: string, jsonPath?: string): Observable<unknown>;
|
|
188
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VersionService, never>;
|
|
189
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<VersionService>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Prepares providers for usage of the layout functionalities.
|
|
194
|
+
*
|
|
195
|
+
* @returns {CommonsFeature} The `CommonsFeature` object with the layout configuration.
|
|
196
|
+
*/
|
|
197
|
+
declare function withLayout(config?: LayoutFeatureConfig): CommonsFeature;
|
|
198
|
+
/**
|
|
199
|
+
* Configures PrimeNG theme dark mode selector.
|
|
200
|
+
*/
|
|
201
|
+
declare const primeThemeDarkModeOpts: {
|
|
202
|
+
darkModeSelector: string;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
export { COMMONS_LAYOUT_FEATURE_CONFIG_IT, LayoutService, MenuService, VersionService, prepareMenuItemsToInternal, primeThemeDarkModeOpts, withLayout };
|
|
206
|
+
export type { ColorScheme, LayoutFeatureConfig, LayoutMenuMode, LayoutState, MenuChangeEvent };
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediusinc/mng-commons-layout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-rc.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/animations": "^
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/forms": "^
|
|
9
|
-
"@angular/platform-browser": "^
|
|
10
|
-
"@angular/router": "^
|
|
11
|
-
"@ngx-translate/core": "^
|
|
12
|
-
"primeng": "~
|
|
13
|
-
"tailwindcss": "^
|
|
14
|
-
"
|
|
15
|
-
"@
|
|
5
|
+
"@angular/animations": "^20.1.0",
|
|
6
|
+
"@angular/common": "^20.1.0",
|
|
7
|
+
"@angular/core": "^20.1.0",
|
|
8
|
+
"@angular/forms": "^20.1.0",
|
|
9
|
+
"@angular/platform-browser": "^20.1.0",
|
|
10
|
+
"@angular/router": "^20.1.0",
|
|
11
|
+
"@ngx-translate/core": "^17.0.0",
|
|
12
|
+
"primeng": "~20.0.0",
|
|
13
|
+
"tailwindcss": "^4.1.0",
|
|
14
|
+
"tailwindcss-primeui": "~0.6.0",
|
|
15
|
+
"@primeuix/themes": "~1.2.0",
|
|
16
|
+
"@mediusinc/mng-commons": "~7.0.0-rc.0"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"tslib": "^2.8.1"
|
|
@@ -20,10 +21,15 @@
|
|
|
20
21
|
"publishConfig": {
|
|
21
22
|
"directory": "dist"
|
|
22
23
|
},
|
|
23
|
-
"sideEffects": false,
|
|
24
|
-
"module": "fesm2022/mediusinc-mng-commons-layout.mjs",
|
|
25
|
-
"typings": "index.d.ts",
|
|
26
24
|
"exports": {
|
|
25
|
+
"./tailwindcss-commons": {
|
|
26
|
+
"style": "./styles/tailwindcss-commons/index.css",
|
|
27
|
+
"default": "./styles/tailwindcss-commons/index.css"
|
|
28
|
+
},
|
|
29
|
+
"./atlantis": {
|
|
30
|
+
"scss": "./styles/atlantis/index.scss",
|
|
31
|
+
"default": "./styles/atlantis/index.scss"
|
|
32
|
+
},
|
|
27
33
|
"./package.json": {
|
|
28
34
|
"default": "./package.json"
|
|
29
35
|
},
|
|
@@ -51,5 +57,8 @@
|
|
|
51
57
|
"types": "./components/pages/main/lazy/index.d.ts",
|
|
52
58
|
"default": "./fesm2022/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs"
|
|
53
59
|
}
|
|
54
|
-
}
|
|
60
|
+
},
|
|
61
|
+
"sideEffects": false,
|
|
62
|
+
"module": "fesm2022/mediusinc-mng-commons-layout.mjs",
|
|
63
|
+
"typings": "index.d.ts"
|
|
55
64
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// atlantis
|
|
2
|
+
@use './layout/_sass_variables';
|
|
3
|
+
@use './layout/variables/_common';
|
|
4
|
+
@use './layout/variables/_light';
|
|
5
|
+
@use './layout/variables/_dark';
|
|
6
|
+
@use './layout/_main';
|
|
7
|
+
@use './layout/_sidebar_slim';
|
|
8
|
+
@use './layout/_sidebar_slim_plus';
|
|
9
|
+
@use './layout/_sidebar_vertical';
|
|
10
|
+
@use './layout/_sidebar_reveal';
|
|
11
|
+
@use './layout/_sidebar_drawer';
|
|
12
|
+
@use './layout/_responsive';
|
|
13
|
+
@use './layout/_topbar';
|
|
14
|
+
@use './layout/_breadcrumb';
|
|
15
|
+
@use './layout/_content';
|
|
16
|
+
@use './layout/_utils';
|
|
@@ -14,8 +14,19 @@ body {
|
|
|
14
14
|
margin: 0;
|
|
15
15
|
min-height: 100%;
|
|
16
16
|
color: var(--text-color);
|
|
17
|
-
font-family:
|
|
18
|
-
|
|
17
|
+
font-family:
|
|
18
|
+
'Inter var',
|
|
19
|
+
-apple-system,
|
|
20
|
+
BlinkMacSystemFont,
|
|
21
|
+
'Segoe UI',
|
|
22
|
+
Roboto,
|
|
23
|
+
Helvetica,
|
|
24
|
+
Arial,
|
|
25
|
+
sans-serif,
|
|
26
|
+
'Apple Color Emoji',
|
|
27
|
+
'Segoe UI Emoji',
|
|
28
|
+
'Segoe UI Symbol';
|
|
29
|
+
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
|
|
19
30
|
line-height: 1.4;
|
|
20
31
|
font-variation-settings: normal;
|
|
21
32
|
-webkit-font-smoothing: antialiased;
|
|
@@ -50,3 +61,7 @@ a {
|
|
|
50
61
|
overflow-x: hidden;
|
|
51
62
|
}
|
|
52
63
|
}
|
|
64
|
+
|
|
65
|
+
img {
|
|
66
|
+
max-width: none !important;
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$breakpoint: 992px !default;
|
|
@@ -59,7 +59,9 @@
|
|
|
59
59
|
border-radius: 50%;
|
|
60
60
|
border: 2px solid var(--primary-color);
|
|
61
61
|
background-color: transparent;
|
|
62
|
-
transition:
|
|
62
|
+
transition:
|
|
63
|
+
background-color var(--layout-section-transition-duration),
|
|
64
|
+
transform 0.3s;
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
|
|
@@ -142,11 +144,11 @@
|
|
|
142
144
|
width: 100%;
|
|
143
145
|
max-width: none;
|
|
144
146
|
img {
|
|
145
|
-
&:first-child{
|
|
147
|
+
&:first-child {
|
|
146
148
|
width: 32px;
|
|
147
149
|
max-width: none;
|
|
148
150
|
}
|
|
149
|
-
&:last-child{
|
|
151
|
+
&:last-child {
|
|
150
152
|
width: 142px;
|
|
151
153
|
max-width: none;
|
|
152
154
|
}
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
.topbar-menubutton {
|
|
8
8
|
display: none;
|
|
9
9
|
}
|
|
10
|
-
.layout-topbar-menu-section{
|
|
10
|
+
.layout-topbar-menu-section {
|
|
11
11
|
width: calc(100% - 320px);
|
|
12
12
|
}
|
|
13
|
-
.topbar-breadcrumb{
|
|
13
|
+
.topbar-breadcrumb {
|
|
14
14
|
display: none;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.sidebar-header{
|
|
35
|
+
.sidebar-header {
|
|
36
36
|
padding: 0;
|
|
37
37
|
.app-logo {
|
|
38
38
|
.app-logo-normal {
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
.layout-menu {
|
|
@@ -74,7 +73,7 @@
|
|
|
74
73
|
> a {
|
|
75
74
|
display: flex;
|
|
76
75
|
align-items: center;
|
|
77
|
-
padding: .75rem;
|
|
76
|
+
padding: 0.75rem;
|
|
78
77
|
border-radius: 6px;
|
|
79
78
|
border: none;
|
|
80
79
|
cursor: pointer;
|
|
@@ -95,8 +94,8 @@
|
|
|
95
94
|
.layout-menuitem-text {
|
|
96
95
|
font-size: 0.875rem;
|
|
97
96
|
display: block;
|
|
98
|
-
margin-left: .75rem;
|
|
99
|
-
margin-right: .75rem;
|
|
97
|
+
margin-left: 0.75rem;
|
|
98
|
+
margin-right: 0.75rem;
|
|
100
99
|
white-space: nowrap;
|
|
101
100
|
}
|
|
102
101
|
|
|
@@ -112,18 +111,17 @@
|
|
|
112
111
|
min-width: 15rem;
|
|
113
112
|
background: var(--surface-overlay);
|
|
114
113
|
box-shadow: var(--sidebar-shadow);
|
|
115
|
-
padding: .8rem;
|
|
114
|
+
padding: 0.8rem;
|
|
116
115
|
border-radius: var(--border-radius);
|
|
117
116
|
max-height: 20rem;
|
|
118
117
|
overflow: auto;
|
|
119
118
|
z-index: 999;
|
|
120
119
|
|
|
121
120
|
a {
|
|
122
|
-
padding-right: .5rem;
|
|
121
|
+
padding-right: 0.5rem;
|
|
123
122
|
color: var(--text-color);
|
|
124
123
|
border-radius: var(--border-radius);
|
|
125
124
|
|
|
126
|
-
|
|
127
125
|
&:hover {
|
|
128
126
|
background-color: var(--root-menu-item-hover-bg);
|
|
129
127
|
}
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
.app-logo-small {
|
|
30
30
|
display: inline;
|
|
31
31
|
order: 1;
|
|
32
|
-
margin-right: .5rem;
|
|
33
|
-
|
|
32
|
+
margin-right: 0.5rem;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
.app-logo-normal {
|
|
@@ -45,23 +44,23 @@
|
|
|
45
44
|
border-radius: 50%;
|
|
46
45
|
border: 2px solid var(--primary-color);
|
|
47
46
|
background-color: transparent;
|
|
48
|
-
transition:
|
|
49
|
-
|
|
47
|
+
transition:
|
|
48
|
+
background-color var(--layout-section-transition-duration),
|
|
49
|
+
transform 0.3s;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
.layout-menu-container {
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
|
|
57
56
|
.layout-menu {
|
|
58
57
|
.layout-root-menuitem {
|
|
59
|
-
|
|
60
|
-
>span {
|
|
58
|
+
> .layout-menuitem-root-text {
|
|
59
|
+
> span {
|
|
61
60
|
margin-right: auto;
|
|
62
61
|
}
|
|
63
62
|
|
|
64
|
-
|
|
63
|
+
> .layout-menuitem-root-icon {
|
|
65
64
|
display: block;
|
|
66
65
|
margin-right: 0.125rem;
|
|
67
66
|
}
|
|
@@ -131,12 +130,10 @@
|
|
|
131
130
|
}
|
|
132
131
|
}
|
|
133
132
|
|
|
134
|
-
|
|
135
|
-
|
|
136
133
|
.layout-menu {
|
|
137
134
|
.layout-root-menuitem {
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
> .layout-menuitem-root-text {
|
|
136
|
+
> .layout-menuitem-root-icon {
|
|
140
137
|
display: none;
|
|
141
138
|
}
|
|
142
139
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
.sidebar-header {
|
|
13
13
|
justify-content: center;
|
|
14
|
-
padding:
|
|
14
|
+
padding: 1.7rem 0;
|
|
15
15
|
.app-logo {
|
|
16
16
|
display: flex;
|
|
17
17
|
justify-content: center;
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
color: var(--text-color);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
|
|
97
96
|
&:hover {
|
|
98
97
|
background-color: var(--root-menu-item-hover-bg);
|
|
99
98
|
}
|
|
@@ -117,7 +117,9 @@
|
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
padding: 0.5rem 1rem;
|
|
119
119
|
border-radius: 8px;
|
|
120
|
-
transition:
|
|
120
|
+
transition:
|
|
121
|
+
background-color var(--layout-section-transition-duration),
|
|
122
|
+
box-shadow var(--layout-section-transition-duration);
|
|
121
123
|
|
|
122
124
|
.layout-menuitem-icon {
|
|
123
125
|
margin-right: 0.5rem;
|
|
File without changes
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
@use './_sidebar_slim';
|
|
8
8
|
@use './_sidebar_slim_plus';
|
|
9
9
|
@use './_sidebar_vertical';
|
|
10
|
-
|
|
10
|
+
//@use './_sidebar_horizontal';
|
|
11
11
|
@use './_sidebar_reveal';
|
|
12
12
|
@use './_sidebar_drawer';
|
|
13
13
|
@use './_responsive';
|
|
14
14
|
@use './_topbar';
|
|
15
15
|
@use './_breadcrumb';
|
|
16
|
-
|
|
16
|
+
//@use './_profile';
|
|
17
17
|
@use './_content';
|
|
18
|
-
|
|
18
|
+
//@use './_config';
|
|
19
19
|
@use './_utils';
|
|
20
20
|
|
|
21
21
|
// mng layout
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--sidebar-border: 1px solid var(--surface-border);
|
|
5
5
|
--card-shadow: none;
|
|
6
6
|
--body-bg: var(--p-surface-950);
|
|
7
|
-
--body-image: url('/
|
|
7
|
+
--body-image: url('/images/effect-ondark.svg');
|
|
8
8
|
--root-menu-item-hover-bg: rgba(255, 255, 255, 0.05);
|
|
9
|
-
--exception-pages-image: url('/
|
|
9
|
+
--exception-pages-image: url('/images/pages/exception-ondark.png');
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--sidebar-border: 1px solid transparent;
|
|
5
5
|
--card-shadow: 0px 4px 30px rgba(221, 224, 255, 0.54);
|
|
6
6
|
--body-bg: var(--p-surface-50);
|
|
7
|
-
--body-image: url('/
|
|
7
|
+
--body-image: url('/images/effect-onlight.svg');
|
|
8
8
|
--root-menu-item-hover-bg: rgba(68, 72, 109, 0.07);
|
|
9
|
-
--exception-pages-image: url('/
|
|
9
|
+
--exception-pages-image: url('/images/pages/exception-onlight.png');
|
|
10
10
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Atlantis layout converted CSS - Tailwind v4 compatible */
|
|
2
|
+
|
|
3
|
+
/* Variables */
|
|
4
|
+
@import './variables/common.css';
|
|
5
|
+
@import './variables/light.css';
|
|
6
|
+
@import './variables/dark.css';
|
|
7
|
+
|
|
8
|
+
/* Layout sections */
|
|
9
|
+
@import './layout/main.css';
|
|
10
|
+
@import './layout/sidebar-vertical.css';
|
|
11
|
+
@import './layout/sidebar-slim.css';
|
|
12
|
+
@import './layout/sidebar-slim-plus.css';
|
|
13
|
+
@import './layout/sidebar-reveal.css';
|
|
14
|
+
@import './layout/sidebar-drawer.css';
|
|
15
|
+
@import './layout/responsive.css';
|
|
16
|
+
@import './layout/topbar.css';
|
|
17
|
+
@import './layout/breadcrumb.css';
|
|
18
|
+
@import './layout/content.css';
|
|
19
|
+
@import './layout/utils.css';
|
|
20
|
+
@import './layout/profile.css';
|