@dataengineeringformachinelearning/viking-ui 4.0.4 → 4.0.5

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.
Files changed (246) hide show
  1. package/README.md +35 -11
  2. package/dist/README.md +35 -11
  3. package/dist/design-tokens.css +300 -85
  4. package/dist/fesm2022/dataengineeringformachinelearning-viking-ui.mjs +100 -64
  5. package/dist/fesm2022/dataengineeringformachinelearning-viking-ui.mjs.map +1 -1
  6. package/dist/icons.js +306 -0
  7. package/dist/package.json +24 -5
  8. package/{src/lib/site-drakkar/site-drakkar.config.ts → dist/site-drakkar.js} +64 -130
  9. package/dist/src/tokens/viking-tokens.json +9 -7
  10. package/dist/types/dataengineeringformachinelearning-viking-ui.d.ts +97 -3
  11. package/dist/viking-components.css +161 -70
  12. package/dist/viking-tokens.json +9 -7
  13. package/dist/viking-ui-elements.js +44 -32
  14. package/dist/viking-ui.css +1 -1
  15. package/dist/web-components.js +44 -32
  16. package/package.json +30 -8
  17. package/dist/scripts/build-web-components.mjs +0 -37
  18. package/dist/src/web/badge/viking-badge-wc.ts +0 -116
  19. package/dist/src/web/button/viking-button-wc.ts +0 -165
  20. package/dist/src/web/callout/viking-callout-wc.ts +0 -105
  21. package/dist/src/web/card/viking-card-wc.ts +0 -67
  22. package/dist/src/web/core/base.ts +0 -56
  23. package/dist/src/web/core/dom.ts +0 -53
  24. package/dist/src/web/core/icons-inline.ts +0 -44
  25. package/dist/src/web/core/styles.ts +0 -1261
  26. package/dist/src/web/core/types.ts +0 -19
  27. package/dist/src/web/field/viking-field-wc.ts +0 -154
  28. package/dist/src/web/index.ts +0 -73
  29. package/dist/src/web/input/viking-input-wc.ts +0 -211
  30. package/dist/src/web/modal/viking-modal-wc.ts +0 -187
  31. package/dist/src/web/search-palette/viking-search-palette-wc.ts +0 -495
  32. package/dist/src/web/select/viking-select-wc.ts +0 -218
  33. package/dist/src/web/suite-header/viking-suite-header-wc.ts +0 -729
  34. package/dist/src/web/suite-search-palette/viking-suite-search-palette-wc.ts +0 -234
  35. package/dist/src/web/theme-toggle/viking-theme-toggle-wc.ts +0 -139
  36. package/dist/src/web/types.ts +0 -37
  37. package/dist/src/web/web-components.spec.ts +0 -297
  38. package/src/assets/drakkar-favicon.svg +0 -17
  39. package/src/assets/fonts/inter/InterVariable-Italic.woff2 +0 -0
  40. package/src/assets/fonts/inter/InterVariable.woff2 +0 -0
  41. package/src/core/brand/deml-lockup.svg +0 -5
  42. package/src/core/brand/deml-mark-compact.svg +0 -4
  43. package/src/core/brand/deml-mark-filled.svg +0 -3
  44. package/src/core/brand/deml-mark-outline.svg +0 -4
  45. package/src/core/brand-icons.ts +0 -62
  46. package/src/core/icons.spec.ts +0 -52
  47. package/src/core/icons.ts +0 -206
  48. package/src/core/integration-brand-icons.ts +0 -77
  49. package/src/core/lucide-paths.generated.ts +0 -130
  50. package/src/core/types.ts +0 -85
  51. package/src/core/uid.ts +0 -7
  52. package/src/elements/button/viking-button.ts +0 -201
  53. package/src/elements/card/viking-card.ts +0 -60
  54. package/src/elements/core/dom.ts +0 -33
  55. package/src/elements/core/styles.ts +0 -28
  56. package/src/elements/modal/viking-modal.ts +0 -154
  57. package/src/index.ts +0 -1
  58. package/src/lib/accordion/accordion.ts +0 -126
  59. package/src/lib/app-header/app-header.scss +0 -274
  60. package/src/lib/app-header/app-header.ts +0 -43
  61. package/src/lib/app-sidebar/app-sidebar.scss +0 -415
  62. package/src/lib/app-sidebar/app-sidebar.ts +0 -29
  63. package/src/lib/auth-panel/auth-panel.spec.ts +0 -132
  64. package/src/lib/auth-panel/auth-panel.ts +0 -228
  65. package/src/lib/autocomplete/autocomplete.ts +0 -223
  66. package/src/lib/avatar/avatar.ts +0 -126
  67. package/src/lib/badge/badge.ts +0 -182
  68. package/src/lib/bar/bar.ts +0 -31
  69. package/src/lib/brand/brand.ts +0 -60
  70. package/src/lib/breadcrumbs/breadcrumbs.ts +0 -81
  71. package/src/lib/button/button-group.ts +0 -40
  72. package/src/lib/button/button.scss +0 -119
  73. package/src/lib/button/button.ts +0 -98
  74. package/src/lib/calendar/calendar.ts +0 -253
  75. package/src/lib/callout/callout.ts +0 -211
  76. package/src/lib/card/card-title.spec.ts +0 -27
  77. package/src/lib/card/card-title.ts +0 -50
  78. package/src/lib/card/card.ts +0 -200
  79. package/src/lib/carousel/carousel.ts +0 -206
  80. package/src/lib/chart/chart-zoom.spec.ts +0 -65
  81. package/src/lib/chart/chart-zoom.ts +0 -71
  82. package/src/lib/chart/chart.ts +0 -1257
  83. package/src/lib/chart-card-header/chart-card-header.ts +0 -80
  84. package/src/lib/chart-empty-state/chart-empty-state.ts +0 -146
  85. package/src/lib/chart-panel/chart-panel.ts +0 -133
  86. package/src/lib/checkbox/checkbox.ts +0 -139
  87. package/src/lib/color-picker/color-picker.ts +0 -148
  88. package/src/lib/command/command.ts +0 -260
  89. package/src/lib/composer/composer.ts +0 -180
  90. package/src/lib/confirm-dialog/confirm-dialog.ts +0 -163
  91. package/src/lib/confirm-dialog/dialog.service.ts +0 -79
  92. package/src/lib/context/context.ts +0 -75
  93. package/src/lib/core/brand-icons.ts +0 -62
  94. package/src/lib/core/cva.ts +0 -33
  95. package/src/lib/core/icons.ts +0 -206
  96. package/src/lib/core/integration-brand-icons.ts +0 -77
  97. package/src/lib/core/lucide-paths.generated.ts +0 -130
  98. package/src/lib/date-picker/date-picker.ts +0 -139
  99. package/src/lib/dropdown/dropdown.ts +0 -188
  100. package/src/lib/editor/editor.ts +0 -170
  101. package/src/lib/empty-state/empty-state.ts +0 -100
  102. package/src/lib/fab/fab.ts +0 -76
  103. package/src/lib/field/field.ts +0 -111
  104. package/src/lib/file-upload/file-upload.ts +0 -208
  105. package/src/lib/footer/footer.scss +0 -162
  106. package/src/lib/footer/footer.ts +0 -28
  107. package/src/lib/form-section/form-section.ts +0 -200
  108. package/src/lib/forms.spec.ts +0 -92
  109. package/src/lib/gauge-arc/gauge-arc.ts +0 -85
  110. package/src/lib/hud-panel/hud-panel.ts +0 -27
  111. package/src/lib/icon/icon.ts +0 -284
  112. package/src/lib/icon-badge/icon-badge.ts +0 -87
  113. package/src/lib/icon-heading/icon-heading.spec.ts +0 -32
  114. package/src/lib/icon-heading/icon-heading.ts +0 -38
  115. package/src/lib/icon-text/icon-text.ts +0 -120
  116. package/src/lib/input/input.ts +0 -119
  117. package/src/lib/kanban/kanban.ts +0 -211
  118. package/src/lib/kbd/kbd.ts +0 -32
  119. package/src/lib/label/label.ts +0 -39
  120. package/src/lib/loading-overlay/loading-overlay.ts +0 -80
  121. package/src/lib/menubar/menubar.ts +0 -77
  122. package/src/lib/metric-card/metric-card.ts +0 -33
  123. package/src/lib/modal/modal.ts +0 -207
  124. package/src/lib/native-select/native-select.ts +0 -124
  125. package/src/lib/navbar/navbar.ts +0 -124
  126. package/src/lib/navigation-menu/navigation-menu.ts +0 -116
  127. package/src/lib/otp-input/otp-input.ts +0 -164
  128. package/src/lib/page-back-link/page-back-link.ts +0 -74
  129. package/src/lib/page-header/page-header.ts +0 -70
  130. package/src/lib/pagination/pagination.ts +0 -157
  131. package/src/lib/pillbox/pillbox.ts +0 -157
  132. package/src/lib/popover/popover.ts +0 -92
  133. package/src/lib/profile/profile.ts +0 -73
  134. package/src/lib/progress/progress.ts +0 -123
  135. package/src/lib/radio/radio.ts +0 -132
  136. package/src/lib/ring-gauge/ring-gauge.ts +0 -75
  137. package/src/lib/scroll-area/scroll-area.ts +0 -57
  138. package/src/lib/search-palette/search-palette.scss +0 -288
  139. package/src/lib/search-palette/search-palette.ts +0 -114
  140. package/src/lib/select/select.ts +0 -292
  141. package/src/lib/separator/separator.ts +0 -59
  142. package/src/lib/sheet/sheet.ts +0 -192
  143. package/src/lib/sidebar-nav/sidebar-nav.scss +0 -218
  144. package/src/lib/sidebar-nav/sidebar-nav.ts +0 -158
  145. package/src/lib/site-drakkar/site-footer.ts +0 -133
  146. package/src/lib/site-drakkar/site-navbar.scss +0 -2
  147. package/src/lib/site-drakkar/site-navbar.ts +0 -286
  148. package/src/lib/site-drakkar/suite-search-items.spec.ts +0 -61
  149. package/src/lib/site-drakkar/suite-search-items.ts +0 -246
  150. package/src/lib/skeleton/skeleton.ts +0 -51
  151. package/src/lib/slider/slider.ts +0 -133
  152. package/src/lib/spinner/spinner.ts +0 -75
  153. package/src/lib/status-metric-row/status-metric-row.ts +0 -74
  154. package/src/lib/suite-search-palette/suite-search-palette.ts +0 -95
  155. package/src/lib/switch/switch.ts +0 -131
  156. package/src/lib/table/table.ts +0 -137
  157. package/src/lib/tabs/tab-panel.ts +0 -61
  158. package/src/lib/tabs/tab.ts +0 -107
  159. package/src/lib/tabs/tabs.ts +0 -109
  160. package/src/lib/textarea/textarea.ts +0 -103
  161. package/src/lib/theme-toggle/theme-toggle.spec.ts +0 -40
  162. package/src/lib/theme-toggle/theme-toggle.ts +0 -40
  163. package/src/lib/time-picker/time-picker.ts +0 -197
  164. package/src/lib/timeline/timeline.ts +0 -152
  165. package/src/lib/toast/toast.ts +0 -196
  166. package/src/lib/toggle/toggle-group.ts +0 -60
  167. package/src/lib/toggle/toggle.ts +0 -101
  168. package/src/lib/tooltip/tooltip.ts +0 -119
  169. package/src/lib/typography/heading.ts +0 -52
  170. package/src/lib/typography/text.ts +0 -51
  171. package/src/lib/uptime-bar/uptime-bar.ts +0 -55
  172. package/src/lib/verification-code-field/verification-code-field.ts +0 -149
  173. package/src/lib/whitepaper-cta/whitepaper-cta.scss +0 -130
  174. package/src/lib/whitepaper-cta/whitepaper-cta.ts +0 -78
  175. package/src/lib/wizard/wizard.ts +0 -80
  176. package/src/public-api.ts +0 -172
  177. package/src/styles/_buttons.scss +0 -386
  178. package/src/styles/_component-primitives.scss +0 -183
  179. package/src/styles/_drakkar-buttons.scss +0 -85
  180. package/src/styles/_fonts.scss +0 -22
  181. package/src/styles/_forms.scss +0 -66
  182. package/src/styles/_input.scss +0 -106
  183. package/src/styles/_layout-enforcement.scss +0 -229
  184. package/src/styles/_layout-rhythm.scss +0 -158
  185. package/src/styles/_legacy-aliases.scss +0 -212
  186. package/src/styles/_series-colors.scss +0 -24
  187. package/src/styles/_static-primitives.scss +0 -857
  188. package/src/styles/_typography.scss +0 -87
  189. package/src/styles/_variables.scss +0 -527
  190. package/src/styles/components/a11y.scss +0 -90
  191. package/src/styles/components/badges.scss +0 -102
  192. package/src/styles/components/extracted-utilities.scss +0 -459
  193. package/src/styles/components/footer.scss +0 -168
  194. package/src/styles/components/icon-heading.scss +0 -47
  195. package/src/styles/components/icon-inline.scss +0 -101
  196. package/src/styles/components/layout.scss +0 -59
  197. package/src/styles/components/utilities.scss +0 -131
  198. package/src/styles/components/viking-inspired.scss +0 -204
  199. package/src/styles/components/whitepaper-cta.scss +0 -130
  200. package/src/styles/components-bundle.scss +0 -9
  201. package/src/styles/components.scss +0 -442
  202. package/src/styles/deml-components.scss +0 -10
  203. package/src/styles/index.scss +0 -8
  204. package/src/styles/layout-shell.scss +0 -111
  205. package/src/styles/page-shell.scss +0 -859
  206. package/src/styles/static-navbar.scss +0 -1250
  207. package/src/styles/surfaces/backend.scss +0 -154
  208. package/src/styles/surfaces/docs-global.scss +0 -73
  209. package/src/styles/surfaces/docs-shell.scss +0 -437
  210. package/src/styles/surfaces/docs-showcase.scss +0 -1153
  211. package/src/styles/surfaces/marketing-cta.scss +0 -62
  212. package/src/styles/surfaces/marketing-docs-bento.scss +0 -67
  213. package/src/styles/surfaces/marketing-global.scss +0 -748
  214. package/src/styles/surfaces/marketing-landing.scss +0 -1526
  215. package/src/styles/surfaces/marketing-publication.scss +0 -535
  216. package/src/styles/surfaces/marketing-theme.scss +0 -14
  217. package/src/styles/surfaces/swagger-ui.scss +0 -1013
  218. package/src/styles/tokens-export.scss +0 -18
  219. package/src/styles/tokens.scss +0 -5
  220. package/src/styles/viking-ui-bundle.scss +0 -23
  221. package/src/styles/viking-ui.scss +0 -272
  222. package/src/tokens/series-presets.ts +0 -15
  223. package/src/tokens/tailwind.preset.js +0 -209
  224. package/src/tokens/viking-tokens.json +0 -318
  225. package/src/viking-ui.spec.ts +0 -416
  226. package/src/web/badge/viking-badge-wc.ts +0 -116
  227. package/src/web/button/viking-button-wc.ts +0 -165
  228. package/src/web/callout/viking-callout-wc.ts +0 -105
  229. package/src/web/card/viking-card-wc.ts +0 -67
  230. package/src/web/core/base.ts +0 -56
  231. package/src/web/core/dom.ts +0 -53
  232. package/src/web/core/icons-inline.ts +0 -44
  233. package/src/web/core/styles.ts +0 -1261
  234. package/src/web/core/types.ts +0 -19
  235. package/src/web/field/viking-field-wc.ts +0 -154
  236. package/src/web/index.ts +0 -73
  237. package/src/web/input/viking-input-wc.ts +0 -211
  238. package/src/web/modal/viking-modal-wc.ts +0 -187
  239. package/src/web/search-palette/viking-search-palette-wc.ts +0 -495
  240. package/src/web/select/viking-select-wc.ts +0 -218
  241. package/src/web/suite-header/viking-suite-header-wc.ts +0 -729
  242. package/src/web/suite-search-palette/viking-suite-search-palette-wc.ts +0 -234
  243. package/src/web/theme-toggle/viking-theme-toggle-wc.ts +0 -139
  244. package/src/web/types.ts +0 -37
  245. package/src/web/web-components.spec.ts +0 -297
  246. package/src/web-components/index.ts +0 -1
@@ -1,535 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
1
- body {
2
- font-size: var(--base-font-size);
3
- color: var(--text-color);
4
- background-color: var(--bg-color);
5
- }
6
-
7
- h1,
8
- h2,
9
- h3,
10
- h4,
11
- h5,
12
- h6 {
13
- letter-spacing: var(--header-letter-spacing);
14
- }