@ucme-ui/angular 0.8.1 → 0.8.2
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.
|
@@ -20179,7 +20179,13 @@ var HuSidebarNav = class HuSidebarNav {
|
|
|
20179
20179
|
expandRequest = output();
|
|
20180
20180
|
url = toSignal(this.router.events.pipe(filter((e) => e instanceof NavigationEnd), map((e) => e.urlAfterRedirects)), { initialValue: this.router.url });
|
|
20181
20181
|
openItems = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "openItems" }] : /* istanbul ignore next */ []);
|
|
20182
|
+
tip = signal(null, ...ngDevMode ? [{ debugName: "tip" }] : /* istanbul ignore next */ []);
|
|
20182
20183
|
constructor() {
|
|
20184
|
+
effect(() => {
|
|
20185
|
+
this.collapsed();
|
|
20186
|
+
this.url();
|
|
20187
|
+
untracked(() => this.tip.set(null));
|
|
20188
|
+
});
|
|
20183
20189
|
effect(() => {
|
|
20184
20190
|
const expanded = this.groups().flatMap((g) => g.items).filter((item) => item.expanded && item.children?.length);
|
|
20185
20191
|
if (expanded.length) untracked(() => this.openItems.update((set) => /* @__PURE__ */ new Set([...set, ...expanded])));
|
|
@@ -20202,6 +20208,19 @@ var HuSidebarNav = class HuSidebarNav {
|
|
|
20202
20208
|
isTextBadge(badge) {
|
|
20203
20209
|
return typeof badge === "string" && Number.isNaN(Number(badge));
|
|
20204
20210
|
}
|
|
20211
|
+
showTip(event, item) {
|
|
20212
|
+
if (!this.collapsed()) return;
|
|
20213
|
+
const rect = event.currentTarget.getBoundingClientRect();
|
|
20214
|
+
this.tip.set({
|
|
20215
|
+
label: item.label,
|
|
20216
|
+
badge: item.badge,
|
|
20217
|
+
top: rect.top + rect.height / 2,
|
|
20218
|
+
left: rect.right + 12
|
|
20219
|
+
});
|
|
20220
|
+
}
|
|
20221
|
+
hideTip() {
|
|
20222
|
+
this.tip.set(null);
|
|
20223
|
+
}
|
|
20205
20224
|
toggle(item) {
|
|
20206
20225
|
if (this.collapsed()) {
|
|
20207
20226
|
this.expandRequest.emit();
|
|
@@ -20250,11 +20269,12 @@ var HuSidebarNav = class HuSidebarNav {
|
|
|
20250
20269
|
expandRequest: "expandRequest"
|
|
20251
20270
|
},
|
|
20252
20271
|
host: {
|
|
20272
|
+
listeners: { "wheel": "hideTip()" },
|
|
20253
20273
|
properties: { "class.hu-nav--collapsed": "collapsed()" },
|
|
20254
20274
|
classAttribute: "hu-nav"
|
|
20255
20275
|
},
|
|
20256
20276
|
ngImport: i0,
|
|
20257
|
-
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.
|
|
20277
|
+
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"toggle(item)\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n <hu-icon class=\"hu-nav__chevron\" name=\"chevron-down\" [size]=\"16\" />\r\n </button>\r\n @if (open) {\r\n <ul class=\"hu-nav__sublist\">\r\n @for (child of item.children; track child.label) {\r\n @if (child.children?.length) {\r\n <!-- Kategori başlığı + altındaki linkler -->\r\n <li class=\"hu-nav__subheader\" role=\"presentation\">{{ child.label }}</li>\r\n @for (leaf of child.children; track leaf.label) {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: leaf }\" /></li>\r\n }\r\n } @else {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: child }\" /></li>\r\n }\r\n }\r\n </ul>\r\n }\r\n } @else {\r\n <a\r\n class=\"hu-nav__link\"\r\n [routerLink]=\"item.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: item.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n @if (item.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(item.badge)\">{{ item.badge }}</span>\r\n }\r\n </a>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n}\r\n\r\n@if (tip(); as t) {\r\n <div class=\"hu-nav__tooltip\" role=\"tooltip\" aria-hidden=\"true\" [style.top.px]=\"t.top\" [style.left.px]=\"t.left\">\r\n {{ t.label }}\r\n @if (t.badge != null) {\r\n <span class=\"hu-nav__tooltip-badge\">{{ t.badge }}</span>\r\n }\r\n </div>\r\n}\r\n\r\n<ng-template #subLink let-child>\r\n <a\r\n class=\"hu-nav__link hu-nav__link--sub\"\r\n [routerLink]=\"child.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: child.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n <span class=\"hu-nav__label\">{{ child.label }}</span>\r\n @if (child.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(child.badge)\">{{ child.badge }}</span>\r\n }\r\n </a>\r\n</ng-template>\r\n",
|
|
20258
20278
|
dependencies: [
|
|
20259
20279
|
{
|
|
20260
20280
|
kind: "directive",
|
|
@@ -20330,11 +20350,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20330
20350
|
],
|
|
20331
20351
|
host: {
|
|
20332
20352
|
class: "hu-nav",
|
|
20333
|
-
"[class.hu-nav--collapsed]": "collapsed()"
|
|
20353
|
+
"[class.hu-nav--collapsed]": "collapsed()",
|
|
20354
|
+
"(wheel)": "hideTip()"
|
|
20334
20355
|
},
|
|
20335
20356
|
encapsulation: ViewEncapsulation.None,
|
|
20336
20357
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20337
|
-
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.
|
|
20358
|
+
template: "@for (group of groups(); track $index) {\r\n <div class=\"hu-nav__group\">\r\n @if (group.title) {\r\n <div class=\"hu-nav__title\">{{ group.title }}</div>\r\n }\r\n <ul class=\"hu-nav__list\">\r\n @for (item of group.items; track item.label) {\r\n <li>\r\n @if (item.children?.length) {\r\n @let open = openItems().has(item) && !collapsed();\r\n <button\r\n type=\"button\"\r\n class=\"hu-nav__link\"\r\n [class.hu-nav__link--parent-active]=\"isParentActive(item)\"\r\n [attr.aria-expanded]=\"open\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"toggle(item)\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n <hu-icon class=\"hu-nav__chevron\" name=\"chevron-down\" [size]=\"16\" />\r\n </button>\r\n @if (open) {\r\n <ul class=\"hu-nav__sublist\">\r\n @for (child of item.children; track child.label) {\r\n @if (child.children?.length) {\r\n <!-- Kategori başlığı + altındaki linkler -->\r\n <li class=\"hu-nav__subheader\" role=\"presentation\">{{ child.label }}</li>\r\n @for (leaf of child.children; track leaf.label) {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: leaf }\" /></li>\r\n }\r\n } @else {\r\n <li><ng-container *ngTemplateOutlet=\"subLink; context: { $implicit: child }\" /></li>\r\n }\r\n }\r\n </ul>\r\n }\r\n } @else {\r\n <a\r\n class=\"hu-nav__link\"\r\n [routerLink]=\"item.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: item.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n [attr.aria-label]=\"collapsed() ? item.label : null\"\r\n (mouseenter)=\"showTip($event, item)\"\r\n (focus)=\"showTip($event, item)\"\r\n (mouseleave)=\"hideTip()\"\r\n (blur)=\"hideTip()\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n @if (item.icon) {\r\n <hu-icon class=\"hu-nav__icon\" [name]=\"item.icon\" [size]=\"18\" />\r\n }\r\n <span class=\"hu-nav__label\">{{ item.label }}</span>\r\n @if (item.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(item.badge)\">{{ item.badge }}</span>\r\n }\r\n </a>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n}\r\n\r\n@if (tip(); as t) {\r\n <div class=\"hu-nav__tooltip\" role=\"tooltip\" aria-hidden=\"true\" [style.top.px]=\"t.top\" [style.left.px]=\"t.left\">\r\n {{ t.label }}\r\n @if (t.badge != null) {\r\n <span class=\"hu-nav__tooltip-badge\">{{ t.badge }}</span>\r\n }\r\n </div>\r\n}\r\n\r\n<ng-template #subLink let-child>\r\n <a\r\n class=\"hu-nav__link hu-nav__link--sub\"\r\n [routerLink]=\"child.link\"\r\n routerLinkActive=\"hu-nav__link--active\"\r\n [routerLinkActiveOptions]=\"{ exact: child.exact ?? false }\"\r\n ariaCurrentWhenActive=\"page\"\r\n (click)=\"navigate.emit()\"\r\n >\r\n <span class=\"hu-nav__label\">{{ child.label }}</span>\r\n @if (child.badge != null) {\r\n <span class=\"hu-nav__badge\" [class.hu-nav__badge--text]=\"isTextBadge(child.badge)\">{{ child.badge }}</span>\r\n }\r\n </a>\r\n</ng-template>\r\n"
|
|
20338
20359
|
}]
|
|
20339
20360
|
}],
|
|
20340
20361
|
ctorParameters: () => [],
|
|
@@ -20629,7 +20650,7 @@ var HuShell = class HuShell {
|
|
|
20629
20650
|
},
|
|
20630
20651
|
ngImport: i0,
|
|
20631
20652
|
template: "<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n<!-- Projeksiyon slotları bir kez tanımlanır, yerleşime göre yerleştirilir -->\n<ng-template #logoTpl>\n <ng-content select=\"[huShellLogo]\">\n <span class=\"hu-shell__logo hu-shell__logo--default\">\n <hu-icon name=\"graduation-cap\" [size]=\"20\" />\n </span>\n </ng-content>\n</ng-template>\n<ng-template #brandTpl>\n <a class=\"hu-shell__brand\" [routerLink]=\"brandLink()\">\n <ng-container *ngTemplateOutlet=\"logoTpl\" />\n <span class=\"hu-shell__brand-text\">\n <span class=\"hu-shell__brand-name\">{{ brand() }}</span>\n @if (brandSubtitle()) {\n <span class=\"hu-shell__brand-subtitle\">{{ brandSubtitle() }}</span>\n }\n </span>\n </a>\n</ng-template>\n<ng-template #menuToggleTpl>\n @if (isMobile() || collapseToggle() === 'topbar') {\n @let label = isMobile() ? 'Menüyü aç' : isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt';\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n [attr.aria-label]=\"label\"\n [attr.title]=\"isMobile() ? null : label\"\n [attr.aria-expanded]=\"isMobile() ? mobileOpen() : !isCollapsed()\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon name=\"menu\" [size]=\"20\" />\n </button>\n }\n</ng-template>\n<ng-template #topbarTpl>\n <ng-content select=\"[huTopbarStart]\" />\n <span class=\"hu-shell__spacer\"></span>\n <ng-content select=\"[huTopbarEnd]\" />\n</ng-template>\n\n@if (layout() === 'header') {\n <!-- Kurumsal üst bant: marka + topbar içeriği tam genişlikte -->\n <header class=\"hu-shell__header\">\n <div class=\"hu-shell__header-brand\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n </div>\n <div class=\"hu-shell__header-bar\">\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </div>\n </header>\n}\n\n<aside\n class=\"hu-shell__sidebar\"\n [class.hu-shell__sidebar--dark]=\"sidebarTheme() === 'dark'\"\n [attr.aria-hidden]=\"isMobile() && !mobileOpen() ? 'true' : null\"\n [attr.inert]=\"isMobile() && !mobileOpen() ? '' : null\"\n>\n @if (layout() !== 'header') {\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n }\n\n <nav class=\"hu-shell__nav\" aria-label=\"Ana menü\">\n <hu-sidebar-nav\n [groups]=\"nav()\"\n [collapsed]=\"isCollapsed()\"\n (navigate)=\"mobileOpen.set(false)\"\n (expandRequest)=\"collapsed.set(false)\"\n />\n </nav>\n\n <ng-content select=\"[huSidebarFooter]\" />\n\n @if (!isMobile() && collapseToggle() === 'sidebar') {\n <button\n type=\"button\"\n class=\"hu-shell__collapse\"\n [attr.aria-label]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n [attr.title]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon [name]=\"isCollapsed() ? 'chevrons-right' : 'chevrons-left'\" [size]=\"16\" />\n <span class=\"hu-nav__label\">Daralt</span>\n </button>\n }\n</aside>\n\n@if (isMobile() && mobileOpen()) {\n <div class=\"hu-shell__backdrop\" aria-hidden=\"true\" (click)=\"mobileOpen.set(false)\"></div>\n}\n\n<div class=\"hu-shell__main\">\n @if (layout() !== 'header') {\n <header class=\"hu-shell__topbar\" [class.hu-shell__topbar--brand]=\"topbarTheme() === 'brand'\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </header>\n }\n\n <main class=\"hu-shell__content\" id=\"hu-main\" tabindex=\"-1\">\n <ng-content />\n </main>\n</div>\n",
|
|
20632
|
-
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{font-weight:600;color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}@keyframes hu-fade-in{0%{opacity:0}}\n"],
|
|
20653
|
+
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__sidebar{overflow:hidden}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__nav{min-width:calc(var(--hu-sidebar-width) - 2px)}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}.hu-nav__tooltip{position:fixed;z-index:1100;display:flex;align-items:center;gap:var(--hu-space-2);padding:.375rem .625rem;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:#fff;white-space:nowrap;background:#1f2937;border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-md);pointer-events:none;transform:translateY(-50%);animation:hu-nav-tip-in .12s ease-out}.hu-nav__tooltip:before{content:\"\";position:absolute;top:50%;left:-4px;width:8px;height:8px;background:inherit;transform:translateY(-50%) rotate(45deg)}:root[data-theme=dark] .hu-nav__tooltip{color:#111827;background:#f3f4f6}.hu-nav__tooltip-badge{padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.125rem;border-radius:var(--hu-radius-full);background:#ffffff2e}:root[data-theme=dark] .hu-nav__tooltip-badge{background:#0000001a}@keyframes hu-nav-tip-in{0%{opacity:0;transform:translate(-4px,-50%)}}@keyframes hu-fade-in{0%{opacity:0}}\n"],
|
|
20633
20654
|
dependencies: [
|
|
20634
20655
|
{
|
|
20635
20656
|
kind: "directive",
|
|
@@ -20727,7 +20748,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20727
20748
|
encapsulation: ViewEncapsulation.None,
|
|
20728
20749
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20729
20750
|
template: "<a class=\"hu-shell__skip\" href=\"#hu-main\">İçeriğe geç</a>\n\n<!-- Projeksiyon slotları bir kez tanımlanır, yerleşime göre yerleştirilir -->\n<ng-template #logoTpl>\n <ng-content select=\"[huShellLogo]\">\n <span class=\"hu-shell__logo hu-shell__logo--default\">\n <hu-icon name=\"graduation-cap\" [size]=\"20\" />\n </span>\n </ng-content>\n</ng-template>\n<ng-template #brandTpl>\n <a class=\"hu-shell__brand\" [routerLink]=\"brandLink()\">\n <ng-container *ngTemplateOutlet=\"logoTpl\" />\n <span class=\"hu-shell__brand-text\">\n <span class=\"hu-shell__brand-name\">{{ brand() }}</span>\n @if (brandSubtitle()) {\n <span class=\"hu-shell__brand-subtitle\">{{ brandSubtitle() }}</span>\n }\n </span>\n </a>\n</ng-template>\n<ng-template #menuToggleTpl>\n @if (isMobile() || collapseToggle() === 'topbar') {\n @let label = isMobile() ? 'Menüyü aç' : isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt';\n <button\n hu-button\n variant=\"ghost\"\n iconOnly\n class=\"hu-shell__menu-toggle\"\n [attr.aria-label]=\"label\"\n [attr.title]=\"isMobile() ? null : label\"\n [attr.aria-expanded]=\"isMobile() ? mobileOpen() : !isCollapsed()\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon name=\"menu\" [size]=\"20\" />\n </button>\n }\n</ng-template>\n<ng-template #topbarTpl>\n <ng-content select=\"[huTopbarStart]\" />\n <span class=\"hu-shell__spacer\"></span>\n <ng-content select=\"[huTopbarEnd]\" />\n</ng-template>\n\n@if (layout() === 'header') {\n <!-- Kurumsal üst bant: marka + topbar içeriği tam genişlikte -->\n <header class=\"hu-shell__header\">\n <div class=\"hu-shell__header-brand\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n </div>\n <div class=\"hu-shell__header-bar\">\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </div>\n </header>\n}\n\n<aside\n class=\"hu-shell__sidebar\"\n [class.hu-shell__sidebar--dark]=\"sidebarTheme() === 'dark'\"\n [attr.aria-hidden]=\"isMobile() && !mobileOpen() ? 'true' : null\"\n [attr.inert]=\"isMobile() && !mobileOpen() ? '' : null\"\n>\n @if (layout() !== 'header') {\n <ng-container *ngTemplateOutlet=\"brandTpl\" />\n }\n\n <nav class=\"hu-shell__nav\" aria-label=\"Ana menü\">\n <hu-sidebar-nav\n [groups]=\"nav()\"\n [collapsed]=\"isCollapsed()\"\n (navigate)=\"mobileOpen.set(false)\"\n (expandRequest)=\"collapsed.set(false)\"\n />\n </nav>\n\n <ng-content select=\"[huSidebarFooter]\" />\n\n @if (!isMobile() && collapseToggle() === 'sidebar') {\n <button\n type=\"button\"\n class=\"hu-shell__collapse\"\n [attr.aria-label]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n [attr.title]=\"isCollapsed() ? 'Menüyü genişlet' : 'Menüyü daralt'\"\n (click)=\"toggleSidebar()\"\n >\n <hu-icon [name]=\"isCollapsed() ? 'chevrons-right' : 'chevrons-left'\" [size]=\"16\" />\n <span class=\"hu-nav__label\">Daralt</span>\n </button>\n }\n</aside>\n\n@if (isMobile() && mobileOpen()) {\n <div class=\"hu-shell__backdrop\" aria-hidden=\"true\" (click)=\"mobileOpen.set(false)\"></div>\n}\n\n<div class=\"hu-shell__main\">\n @if (layout() !== 'header') {\n <header class=\"hu-shell__topbar\" [class.hu-shell__topbar--brand]=\"topbarTheme() === 'brand'\">\n <ng-container *ngTemplateOutlet=\"menuToggleTpl\" />\n <ng-container *ngTemplateOutlet=\"topbarTpl\" />\n </header>\n }\n\n <main class=\"hu-shell__content\" id=\"hu-main\" tabindex=\"-1\">\n <ng-content />\n </main>\n</div>\n",
|
|
20730
|
-
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{font-weight:600;color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}@keyframes hu-fade-in{0%{opacity:0}}\n"]
|
|
20751
|
+
styles: [".hu-shell{--_sidebar-w: var(--hu-sidebar-width);--hu-header-bg: linear-gradient(90deg, #6e0f22 0%, #621230 45%, #4c1745 100%);display:block;min-height:100dvh}:root[data-theme=dark] .hu-shell{--hu-header-bg: linear-gradient(90deg, #4a0a17 0%, #3f0c22 45%, #2f1236 100%)}.hu-shell--collapsed{--_sidebar-w: var(--hu-sidebar-collapsed-width)}.hu-shell__skip{position:fixed;top:var(--hu-space-2);left:var(--hu-space-2);z-index:1200;padding:var(--hu-space-2) var(--hu-space-4);color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-md);transform:translateY(-200%)}.hu-shell__skip:focus{transform:none}.hu-shell__sidebar{position:fixed;inset:0 auto 0 0;z-index:900;display:flex;flex-direction:column;width:var(--_sidebar-w);color:var(--hu-sidebar-fg);background:var(--hu-sidebar-bg);background-image:var(--hu-sidebar-bg-image, none);border-right:1px solid var(--hu-sidebar-border);transition:width .2s cubic-bezier(.4,0,.2,1),transform .25s cubic-bezier(.4,0,.2,1)}.hu-shell__sidebar--dark{--hu-sidebar-bg: #1c1c1f;--hu-sidebar-fg: #e4e4e7;--hu-sidebar-muted: #8b8b93;--hu-sidebar-title: #fff;--hu-sidebar-hover: rgb(255 255 255 / .06);--hu-sidebar-active-bg: rgb(255 255 255 / .08);--hu-sidebar-active-fg: #fff;--hu-sidebar-border: rgb(255 255 255 / .08);--hu-sidebar-icon-active: #ff8a9b;color-scheme:dark;border-right-color:transparent}.hu-shell__sidebar--dark .hu-nav__link--active,.hu-shell__sidebar--dark .hu-nav__link--active:hover{box-shadow:none}.hu-shell__sidebar--dark .hu-nav__link--active:before{box-shadow:none}.hu-shell__brand{display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-4);color:inherit;text-decoration:none;overflow:hidden;flex-shrink:0}.hu-shell__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.25rem;height:2.25rem}.hu-shell__logo--default{color:#fff;background:linear-gradient(135deg,var(--hu-red-400),var(--hu-red-600) 55%,var(--hu-red-800));border-radius:var(--hu-radius-lg);box-shadow:inset 0 1px #ffffff40,0 6px 16px -4px color-mix(in srgb,var(--hu-red-600) 60%,transparent)}.hu-shell__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;white-space:nowrap}.hu-shell__brand-name{font-size:.9375rem;font-weight:700;letter-spacing:-.01em;color:var(--hu-text)}.hu-shell__sidebar--dark .hu-shell__brand-name{color:#fff}.hu-shell__brand-subtitle{font-size:var(--hu-text-xs);color:var(--hu-sidebar-muted);overflow:hidden;text-overflow:ellipsis}.hu-shell__nav{flex:1;padding:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__sidebar{overflow:hidden}.hu-shell:not(.hu-shell--collapsed,.hu-shell--mobile) .hu-shell__nav{min-width:calc(var(--hu-sidebar-width) - 2px)}.hu-shell__sidebar-footer{padding:var(--hu-space-3);border-top:1px solid var(--hu-sidebar-border)}.hu-shell__collapse{display:flex;align-items:center;gap:var(--hu-space-3);height:2.5rem;margin:var(--hu-space-2) var(--hu-space-3) var(--hu-space-3);padding:0 var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);color:var(--hu-sidebar-muted);text-align:left;background:none;border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-lg);cursor:pointer;flex-shrink:0;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-shell__collapse:hover{color:var(--hu-sidebar-fg);background:var(--hu-sidebar-hover)}.hu-shell__collapse:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}.hu-shell--collapsed .hu-shell__brand{padding:0 calc((var(--hu-sidebar-collapsed-width) - 2.25rem) / 2)}.hu-shell--collapsed .hu-shell__brand-text,.hu-shell--collapsed .hu-shell__collapse .hu-nav__label{display:none}.hu-shell--collapsed .hu-shell__collapse{justify-content:center;margin-inline:var(--hu-space-3);padding:0}.hu-shell__main{display:flex;flex-direction:column;min-height:100dvh;margin-left:var(--_sidebar-w);transition:margin-left .2s cubic-bezier(.4,0,.2,1)}.hu-shell__topbar{position:sticky;top:0;z-index:800;display:flex;align-items:center;gap:var(--hu-space-3);height:var(--hu-topbar-height);padding:0 var(--hu-space-6);background:color-mix(in srgb,var(--hu-bg) 78%,transparent);border-bottom:1px solid color-mix(in srgb,var(--hu-border) 80%,transparent);box-shadow:0 1px 12px -6px #1010141f;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__topbar--brand{border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell__topbar-start{display:flex;align-items:center;gap:var(--hu-space-3);min-width:0}.hu-shell__spacer{flex:1}.hu-shell__topbar-end{display:flex;align-items:center;gap:var(--hu-space-1);flex-shrink:0}.hu-shell__content{flex:1;width:100%;max-width:var(--hu-content-max-width);margin:0 auto;padding:var(--hu-space-6)}.hu-shell__content:focus{outline:none}.hu-shell--floating{--_gap: .75rem;background:var(--hu-bg)}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__sidebar{inset:var(--_gap) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:1.25rem;box-shadow:0 1px 2px #0c14230f,0 12px 32px -12px #10101424;overflow:hidden}.hu-shell--floating:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--floating .hu-shell__topbar{top:var(--_gap);margin:var(--_gap) var(--_gap) 0;padding:0 var(--hu-space-3) 0 var(--hu-space-5);background:color-mix(in srgb,var(--hu-surface) 72%,transparent);border:1px solid color-mix(in srgb,var(--hu-border) 70%,transparent);border-radius:1rem;box-shadow:0 1px 2px #0c14230a,0 8px 24px -12px #1010141a}.hu-shell--floating.hu-shell--mobile .hu-shell__topbar{--_gap: .5rem;padding:0 var(--hu-space-2)}.hu-shell--floating .hu-shell__topbar--brand{color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell--floating .hu-shell__topbar--brand .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell--floating .hu-shell__topbar--brand .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell--floating .hu-shell__topbar--brand .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell--floating .hu-shell__topbar--brand{border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.hu-shell--header{--_header-h: 4rem}.hu-shell--header .hu-shell__sidebar{top:var(--_header-h)}.hu-shell--header .hu-shell__nav{padding-top:var(--hu-space-4)}.hu-shell--header .hu-shell__main{padding-top:var(--_header-h)}.hu-shell--header.hu-shell--collapsed .hu-shell__header-brand{justify-content:center;padding:0}.hu-shell__header{position:fixed;inset:0 0 auto;z-index:950;display:flex;height:var(--_header-h);color:#fff;background:radial-gradient(55% 140% at 78% -40%,rgba(255,255,255,.16),transparent 60%),var(--hu-header-bg);box-shadow:inset 0 -1px #0000001f,0 6px 18px -10px #4105108c}.hu-shell__header .hu-breadcrumb{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .78);--hu-text-subtle: rgb(255 255 255 / .5)}.hu-shell__header .hu-button[data-variant=ghost]{--hu-text: #fff;--hu-text-muted: rgb(255 255 255 / .85);--hu-surface-3: rgb(255 255 255 / .14);--hu-focus: #fff}.hu-shell__header .hu-topbar-search{--_tb-fg: #fff;--_tb-icon: rgb(255 255 255 / .8);--_tb-placeholder: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .12);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--_tb-kbd-fg: rgb(255 255 255 / .85);--_tb-kbd-bg: rgb(255 255 255 / .1);--_tb-kbd-border: rgb(255 255 255 / .25)}.hu-shell__header .hu-topbar-search>input:focus{color:var(--hu-gray-900);background:#fff;border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.hu-shell__header .hu-topbar-search>input:focus::placeholder{color:var(--hu-gray-500)}.hu-shell__header .hu-topbar-search:focus-within{--_tb-icon: var(--hu-gray-500);--_tb-kbd-fg: var(--hu-gray-500);--_tb-kbd-bg: var(--hu-gray-100);--_tb-kbd-border: var(--hu-gray-200)}.hu-shell__header .hu-topbar-user{--_tb-fg: rgb(255 255 255 / .85);--_tb-name: #fff;--_tb-role: rgb(255 255 255 / .72);--_tb-bg: rgb(255 255 255 / .1);--_tb-bg-hover: rgb(255 255 255 / .18);--_tb-border: rgb(255 255 255 / .2);--_tb-border-hover: rgb(255 255 255 / .32);--hu-focus: #fff;box-shadow:none}.hu-shell__header .hu-topbar-user hu-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffffd9}.hu-shell__header-brand{position:relative;display:flex;align-items:center;gap:var(--hu-space-2);flex-shrink:0;width:var(--_sidebar-w);padding:0 var(--hu-space-4);border-right:1px solid rgba(255,255,255,.14);transition:width .2s cubic-bezier(.4,0,.2,1)}.hu-shell__header-brand .hu-shell__brand{height:100%;padding:0}.hu-shell__header-brand .hu-shell__logo--default{color:var(--hu-red-600);background:#fff;box-shadow:0 4px 12px -4px #00000059}.hu-shell__header-brand .hu-shell__brand-name{font-size:1rem;color:#fff}.hu-shell__header-brand .hu-shell__brand-subtitle{color:#ffffffb8}.hu-shell__header-brand .hu-shell__brand:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:var(--hu-radius-md)}.hu-shell__header-bar{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);flex:1;min-width:0;padding:0 var(--hu-space-6)}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile){--_gap: .75rem}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__sidebar{inset:calc(var(--_header-h) + var(--_gap)) auto var(--_gap) var(--_gap);border:1px solid var(--hu-sidebar-border);border-radius:var(--hu-radius-xl);box-shadow:0 1px 2px #1010140a,0 6px 20px -12px #10101424;overflow:hidden}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__main{margin-left:calc(var(--_sidebar-w) + var(--_gap))}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile) .hu-shell__header-brand{width:calc(var(--_sidebar-w) + var(--_gap));padding-left:calc(var(--_gap) + var(--hu-space-4));border-right:0}.hu-shell--header.hu-shell--sidebar-card:not(.hu-shell--mobile).hu-shell--collapsed .hu-shell__header-brand{padding-left:var(--_gap)}.hu-shell--header.hu-shell--collapsed:not(.hu-shell--mobile) .hu-shell__header-brand:has(.hu-shell__menu-toggle){width:auto;justify-content:flex-start;padding:0 var(--hu-space-4)}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand{width:auto;min-width:0;flex-shrink:1;gap:var(--hu-space-1);padding:0 var(--hu-space-2);border-right:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand{gap:var(--hu-space-2);min-width:0}.hu-shell--header.hu-shell--mobile .hu-shell__header-brand .hu-shell__brand-name{font-size:.9375rem;overflow:hidden;text-overflow:ellipsis}.hu-shell--header.hu-shell--mobile .hu-shell__brand-subtitle{display:none}.hu-shell--header.hu-shell--mobile .hu-shell__header-bar{flex:0 0 auto;gap:var(--hu-space-1);padding:0 var(--hu-space-2) 0 0}.hu-shell--header.hu-shell--mobile .hu-shell__spacer{display:none}.hu-topbar-search{position:relative;display:flex;align-items:center;width:16rem;margin-right:var(--hu-space-2)}.hu-topbar-search>hu-icon{position:absolute;left:.75rem;color:var(--_tb-icon, var(--hu-text-subtle));pointer-events:none;transition:color var(--hu-transition)}.hu-topbar-search>input.hu-input{padding-left:2.25rem;padding-right:3.75rem;color:var(--_tb-fg, var(--hu-text));background:var(--_tb-bg, var(--hu-surface));border-color:var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:none;transition:background-color var(--hu-transition),border-color var(--hu-transition),box-shadow var(--hu-transition)}.hu-topbar-search>input.hu-input::placeholder{color:var(--_tb-placeholder, var(--hu-text-subtle))}.hu-topbar-search>input.hu-input:hover:not(:disabled,:focus){background:var(--_tb-bg-hover, var(--hu-surface));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-search>kbd{position:absolute;right:.5rem;padding:1px 7px;font-family:var(--hu-font-sans);font-size:.6875rem;color:var(--_tb-kbd-fg, var(--hu-text-subtle));background:var(--_tb-kbd-bg, var(--hu-surface-2));border:1px solid var(--_tb-kbd-border, var(--hu-border));border-radius:var(--hu-radius-full);pointer-events:none}@media(max-width:1199.98px){.hu-topbar-search{display:none}}.hu-topbar-user{display:flex;align-items:center;gap:var(--hu-space-2);height:2.5rem;margin-left:var(--hu-space-2);padding:0 var(--hu-space-3) 0 .3125rem;font:inherit;color:var(--_tb-fg, var(--hu-text-muted));background:var(--_tb-bg, var(--hu-surface));border:1px solid var(--_tb-border, var(--hu-border));border-radius:var(--hu-radius-full);box-shadow:var(--hu-shadow-sm);cursor:pointer;transition:background-color var(--hu-transition),border-color var(--hu-transition)}.hu-topbar-user:hover{background:var(--_tb-bg-hover, var(--hu-surface-2));border-color:var(--_tb-border-hover, var(--hu-border-strong))}.hu-topbar-user:focus-visible{outline:2px solid var(--hu-focus);outline-offset:2px}@media(max-width:479.98px){.hu-topbar-user{margin-left:0;padding:0 .25rem}.hu-topbar-user>hu-icon{display:none}}.hu-topbar-user__text{display:flex;flex-direction:column;line-height:1.2;text-align:left}@media(max-width:767.98px){.hu-topbar-user__text{display:none}}.hu-topbar-user__name{font-weight:600;color:var(--_tb-name, var(--hu-text))}.hu-topbar-user__role{font-size:var(--hu-text-xs);color:var(--_tb-role, var(--hu-text-muted))}.hu-shell--mobile .hu-shell__sidebar{width:min(var(--hu-sidebar-width),85vw);box-shadow:var(--hu-shadow-lg);transform:translate(-100%)}.hu-shell--mobile.hu-shell--drawer-open .hu-shell__sidebar{transform:none}.hu-shell--mobile .hu-shell__main{margin-left:0}.hu-shell--mobile .hu-shell__topbar{padding:0 var(--hu-space-3)}.hu-shell--mobile .hu-shell__content{padding:var(--hu-space-4)}.hu-shell__backdrop{position:fixed;inset:0;z-index:850;background:#0c0c0e73;animation:hu-fade-in .2s ease-out}.hu-nav{display:flex;flex-direction:column;gap:var(--hu-space-2)}.hu-nav__title{padding:0 var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-sidebar-title, var(--hu-text));white-space:nowrap}.hu-nav__list,.hu-nav__sublist{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.hu-nav__sublist{margin:2px 0 var(--hu-space-1) calc(var(--hu-space-3) + 9px);padding-left:var(--hu-space-3);border-left:1px solid var(--hu-sidebar-border)}.hu-nav__link{position:relative;display:flex;align-items:center;gap:var(--hu-space-3);width:100%;min-height:2.25rem;padding:var(--hu-space-2) var(--hu-space-3);font:inherit;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:var(--hu-sidebar-fg);text-align:left;text-decoration:none;background:none;border:0;border-radius:var(--hu-radius-lg);cursor:pointer;transition:background-color var(--hu-transition),color var(--hu-transition)}.hu-nav__link:hover{background:var(--hu-sidebar-hover)}.hu-nav__link:focus-visible{outline:2px solid var(--hu-focus);outline-offset:-2px}.hu-nav__link--sub{min-height:2.125rem;font-weight:400}.hu-nav__link--active,.hu-nav__link--active:hover{color:var(--hu-sidebar-active-fg);background:var(--hu-sidebar-active-bg)}.hu-nav__link--active .hu-nav__icon,.hu-nav__link--active:hover .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__link--parent-active{color:var(--hu-text)}.hu-shell__sidebar--dark .hu-nav__link--parent-active{color:#fff}.hu-nav__link--parent-active .hu-nav__icon{color:var(--hu-sidebar-icon-active, var(--hu-primary))}.hu-nav__icon{flex-shrink:0;color:var(--hu-sidebar-muted);transition:color var(--hu-transition)}.hu-nav__label{flex:1;min-width:0;overflow-wrap:anywhere}.hu-nav__chevron,.hu-nav__badge{flex-shrink:0}.hu-nav__chevron{color:var(--hu-sidebar-muted);transition:transform var(--hu-transition)}[aria-expanded=true]>.hu-nav__chevron{transform:rotate(180deg)}.hu-nav__badge{min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.25rem;text-align:center;color:var(--hu-primary-fg);background:var(--hu-primary);border-radius:var(--hu-radius-full)}.hu-nav__badge--text{height:1.125rem;padding:0 .4375rem;font-size:.625rem;font-weight:700;line-height:1.125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--hu-info-fg);background:var(--hu-info-soft);border-radius:var(--hu-radius-sm)}.hu-shell__sidebar--dark .hu-nav__badge--text{color:#fff;background:#ffffff29}.hu-nav__subheader{padding:var(--hu-space-4) var(--hu-space-3) var(--hu-space-1);font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--hu-sidebar-muted);white-space:nowrap}.hu-nav__subheader:first-child{padding-top:var(--hu-space-2)}.hu-nav--collapsed .hu-nav__title{height:1px;margin:0 var(--hu-space-2) var(--hu-space-2);padding:0;overflow:hidden;color:transparent;background:var(--hu-sidebar-border)}.hu-nav--collapsed .hu-nav__link{justify-content:center;padding:0}.hu-nav--collapsed .hu-nav__label,.hu-nav--collapsed .hu-nav__chevron{display:none}.hu-nav--collapsed .hu-nav__badge{position:absolute;top:3px;right:6px;min-width:.5rem;width:.5rem;height:.5rem;padding:0;font-size:0}.hu-nav__tooltip{position:fixed;z-index:1100;display:flex;align-items:center;gap:var(--hu-space-2);padding:.375rem .625rem;font-size:var(--hu-text-sm);font-weight:500;line-height:1.3;color:#fff;white-space:nowrap;background:#1f2937;border-radius:var(--hu-radius-md);box-shadow:var(--hu-shadow-md);pointer-events:none;transform:translateY(-50%);animation:hu-nav-tip-in .12s ease-out}.hu-nav__tooltip:before{content:\"\";position:absolute;top:50%;left:-4px;width:8px;height:8px;background:inherit;transform:translateY(-50%) rotate(45deg)}:root[data-theme=dark] .hu-nav__tooltip{color:#111827;background:#f3f4f6}.hu-nav__tooltip-badge{padding:0 .375rem;font-size:.6875rem;font-weight:600;line-height:1.125rem;border-radius:var(--hu-radius-full);background:#ffffff2e}:root[data-theme=dark] .hu-nav__tooltip-badge{background:#0000001a}@keyframes hu-nav-tip-in{0%{opacity:0;transform:translate(-4px,-50%)}}@keyframes hu-fade-in{0%{opacity:0}}\n"]
|
|
20731
20752
|
}]
|
|
20732
20753
|
}],
|
|
20733
20754
|
ctorParameters: () => [],
|