@cloudfrogger/goodui 0.0.64 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/README.md +15 -0
- package/ai/case-studies/dockerhub.md +7 -0
- package/ai/case-studies/index.md +1 -0
- package/ai/catalog/component.schema.json +6 -0
- package/ai/catalog/components/good-action-menu.json +2 -2
- package/ai/catalog/components/good-alert.json +2 -2
- package/ai/catalog/components/{good-topbar.json → good-app-header.json} +77 -83
- package/ai/catalog/components/{good-app-layout.json → good-app-shell.json} +32 -68
- package/ai/catalog/components/good-avatar-menu-item.json +2 -2
- package/ai/catalog/components/good-brand-icon.json +6 -6
- package/ai/catalog/components/good-button.json +2 -2
- package/ai/catalog/components/good-dropdown.json +2 -2
- package/ai/catalog/components/{good-main-menu.json → good-header-actions.json} +19 -10
- package/ai/catalog/components/{good-avatar-menu.json → good-header-avatar.json} +5 -5
- package/ai/catalog/components/{good-topbar-dropdown-item.json → good-header-dropdown-item.json} +17 -17
- package/ai/catalog/components/{good-topbar-dropdown-menu.json → good-header-dropdown-menu.json} +14 -14
- package/ai/catalog/components/{good-topbar-menu-item.json → good-header-menu-item.json} +17 -15
- package/ai/catalog/components/{good-topbar-menu-container.json → good-header-menu.json} +16 -14
- package/ai/catalog/components/{good-notifications.json → good-header-notification.json} +5 -5
- package/ai/catalog/components/{good-search.json → good-header-search.json} +16 -7
- package/ai/catalog/components/{good-topbar-submenu.json → good-header-submenu.json} +12 -12
- package/ai/catalog/components/{good-theme-toggle.json → good-header-themetoggle.json} +8 -6
- package/ai/catalog/components/{good-heading.json → good-heading-1.json} +15 -33
- package/ai/catalog/components/good-heading-2.json +46 -0
- package/ai/catalog/components/{good-subheading.json → good-heading-3.json} +9 -30
- package/ai/catalog/components/good-heading-4.json +46 -0
- package/ai/catalog/components/good-heading-5.json +46 -0
- package/ai/catalog/components/good-heading-6.json +46 -0
- package/ai/catalog/components/good-heading-7.json +46 -0
- package/ai/catalog/components/good-heading-group.json +1 -1
- package/ai/catalog/components/good-main-view.json +6 -49
- package/ai/catalog/components/good-notification-host.json +1 -1
- package/ai/catalog/components/good-section.json +20 -2
- package/ai/catalog/components/good-settings.json +1 -1
- package/ai/catalog/components/good-sidebar-item.json +4 -2
- package/ai/catalog/components/good-sidebar-menu-container.json +4 -2
- package/ai/catalog/components/good-sidebar-submenu-group.json +1 -1
- package/ai/catalog/components/good-sidebar-submenu-item.json +1 -1
- package/ai/catalog/components/{good-sidebar-container.json → good-sidebar.json} +23 -26
- package/ai/catalog/components/good-summary.json +6 -1
- package/ai/catalog/index.json +231 -171
- package/ai/examples/edit-form.html +3 -1
- package/ai/examples/edit-form.ts +2 -2
- package/ai/examples/login.html +3 -1
- package/ai/examples/login.ts +2 -2
- package/ai/examples/settings.html +3 -1
- package/ai/examples/settings.ts +2 -2
- package/ai/examples/shell.html +18 -0
- package/ai/examples/shell.ts +11 -0
- package/ai/examples/table-view.html +3 -1
- package/ai/examples/table-view.ts +2 -2
- package/ai/examples/tsconfig.json +2 -1
- package/ai/guides/component-discovery.md +2 -2
- package/ai/guides/layout.md +5 -3
- package/ai/guides/page-patterns.md +7 -3
- package/ai/manifest.json +2 -2
- package/ai/skill/goodui/SKILL.md +11 -3
- package/angular/projects/goodui/package.json +1 -1
- package/angular/projects/goodui/src/lib/actions.ts +47 -23
- package/angular/projects/goodui/src/lib/app-shell.ts +109 -0
- package/angular/projects/goodui/src/lib/{topbar.ts → header.ts} +98 -72
- package/angular/projects/goodui/src/lib/main-view.ts +22 -13
- package/angular/projects/goodui/src/lib/shell-context.ts +46 -0
- package/angular/projects/goodui/src/lib/sidebar.ts +58 -40
- package/angular/projects/goodui/src/lib/typography.ts +51 -41
- package/angular/projects/goodui/src/public-api.ts +2 -2
- package/angular/projects/goodui/src/styles.css +99 -65
- package/angular/projects/goodui/src/tokens.generated.css +43 -6
- package/design/app-shell-contract.json +118 -0
- package/design/component-map.json +171 -82
- package/design/header-search-variants.json +55 -0
- package/design/typography-components.json +327 -0
- package/design-tokens/penpot.tokens.json +160 -6
- package/design.md +51 -39
- package/fesm2022/cloudfrogger-goodui.mjs +541 -383
- package/fesm2022/cloudfrogger-goodui.mjs.map +1 -1
- package/guides/README.md +2 -1
- package/guides/components/action-bar.md +1 -1
- package/guides/components/app-header.md +27 -0
- package/guides/components/columns.md +3 -3
- package/guides/components/header-actions.md +34 -0
- package/guides/components/{avatar-menu.md → header-avatar.md} +5 -5
- package/guides/components/header-menu.md +64 -0
- package/guides/components/header-notification.md +13 -0
- package/guides/components/header-search.md +72 -0
- package/guides/components/{theme-toggle.md → header-themetoggle.md} +6 -6
- package/guides/components/icon.md +1 -1
- package/guides/components/main-view.md +30 -8
- package/guides/components/notifications.md +2 -2
- package/guides/components/settings.md +2 -2
- package/guides/components/sidebar.md +16 -34
- package/guides/components/submenus.md +4 -4
- package/guides/components/subnav.md +4 -3
- package/guides/components/typography.md +76 -19
- package/guides/contributing/design-to-code.md +62 -32
- package/guides/foundations/naming.md +1 -1
- package/guides/foundations/tokens.md +9 -9
- package/guides/intro.md +17 -19
- package/guides/layout/app-shell.md +37 -0
- package/guides/layout/layout-rules.md +3 -3
- package/guides/migrations/app-shell.md +28 -0
- package/guides/migrations/explicit-headings.md +20 -0
- package/guides/migrations/header-actions.md +17 -0
- package/guides/migrations/header-menu.md +16 -0
- package/homepage/src/app/examples/calendar-workspace/calendar-workspace-page.ts +2 -10
- package/homepage/src/app/examples/calendar-workspace/source-code.generated.ts +1 -1
- package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.html +6 -4
- package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.ts +2 -20
- package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.html +5 -5
- package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.ts +2 -20
- package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.html +3 -1
- package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.ts +2 -20
- package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.html +7 -5
- package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.ts +2 -14
- package/homepage/src/app/examples/case-studies/cloudhoster/home-page.html +4 -4
- package/homepage/src/app/examples/case-studies/cloudhoster/home-page.ts +2 -12
- package/homepage/src/app/examples/case-studies/cloudhoster/source-code.generated.ts +10 -10
- package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.html +6 -6
- package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.ts +2 -18
- package/homepage/src/app/examples/case-studies/vpshoster/overview-page.html +4 -4
- package/homepage/src/app/examples/case-studies/vpshoster/overview-page.ts +2 -8
- package/homepage/src/app/examples/case-studies/vpshoster/servers-page.html +4 -1
- package/homepage/src/app/examples/case-studies/vpshoster/servers-page.ts +2 -12
- package/homepage/src/app/examples/case-studies/vpshoster/source-code.generated.ts +4 -4
- package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.html +4 -4
- package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.ts +2 -8
- package/homepage/src/app/examples/error-pages/error-pages-example-page.html +3 -1
- package/homepage/src/app/examples/error-pages/error-pages-example-page.ts +2 -7
- package/homepage/src/app/examples/error-pages/source-code.generated.ts +2 -2
- package/homepage/src/app/examples/mail-compose/mail-compose-page.ts +2 -4
- package/homepage/src/app/examples/mail-workspace/mail-workspace-page.ts +2 -10
- package/homepage/src/app/examples/mail-workspace/source-code.generated.ts +1 -1
- package/homepage/src/app/examples/notifications/notifications-page.html +3 -1
- package/homepage/src/app/examples/notifications/notifications-page.ts +2 -8
- package/homepage/src/app/examples/notifications/source-code.generated.ts +2 -2
- package/homepage/src/app/examples/pdf-reader/pdf-reader-page.html +3 -1
- package/homepage/src/app/examples/pdf-reader/pdf-reader-page.ts +2 -7
- package/homepage/src/app/examples/pdf-reader/source-code.generated.ts +2 -2
- package/homepage/src/app/examples/user-registration/source-code.generated.ts +3 -3
- package/homepage/src/app/examples/user-registration/user-registration-example-page.html +1 -1
- package/homepage/src/app/examples/user-registration/user-registration-example-page.ts +2 -2
- package/homepage/src/app/examples/user-registration/user-registration-form.ts +2 -13
- package/homepage/src/app/examples/user-registration/user-registration-page.html +1 -1
- package/homepage/src/app/examples/user-registration/user-registration-page.ts +2 -7
- package/package.json +2 -2
- package/styles.css +1 -1
- package/types/cloudfrogger-goodui.d.ts +301 -207
- package/angular/projects/goodui/src/lib/app-layout.ts +0 -84
- package/guides/components/main-menu.md +0 -23
- package/guides/components/search.md +0 -51
- package/guides/components/topbar.md +0 -89
- package/guides/layout/app-layout.md +0 -81
|
@@ -8,8 +8,6 @@ import { GoodImagePreviewComponent } from './image-preview';
|
|
|
8
8
|
import { GOOD_COMPOSITE_REQUIRED_CONTROL } from './required-control';
|
|
9
9
|
|
|
10
10
|
export type GoodEyebrowAppearance = 'brand' | 'mono';
|
|
11
|
-
export type GoodHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
|
-
export type GoodSubheadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
13
11
|
export type GoodSeparatorVariant = 'dots' | 'line';
|
|
14
12
|
export type GoodImageAlign = 'center' | 'left' | 'right';
|
|
15
13
|
export type GoodColumnBreakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -17,7 +15,7 @@ export type GoodColumnBreakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
17
15
|
@Component({
|
|
18
16
|
selector: 'good-heading-group', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
17
|
host: { class: 'good-heading-group' },
|
|
20
|
-
template: `<ng-content select="good-eyebrow" /><div class="good-heading-group-text"><ng-content select="good-heading" /><ng-content select="good-summary" /></div>`,
|
|
18
|
+
template: `<ng-content select="good-eyebrow" /><div class="good-heading-group-text"><ng-content select="good-heading-1, good-heading-2, good-heading-3, good-heading-4, good-heading-5, good-heading-6, good-heading-7" /><ng-content select="good-summary" /></div>`,
|
|
21
19
|
})
|
|
22
20
|
export class GoodHeadingGroupComponent {}
|
|
23
21
|
|
|
@@ -31,24 +29,53 @@ export class GoodEyebrowComponent {
|
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
@Component({
|
|
34
|
-
selector: 'good-heading', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
template: `
|
|
38
|
-
<ng-template #content><ng-content /></ng-template>
|
|
39
|
-
@switch (level()) {
|
|
40
|
-
@case (2) { <h2><ng-container [ngTemplateOutlet]="content" /></h2> }
|
|
41
|
-
@case (3) { <h3><ng-container [ngTemplateOutlet]="content" /></h3> }
|
|
42
|
-
@case (4) { <h4><ng-container [ngTemplateOutlet]="content" /></h4> }
|
|
43
|
-
@case (5) { <h5><ng-container [ngTemplateOutlet]="content" /></h5> }
|
|
44
|
-
@case (6) { <h6><ng-container [ngTemplateOutlet]="content" /></h6> }
|
|
45
|
-
@default { <h1><ng-container [ngTemplateOutlet]="content" /></h1> }
|
|
46
|
-
}
|
|
47
|
-
`,
|
|
32
|
+
selector: 'good-heading-1', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
+
host: { class: 'good-heading', 'data-level': '1', 'data-heading-style': '1' },
|
|
34
|
+
template: `<h1><ng-content /></h1>`,
|
|
48
35
|
})
|
|
49
|
-
export class
|
|
50
|
-
|
|
51
|
-
|
|
36
|
+
export class GoodHeading1Component {}
|
|
37
|
+
|
|
38
|
+
@Component({
|
|
39
|
+
selector: 'good-heading-2', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
|
+
host: { class: 'good-heading', 'data-level': '2', 'data-heading-style': '2' },
|
|
41
|
+
template: `<h2><ng-content /></h2>`,
|
|
42
|
+
})
|
|
43
|
+
export class GoodHeading2Component {}
|
|
44
|
+
|
|
45
|
+
@Component({
|
|
46
|
+
selector: 'good-heading-3', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
47
|
+
host: { class: 'good-subheading', 'data-level': '3', 'data-heading-style': '3' },
|
|
48
|
+
template: `<h3><ng-content /></h3>`,
|
|
49
|
+
})
|
|
50
|
+
export class GoodHeading3Component {}
|
|
51
|
+
|
|
52
|
+
@Component({
|
|
53
|
+
selector: 'good-heading-4', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
54
|
+
host: { class: 'good-subheading', 'data-level': '4', 'data-heading-style': '4' },
|
|
55
|
+
template: `<h4><ng-content /></h4>`,
|
|
56
|
+
})
|
|
57
|
+
export class GoodHeading4Component {}
|
|
58
|
+
|
|
59
|
+
@Component({
|
|
60
|
+
selector: 'good-heading-5', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
+
host: { class: 'good-subheading', 'data-level': '5', 'data-heading-style': '5' },
|
|
62
|
+
template: `<h5><ng-content /></h5>`,
|
|
63
|
+
})
|
|
64
|
+
export class GoodHeading5Component {}
|
|
65
|
+
|
|
66
|
+
@Component({
|
|
67
|
+
selector: 'good-heading-6', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
68
|
+
host: { class: 'good-subheading', 'data-level': '6', 'data-heading-style': '6' },
|
|
69
|
+
template: `<h6><ng-content /></h6>`,
|
|
70
|
+
})
|
|
71
|
+
export class GoodHeading6Component {}
|
|
72
|
+
|
|
73
|
+
@Component({
|
|
74
|
+
selector: 'good-heading-7', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
75
|
+
host: { class: 'good-subheading', 'data-level': '7', 'data-heading-style': '7', role: 'heading', 'aria-level': '7' },
|
|
76
|
+
template: `<ng-content />`,
|
|
77
|
+
})
|
|
78
|
+
export class GoodHeading7Component {}
|
|
52
79
|
|
|
53
80
|
@Component({
|
|
54
81
|
selector: 'good-summary', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -58,9 +85,11 @@ export class GoodSummaryComponent {}
|
|
|
58
85
|
|
|
59
86
|
@Component({
|
|
60
87
|
selector: 'good-section', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
-
host: { class: 'good-section' }, template: `<section><ng-content /></section>`,
|
|
88
|
+
host: { class: 'good-section', '[attr.data-spacing]': 'spacing()' }, template: `<section><ng-content /></section>`,
|
|
62
89
|
})
|
|
63
|
-
export class GoodSectionComponent {
|
|
90
|
+
export class GoodSectionComponent {
|
|
91
|
+
readonly spacing = input<'default' | 'content'>('default');
|
|
92
|
+
}
|
|
64
93
|
|
|
65
94
|
@Component({
|
|
66
95
|
selector: 'good-prose', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -119,25 +148,6 @@ export class GoodColumnComponent {
|
|
|
119
148
|
})
|
|
120
149
|
export class GoodParagraphComponent {}
|
|
121
150
|
|
|
122
|
-
@Component({
|
|
123
|
-
selector: 'good-subheading', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
124
|
-
imports: [NgTemplateOutlet],
|
|
125
|
-
host: { class: 'good-subheading' },
|
|
126
|
-
template: `
|
|
127
|
-
<ng-template #content><ng-content /></ng-template>
|
|
128
|
-
@switch (level()) {
|
|
129
|
-
@case (3) { <h3><ng-container [ngTemplateOutlet]="content" /></h3> }
|
|
130
|
-
@case (4) { <h4><ng-container [ngTemplateOutlet]="content" /></h4> }
|
|
131
|
-
@case (5) { <h5><ng-container [ngTemplateOutlet]="content" /></h5> }
|
|
132
|
-
@case (6) { <h6><ng-container [ngTemplateOutlet]="content" /></h6> }
|
|
133
|
-
@default { <h2><ng-container [ngTemplateOutlet]="content" /></h2> }
|
|
134
|
-
}
|
|
135
|
-
`,
|
|
136
|
-
})
|
|
137
|
-
export class GoodSubheadingComponent {
|
|
138
|
-
readonly level = input<GoodSubheadingLevel>(2);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
151
|
@Component({
|
|
142
152
|
selector: 'good-citation', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
143
153
|
host: { class: 'good-citation' },
|
|
@@ -4,7 +4,7 @@ export * from './lib/provide-goodui';
|
|
|
4
4
|
export * from './lib/theme';
|
|
5
5
|
export * from './lib/icon';
|
|
6
6
|
export * from './lib/sidebar';
|
|
7
|
-
export * from './lib/
|
|
7
|
+
export * from './lib/header';
|
|
8
8
|
export * from './lib/actions';
|
|
9
9
|
export * from './lib/main-view';
|
|
10
10
|
export * from './lib/typography';
|
|
@@ -71,4 +71,4 @@ export * from './lib/status-icon';
|
|
|
71
71
|
export * from './lib/expandable';
|
|
72
72
|
export * from '@lucide/angular';
|
|
73
73
|
export * from './lib/action-menu';
|
|
74
|
-
export * from './lib/app-
|
|
74
|
+
export * from './lib/app-shell';
|
|
@@ -20,11 +20,20 @@
|
|
|
20
20
|
|
|
21
21
|
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
|
|
22
22
|
|
|
23
|
-
good-app-
|
|
24
|
-
good-sidebar-submenu-group, good-sidebar-submenu-item, good-
|
|
25
|
-
good-
|
|
26
|
-
good-
|
|
27
|
-
good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good-prose, good-detail-list, good-columns, good-column, good-paragraph, good-
|
|
23
|
+
good-app-shell, good-sidebar, good-sidebar-menu-container, good-sidebar-item,
|
|
24
|
+
good-sidebar-submenu-group, good-sidebar-submenu-item, good-app-header, good-header-menu,
|
|
25
|
+
good-header-menu-item, good-header-dropdown-menu, good-header-dropdown-item, good-header-submenu,
|
|
26
|
+
good-header-actions, good-header-themetoggle, good-main-view, good-subnav, good-button, good-action-group, good-action-bar, good-assistant-panel, good-switch, good-checkbox, good-radio-group, good-rating, good-table, good-calendar, good-month-calendar, good-line-chart, good-bar-chart, good-scatter-chart, good-histogram, good-sparkline, good-chart-axis, good-chart-line, good-chart-bar, good-chart-scatter, good-chart-histogram, good-progress, good-timeline, good-timeline-step, good-range-slider, good-signature-pad, good-color-controls, good-color-picker, good-select-font, good-rich-text-editor, good-pdf-preview, good-error-page, good-link, good-card, good-card-header, good-card-footer, good-group, good-form-row, good-expandable, good-code-block, good-modal, good-modal-header, good-modal-footer, good-input, good-textarea, good-number-input, good-pin-input, good-input-phone, good-select, good-select-country, good-listbox, good-tabs, good-tab, good-date-input, good-image-input, good-image-preview, good-dropdown, good-breadcrumbs, good-badge, good-alert, good-notification-host,
|
|
27
|
+
good-heading-group, good-eyebrow, good-heading-1, good-heading-2, good-heading-3, good-heading-4, good-heading-5, good-heading-6, good-heading-7, good-summary, good-section, good-prose, good-detail-list, good-columns, good-column, good-paragraph, good-citation, good-separator, good-inline-image, good-form-field, good-field-label, good-hint, good-error-text { box-sizing: border-box; }
|
|
28
|
+
|
|
29
|
+
:where(h1, h2, h3, h4, h5, h6, [role="heading"][aria-level="7"]) { margin: 0; min-width: 0; font-family: var(--good-typography-font-family), ui-sans-serif, system-ui, sans-serif; color: var(--good-typography-heading-color); line-height: 1.25; overflow-wrap: break-word; }
|
|
30
|
+
:where(h1), good-heading-1 { font-size: var(--good-typography-heading-level-1-font-size); font-weight: var(--good-typography-heading-level-1-font-weight); letter-spacing: var(--good-typography-heading-level-1-letter-spacing); }
|
|
31
|
+
:where(h2), good-heading-2 { font-size: var(--good-typography-heading-level-2-font-size); font-weight: var(--good-typography-heading-level-2-font-weight); letter-spacing: var(--good-typography-heading-level-2-letter-spacing); }
|
|
32
|
+
:where(h3), good-heading-3 { font-size: var(--good-typography-heading-level-3-font-size); font-weight: var(--good-typography-heading-level-3-font-weight); letter-spacing: var(--good-typography-heading-level-3-letter-spacing); }
|
|
33
|
+
:where(h4), good-heading-4 { font-size: var(--good-typography-heading-level-4-font-size); font-weight: var(--good-typography-heading-level-4-font-weight); letter-spacing: var(--good-typography-heading-level-4-letter-spacing); }
|
|
34
|
+
:where(h5), good-heading-5 { font-size: var(--good-typography-heading-level-5-font-size); font-weight: var(--good-typography-heading-level-5-font-weight); letter-spacing: var(--good-typography-heading-level-5-letter-spacing); }
|
|
35
|
+
:where(h6), good-heading-6 { font-size: var(--good-typography-heading-level-6-font-size); font-weight: var(--good-typography-heading-level-6-font-weight); letter-spacing: var(--good-typography-heading-level-6-letter-spacing); }
|
|
36
|
+
:where([role="heading"][aria-level="7"]), good-heading-7 { font-size: var(--good-typography-heading-level-7-font-size); font-weight: var(--good-typography-heading-level-7-font-weight); letter-spacing: var(--good-typography-heading-level-7-letter-spacing); }
|
|
28
37
|
|
|
29
38
|
.good-heading-group { display: flex; flex-direction: column; align-items: flex-start; gap: var(--good-typography-heading-eyebrow-gap); min-width: 0; font-family: var(--good-typography-font-family), ui-sans-serif, system-ui, sans-serif; }
|
|
30
39
|
.good-heading-group-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--good-typography-heading-summary-gap); min-width: 0; }
|
|
@@ -32,13 +41,17 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
32
41
|
.good-eyebrow, .good-heading, .good-summary, .good-paragraph, .good-subheading, .good-citation, .good-field-label, .good-hint, .good-error-text { display: block; min-width: 0; font-family: var(--good-typography-font-family), ui-sans-serif, system-ui, sans-serif; }
|
|
33
42
|
.good-eyebrow { color: var(--good-typography-eyebrow-brand-color); font-size: var(--good-typography-eyebrow-font-size); font-weight: var(--good-typography-eyebrow-font-weight); line-height: 1.4; text-transform: uppercase; }
|
|
34
43
|
.good-eyebrow[data-appearance="mono"] { color: var(--good-typography-eyebrow-mono-color); }
|
|
35
|
-
.good-heading :is(h1,h2,h3,h4,h5,h6) { margin: 0; color: var(--good-typography-heading-color); font-size: var(--good-typography-heading-font-size); font-weight: var(--good-typography-heading-font-weight); line-height: 1.4; }
|
|
36
|
-
.good-heading h1 { font-size: var(--good-typography-heading-level-1-font-size); font-weight: var(--good-typography-heading-level-1-font-weight); }
|
|
37
44
|
.good-summary p { margin: 0; color: var(--good-typography-summary-color); font-size: var(--good-typography-summary-font-size); font-weight: var(--good-typography-summary-font-weight); letter-spacing: var(--good-typography-summary-letter-spacing); line-height: 1.5; }
|
|
38
45
|
.good-section { display: block; width: 100%; max-width: var(--good-typography-section-max-width); min-width: 0; margin-inline: auto; }
|
|
39
46
|
.good-section + .good-section { margin-block-start: var(--good-typography-flow-section-gap); }
|
|
40
47
|
.good-section > section { display: flex; flex-direction: column; align-items: stretch; gap: var(--good-typography-paragraph-subheading-gap); min-width: 0; }
|
|
41
48
|
.good-section > section > .good-heading-group + * { margin-block-start: var(--good-typography-heading-content-gap); }
|
|
49
|
+
/* Section owns spacing between content blocks; text and controls retain their own inner rhythm. */
|
|
50
|
+
.good-section[data-spacing="content"] > section { gap: 0; }
|
|
51
|
+
.good-section[data-spacing="content"] > section > * + * { margin-block-start: var(--good-typography-section-content-block-gap); }
|
|
52
|
+
.good-section[data-spacing="content"] > section > :is(.good-subheading, .good-heading, h1, h2, h3, h4, h5, h6, [role="heading"], .good-heading-group):not(:first-child) { margin-block-start: var(--good-typography-section-content-subsection-gap); }
|
|
53
|
+
.good-section[data-spacing="content"] > section > :is(.good-subheading, .good-heading, h1, h2, h3, h4, h5, h6, [role="heading"]) + * { margin-block-start: var(--good-typography-section-content-heading-gap); }
|
|
54
|
+
.good-section[data-spacing="content"] + .good-section[data-spacing="content"] { margin-block-start: var(--good-typography-section-content-section-gap); }
|
|
42
55
|
.good-prose { display: flex; flex-direction: column; align-items: stretch; min-width: 0; max-width: var(--good-typography-flow-max-width); }
|
|
43
56
|
.good-detail-list { display: block; width: 100%; min-width: 0; font-family: var(--good-typography-font-family), ui-sans-serif, system-ui, sans-serif; }
|
|
44
57
|
.good-detail-list dl { display: grid; gap: var(--good-space-2); margin: 0; }
|
|
@@ -65,14 +78,13 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
65
78
|
@container (min-width: 1280px) { .good-column[data-visible-xl="false"] { display: none; } }
|
|
66
79
|
.good-paragraph { margin: 0; }
|
|
67
80
|
.good-prose > * + * { margin-block-start: var(--good-typography-flow-gap); }
|
|
68
|
-
.good-prose > good-link + good-heading { margin-block-start: var(--good-space-4); }
|
|
69
|
-
.good-prose > good-heading + good-paragraph { margin-block-start: var(--good-space-2); }
|
|
70
|
-
.good-prose > * + good-subheading { margin-block-start: var(--good-typography-flow-section-gap); }
|
|
71
|
-
.good-prose > good-subheading + good-paragraph { margin-block-start: var(--good-typography-paragraph-subheading-gap); }
|
|
81
|
+
.good-prose > good-link + .good-heading { margin-block-start: var(--good-space-4); }
|
|
82
|
+
.good-prose > .good-heading + good-paragraph { margin-block-start: var(--good-space-2); }
|
|
83
|
+
.good-prose > * + :is(.good-subheading, .good-heading, h1, h2, h3, h4, h5, h6, [role="heading"]) { margin-block-start: var(--good-typography-flow-section-gap); }
|
|
84
|
+
.good-prose > :is(.good-subheading, .good-heading, h1, h2, h3, h4, h5, h6, [role="heading"]) + good-paragraph { margin-block-start: var(--good-typography-paragraph-subheading-gap); }
|
|
72
85
|
.good-prose > * + good-separator { margin-block-start: var(--good-typography-separator-before-gap); }
|
|
73
86
|
.good-prose > good-separator + * { margin-block-start: var(--good-typography-separator-after-gap); }
|
|
74
87
|
.good-paragraph p { margin: 0; color: var(--good-typography-paragraph-color); font-size: var(--good-typography-paragraph-font-size); font-weight: var(--good-typography-paragraph-font-weight); line-height: 1.65; overflow-wrap: break-word; }
|
|
75
|
-
.good-subheading :is(h2,h3,h4,h5,h6) { margin: 0; color: var(--good-typography-subheading-color); font-size: var(--good-typography-subheading-font-size); font-weight: var(--good-typography-subheading-font-weight); line-height: 1.4; }
|
|
76
88
|
.good-citation blockquote { margin: 0; color: var(--good-typography-citation-color); font-size: var(--good-typography-citation-font-size); font-style: italic; line-height: 1.6; }
|
|
77
89
|
.good-citation cite { display: block; margin-top: var(--good-typography-citation-source-gap); color: var(--good-typography-caption-color); font-size: var(--good-typography-caption-font-size); font-style: normal; }
|
|
78
90
|
.good-separator { display: flex; align-items: center; justify-content: center; min-width: 0; }
|
|
@@ -358,20 +370,20 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
358
370
|
.good-icon svg { width: 100%; height: 100%; }
|
|
359
371
|
.good-brand-mark { display: inline-block; width: 8px; height: 20px; background: var(--good-accent); border-radius: 2px; flex: none; }
|
|
360
372
|
|
|
361
|
-
.good-app-
|
|
373
|
+
.good-app-shell { display: flex; width: 100%; height: 100dvh; min-height: 480px; overflow: hidden; background: var(--good-canvas); color: var(--good-text); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
|
|
362
374
|
.good-app-main { min-width: 0; min-height: 0; flex: 1; display: flex; flex-direction: column; }
|
|
363
375
|
.good-app-page { min-width: 0; min-height: 0; flex: 1; overflow: auto; }
|
|
364
376
|
.good-app-page:has(.good-main-view[data-layout="fill"]) { overflow: hidden; }
|
|
365
377
|
.good-app-page:has(.good-main-view[data-layout="fill"]) > :not(router-outlet) { display: flex; flex-direction: column; height: 100%; min-height: 0; }
|
|
366
378
|
|
|
367
|
-
.good-sidebar
|
|
379
|
+
.good-sidebar { display: flex; flex-direction: column; flex: none; width: var(--good-size-sidebar); min-height: 0; height: 100%; background: var(--good-surface); border-right: 1px solid var(--good-border); }
|
|
368
380
|
.good-sidebar-brand { display: flex; align-items: center; gap: 6px; flex: none; height: var(--good-size-topbar); padding: 0 24px; }
|
|
369
381
|
.good-brand-name { font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -.025em; }
|
|
370
382
|
.good-brand-logo { display: block; width: auto; max-width: 100%; height: 35px; object-fit: contain; object-position: left center; }
|
|
371
383
|
.good-brand-logo-dark { display: none; }
|
|
372
384
|
[data-theme="dark"] .good-has-dark-logo .good-brand-logo-light { display: none; }
|
|
373
385
|
[data-theme="dark"] .good-has-dark-logo .good-brand-logo-dark { display: block; }
|
|
374
|
-
.good-sidebar-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 30px 24px 20px; scrollbar-width: thin; }
|
|
386
|
+
.good-sidebar-scroll { display: flex; flex-direction: column; gap: var(--good-space-1); flex: 1; min-height: 0; overflow-y: auto; padding: 20px 30px 24px 20px; scrollbar-width: thin; }
|
|
375
387
|
.good-sidebar-menu-container { display: block; margin-bottom: 20px; }
|
|
376
388
|
.good-sidebar-heading { margin: 0 0 var(--good-sidebar-menu-gap); color: var(--good-muted); font-size: 12px; font-weight: 500; line-height: 20px; text-transform: uppercase; }
|
|
377
389
|
.good-sidebar-items { display: flex; flex-direction: column; gap: 4px; }
|
|
@@ -397,27 +409,27 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
397
409
|
.good-submenu-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--good-border); }
|
|
398
410
|
.good-submenu-link.good-is-active .good-submenu-dot { background: var(--good-accent); }
|
|
399
411
|
|
|
400
|
-
.good-
|
|
412
|
+
.good-app-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: none; height: var(--good-size-topbar); padding: 0 var(--good-topbar-padding-inline); border-bottom: 1px solid var(--good-border); background: var(--good-surface); }
|
|
401
413
|
.good-topbar-left { display: flex; align-items: center; min-width: 0; height: 100%; gap: 18px; }
|
|
402
414
|
.good-brand-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; }
|
|
403
415
|
.good-brand-icon-art { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
|
|
404
416
|
.good-brand-icon .good-brand-logo { width: 30px; height: 28px; }
|
|
405
417
|
.good-mobile-brand-icon { display: none; }
|
|
406
|
-
.good-
|
|
407
|
-
.good-
|
|
418
|
+
.good-header-menu { position: relative; display: flex; align-items: center; min-width: 0; height: 100%; }
|
|
419
|
+
.good-header-menu-items { display: flex; align-items: center; min-width: 0; height: 100%; gap: 26px; }
|
|
408
420
|
.good-topbar-mobile-trigger.good-action-button { display: none; }
|
|
409
|
-
.good-
|
|
421
|
+
.good-header-menu-item { position: relative; display: inline-flex; align-items: center; height: 100%; }
|
|
410
422
|
.good-topbar-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 0; border: 0; background: transparent; color: var(--good-text); font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; }
|
|
411
423
|
.good-topbar-link:hover, .good-topbar-link.good-is-active { color: var(--good-accent); }
|
|
412
424
|
.good-topbar-link .good-icon { width: 13px; height: 13px; }
|
|
413
|
-
.good-
|
|
414
|
-
.good-
|
|
425
|
+
.good-header-menu-item > button > .good-icon { display: none; }
|
|
426
|
+
.good-header-menu-item > .good-header-dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 30; }
|
|
415
427
|
.good-dropdown-panel { box-sizing: border-box; width: 220px; padding: 10px 8px; border: 1px solid var(--good-border); border-radius: var(--good-radius-control); background: var(--good-surface); box-shadow: 0 4px 6px -1px #0000000d, 0 2px 4px -2px #0000000d; }
|
|
416
428
|
.good-dropdown-entry { position: relative; width: 100%; }
|
|
417
429
|
.good-dropdown-entry + .good-dropdown-entry { margin-top: 2px; }
|
|
418
430
|
.good-dropdown-separated { margin-top: 21px !important; }
|
|
419
431
|
.good-dropdown-separated::before { position: absolute; top: -11px; left: -9px; right: -9px; height: 1px; background: var(--good-border); content: ''; }
|
|
420
|
-
.good-
|
|
432
|
+
.good-header-dropdown-item { display: block; width: 100%; }
|
|
421
433
|
.good-dropdown-link { box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 8px; border: 0; border-radius: var(--good-radius-control); background: transparent; color: var(--good-text); font: inherit; font-size: 13px; line-height: 18px; text-align: left; text-decoration: none; cursor: pointer; }
|
|
422
434
|
.good-dropdown-link > .good-icon { width: 17px; height: 17px; color: var(--good-icon); }
|
|
423
435
|
.good-dropdown-link > .good-icon:last-child:not(:first-child) { width: 14px; height: 14px; }
|
|
@@ -425,17 +437,28 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
425
437
|
.good-dropdown-link:hover, .good-dropdown-link.good-is-open { background: var(--good-selected); }
|
|
426
438
|
.good-dropdown-link.good-is-active { color: var(--good-accent); }
|
|
427
439
|
.good-dropdown-link:focus-visible, .good-topbar-link:focus-visible { outline: 2px solid var(--good-accent); outline-offset: 2px; }
|
|
428
|
-
.good-
|
|
429
|
-
.good-
|
|
430
|
-
.good-
|
|
431
|
-
.good-
|
|
432
|
-
.good-
|
|
440
|
+
.good-header-submenu { position: absolute; top: 0; left: calc(100% + 13px); z-index: 31; display: block; }
|
|
441
|
+
.good-header-submenu::before { position: absolute; top: 0; right: 100%; width: 13px; height: 100%; content: ''; }
|
|
442
|
+
.good-header-submenu.good-submenu-flipped { left: auto; right: calc(100% + 13px); }
|
|
443
|
+
.good-header-submenu.good-submenu-flipped::before { right: auto; left: 100%; }
|
|
444
|
+
.good-header-submenu .good-dropdown-panel { width: 218px; padding: 8px; }
|
|
433
445
|
.good-mobile-menu-button, .good-mobile-brand { display: none !important; }
|
|
434
446
|
|
|
435
|
-
.good-
|
|
436
|
-
.good-search, .good-
|
|
447
|
+
.good-header-actions { display: flex; align-items: center; gap: var(--good-main-menu-gap); flex: none; }
|
|
448
|
+
.good-header-search, .good-header-notification, .good-header-themetoggle, .good-settings, .good-header-avatar { position: relative; display: inline-flex; }
|
|
437
449
|
.good-action-button, .good-avatar-button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--good-control-action-size); height: var(--good-control-action-size); padding: 0; border: 0; border-radius: var(--good-radius-action); background: transparent; color: var(--good-icon); cursor: pointer; }
|
|
438
450
|
.good-action-button:hover, .good-avatar-button:hover { background: var(--good-selected); color: var(--good-text); }
|
|
451
|
+
.good-action-button.good-header-search-hotkey { width: var(--good-header-search-width); height: var(--good-header-search-height); justify-content: flex-start; gap: var(--good-header-search-gap); padding-inline: var(--good-header-search-padding); border-radius: var(--good-header-search-radius); background: var(--good-header-search-background); color: var(--good-header-search-foreground); font: inherit; font-size: var(--good-typography-paragraph-font-size); }
|
|
452
|
+
.good-header-search-hotkey > good-icon { width: var(--good-header-search-icon-size); height: var(--good-header-search-icon-size); flex: none; }
|
|
453
|
+
.good-header-search-label { flex: 1; text-align: left; }
|
|
454
|
+
.good-header-search-shortcut { display: inline-flex; align-items: center; justify-content: center; flex: none; height: var(--good-header-search-shortcut-height); padding-inline: var(--good-header-search-shortcut-padding); border: 1px solid var(--good-header-search-shortcut-border); border-radius: var(--good-header-search-shortcut-radius); background: var(--good-header-search-shortcut-background); font: inherit; font-size: var(--good-header-search-shortcut-font-size); white-space: nowrap; }
|
|
455
|
+
.good-action-button.good-header-search-hotkey:hover { color: var(--good-text); }
|
|
456
|
+
.good-action-button.good-header-search-hotkey:focus-visible { outline: 2px solid var(--good-accent); outline-offset: 2px; }
|
|
457
|
+
@media (max-width: 1200px) {
|
|
458
|
+
.good-action-button.good-header-search-hotkey { width: var(--good-control-action-size); height: var(--good-control-action-size); padding: 0; justify-content: center; border-radius: var(--good-radius-action); background: transparent; }
|
|
459
|
+
.good-header-search-label, .good-header-search-shortcut { display: none; }
|
|
460
|
+
.good-action-button.good-header-search-hotkey:hover { background: var(--good-selected); }
|
|
461
|
+
}
|
|
439
462
|
.good-avatar-button { overflow: hidden; background: var(--good-selected); color: var(--good-text); font-size: 11px; font-weight: 700; }
|
|
440
463
|
.good-avatar-button img { width: 100%; height: 100%; object-fit: cover; }
|
|
441
464
|
.good-notification-count { position: absolute; top: calc(-1 * var(--good-space-1)); right: calc(-1 * var(--good-space-1)); z-index: 1; pointer-events: none; }
|
|
@@ -1013,57 +1036,60 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
1013
1036
|
.good-main-view[data-layout="page"]:has(> .good-main-view-content > .good-section) > :is(.good-main-view-heading, .good-main-view-content) { width: 100%; max-width: var(--good-typography-section-max-width); margin-inline: auto; }
|
|
1014
1037
|
.good-main-view-content { min-width: 0; flex: 1; }
|
|
1015
1038
|
|
|
1016
|
-
.good-sidebar
|
|
1017
|
-
.good-sidebar-
|
|
1018
|
-
.good-sidebar-drawer
|
|
1019
|
-
.good-sidebar
|
|
1020
|
-
.good-sidebar-
|
|
1021
|
-
.good-sidebar-drawer .good-brand-logo { height: 32px; }
|
|
1039
|
+
.good-shell-sidebar { position: static; display: flex; flex-direction: column; flex: none; width: var(--good-size-sidebar); height: 100%; max-width: none; max-height: none; min-height: 0; margin: 0; padding: 0; border: 0; background: var(--good-surface); color: var(--good-text); overflow: hidden; }
|
|
1040
|
+
.good-shell-sidebar > .good-sidebar { width: 100%; flex: 1; min-height: 0; height: auto; }
|
|
1041
|
+
.good-shell-sidebar > .good-drawer-close { display: none; }
|
|
1042
|
+
.good-shell-without-sidebar > .good-shell-sidebar { display: none; }
|
|
1043
|
+
.good-shell-sidebar::backdrop { background: color-mix(in srgb, var(--good-overlay) 35%, transparent); }
|
|
1022
1044
|
.good-drawer-topbar-nav { flex: 0 1 auto; min-height: 0; max-height: 48dvh; overflow-y: auto; padding: 12px 20px; border-top: 1px solid var(--good-border); }
|
|
1023
1045
|
.good-drawer-topbar-nav strong { display: block; margin-bottom: 6px; color: var(--good-muted); font-size: 12px; font-weight: 500; text-transform: uppercase; }
|
|
1024
|
-
.good-drawer-topbar-nav .good-
|
|
1025
|
-
.good-drawer-topbar-nav .good-
|
|
1026
|
-
.good-drawer-topbar-nav .good-
|
|
1046
|
+
.good-drawer-topbar-nav .good-header-menu { display: block; height: auto; }
|
|
1047
|
+
.good-drawer-topbar-nav .good-header-menu-items { display: flex; flex-direction: column; align-items: stretch; height: auto; gap: 2px; }
|
|
1048
|
+
.good-drawer-topbar-nav .good-header-menu-item { display: block; width: 100%; height: auto; }
|
|
1027
1049
|
.good-drawer-topbar-nav .good-topbar-link { box-sizing: border-box; width: 100%; padding: 8px; border-radius: var(--good-radius-item); }
|
|
1028
1050
|
.good-drawer-topbar-nav .good-topbar-link:hover { background: var(--good-selected); }
|
|
1029
|
-
.good-drawer-topbar-nav .good-
|
|
1030
|
-
.good-drawer-topbar-nav .good-
|
|
1051
|
+
.good-drawer-topbar-nav .good-header-menu-item > button > .good-icon { display: inline-flex; margin-left: auto; }
|
|
1052
|
+
.good-drawer-topbar-nav .good-header-menu-item > .good-header-dropdown-menu { position: static; display: block; width: 100%; }
|
|
1031
1053
|
.good-drawer-topbar-nav .good-dropdown-panel { width: 100%; padding: 2px 0 2px 10px; border: 0; box-shadow: none; background: transparent; }
|
|
1032
|
-
.good-drawer-topbar-nav .good-
|
|
1033
|
-
.good-drawer-topbar-nav .good-
|
|
1034
|
-
.good-drawer-topbar-nav .good-
|
|
1054
|
+
.good-drawer-topbar-nav .good-header-submenu, .good-drawer-topbar-nav .good-header-submenu.good-submenu-flipped { position: static; display: block; width: 100%; }
|
|
1055
|
+
.good-drawer-topbar-nav .good-header-submenu::before { display: none; }
|
|
1056
|
+
.good-drawer-topbar-nav .good-header-submenu .good-dropdown-panel { width: 100%; padding-left: 12px; }
|
|
1035
1057
|
.good-drawer-topbar-nav .good-dropdown-label { white-space: normal; }
|
|
1036
1058
|
.good-drawer-close { flex: none; margin: 8px 20px 14px; padding: 8px; border: 1px solid var(--good-border); border-radius: var(--good-radius-item); background: var(--good-surface); color: var(--good-text); cursor: pointer; }
|
|
1037
1059
|
|
|
1038
1060
|
@media (max-width: 1050px) {
|
|
1039
|
-
.good-
|
|
1040
|
-
.good-
|
|
1061
|
+
.good-header-menu-items { gap: 14px; }
|
|
1062
|
+
.good-app-header { padding: 0 20px; }
|
|
1041
1063
|
}
|
|
1042
1064
|
@media (max-width: 900px) {
|
|
1043
|
-
.good-
|
|
1044
|
-
.good-
|
|
1045
|
-
.good-
|
|
1046
|
-
.good-
|
|
1047
|
-
.good-
|
|
1048
|
-
.good-
|
|
1049
|
-
.good-
|
|
1065
|
+
.good-shell-sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: min(280px, 90vw); height: 100dvh; max-height: 100dvh; }
|
|
1066
|
+
.good-shell-sidebar:modal { display: flex; }
|
|
1067
|
+
.good-shell-sidebar:modal > .good-drawer-close { display: block; }
|
|
1068
|
+
.good-shell-sidebar .good-sidebar-brand { padding-left: 32px; }
|
|
1069
|
+
.good-shell-sidebar .good-brand-logo { height: 32px; }
|
|
1070
|
+
.good-app-header { height: var(--good-size-topbar-mobile); padding: 0 16px; }
|
|
1071
|
+
.good-header-menu[data-mobile-mode="hidden"]:not(.good-drawer-topbar-nav .good-header-menu) { display: none; }
|
|
1072
|
+
.good-header-menu[data-mobile-mode="popup"] { display: flex; flex: none; }
|
|
1073
|
+
.good-header-menu[data-mobile-mode="popup"] > .good-topbar-mobile-trigger.good-action-button { display: inline-flex; }
|
|
1074
|
+
.good-header-menu[data-mobile-mode="popup"] > .good-header-menu-items { display: none; }
|
|
1075
|
+
.good-header-menu[data-mobile-mode="popup"] > .good-header-menu-items.good-header-menu-popup-open {
|
|
1050
1076
|
position: fixed; top: calc(var(--good-size-topbar-mobile) + 6px); left: 16px; z-index: 60;
|
|
1051
1077
|
display: flex; flex-direction: column; align-items: stretch; width: min(320px, calc(100vw - 32px)); height: auto;
|
|
1052
1078
|
max-height: min(70dvh, 560px); overflow-y: auto; gap: 2px; padding: 8px;
|
|
1053
1079
|
border: 1px solid var(--good-border); border-radius: var(--good-radius-card); background: var(--good-surface);
|
|
1054
1080
|
box-shadow: 0 12px 30px #0002;
|
|
1055
1081
|
}
|
|
1056
|
-
.good-
|
|
1057
|
-
.good-
|
|
1058
|
-
.good-
|
|
1059
|
-
.good-
|
|
1060
|
-
.good-
|
|
1061
|
-
.good-
|
|
1062
|
-
.good-
|
|
1063
|
-
.good-
|
|
1064
|
-
.good-
|
|
1065
|
-
.good-
|
|
1066
|
-
.good-
|
|
1082
|
+
.good-header-menu-popup-open .good-header-menu-item { display: block; width: 100%; height: auto; }
|
|
1083
|
+
.good-header-menu-popup-open .good-topbar-link { box-sizing: border-box; width: 100%; min-height: 40px; padding: 8px; border-radius: var(--good-radius-item); }
|
|
1084
|
+
.good-header-menu-popup-open .good-topbar-link:hover { background: var(--good-selected); }
|
|
1085
|
+
.good-header-menu-popup-open .good-header-menu-item > button > .good-icon { display: inline-flex; margin-left: auto; }
|
|
1086
|
+
.good-header-menu-popup-open .good-header-menu-item > .good-header-dropdown-menu { position: static; display: block; width: 100%; }
|
|
1087
|
+
.good-header-menu-popup-open .good-dropdown-panel { width: 100%; padding: 2px 0 2px 10px; border: 0; box-shadow: none; background: transparent; }
|
|
1088
|
+
.good-header-menu-popup-open .good-header-submenu, .good-header-menu-popup-open .good-header-submenu.good-submenu-flipped { position: static; display: block; width: 100%; }
|
|
1089
|
+
.good-header-menu-popup-open .good-header-submenu::before { display: none; }
|
|
1090
|
+
.good-header-menu-popup-open .good-header-submenu .good-dropdown-panel { width: 100%; padding-left: 12px; }
|
|
1091
|
+
.good-header-menu-popup-open .good-dropdown-label { white-space: normal; }
|
|
1092
|
+
.good-app-header[data-mobile-menu="popup"] { gap: 4px; }
|
|
1067
1093
|
.good-topbar-left { gap: 8px; }
|
|
1068
1094
|
.good-topbar-left > .good-desktop-brand-icon { display: none; }
|
|
1069
1095
|
.good-topbar-left > .good-mobile-brand-icon { display: inline-flex; }
|
|
@@ -1076,10 +1102,10 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
1076
1102
|
.good-subnav-track { gap: 8px; padding: 0 24px; }
|
|
1077
1103
|
.good-subnav-actions { padding: 0 24px 0 8px; }
|
|
1078
1104
|
.good-subnav-link, .good-subnav-chevron { min-height: 44px; }
|
|
1079
|
-
.good-
|
|
1105
|
+
.good-header-actions { gap: 4px; }
|
|
1080
1106
|
}
|
|
1081
1107
|
@media (max-width: 360px) {
|
|
1082
|
-
.good-
|
|
1108
|
+
.good-app-header[data-mobile-menu="popup"] .good-mobile-brand { display: none !important; }
|
|
1083
1109
|
}
|
|
1084
1110
|
|
|
1085
1111
|
.good-world-map { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--good-color-border); border-radius: var(--good-radius-card); background: var(--good-color-surface); color: var(--good-color-text); }
|
|
@@ -1103,3 +1129,11 @@ good-heading-group, good-eyebrow, good-heading, good-summary, good-section, good
|
|
|
1103
1129
|
.good-world-map-scale { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; padding: 8px 16px; border-top: 1px solid var(--good-color-border); color: var(--good-color-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
|
|
1104
1130
|
.good-world-map-scale-label { margin-right: auto; color: var(--good-color-text); font-weight: 600; }
|
|
1105
1131
|
.good-world-map-scale-ramp { display: block; flex: 1 1 100px; max-width: 180px; min-width: 64px; height: 10px; border: 1px solid var(--good-color-border); border-radius: var(--good-radius-pill); }
|
|
1132
|
+
|
|
1133
|
+
.good-main-view-heading-content { min-width: 0; flex: 1; }
|
|
1134
|
+
|
|
1135
|
+
.good-sidebar-scroll > .good-sidebar-menu-container { flex: none; margin-bottom: var(--good-space-4); }
|
|
1136
|
+
.good-sidebar-scroll > .good-sidebar-item { flex: none; }
|
|
1137
|
+
|
|
1138
|
+
.good-sidebar-item > button.good-submenu-link { width: 100%; border: 0; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
|
|
1139
|
+
.good-sidebar-item > .good-submenu-link .good-icon { width: 16px; height: 16px; color: var(--good-icon); }
|
|
@@ -331,16 +331,35 @@
|
|
|
331
331
|
--good-action-group-gap-default: var(--good-space-3);
|
|
332
332
|
--good-action-group-gap-large: var(--good-space-4);
|
|
333
333
|
--good-typography-font-family: Inter;
|
|
334
|
-
--good-typography-heading-font-size:
|
|
335
|
-
--good-typography-heading-font-weight:
|
|
336
|
-
--good-typography-heading-level-1-font-weight:
|
|
337
|
-
--good-typography-heading-level-1-font-size:
|
|
334
|
+
--good-typography-heading-font-size: 26px;
|
|
335
|
+
--good-typography-heading-font-weight: 800;
|
|
336
|
+
--good-typography-heading-level-1-font-weight: 1000;
|
|
337
|
+
--good-typography-heading-level-1-font-size: 28px;
|
|
338
338
|
--good-typography-heading-level-1-after-gap: 16px;
|
|
339
339
|
--good-typography-heading-eyebrow-gap: var(--good-space-2);
|
|
340
340
|
--good-typography-heading-summary-gap: var(--good-space-1);
|
|
341
341
|
--good-typography-heading-color: var(--good-color-text);
|
|
342
342
|
--good-typography-heading-content-gap: var(--good-typography-heading-level-1-after-gap);
|
|
343
343
|
--good-typography-heading-actions-gap: var(--good-space-6);
|
|
344
|
+
--good-typography-heading-level-1-letter-spacing: -0.7px;
|
|
345
|
+
--good-typography-heading-level-2-font-size: var(--good-typography-heading-font-size);
|
|
346
|
+
--good-typography-heading-level-2-font-weight: var(--good-typography-heading-font-weight);
|
|
347
|
+
--good-typography-heading-level-2-letter-spacing: -0.52px;
|
|
348
|
+
--good-typography-heading-level-3-font-size: var(--good-typography-subheading-font-size);
|
|
349
|
+
--good-typography-heading-level-3-font-weight: var(--good-typography-subheading-font-weight);
|
|
350
|
+
--good-typography-heading-level-3-letter-spacing: -0.36px;
|
|
351
|
+
--good-typography-heading-level-4-font-size: 22px;
|
|
352
|
+
--good-typography-heading-level-4-font-weight: 700;
|
|
353
|
+
--good-typography-heading-level-4-letter-spacing: -0.22px;
|
|
354
|
+
--good-typography-heading-level-5-font-size: 20px;
|
|
355
|
+
--good-typography-heading-level-5-font-weight: 600;
|
|
356
|
+
--good-typography-heading-level-5-letter-spacing: 0px;
|
|
357
|
+
--good-typography-heading-level-6-font-size: 18px;
|
|
358
|
+
--good-typography-heading-level-6-font-weight: 600;
|
|
359
|
+
--good-typography-heading-level-6-letter-spacing: 0px;
|
|
360
|
+
--good-typography-heading-level-7-font-size: 16px;
|
|
361
|
+
--good-typography-heading-level-7-font-weight: 600;
|
|
362
|
+
--good-typography-heading-level-7-letter-spacing: 0px;
|
|
344
363
|
--good-typography-eyebrow-font-size: 12px;
|
|
345
364
|
--good-typography-eyebrow-font-weight: 600;
|
|
346
365
|
--good-typography-eyebrow-brand-color: var(--good-color-accent);
|
|
@@ -354,8 +373,8 @@
|
|
|
354
373
|
--good-typography-paragraph-after-gap: var(--good-space-5);
|
|
355
374
|
--good-typography-paragraph-subheading-gap: var(--good-space-2);
|
|
356
375
|
--good-typography-paragraph-color: var(--good-color-text);
|
|
357
|
-
--good-typography-subheading-font-size:
|
|
358
|
-
--good-typography-subheading-font-weight:
|
|
376
|
+
--good-typography-subheading-font-size: 24px;
|
|
377
|
+
--good-typography-subheading-font-weight: 700;
|
|
359
378
|
--good-typography-subheading-color: var(--good-color-text);
|
|
360
379
|
--good-typography-citation-font-size: 14px;
|
|
361
380
|
--good-typography-citation-color: var(--good-color-muted);
|
|
@@ -372,6 +391,10 @@
|
|
|
372
391
|
--good-typography-flow-gap: var(--good-typography-paragraph-after-gap);
|
|
373
392
|
--good-typography-flow-section-gap: var(--good-space-6);
|
|
374
393
|
--good-typography-flow-max-width: 760px;
|
|
394
|
+
--good-typography-section-content-block-gap: var(--good-space-6);
|
|
395
|
+
--good-typography-section-content-heading-gap: var(--good-space-3);
|
|
396
|
+
--good-typography-section-content-subsection-gap: 40px;
|
|
397
|
+
--good-typography-section-content-section-gap: 48px;
|
|
375
398
|
--good-typography-section-max-width: 1024px;
|
|
376
399
|
--good-typography-separator-before-gap: var(--good-space-6);
|
|
377
400
|
--good-typography-separator-after-gap: var(--good-space-2);
|
|
@@ -623,6 +646,20 @@
|
|
|
623
646
|
--good-progress-height-large: 14px;
|
|
624
647
|
--good-progress-segment-width: 14px;
|
|
625
648
|
--good-progress-segment-gap: 3px;
|
|
649
|
+
--good-header-search-width: 320px;
|
|
650
|
+
--good-header-search-height: var(--good-control-input-height-default);
|
|
651
|
+
--good-header-search-icon-size: 20px;
|
|
652
|
+
--good-header-search-radius: var(--good-radius-control);
|
|
653
|
+
--good-header-search-padding: var(--good-space-3);
|
|
654
|
+
--good-header-search-gap: var(--good-space-3);
|
|
655
|
+
--good-header-search-background: var(--good-color-selected);
|
|
656
|
+
--good-header-search-foreground: var(--good-color-muted);
|
|
657
|
+
--good-header-search-shortcut-height: 24px;
|
|
658
|
+
--good-header-search-shortcut-padding: var(--good-space-2);
|
|
659
|
+
--good-header-search-shortcut-radius: var(--good-radius-compact);
|
|
660
|
+
--good-header-search-shortcut-font-size: var(--good-typography-caption-font-size);
|
|
661
|
+
--good-header-search-shortcut-background: var(--good-color-surface);
|
|
662
|
+
--good-header-search-shortcut-border: var(--good-color-border);
|
|
626
663
|
--good-canvas: var(--good-color-canvas);
|
|
627
664
|
--good-surface: var(--good-color-surface);
|
|
628
665
|
--good-text: var(--good-color-text);
|