@dataengineeringformachinelearning/viking-ui 1.0.2 → 3.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +217 -38
- package/dist/core/brand-icons.d.ts +29 -0
- package/dist/core/icons.d.ts +132 -0
- package/dist/core/integration-brand-icons.d.ts +18 -0
- package/dist/core/lucide-paths.generated.d.ts +90 -0
- package/dist/core/types.d.ts +56 -0
- package/dist/core/uid.d.ts +2 -0
- package/dist/deml-components.css +1122 -0
- package/dist/design-tokens.css +688 -0
- package/dist/elements/button/viking-button.d.ts +14 -0
- package/dist/elements/card/viking-card.d.ts +8 -0
- package/dist/elements/core/dom.d.ts +4 -0
- package/dist/elements/core/styles.d.ts +2 -0
- package/dist/elements/modal/viking-modal.d.ts +15 -0
- package/dist/fonts/inter/InterVariable-Italic.woff2 +0 -0
- package/dist/fonts/inter/InterVariable.woff2 +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4051 -0
- package/dist/lib/accordion/accordion.d.ts +19 -0
- package/dist/lib/app-header/app-header.d.ts +8 -0
- package/dist/lib/app-sidebar/app-sidebar.d.ts +10 -0
- package/dist/lib/auth-panel/auth-panel.d.ts +13 -0
- package/dist/lib/autocomplete/autocomplete.d.ts +25 -0
- package/dist/lib/avatar/avatar.d.ts +14 -0
- package/dist/lib/badge/badge.d.ts +16 -0
- package/dist/lib/bar/bar.d.ts +4 -0
- package/dist/lib/brand/brand.d.ts +8 -0
- package/dist/lib/breadcrumbs/breadcrumbs.d.ts +10 -0
- package/dist/lib/button/button-group.d.ts +6 -0
- package/dist/lib/button/button.d.ts +25 -0
- package/dist/lib/calendar/calendar.d.ts +22 -0
- package/dist/lib/callout/callout.d.ts +14 -0
- package/dist/lib/card/card-title.d.ts +12 -0
- package/dist/lib/card/card.d.ts +19 -0
- package/dist/lib/carousel/carousel.d.ts +13 -0
- package/dist/lib/chart/chart-zoom.d.ts +14 -0
- package/dist/lib/chart/chart.d.ts +119 -0
- package/dist/lib/chart-card-header/chart-card-header.d.ts +10 -0
- package/dist/lib/chart-empty-state/chart-empty-state.d.ts +13 -0
- package/dist/lib/chart-panel/chart-panel.d.ts +10 -0
- package/dist/lib/checkbox/checkbox.d.ts +13 -0
- package/dist/lib/color-picker/color-picker.d.ts +16 -0
- package/dist/lib/command/command.d.ts +23 -0
- package/dist/lib/composer/composer.d.ts +15 -0
- package/dist/lib/confirm-dialog/confirm-dialog.d.ts +18 -0
- package/dist/lib/confirm-dialog/dialog.service.d.ts +28 -0
- package/dist/lib/context/context.d.ts +17 -0
- package/dist/lib/core/brand-icons.d.ts +29 -0
- package/dist/lib/core/cva.d.ts +15 -0
- package/dist/lib/core/icons.d.ts +132 -0
- package/dist/lib/core/integration-brand-icons.d.ts +18 -0
- package/dist/lib/core/lucide-paths.generated.d.ts +90 -0
- package/dist/lib/date-picker/date-picker.d.ts +18 -0
- package/dist/lib/dropdown/dropdown.d.ts +29 -0
- package/dist/lib/editor/editor.d.ts +26 -0
- package/dist/lib/empty-state/empty-state.d.ts +9 -0
- package/dist/lib/fab/fab.d.ts +9 -0
- package/dist/lib/field/field.d.ts +14 -0
- package/dist/lib/file-upload/file-upload.d.ts +19 -0
- package/dist/lib/footer/footer.d.ts +6 -0
- package/dist/lib/form-section/form-section.d.ts +15 -0
- package/dist/lib/gauge-arc/gauge-arc.d.ts +8 -0
- package/dist/lib/hud-panel/hud-panel.d.ts +5 -0
- package/dist/lib/icon/icon.d.ts +44 -0
- package/dist/lib/icon-badge/icon-badge.d.ts +14 -0
- package/dist/lib/icon-heading/icon-heading.d.ts +9 -0
- package/dist/lib/icon-text/icon-text.d.ts +12 -0
- package/dist/lib/input/input.d.ts +23 -0
- package/dist/lib/kanban/kanban.d.ts +16 -0
- package/dist/lib/kbd/kbd.d.ts +5 -0
- package/dist/lib/label/label.d.ts +7 -0
- package/dist/lib/loading-overlay/loading-overlay.d.ts +10 -0
- package/dist/lib/menubar/menubar.d.ts +10 -0
- package/dist/lib/metric-card/metric-card.d.ts +9 -0
- package/dist/lib/modal/modal.d.ts +13 -0
- package/dist/lib/native-select/native-select.d.ts +17 -0
- package/dist/lib/navbar/navbar.d.ts +13 -0
- package/dist/lib/navigation-menu/navigation-menu.d.ts +13 -0
- package/dist/lib/otp-input/otp-input.d.ts +23 -0
- package/dist/lib/page-back-link/page-back-link.d.ts +11 -0
- package/dist/lib/page-header/page-header.d.ts +15 -0
- package/dist/lib/pagination/pagination.d.ts +10 -0
- package/dist/lib/pillbox/pillbox.d.ts +15 -0
- package/dist/lib/popover/popover.d.ts +15 -0
- package/dist/lib/profile/profile.d.ts +11 -0
- package/dist/lib/progress/progress.d.ts +12 -0
- package/dist/lib/radio/radio.d.ts +16 -0
- package/dist/lib/ring-gauge/ring-gauge.d.ts +8 -0
- package/dist/lib/scroll-area/scroll-area.d.ts +7 -0
- package/dist/lib/search-palette/search-palette.d.ts +16 -0
- package/dist/lib/select/select.d.ts +26 -0
- package/dist/lib/separator/separator.d.ts +8 -0
- package/dist/lib/sheet/sheet.d.ts +13 -0
- package/dist/lib/sidebar-nav/sidebar-nav.d.ts +46 -0
- package/dist/lib/site-drakkar/site-drakkar.config.d.ts +50 -0
- package/dist/lib/site-drakkar/site-footer.d.ts +18 -0
- package/dist/lib/site-drakkar/site-navbar.d.ts +25 -0
- package/dist/lib/site-drakkar/suite-search-items.d.ts +17 -0
- package/dist/lib/skeleton/skeleton.d.ts +8 -0
- package/dist/lib/slider/slider.d.ts +17 -0
- package/dist/lib/spinner/spinner.d.ts +7 -0
- package/dist/lib/status-metric-row/status-metric-row.d.ts +9 -0
- package/dist/lib/suite-search-palette/suite-search-palette.d.ts +25 -0
- package/dist/lib/switch/switch.d.ts +12 -0
- package/dist/lib/table/table.d.ts +10 -0
- package/dist/lib/tabs/tab-panel.d.ts +12 -0
- package/dist/lib/tabs/tab.d.ts +14 -0
- package/dist/lib/tabs/tabs.d.ts +10 -0
- package/dist/lib/textarea/textarea.d.ts +16 -0
- package/dist/lib/theme-toggle/theme-toggle.d.ts +9 -0
- package/dist/lib/time-picker/time-picker.d.ts +21 -0
- package/dist/lib/timeline/timeline.d.ts +14 -0
- package/dist/lib/toast/toast.d.ts +21 -0
- package/dist/lib/toggle/toggle-group.d.ts +9 -0
- package/dist/lib/toggle/toggle.d.ts +15 -0
- package/dist/lib/tooltip/tooltip.d.ts +20 -0
- package/dist/lib/typography/heading.d.ts +9 -0
- package/dist/lib/typography/text.d.ts +11 -0
- package/dist/lib/uptime-bar/uptime-bar.d.ts +6 -0
- package/dist/lib/verification-code-field/verification-code-field.d.ts +19 -0
- package/dist/lib/whitepaper-cta/whitepaper-cta.d.ts +15 -0
- package/dist/lib/wizard/wizard.d.ts +13 -0
- package/dist/public-api.d.ts +109 -0
- package/dist/tokens/series-presets.d.ts +4 -0
- package/dist/viking-components.css +1837 -0
- package/dist/viking-tokens.json +318 -0
- package/dist/viking-ui-elements.js +1750 -0
- package/dist/viking-ui.css +1 -0
- package/dist/web/badge/viking-badge-wc.d.ts +28 -0
- package/dist/web/button/viking-button-wc.d.ts +28 -0
- package/dist/web/callout/viking-callout-wc.d.ts +27 -0
- package/dist/web/card/viking-card-wc.d.ts +29 -0
- package/dist/web/core/base.d.ts +12 -0
- package/dist/web/core/dom.d.ts +11 -0
- package/dist/web/core/icons-inline.d.ts +7 -0
- package/dist/web/core/styles.d.ts +12 -0
- package/dist/web/core/types.d.ts +10 -0
- package/dist/web/field/viking-field-wc.d.ts +32 -0
- package/dist/web/index.d.ts +15 -0
- package/dist/web/input/viking-input-wc.d.ts +32 -0
- package/dist/web/modal/viking-modal-wc.d.ts +50 -0
- package/dist/web/search-palette/viking-search-palette-wc.d.ts +64 -0
- package/dist/web/select/viking-select-wc.d.ts +48 -0
- package/dist/web/suite-header/viking-suite-header-wc.d.ts +36 -0
- package/dist/web/suite-search-palette/viking-suite-search-palette-wc.d.ts +39 -0
- package/dist/web/theme-toggle/viking-theme-toggle-wc.d.ts +19 -0
- package/dist/web/types.d.ts +40 -0
- package/dist/web-components/index.d.ts +1 -0
- package/dist/web-components.js +1750 -0
- package/dist/widget.js +1182 -0
- package/package.json +89 -30
- package/src/assets/drakkar-favicon.svg +17 -0
- package/src/assets/fonts/inter/InterVariable-Italic.woff2 +0 -0
- package/src/assets/fonts/inter/InterVariable.woff2 +0 -0
- package/src/core/brand/deml-lockup.svg +5 -0
- package/src/core/brand/deml-mark-compact.svg +4 -0
- package/src/core/brand/deml-mark-filled.svg +3 -0
- package/src/core/brand/deml-mark-outline.svg +4 -0
- package/src/core/brand-icons.ts +62 -0
- package/src/core/icons.spec.ts +52 -0
- package/src/core/icons.ts +206 -0
- package/src/core/integration-brand-icons.ts +77 -0
- package/src/core/lucide-paths.generated.ts +130 -0
- package/src/core/types.ts +85 -0
- package/src/core/uid.ts +7 -0
- package/src/elements/button/viking-button.ts +201 -0
- package/src/elements/card/viking-card.ts +60 -0
- package/src/elements/core/dom.ts +33 -0
- package/src/elements/core/styles.ts +28 -0
- package/src/elements/modal/viking-modal.ts +154 -0
- package/src/index.ts +1 -0
- package/src/lib/accordion/accordion.ts +126 -0
- package/src/lib/app-header/app-header.scss +274 -0
- package/src/lib/app-header/app-header.ts +43 -0
- package/src/lib/app-sidebar/app-sidebar.scss +415 -0
- package/src/lib/app-sidebar/app-sidebar.ts +29 -0
- package/src/lib/auth-panel/auth-panel.spec.ts +132 -0
- package/src/lib/auth-panel/auth-panel.ts +228 -0
- package/src/lib/autocomplete/autocomplete.ts +223 -0
- package/src/lib/avatar/avatar.ts +126 -0
- package/src/lib/badge/badge.ts +182 -0
- package/src/lib/bar/bar.ts +31 -0
- package/src/lib/brand/brand.ts +60 -0
- package/src/lib/breadcrumbs/breadcrumbs.ts +81 -0
- package/src/lib/button/button-group.ts +40 -0
- package/src/lib/button/button.scss +96 -0
- package/src/lib/button/button.ts +98 -0
- package/src/lib/calendar/calendar.ts +253 -0
- package/src/lib/callout/callout.ts +211 -0
- package/src/lib/card/card-title.spec.ts +27 -0
- package/src/lib/card/card-title.ts +50 -0
- package/src/lib/card/card.ts +170 -0
- package/src/lib/carousel/carousel.ts +206 -0
- package/src/lib/chart/chart-zoom.spec.ts +65 -0
- package/src/lib/chart/chart-zoom.ts +71 -0
- package/src/lib/chart/chart.ts +1257 -0
- package/src/lib/chart-card-header/chart-card-header.ts +80 -0
- package/src/lib/chart-empty-state/chart-empty-state.ts +146 -0
- package/src/lib/chart-panel/chart-panel.ts +133 -0
- package/src/lib/checkbox/checkbox.ts +139 -0
- package/src/lib/color-picker/color-picker.ts +148 -0
- package/src/lib/command/command.ts +260 -0
- package/src/lib/composer/composer.ts +180 -0
- package/src/lib/confirm-dialog/confirm-dialog.ts +163 -0
- package/src/lib/confirm-dialog/dialog.service.ts +79 -0
- package/src/lib/context/context.ts +75 -0
- package/src/lib/core/brand-icons.ts +62 -0
- package/src/lib/core/cva.ts +33 -0
- package/src/lib/core/icons.ts +206 -0
- package/src/lib/core/integration-brand-icons.ts +77 -0
- package/src/lib/core/lucide-paths.generated.ts +130 -0
- package/src/lib/date-picker/date-picker.ts +139 -0
- package/src/lib/dropdown/dropdown.ts +188 -0
- package/src/lib/editor/editor.ts +170 -0
- package/src/lib/empty-state/empty-state.ts +100 -0
- package/src/lib/fab/fab.ts +76 -0
- package/src/lib/field/field.ts +111 -0
- package/src/lib/file-upload/file-upload.ts +208 -0
- package/src/lib/footer/footer.scss +155 -0
- package/src/lib/footer/footer.ts +28 -0
- package/src/lib/form-section/form-section.ts +200 -0
- package/src/lib/forms.spec.ts +92 -0
- package/src/lib/gauge-arc/gauge-arc.ts +85 -0
- package/src/lib/hud-panel/hud-panel.ts +27 -0
- package/src/lib/icon/icon.ts +284 -0
- package/src/lib/icon-badge/icon-badge.ts +87 -0
- package/src/lib/icon-heading/icon-heading.spec.ts +32 -0
- package/src/lib/icon-heading/icon-heading.ts +38 -0
- package/src/lib/icon-text/icon-text.ts +120 -0
- package/src/lib/input/input.ts +119 -0
- package/src/lib/kanban/kanban.ts +211 -0
- package/src/lib/kbd/kbd.ts +32 -0
- package/src/lib/label/label.ts +39 -0
- package/src/lib/loading-overlay/loading-overlay.ts +80 -0
- package/src/lib/menubar/menubar.ts +77 -0
- package/src/lib/metric-card/metric-card.ts +33 -0
- package/src/lib/modal/modal.ts +207 -0
- package/src/lib/native-select/native-select.ts +124 -0
- package/src/lib/navbar/navbar.ts +124 -0
- package/src/lib/navigation-menu/navigation-menu.ts +116 -0
- package/src/lib/otp-input/otp-input.ts +164 -0
- package/src/lib/page-back-link/page-back-link.ts +74 -0
- package/src/lib/page-header/page-header.ts +70 -0
- package/src/lib/pagination/pagination.ts +157 -0
- package/src/lib/pillbox/pillbox.ts +157 -0
- package/src/lib/popover/popover.ts +92 -0
- package/src/lib/profile/profile.ts +73 -0
- package/src/lib/progress/progress.ts +123 -0
- package/src/lib/radio/radio.ts +132 -0
- package/src/lib/ring-gauge/ring-gauge.ts +75 -0
- package/src/lib/scroll-area/scroll-area.ts +57 -0
- package/src/lib/search-palette/search-palette.scss +288 -0
- package/src/lib/search-palette/search-palette.ts +114 -0
- package/src/lib/select/select.ts +292 -0
- package/src/lib/separator/separator.ts +59 -0
- package/src/lib/sheet/sheet.ts +192 -0
- package/src/lib/sidebar-nav/sidebar-nav.scss +218 -0
- package/src/lib/sidebar-nav/sidebar-nav.ts +158 -0
- package/src/lib/site-drakkar/site-drakkar.config.ts +295 -0
- package/src/lib/site-drakkar/site-footer.ts +129 -0
- package/src/lib/site-drakkar/site-navbar.scss +2 -0
- package/src/lib/site-drakkar/site-navbar.ts +267 -0
- package/src/lib/site-drakkar/suite-search-items.spec.ts +61 -0
- package/src/lib/site-drakkar/suite-search-items.ts +246 -0
- package/src/lib/skeleton/skeleton.ts +51 -0
- package/src/lib/slider/slider.ts +133 -0
- package/src/lib/spinner/spinner.ts +75 -0
- package/src/lib/status-metric-row/status-metric-row.ts +74 -0
- package/src/lib/suite-search-palette/suite-search-palette.ts +95 -0
- package/src/lib/switch/switch.ts +131 -0
- package/src/lib/table/table.ts +137 -0
- package/src/lib/tabs/tab-panel.ts +61 -0
- package/src/lib/tabs/tab.ts +107 -0
- package/src/lib/tabs/tabs.ts +109 -0
- package/src/lib/textarea/textarea.ts +103 -0
- package/src/lib/theme-toggle/theme-toggle.spec.ts +40 -0
- package/src/lib/theme-toggle/theme-toggle.ts +39 -0
- package/src/lib/time-picker/time-picker.ts +197 -0
- package/src/lib/timeline/timeline.ts +152 -0
- package/src/lib/toast/toast.ts +196 -0
- package/src/lib/toggle/toggle-group.ts +60 -0
- package/src/lib/toggle/toggle.ts +101 -0
- package/src/lib/tooltip/tooltip.ts +119 -0
- package/src/lib/typography/heading.ts +52 -0
- package/src/lib/typography/text.ts +51 -0
- package/src/lib/uptime-bar/uptime-bar.ts +55 -0
- package/src/lib/verification-code-field/verification-code-field.ts +149 -0
- package/src/lib/whitepaper-cta/whitepaper-cta.scss +130 -0
- package/src/lib/whitepaper-cta/whitepaper-cta.ts +78 -0
- package/src/lib/wizard/wizard.ts +80 -0
- package/src/public-api.ts +172 -0
- package/src/styles/_buttons.scss +301 -0
- package/src/styles/_component-primitives.scss +183 -0
- package/src/styles/_drakkar-buttons.scss +85 -0
- package/src/styles/_fonts.scss +22 -0
- package/src/styles/_forms.scss +66 -0
- package/src/styles/_input.scss +106 -0
- package/src/styles/_layout-enforcement.scss +166 -0
- package/src/styles/_layout-rhythm.scss +158 -0
- package/src/styles/_legacy-aliases.scss +212 -0
- package/src/styles/_series-colors.scss +24 -0
- package/src/styles/_static-primitives.scss +857 -0
- package/src/styles/_typography.scss +87 -0
- package/src/styles/_variables.scss +527 -0
- package/src/styles/components/a11y.scss +90 -0
- package/src/styles/components/badges.scss +102 -0
- package/src/styles/components/extracted-utilities.scss +459 -0
- package/src/styles/components/footer.scss +155 -0
- package/src/styles/components/icon-heading.scss +47 -0
- package/src/styles/components/icon-inline.scss +78 -0
- package/src/styles/components/layout.scss +59 -0
- package/src/styles/components/utilities.scss +131 -0
- package/src/styles/components/viking-inspired.scss +204 -0
- package/src/styles/components/whitepaper-cta.scss +130 -0
- package/src/styles/components-bundle.scss +9 -0
- package/src/styles/components.scss +175 -0
- package/src/styles/deml-components.scss +10 -0
- package/src/styles/index.scss +8 -0
- package/src/styles/layout-shell.scss +39 -11
- package/src/styles/page-shell.scss +663 -33
- package/src/styles/static-navbar.scss +862 -146
- package/src/styles/surfaces/backend.scss +142 -0
- package/src/styles/surfaces/docs-global.scss +73 -0
- package/src/styles/surfaces/docs-shell.scss +412 -0
- package/src/styles/surfaces/docs-showcase.scss +1051 -0
- package/src/styles/surfaces/marketing-cta.scss +62 -0
- package/src/styles/surfaces/marketing-docs-bento.scss +67 -0
- package/src/styles/surfaces/marketing-global.scss +748 -0
- package/src/styles/surfaces/marketing-landing.scss +1260 -0
- package/src/styles/surfaces/marketing-publication.scss +535 -0
- package/src/styles/surfaces/marketing-theme.scss +14 -0
- package/src/styles/surfaces/swagger-ui.scss +921 -0
- package/src/styles/tokens-export.scss +18 -0
- package/src/styles/tokens.scss +5 -0
- package/src/styles/viking-ui-bundle.scss +20 -2
- package/src/styles/viking-ui.scss +213 -51
- package/src/tokens/series-presets.ts +15 -0
- package/src/tokens/tailwind.preset.js +209 -0
- package/src/tokens/viking-tokens.json +318 -0
- package/src/viking-ui.spec.ts +416 -0
- package/src/web/badge/viking-badge-wc.ts +116 -0
- package/src/web/button/viking-button-wc.ts +165 -0
- package/src/web/callout/viking-callout-wc.ts +105 -0
- package/src/web/card/viking-card-wc.ts +66 -0
- package/src/web/core/base.ts +56 -0
- package/src/web/core/dom.ts +53 -0
- package/src/web/core/icons-inline.ts +44 -0
- package/src/web/core/styles.ts +1138 -0
- package/src/web/core/types.ts +19 -0
- package/src/web/field/viking-field-wc.ts +154 -0
- package/src/web/index.ts +73 -0
- package/src/web/input/viking-input-wc.ts +211 -0
- package/src/web/modal/viking-modal-wc.ts +187 -0
- package/src/web/search-palette/viking-search-palette-wc.ts +494 -0
- package/src/web/select/viking-select-wc.ts +218 -0
- package/src/web/suite-header/viking-suite-header-wc.ts +714 -0
- package/src/web/suite-search-palette/viking-suite-search-palette-wc.ts +234 -0
- package/src/web/theme-toggle/viking-theme-toggle-wc.ts +139 -0
- package/src/web/types.ts +37 -0
- package/src/web/web-components.spec.ts +297 -0
- package/src/web-components/index.ts +1 -0
- package/fesm2022/dataengineeringformachinelearning-viking-ui.mjs +0 -6114
- package/fesm2022/dataengineeringformachinelearning-viking-ui.mjs.map +0 -1
- package/types/dataengineeringformachinelearning-viking-ui.d.ts +0 -1397
- package/viking.manifest.json +0 -238
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
// Shared publication styles for Book and Whitepaper — single-card, structured prose.
|
|
2
|
+
|
|
3
|
+
.publication-shell {
|
|
4
|
+
border-radius: var(--viking-radius-xl, 16px);
|
|
5
|
+
border: 1px solid var(--viking-border, var(--border));
|
|
6
|
+
background: var(--viking-surface, var(--color-surface));
|
|
7
|
+
box-shadow: var(--viking-shadow-sm, var(--shadow-sm));
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.publication-hero {
|
|
12
|
+
position: relative;
|
|
13
|
+
text-align: center;
|
|
14
|
+
padding: 36px 28px 28px;
|
|
15
|
+
border-bottom: 1px solid var(--border);
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
|
|
18
|
+
.hero-brand {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
margin-bottom: 16px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.section-tag-row {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.hero-title,
|
|
32
|
+
.hero-subtitle,
|
|
33
|
+
.hero-meta {
|
|
34
|
+
text-align: center;
|
|
35
|
+
margin-left: auto;
|
|
36
|
+
margin-right: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hero-meta {
|
|
40
|
+
max-width: 640px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hero-brand-icon {
|
|
44
|
+
filter: drop-shadow(0 4px 12px color-mix(in srgb, var(--viking-teal-600) 25%, transparent));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.hero-title {
|
|
48
|
+
position: relative;
|
|
49
|
+
font-size: clamp(1.65rem, 4vw, 2.35rem);
|
|
50
|
+
font-weight: 800;
|
|
51
|
+
line-height: 1.15;
|
|
52
|
+
letter-spacing: -0.02em;
|
|
53
|
+
margin: 0 0 12px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.hero-subtitle {
|
|
57
|
+
position: relative;
|
|
58
|
+
font-size: 1.05rem;
|
|
59
|
+
line-height: 1.6;
|
|
60
|
+
color: var(--text-muted);
|
|
61
|
+
max-width: 640px;
|
|
62
|
+
margin: 0 auto 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.hero-meta {
|
|
66
|
+
position: relative;
|
|
67
|
+
font-size: 0.92rem;
|
|
68
|
+
color: var(--text-muted);
|
|
69
|
+
margin-bottom: 20px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.hero-meta-row {
|
|
73
|
+
position: relative;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-wrap: wrap;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: 8px;
|
|
79
|
+
font-size: 0.9rem;
|
|
80
|
+
margin-bottom: 20px;
|
|
81
|
+
|
|
82
|
+
a {
|
|
83
|
+
color: var(--viking-teal-600);
|
|
84
|
+
text-decoration: none;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
&:hover { text-decoration: underline; }
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.meta-dot { opacity: 0.4; }
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.publication-toc {
|
|
94
|
+
padding: 20px 28px;
|
|
95
|
+
border-bottom: 1px solid var(--border);
|
|
96
|
+
background: color-mix(in srgb, var(--color-surface) 60%, transparent);
|
|
97
|
+
|
|
98
|
+
.toc-heading {
|
|
99
|
+
font-size: 0.72rem;
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
letter-spacing: 0.1em;
|
|
102
|
+
text-transform: uppercase;
|
|
103
|
+
color: var(--text-muted);
|
|
104
|
+
margin: 0 0 12px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.toc-list {
|
|
108
|
+
list-style: none;
|
|
109
|
+
margin: 0;
|
|
110
|
+
padding: 0;
|
|
111
|
+
display: grid;
|
|
112
|
+
gap: 4px;
|
|
113
|
+
|
|
114
|
+
@media (min-width: 640px) {
|
|
115
|
+
grid-template-columns: repeat(2, 1fr);
|
|
116
|
+
gap: 4px 24px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (min-width: 900px) {
|
|
120
|
+
grid-template-columns: repeat(3, 1fr);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.toc-item {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: baseline;
|
|
127
|
+
gap: 10px;
|
|
128
|
+
padding: 6px 0;
|
|
129
|
+
font-size: 0.88rem;
|
|
130
|
+
line-height: 1.4;
|
|
131
|
+
text-decoration: none !important;
|
|
132
|
+
color: var(--text-muted) !important;
|
|
133
|
+
border-radius: 6px;
|
|
134
|
+
transition: color 0.15s ease;
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
color: var(--viking-teal-600) !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.toc-num {
|
|
141
|
+
flex-shrink: 0;
|
|
142
|
+
min-width: 1.5rem;
|
|
143
|
+
font-variant-numeric: tabular-nums;
|
|
144
|
+
font-weight: 700;
|
|
145
|
+
font-size: 0.78rem;
|
|
146
|
+
color: var(--viking-teal-600);
|
|
147
|
+
opacity: 0.85;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.toc-label {
|
|
151
|
+
flex: 1;
|
|
152
|
+
font-weight: 500;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.publication-body {
|
|
158
|
+
padding: 28px 32px 36px;
|
|
159
|
+
|
|
160
|
+
@media (min-width: 768px) {
|
|
161
|
+
padding: 32px 40px 40px;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.publication-section {
|
|
166
|
+
padding: 28px 0;
|
|
167
|
+
border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
|
|
168
|
+
|
|
169
|
+
&:first-child {
|
|
170
|
+
padding-top: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:last-child {
|
|
174
|
+
border-bottom: none;
|
|
175
|
+
padding-bottom: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:global(h2) {
|
|
179
|
+
font-size: 1.35rem;
|
|
180
|
+
font-weight: 800;
|
|
181
|
+
margin: 0 0 16px;
|
|
182
|
+
letter-spacing: -0.02em;
|
|
183
|
+
color: var(--text-color);
|
|
184
|
+
border-bottom: 2px solid color-mix(in srgb, var(--viking-teal-600) 35%, transparent);
|
|
185
|
+
padding-bottom: 8px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:global(h3) {
|
|
189
|
+
font-size: 1.05rem;
|
|
190
|
+
font-weight: 700;
|
|
191
|
+
margin: 24px 0 10px;
|
|
192
|
+
color: var(--text-color);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
:global(h4) {
|
|
196
|
+
font-size: 0.95rem;
|
|
197
|
+
font-weight: 700;
|
|
198
|
+
margin: 20px 0 8px;
|
|
199
|
+
color: var(--text-color);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:global(p),
|
|
203
|
+
:global(li) {
|
|
204
|
+
font-size: 1rem;
|
|
205
|
+
line-height: 1.65;
|
|
206
|
+
color: var(--text-muted);
|
|
207
|
+
margin: 0 0 14px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:global(ul),
|
|
211
|
+
:global(ol) {
|
|
212
|
+
padding-left: 1.35rem;
|
|
213
|
+
margin: 0 0 14px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
:global(a) {
|
|
217
|
+
color: var(--viking-teal-600);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
:global(pre) {
|
|
221
|
+
background: var(--viking-charcoal-900);
|
|
222
|
+
border: 1px solid var(--viking-border-subtle);
|
|
223
|
+
border-radius: 10px;
|
|
224
|
+
padding: 14px 16px;
|
|
225
|
+
overflow-x: auto;
|
|
226
|
+
margin: 16px 0;
|
|
227
|
+
font-size: 0.82rem;
|
|
228
|
+
line-height: 1.55;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
:global(:not(pre) > code) {
|
|
232
|
+
background: color-mix(in srgb, var(--color-dark-grey-btn-bg) 70%, transparent);
|
|
233
|
+
padding: 0.1em 0.35em;
|
|
234
|
+
border-radius: 4px;
|
|
235
|
+
font-size: 0.875em;
|
|
236
|
+
line-height: inherit;
|
|
237
|
+
color: var(--text-color);
|
|
238
|
+
border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
|
|
239
|
+
white-space: normal;
|
|
240
|
+
vertical-align: baseline;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
:global(table) {
|
|
244
|
+
width: 100%;
|
|
245
|
+
border-collapse: collapse;
|
|
246
|
+
margin: 16px 0;
|
|
247
|
+
font-size: 0.9rem;
|
|
248
|
+
|
|
249
|
+
th,
|
|
250
|
+
td {
|
|
251
|
+
border: 1px solid var(--border);
|
|
252
|
+
padding: 8px 12px;
|
|
253
|
+
text-align: left;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
th {
|
|
257
|
+
background: color-mix(in srgb, var(--viking-teal-600) 10%, var(--color-surface));
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
:global(blockquote) {
|
|
262
|
+
margin: 16px 0;
|
|
263
|
+
padding: 12px 16px;
|
|
264
|
+
border-left: 3px solid var(--viking-teal-600);
|
|
265
|
+
background: color-mix(in srgb, var(--viking-teal-600) 6%, var(--color-surface));
|
|
266
|
+
border-radius: 0 8px 8px 0;
|
|
267
|
+
font-size: 0.95rem;
|
|
268
|
+
color: var(--text-muted);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// Book sidebar chapter index
|
|
273
|
+
.pub-sidebar-group {
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: column;
|
|
276
|
+
gap: var(--viking-space-1, 8px);
|
|
277
|
+
margin-bottom: 16px;
|
|
278
|
+
|
|
279
|
+
.pub-sidebar-group-title {
|
|
280
|
+
font-size: 0.68rem;
|
|
281
|
+
font-weight: 700;
|
|
282
|
+
letter-spacing: 0.1em;
|
|
283
|
+
text-transform: uppercase;
|
|
284
|
+
color: var(--text-muted);
|
|
285
|
+
margin: 0 0 2px 8px;
|
|
286
|
+
opacity: 0.75;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.pub-chapter-item {
|
|
291
|
+
display: flex;
|
|
292
|
+
align-items: baseline;
|
|
293
|
+
gap: 8px;
|
|
294
|
+
padding: 8px 12px;
|
|
295
|
+
border-radius: 8px;
|
|
296
|
+
cursor: pointer;
|
|
297
|
+
transition: all 0.15s ease;
|
|
298
|
+
border: 1px solid transparent;
|
|
299
|
+
text-decoration: none;
|
|
300
|
+
color: inherit;
|
|
301
|
+
margin: 0;
|
|
302
|
+
|
|
303
|
+
&:hover {
|
|
304
|
+
background-color: var(--hover-color);
|
|
305
|
+
border-color: var(--border);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&.active {
|
|
309
|
+
background: linear-gradient(
|
|
310
|
+
135deg,
|
|
311
|
+
color-mix(in srgb, var(--color-surface) 25%, transparent) 0%,
|
|
312
|
+
color-mix(in srgb, var(--viking-metallic-200) 8%, transparent) 100%
|
|
313
|
+
);
|
|
314
|
+
border-color: var(--color-primary-container, var(--viking-teal-400));
|
|
315
|
+
|
|
316
|
+
.pub-chapter-num,
|
|
317
|
+
.pub-chapter-title {
|
|
318
|
+
color: var(--color-primary-container, var(--viking-teal-400));
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.pub-chapter-title {
|
|
322
|
+
font-weight: 600;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.pub-chapter-num {
|
|
327
|
+
flex-shrink: 0;
|
|
328
|
+
min-width: 1.25rem;
|
|
329
|
+
font-size: 0.72rem;
|
|
330
|
+
font-weight: 700;
|
|
331
|
+
font-variant-numeric: tabular-nums;
|
|
332
|
+
color: var(--text-muted);
|
|
333
|
+
opacity: 0.7;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.pub-chapter-title {
|
|
337
|
+
font-size: 0.85rem;
|
|
338
|
+
line-height: 1.35;
|
|
339
|
+
color: var(--text-color);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// Book cover with Drakkar branding
|
|
344
|
+
.book-cover-page {
|
|
345
|
+
display: flex;
|
|
346
|
+
justify-content: center;
|
|
347
|
+
align-items: center;
|
|
348
|
+
padding: 40px 24px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.book-cover-card {
|
|
352
|
+
width: 100%;
|
|
353
|
+
max-width: 420px;
|
|
354
|
+
aspect-ratio: 3 / 4.2;
|
|
355
|
+
background-color: var(--card-bg);
|
|
356
|
+
border: 1px solid var(--border);
|
|
357
|
+
border-radius: 8px 16px 16px 8px;
|
|
358
|
+
box-shadow: var(--shadow-md);
|
|
359
|
+
position: relative;
|
|
360
|
+
overflow: hidden;
|
|
361
|
+
display: flex;
|
|
362
|
+
flex-direction: column;
|
|
363
|
+
align-items: center;
|
|
364
|
+
justify-content: center;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.book-cover-spine {
|
|
368
|
+
position: absolute;
|
|
369
|
+
left: 0;
|
|
370
|
+
top: 0;
|
|
371
|
+
bottom: 0;
|
|
372
|
+
width: 28px;
|
|
373
|
+
background-color: color-mix(in srgb, var(--black) 50%, transparent);
|
|
374
|
+
z-index: 10;
|
|
375
|
+
border-right: 1px solid color-mix(in srgb, var(--black) 20%, transparent);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.book-cover-binding {
|
|
379
|
+
position: absolute;
|
|
380
|
+
left: 28px;
|
|
381
|
+
top: 0;
|
|
382
|
+
bottom: 0;
|
|
383
|
+
width: 4px;
|
|
384
|
+
background-color: color-mix(in srgb, var(--black) 10%, transparent);
|
|
385
|
+
z-index: 9;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.book-cover-inner {
|
|
389
|
+
display: flex;
|
|
390
|
+
flex-direction: column;
|
|
391
|
+
align-items: center;
|
|
392
|
+
padding: 48px 32px 40px 48px;
|
|
393
|
+
height: 100%;
|
|
394
|
+
width: 100%;
|
|
395
|
+
text-align: center;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.book-cover-label {
|
|
399
|
+
margin-bottom: auto;
|
|
400
|
+
letter-spacing: 0.15em;
|
|
401
|
+
font-size: 0.75rem;
|
|
402
|
+
font-weight: 700;
|
|
403
|
+
color: var(--text-muted);
|
|
404
|
+
text-transform: uppercase;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.book-cover-logo {
|
|
408
|
+
margin: 24px 0;
|
|
409
|
+
filter: drop-shadow(0 6px 16px color-mix(in srgb, var(--viking-teal-600) 30%, transparent));
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.book-cover-title {
|
|
413
|
+
font-size: 1.75rem;
|
|
414
|
+
font-weight: 800;
|
|
415
|
+
line-height: 1.15;
|
|
416
|
+
margin-bottom: 12px;
|
|
417
|
+
letter-spacing: -0.02em;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.book-cover-subtitle {
|
|
421
|
+
font-size: 0.95rem;
|
|
422
|
+
color: var(--text-muted);
|
|
423
|
+
font-weight: 500;
|
|
424
|
+
font-style: italic;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.book-cover-footer {
|
|
428
|
+
margin-top: auto;
|
|
429
|
+
padding-top: 24px;
|
|
430
|
+
border-top: 1px solid var(--border);
|
|
431
|
+
width: 100%;
|
|
432
|
+
display: flex;
|
|
433
|
+
justify-content: space-between;
|
|
434
|
+
align-items: center;
|
|
435
|
+
font-size: 0.9rem;
|
|
436
|
+
|
|
437
|
+
a {
|
|
438
|
+
font-weight: 600;
|
|
439
|
+
color: var(--text-color);
|
|
440
|
+
text-decoration: none;
|
|
441
|
+
&:hover { color: var(--viking-teal-600); }
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.book-cover-vol {
|
|
445
|
+
font-weight: 700;
|
|
446
|
+
color: var(--color-primary);
|
|
447
|
+
letter-spacing: 0.1em;
|
|
448
|
+
font-size: 0.8rem;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.publication-pagination {
|
|
453
|
+
display: flex;
|
|
454
|
+
flex-wrap: wrap;
|
|
455
|
+
justify-content: center;
|
|
456
|
+
align-items: center;
|
|
457
|
+
gap: 16px;
|
|
458
|
+
padding: 20px 28px;
|
|
459
|
+
border-top: 1px solid var(--border);
|
|
460
|
+
background: color-mix(in srgb, var(--color-surface) 50%, transparent);
|
|
461
|
+
|
|
462
|
+
@media (min-width: 600px) {
|
|
463
|
+
justify-content: space-between;
|
|
464
|
+
padding: 16px 32px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.pagination-btn {
|
|
468
|
+
background: var(--color-primary) !important;
|
|
469
|
+
color: white !important;
|
|
470
|
+
font-weight: 600;
|
|
471
|
+
border-radius: var(--viking-radius-lg);
|
|
472
|
+
border: none;
|
|
473
|
+
padding: 8px 16px;
|
|
474
|
+
cursor: pointer;
|
|
475
|
+
display: flex;
|
|
476
|
+
align-items: center;
|
|
477
|
+
gap: 8px;
|
|
478
|
+
transition: opacity 0.2s;
|
|
479
|
+
font-size: 0.9rem;
|
|
480
|
+
|
|
481
|
+
&[disabled] {
|
|
482
|
+
opacity: 0.5;
|
|
483
|
+
cursor: not-allowed;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
&:not([disabled]):hover {
|
|
487
|
+
opacity: 0.9;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.page-counter {
|
|
492
|
+
font-size: 0.88rem;
|
|
493
|
+
color: var(--text-muted);
|
|
494
|
+
font-weight: 500;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.publication-progress {
|
|
499
|
+
max-width: 480px;
|
|
500
|
+
margin: 0 auto;
|
|
501
|
+
|
|
502
|
+
.progress-bar-header {
|
|
503
|
+
display: flex;
|
|
504
|
+
justify-content: space-between;
|
|
505
|
+
font-size: 0.85rem;
|
|
506
|
+
font-weight: 600;
|
|
507
|
+
color: var(--text-muted);
|
|
508
|
+
margin-bottom: 6px;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.progress-percentage {
|
|
512
|
+
color: var(--color-primary-container);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.progress-bar-container {
|
|
516
|
+
width: 100%;
|
|
517
|
+
height: 6px;
|
|
518
|
+
background-color: var(--hover-color);
|
|
519
|
+
border: 1px solid var(--border);
|
|
520
|
+
border-radius: 999px;
|
|
521
|
+
overflow: hidden;
|
|
522
|
+
position: relative;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.progress-bar-fill {
|
|
526
|
+
position: absolute;
|
|
527
|
+
left: 0;
|
|
528
|
+
top: 0;
|
|
529
|
+
bottom: 0;
|
|
530
|
+
width: var(--progress, 0%);
|
|
531
|
+
background-color: var(--color-primary);
|
|
532
|
+
transition: width 0.3s ease-out;
|
|
533
|
+
border-radius: 999px;
|
|
534
|
+
}
|
|
535
|
+
}
|