@iconsulting-dev/forgekit 1.3.3 → 1.3.4
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.
|
@@ -24,9 +24,10 @@ import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
|
24
24
|
styles: `
|
|
25
25
|
.layout-sidebar {
|
|
26
26
|
width: 250px;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
min-width: 250px;
|
|
28
|
+
background: var(--p-surface-0);
|
|
29
|
+
border-right: 1px solid var(--p-surface-200);
|
|
30
|
+
padding: 1rem 0.75rem;
|
|
30
31
|
}
|
|
31
32
|
.sidebar-menu {
|
|
32
33
|
list-style: none;
|
|
@@ -38,17 +39,18 @@ import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
|
38
39
|
align-items: center;
|
|
39
40
|
gap: 0.75rem;
|
|
40
41
|
padding: 0.75rem 1rem;
|
|
41
|
-
border-radius: var(--border-radius);
|
|
42
|
-
color: var(--text-color);
|
|
42
|
+
border-radius: var(--p-content-border-radius);
|
|
43
|
+
color: var(--p-text-color);
|
|
43
44
|
text-decoration: none;
|
|
44
45
|
transition: background 0.2s;
|
|
46
|
+
font-weight: 500;
|
|
45
47
|
}
|
|
46
48
|
.sidebar-menu a:hover {
|
|
47
|
-
background: var(--surface-
|
|
49
|
+
background: var(--p-surface-100);
|
|
48
50
|
}
|
|
49
51
|
.active-link {
|
|
50
|
-
background: var(--primary-color) !important;
|
|
51
|
-
color: var(--primary-color
|
|
52
|
+
background: var(--p-primary-color) !important;
|
|
53
|
+
color: var(--p-primary-contrast-color) !important;
|
|
52
54
|
}
|
|
53
55
|
`,
|
|
54
56
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -9,7 +9,7 @@ import { Component, ChangeDetectionStrategy, output } from '@angular/core';
|
|
|
9
9
|
<button class="topbar-menu-btn" (click)="toggleSidebar.emit()">
|
|
10
10
|
<i class="pi pi-bars"></i>
|
|
11
11
|
</button>
|
|
12
|
-
<span class="topbar-title">
|
|
12
|
+
<span class="topbar-title">{{projectName}}</span>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="topbar-right">
|
|
15
15
|
<button class="topbar-avatar">
|
|
@@ -25,8 +25,9 @@ import { Component, ChangeDetectionStrategy, output } from '@angular/core';
|
|
|
25
25
|
justify-content: space-between;
|
|
26
26
|
padding: 0 1.5rem;
|
|
27
27
|
height: 60px;
|
|
28
|
-
background: var(--surface-
|
|
29
|
-
border-bottom: 1px solid var(--surface-
|
|
28
|
+
background: var(--p-surface-0);
|
|
29
|
+
border-bottom: 1px solid var(--p-surface-200);
|
|
30
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
30
31
|
}
|
|
31
32
|
.topbar-left {
|
|
32
33
|
display: flex;
|
|
@@ -38,18 +39,18 @@ import { Component, ChangeDetectionStrategy, output } from '@angular/core';
|
|
|
38
39
|
border: none;
|
|
39
40
|
cursor: pointer;
|
|
40
41
|
font-size: 1.25rem;
|
|
41
|
-
color: var(--text-color);
|
|
42
|
+
color: var(--p-text-color);
|
|
42
43
|
padding: 0.5rem;
|
|
43
44
|
border-radius: 50%;
|
|
44
45
|
transition: background 0.2s;
|
|
45
46
|
}
|
|
46
47
|
.topbar-menu-btn:hover, .topbar-avatar:hover {
|
|
47
|
-
background: var(--surface-
|
|
48
|
+
background: var(--p-surface-100);
|
|
48
49
|
}
|
|
49
50
|
.topbar-title {
|
|
50
51
|
font-size: 1.25rem;
|
|
51
52
|
font-weight: 600;
|
|
52
|
-
color: var(--text-color);
|
|
53
|
+
color: var(--p-text-color);
|
|
53
54
|
}
|
|
54
55
|
`,
|
|
55
56
|
changeDetection: ChangeDetectionStrategy.OnPush,
|