From 988f0223b75d5370a62d74646cbc66f8da365eda Mon Sep 17 00:00:00 2001 From: "aditya.chandel" <> Date: Sun, 29 Dec 2024 17:08:20 -0700 Subject: [PATCH] Checkpoint --- .../book-card/book-card.component.scss | 2 +- .../book-metadata.component.scss | 2 +- .../books-browser.component.scss | 4 +- .../dashboard-scroller.component.scss | 2 +- .../layout/app.topbar.component.html | 4 - .../component/layout/app.topbar.component.ts | 2 - .../app/book/service/app-config.service.ts | 2 +- .../configurator/configurator.component.ts | 9 +- .../assets/layout/styles/layout/_config.scss | 66 +- .../assets/layout/styles/layout/_menu.scss | 2 +- .../assets/layout/styles/layout/_topbar.scss | 2 +- .../assets/layout/styles/layout/_utils.scss | 4 +- .../assets/layout/styles/layout/layout.css | 2794 ++++++++++++++--- .../assets/layout/styles/layout/layout.scss | 4 + booklore-ui/src/index.html | 1 - booklore-ui/src/styles.scss | 3 +- 16 files changed, 2408 insertions(+), 495 deletions(-) diff --git a/booklore-ui/src/app/book/component/book-card/book-card.component.scss b/booklore-ui/src/app/book/component/book-card/book-card.component.scss index 013b57475..32d24fe0a 100644 --- a/booklore-ui/src/app/book/component/book-card/book-card.component.scss +++ b/booklore-ui/src/app/book/component/book-card/book-card.component.scss @@ -1,5 +1,5 @@ .book-card { - background-color: var(--surface-card); + background-color: var(--card-background); border-radius: 8px; position: relative; overflow: hidden; diff --git a/booklore-ui/src/app/book/component/book-metadata/book-metadata.component.scss b/booklore-ui/src/app/book/component/book-metadata/book-metadata.component.scss index 31fc11fa3..a8dc7d93d 100644 --- a/booklore-ui/src/app/book/component/book-metadata/book-metadata.component.scss +++ b/booklore-ui/src/app/book/component/book-metadata/book-metadata.component.scss @@ -2,7 +2,7 @@ height: calc(100vh - 10rem); overflow-y: auto; transition: transform 0.2s, left 0.2s; - background-color: var(--surface-card); + background-color: var(--card-background); border-radius: 12px; padding: 1.5rem 2rem; } diff --git a/booklore-ui/src/app/book/component/books-browser/books-browser.component.scss b/booklore-ui/src/app/book/component/books-browser/books-browser.component.scss index 981f2b5cb..b4d8df087 100644 --- a/booklore-ui/src/app/book/component/books-browser/books-browser.component.scss +++ b/booklore-ui/src/app/book/component/books-browser/books-browser.component.scss @@ -2,7 +2,7 @@ display: flex; justify-content: space-between; padding: 8px 16px; - background-color: var(--surface-card); + background-color: var(--card-background); border-radius: 12px 12px 0 0; margin-bottom: 15px; align-items: center; @@ -79,7 +79,7 @@ bottom: 0; left: 0; right: 0; - background-color: var(--surface-card); + background-color: var(--card-background); padding: 1rem; box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1); display: flex; diff --git a/booklore-ui/src/app/book/component/dashboard-scroller/dashboard-scroller.component.scss b/booklore-ui/src/app/book/component/dashboard-scroller/dashboard-scroller.component.scss index dffe88f20..ef4b4f361 100644 --- a/booklore-ui/src/app/book/component/dashboard-scroller/dashboard-scroller.component.scss +++ b/booklore-ui/src/app/book/component/dashboard-scroller/dashboard-scroller.component.scss @@ -36,7 +36,7 @@ .infinite-scroller-a-book { overflow: hidden; - background-color: var(--surface-card); + background-color: var(--card-background); border-radius: 8px; flex: 0 0 9.5%; scroll-snap-align: start; diff --git a/booklore-ui/src/app/book/component/layout/app.topbar.component.html b/booklore-ui/src/app/book/component/layout/app.topbar.component.html index b33602897..6a10f5c14 100644 --- a/booklore-ui/src/app/book/component/layout/app.topbar.component.html +++ b/booklore-ui/src/app/book/component/layout/app.topbar.component.html @@ -38,9 +38,5 @@ - -
- -
diff --git a/booklore-ui/src/app/book/component/layout/app.topbar.component.ts b/booklore-ui/src/app/book/component/layout/app.topbar.component.ts index 1ac0641b6..3c83acff7 100644 --- a/booklore-ui/src/app/book/component/layout/app.topbar.component.ts +++ b/booklore-ui/src/app/book/component/layout/app.topbar.component.ts @@ -4,7 +4,6 @@ import {LayoutService} from './service/app.layout.service'; import {RouterLink} from '@angular/router'; import {DialogService as PrimeDialogService, DynamicDialogRef} from 'primeng/dynamicdialog'; import {LibraryCreatorComponent} from '../library-creator/library-creator.component'; -import {ThemeSwitcherComponent} from '../theme-switcher/theme-switcher.component'; import {TooltipModule} from 'primeng/tooltip'; import {FormsModule} from '@angular/forms'; import {InputTextModule} from 'primeng/inputtext'; @@ -26,7 +25,6 @@ import {AppConfiguratorComponent} from '../../../configurator/configurator.compo FormsModule, InputTextModule, SearchComponent, - ThemeSwitcherComponent, NgIf, Button, AppConfiguratorComponent diff --git a/booklore-ui/src/app/book/service/app-config.service.ts b/booklore-ui/src/app/book/service/app-config.service.ts index 7759056e7..284f1bb3d 100644 --- a/booklore-ui/src/app/book/service/app-config.service.ts +++ b/booklore-ui/src/app/book/service/app-config.service.ts @@ -82,7 +82,7 @@ export class AppConfigService { preset: 'Aura', primary: 'noir', surface: null, - darkTheme: false, + darkTheme: true, menuActive: false, designerKey: 'primeng-designer-theme', RTL: false diff --git a/booklore-ui/src/app/configurator/configurator.component.ts b/booklore-ui/src/app/configurator/configurator.component.ts index ebaadfa15..b1ddbd4a2 100644 --- a/booklore-ui/src/app/configurator/configurator.component.ts +++ b/booklore-ui/src/app/configurator/configurator.component.ts @@ -60,18 +60,15 @@ const presets = { [title]="surface.name" (click)="updateColors($event, 'surface', surface)" [ngClass]="{ 'active-color': selectedSurfaceColor() ? selectedSurfaceColor() === surface.name : configService.appState().darkTheme ? surface.name === 'zinc' : surface.name === 'slate' }" - [style]="{ - 'background-color': surface.name === 'noir' ? 'var(--text-color)' : surface.palette['500'] - }" - > + [style]="{'background-color': surface.name === 'noir' ? 'var(--text-color)' : surface.palette['500'] }"> + }
Presets - +
diff --git a/booklore-ui/src/assets/layout/styles/layout/_config.scss b/booklore-ui/src/assets/layout/styles/layout/_config.scss index 43cacc345..2b1977cdd 100644 --- a/booklore-ui/src/assets/layout/styles/layout/_config.scss +++ b/booklore-ui/src/assets/layout/styles/layout/_config.scss @@ -26,7 +26,7 @@ transform: rotate(0deg); transition: transform 1s; } - + &:hover { background: var(--primary-400); } @@ -40,3 +40,67 @@ } } } + +.config-panel { + + position: absolute; + top: calc(100% + 2px); + inset-inline-end: 0; + width: 18rem; + padding: .75rem; + background-color: var(--overlay-background); + border-radius: 6px; + border: 1px solid var(--border-color); + transform-origin: top; + box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a; + + /*padding: .75rem; + border-radius: 6px; + border: 1px solid var(--border-color);*/ + + .config-panel-content { + display: flex; + flex-direction: column; + gap: 1rem; + } + + .config-panel-label { + font-size: .875rem; + color: var(--text-secondary-color); + font-weight: 600; + line-height: 1; + } + + .config-panel-colors { + > div { + padding-top: .5rem; + display: flex; + gap: .5rem; + flex-wrap: wrap; + justify-content: space-between; + + button { + border: none; + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + padding: 0; + cursor: pointer; + outline-color: transparent; + outline-width: 2px; + outline-style: solid; + outline-offset: 1px; + + &.active-color { + outline-color: var(--primary-color); + } + } + } + } + + .config-panel-settings { + display: flex; + flex-direction: column; + gap: 0.5rem; + } +} diff --git a/booklore-ui/src/assets/layout/styles/layout/_menu.scss b/booklore-ui/src/assets/layout/styles/layout/_menu.scss index 025098c6f..d04322514 100644 --- a/booklore-ui/src/assets/layout/styles/layout/_menu.scss +++ b/booklore-ui/src/assets/layout/styles/layout/_menu.scss @@ -8,7 +8,7 @@ top: 5.2rem; left: 1.2rem; transition: transform $transitionDuration, left $transitionDuration; - background-color: var(--surface-overlay); + background-color: var(--card-background); border-radius: $borderRadius; padding: 0.5rem 1.35rem; box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08); diff --git a/booklore-ui/src/assets/layout/styles/layout/_topbar.scss b/booklore-ui/src/assets/layout/styles/layout/_topbar.scss index 2cb64eafa..08f65b5bb 100644 --- a/booklore-ui/src/assets/layout/styles/layout/_topbar.scss +++ b/booklore-ui/src/assets/layout/styles/layout/_topbar.scss @@ -10,7 +10,7 @@ top: 0; width: 100%; padding: 0 1.75rem; - background-color: var(--surface-card); + background-color: var(--card-background); transition: left $transitionDuration; display: flex; align-items: center; diff --git a/booklore-ui/src/assets/layout/styles/layout/_utils.scss b/booklore-ui/src/assets/layout/styles/layout/_utils.scss index bc7ea810e..7240320f0 100644 --- a/booklore-ui/src/assets/layout/styles/layout/_utils.scss +++ b/booklore-ui/src/assets/layout/styles/layout/_utils.scss @@ -1,5 +1,5 @@ .card { - background: var(--surface-card); + background: var(--card-background); border: 1px solid var(--surface-border); padding: 2rem; margin-bottom: 2rem; @@ -17,4 +17,4 @@ &.p-toast-top-center { top: 100px; } -} \ No newline at end of file +} diff --git a/booklore-ui/src/assets/layout/styles/layout/layout.css b/booklore-ui/src/assets/layout/styles/layout/layout.css index 1fa61f193..a769097df 100644 --- a/booklore-ui/src/assets/layout/styles/layout/layout.css +++ b/booklore-ui/src/assets/layout/styles/layout/layout.css @@ -1,523 +1,2377 @@ -/* General */ -/* main font size */ -/* border radius of layout element e.g. card, sidebar */ -/* transition duration of layout elements e.g. sidebar, overlay menus */ -.preloader { - position: fixed; - z-index: 999999; - background: #edf1f5; - width: 100%; - height: 100%; +.landing.layout-light { + --home-highlight-color:#3B82F6; + --home-highlight-darker-color:#2563eb; + --home-highlight-fore-color:#ffffff; + --home-bg:#F9FAFB; + --home-border-color:rgba(0,0,0,.1); + --home-primary-text-color:#030712; + --home-secondary-text-color:#6b7280; + --home-card-shadow:0px 7px 15px 0px rgba(0, 0, 0, 0.02), 0px 28px 28px 0px rgba(0, 0, 0, 0.02), 0px 63px 38px 0px rgba(0, 0, 0, 0.01); + --home-box-bg:#ffffff; + --home-linkbox-bg:#ffffff; + --home-linkbox-border:1px solid rgba(0,0,0,.1); + --home-linkbox-text-color:#030712; + --home-linkbox-hover-bg:#e5e7eb; + --home-blocks-bg:transparent; + --home-blocks-block-bg:#ffffff; + --home-blocks-block-shadow:-10px 4px 10px 0px rgba(0, 0, 0, .1), -10px 4px 25px rgba(0, 0, 0, .1); + --home-blocks-border-left:5px solid rgba(0,0,0,.1); + --home-blocks-border-bottom:7px solid rgba(0,0,0,.1); + --home-blocks-border:1px solid rgba(0,0,0,.1); + --home-blocks-sidebar-bg: var(--p-surface-100); + --home-blocks-list-bg: var(--p-surface-50); + --home-blocks-main-bg: var(--p-surface-0); + --home-blocks-main-border:1px solid rgba(0,0,0,.1); + --home-blocks-item-bg: var(--p-surface-100); + --home-blocks-image-bg: var(--p-surface-200); + --home-blocks-text-color: var(--p-surface-300); + --home-blocks-active-shadow:0px 30px 50px 0px rgba(0, 0, 0, .1); + --home-blocks-active-border-top:1px solid rgba(0,0,0,.07); + --home-blocks-active-border-right:1px solid rgba(0,0,0,.07); + --home-blocks-active-border-bottom:4px solid rgba(0,0,0,.07); + --home-blocks-active-border-left:4px solid rgba(0,0,0,.07); + --home-blocks-animation-shadow:0px 30px 50px 10px rgba(0, 0, 0, .2); + --home-blocks-tablebar-bg: var(--p-surface-300); + --home-blocks-bar-bg: var(--p-surface-300); + --home-blocks-bar-button-bg: var(--p-surface-0); + --home-blocks-circle-bg: var(--p-surface-300); + --home-templates-bg:transparent; + --home-templates-block-shadow:0px 5px 10px 0px rgba(0,0,0,.1); + --home-templates-block-border-left:5px solid #d1d5db; + --home-templates-block-border-bottom:7px solid #d1d5db; + --home-templates-line:rgba(0,0,0,.1); + --home-templates-block-hover-bg:rgba(0, 0, 0, 0.2); + --home-templates-btn-bg:rgba(0, 0, 0, 0.5); + --home-templates-btn-text-color:#ffffff; + --home-templates-btn-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.5); + --home-templates-btn-border-top:1px solid rgba(0,0,0,.1); + --home-templates-btn-border-right:1px solid rgba(0,0,0,.1); + --home-templates-btn-border-bottom:4px solid rgba(0,0,0,.1); + --home-templates-btn-border-left:3px solid rgba(0,0,0,.1); + --home-features-card-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.02), 0px 28px 28px 0px rgba(0, 0, 0, 0.02), 0px 63px 38px 0px rgba(0, 0, 0, 0.01); + --home-box-ring-color: var(--p-primary-200); } -.preloader-content { - border: 0 solid transparent; - border-radius: 50%; - width: 150px; - height: 150px; - position: absolute; - top: calc(50vh - 75px); - left: calc(50vw - 75px); +.landing.layout-dark { + --home-highlight-color:#60a5fa; + --home-highlight-darker-color:#93c5fd; + --home-highlight-fore-color:#030712; + --home-bg:#111827; + --home-border-color:#424b57; + --home-primary-text-color:#ffffff; + --home-secondary-text-color:rgba(255,255,255,.6); + --home-card-shadow:0px 50px 100px rgba(0, 0, 0, 0.25); + --home-box-bg:#1f2937; + --home-linkbox-bg:rgba(255, 255, 255, .05); + --home-linkbox-border:1px solid rgba(255, 255, 255, .1); + --home-linkbox-text-color:#ffffff; + --home-linkbox-hover-bg:rgba(255, 255, 255, .1); + --home-blocks-bg:transparent; + --home-blocks-block-bg:#111827; + --home-blocks-block-shadow:0px 5px 10px 0px rgba(0, 0, 0, 0.25) , 0px 4px 25px rgba(0, 0, 0, 0.25); + --home-blocks-border-left:5px solid #1f2937; + --home-blocks-border-bottom:7px solid #1f2937; + --home-blocks-border:1px solid #424b57; + --home-blocks-sidebar-bg: var(--p-surface-900); + --home-blocks-list-bg: var(--p-surface-800); + --home-blocks-main-bg: var(--p-surface-950); + --home-blocks-main-border:1px solid #424b57; + --home-blocks-item-bg: var(--p-surface-900); + --home-blocks-image-bg: var(--p-surface-800); + --home-blocks-text-color: var(--p-surface-600); + --home-blocks-active-shadow:0px 30px 50px 0px rgba(0, 0, 0, 0.25); + --home-blocks-active-border-top:1px solid #424b57; + --home-blocks-active-border-right:1px solid #424b57; + --home-blocks-active-border-bottom:6px solid #424b57; + --home-blocks-active-border-left:4px solid #424b57; + --home-blocks-animation-shadow:0px 30px 50px 20px rgba(0, 0, 0, 0.25); + --home-blocks-tablebar-bg: var(--p-surface-700); + --home-blocks-bar-bg: var(--p-surface-700); + --home-blocks-bar-button-bg: var(--p-surface-700); + --home-blocks-circle-bg: var(--p-surface-800); + --home-templates-bg:transparent; + --home-templates-block-shadow:0px 5px 10px 0px rgba(0, 0, 0, 0.25); + --home-templates-block-border-left:5px solid #424b57; + --home-templates-block-border-bottom:7px solid #424b57; + --home-templates-line:rgba(255,255,255,.1); + --home-templates-block-hover-bg: var(--p-mask-background); + --home-templates-btn-bg:#1f2937; + --home-templates-btn-text-color:#ffffff; + --home-templates-btn-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.25); + --home-templates-btn-border-top:1px solid #424b57; + --home-templates-btn-border-right:1px solid #424b57; + --home-templates-btn-border-bottom:4px solid #424b57; + --home-templates-btn-border-left:3px solid #424b57; + --home-features-card-shadow: none; + --home-box-ring-color: color-mix(in srgb, var(--primary-color), transparent 70%); } -.preloader-content:before, .preloader-content:after { - content: ""; - border: 1em solid var(--primary-color); - border-radius: 50%; - width: inherit; - height: inherit; - position: absolute; - top: 0; - left: 0; - animation: loader 2s linear infinite; - opacity: 0; +:root { + --primary-text-color:var(--p-primary-600); + --primary-color: var(--p-primary-color); + --primary-contrast-color:var(--p-primary-contrast-color); + --primary-hover-color: var(--p-primary-hover-color); + --text-color: var(--p-surface-700); + --text-secondary-color: var(--p-surface-500); + --glow-image: url(https://www.primefaces.org/cdn/primevue/images/layout/pattern.png); + --glow-blend: hard-light, multiply; + --topbar-sticky-background:rgba(255,255,255,.7); + --mobile-menu-background: #ffffff; + --card-border: 1px solid var(--p-surface-200); + --card-background: #ffffff; + --border-color: var(--p-surface-200); + --ground-background: var(--p-surface-50); + --overlay-background: #ffffff; + --hover-background: var(--p-surface-100); + --code-background: var(--p-surface-950); + --high-contrast-text-color: var(--p-surface-900); + --hover-border-color: var(--p-surface-400); + --mark-background: var(--p-surface-200); + --mark-text-color: var(--p-surface-700); + --selection-background: var(--p-surface-200); + --selection-text-color: var(--p-surface-950); + --code-button-text-color: var(--p-surface-300); + --docsearch-mask-background: var(--p-mask-background); + --logo-color: var(--text-secondary-color); } -.preloader-content:before { - animation-delay: 0.5s; -} - -@keyframes loader { - 0% { - transform: scale(0); - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - transform: scale(1); - opacity: 0; - } -} -* { - box-sizing: border-box; +:root[class=p-dark] { + --primary-text-color:var(--p-primary-400); + --primary-color: var(--p-primary-color); + --primary-contrast-color:var(--p-primary-contrast-color); + --primary-hover-color: var(--p-primary-hover-color); + --text-color: var(--p-surface-0); + --text-secondary-color: var(--p-surface-400); + --glow-image: url(https://www.primefaces.org/cdn/primevue/images/layout/pattern.png), radial-gradient(50% 50% at center -25px, var(--p-primary-color) 0%, #000000 100%); + --glow-blend: hard-light, color-dodge; + --topbar-sticky-background:rgba(0,0,0,.3); + --mobile-menu-background: rgba(0,0,0,.3); + --card-border: 1px solid transparent; + --card-background: var(--p-surface-900); + --border-color: var(--p-surface-700); + --ground-background: var(--p-surface-950); + --overlay-background: var(--p-surface-900); + --hover-background: var(--p-surface-800); + --code-background: var(--p-surface-900); + --high-contrast-text-color: var(--p-surface-0); + --hover-border-color: var(--p-surface-500); + --mark-background: var(--p-surface-700); + --mark-text-color: var(--p-surface-200); + --selection-background: var(--p-surface-700); + --selection-text-color: var(--p-surface-0); + --code-button-text-color: var(--p-surface-300); + --docsearch-mask-background: var(--p-mask-background); + --logo-color: var(--text-secondary-color); } html { - height: 100%; font-size: 14px; + font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-feature-settings: "cv02", "cv03", "cv04", "cv11"; + line-height: normal; +} + +.material { + font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } body { - font-family: var(--font-family); - color: var(--text-color); - background-color: var(--surface-ground); - margin: 0; - padding: 0; + margin: 0px; min-height: 100%; + overflow-x: hidden; + overflow-y: auto; + background-color: var(--ground-background); + font-weight: normal; + color: var(--text-color); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +.layout-wrapper { + background-color: var(--ground-background); +} + a { text-decoration: none; - color: var(--primary-color); } -.layout-wrapper { - min-height: 100vh; -} - -.layout-topbar { - position: fixed; - height: 5rem; - z-index: 997; - left: 0; - top: 0; - width: 100%; - padding: 0 2rem; - background-color: var(--surface-card); - transition: left 0.2s; - display: flex; - align-items: center; - box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08); -} -.layout-topbar .layout-topbar-logo { - display: flex; - align-items: center; - color: var(--surface-900); - font-size: 1.5rem; - font-weight: 500; - width: 300px; - border-radius: 12px; -} -.layout-topbar .layout-topbar-logo img { - height: 2.5rem; - margin-right: 0.5rem; -} -.layout-topbar .layout-topbar-logo:focus { - outline: 0 none; - outline-offset: 0; - transition: box-shadow 0.2s; - box-shadow: var(--focus-ring); -} -.layout-topbar .layout-topbar-button { - display: inline-flex; - justify-content: center; - align-items: center; - position: relative; - color: var(--text-color-secondary); - border-radius: 50%; - width: 3rem; - height: 3rem; - cursor: pointer; - transition: background-color 0.2s; -} -.layout-topbar .layout-topbar-button:hover { - color: var(--text-color); - background-color: var(--surface-hover); -} -.layout-topbar .layout-topbar-button:focus { - outline: 0 none; - outline-offset: 0; - transition: box-shadow 0.2s; - box-shadow: var(--focus-ring); -} -.layout-topbar .layout-topbar-button i { - font-size: 1.5rem; -} -.layout-topbar .layout-topbar-button span { - font-size: 1rem; - display: none; -} -.layout-topbar .layout-menu-button { - margin-left: 2rem; -} -.layout-topbar .layout-topbar-menu-button { - display: none; -} -.layout-topbar .layout-topbar-menu-button i { - font-size: 1.25rem; -} -.layout-topbar .layout-topbar-menu { - margin: 0 0 0 auto; - padding: 0; - list-style: none; - display: flex; -} -.layout-topbar .layout-topbar-menu .layout-topbar-button { - margin-left: 1rem; -} - -@media (max-width: 991px) { - .layout-topbar { - justify-content: space-between; - } - .layout-topbar .layout-topbar-logo { - width: auto; - order: 2; - } - .layout-topbar .layout-menu-button { - margin-left: 0; - order: 1; - } - .layout-topbar .layout-topbar-menu-button { - display: inline-flex; - margin-left: 0; - order: 3; - } - .layout-topbar .layout-topbar-menu { - margin-left: 0; - position: absolute; - flex-direction: column; - background-color: var(--surface-overlay); - box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08); - border-radius: 12px; - padding: 1rem; - right: 2rem; - top: 5rem; - min-width: 15rem; - display: none; - -webkit-animation: scalein 0.15s linear; - animation: scalein 0.15s linear; - } - .layout-topbar .layout-topbar-menu.layout-topbar-menu-mobile-active { - display: block; - } - .layout-topbar .layout-topbar-menu .layout-topbar-button { - margin-left: 0; - display: flex; - width: 100%; - height: auto; - justify-content: flex-start; - border-radius: 12px; - padding: 1rem; - } - .layout-topbar .layout-topbar-menu .layout-topbar-button i { - font-size: 1rem; - margin-right: 0.5rem; - } - .layout-topbar .layout-topbar-menu .layout-topbar-button span { - font-weight: medium; - display: block; - } -} -.layout-sidebar { - position: fixed; - width: 300px; - height: calc(100vh - 9rem); - z-index: 999; - overflow-y: auto; - user-select: none; - top: 7rem; - left: 2rem; - transition: transform 0.2s, left 0.2s; - background-color: var(--surface-overlay); - border-radius: 12px; - padding: 0.5rem 1.5rem; - box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08); -} - -.layout-menu { - margin: 0; - padding: 0; - list-style-type: none; -} -.layout-menu .layout-root-menuitem > .layout-menuitem-root-text { - font-size: 0.857rem; - text-transform: uppercase; - font-weight: 700; - color: var(--surface-900); - margin: 0.75rem 0; -} -.layout-menu .layout-root-menuitem > a { - display: none; -} -.layout-menu a { - user-select: none; -} -.layout-menu a.active-menuitem > .layout-submenu-toggler { - transform: rotate(-180deg); -} -.layout-menu li.active-menuitem > a .layout-submenu-toggler { - transform: rotate(-180deg); -} -.layout-menu ul { - margin: 0; - padding: 0; - list-style-type: none; -} -.layout-menu ul a { - display: flex; - align-items: center; - position: relative; - outline: 0 none; - color: var(--text-color); - cursor: pointer; - padding: 0.75rem 1rem; - border-radius: 12px; - transition: background-color 0.2s, box-shadow 0.2s; -} -.layout-menu ul a .layout-menuitem-icon { - margin-right: 0.5rem; -} -.layout-menu ul a .layout-submenu-toggler { - font-size: 75%; - margin-left: auto; - transition: transform 0.2s; -} -.layout-menu ul a.active-route { - font-weight: 700; - color: var(--primary-color); -} -.layout-menu ul a:hover { - background-color: var(--surface-hover); -} -.layout-menu ul a:focus { - outline: 0 none; - outline-offset: 0; - transition: box-shadow 0.2s; - box-shadow: inset var(--focus-ring); -} -.layout-menu ul ul { - overflow: hidden; - border-radius: 12px; -} -.layout-menu ul ul li a { - margin-left: 1rem; -} -.layout-menu ul ul li li a { - margin-left: 2rem; -} -.layout-menu ul ul li li li a { - margin-left: 2.5rem; -} -.layout-menu ul ul li li li li a { - margin-left: 3rem; -} -.layout-menu ul ul li li li li li a { - margin-left: 3.5rem; -} -.layout-menu ul ul li li li li li li a { - margin-left: 4rem; -} - -.layout-config-button { - display: block; - position: fixed; - width: 3rem; - height: 3rem; - line-height: 3rem; - background: var(--primary-color); - color: var(--primary-color-text); - text-align: center; - top: 50%; - right: 0; - margin-top: -1.5rem; - border-top-left-radius: var(--border-radius); - border-bottom-left-radius: var(--border-radius); - border-top-right-radius: 0; - border-bottom-right-radius: 0; - transition: background-color var(--transition-duration); - overflow: hidden; - cursor: pointer; - z-index: 999; - box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15); -} -.layout-config-button i { - font-size: 2rem; - line-height: inherit; - transform: rotate(0deg); - transition: transform 1s; -} -.layout-config-button:hover { - background: var(--primary-400); -} - -.layout-config-sidebar.p-sidebar .p-sidebar-content { - padding-left: 2rem; - padding-right: 2rem; -} - -.layout-main-container { - display: flex; - flex-direction: column; - min-height: 100vh; - justify-content: space-between; - padding: 7rem 2rem 2rem 4rem; - transition: margin-left 0.2s; -} - -.layout-main { - flex: 1 1 auto; -} - -.layout-footer { - transition: margin-left 0.2s; - display: flex; - align-items: center; - justify-content: center; - padding-top: 1rem; - border-top: 1px solid var(--surface-border); -} - -@media screen and (min-width: 1960px) { - .layout-main, .landing-wrapper { - width: 1504px; - margin-left: auto !important; - margin-right: auto !important; - } -} -@media (min-width: 992px) { - .layout-wrapper.layout-overlay .layout-main-container { - margin-left: 0; - padding-left: 2rem; - } - .layout-wrapper.layout-overlay .layout-sidebar { - transform: translateX(-100%); - left: 0; - top: 0; - height: 100vh; - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } - .layout-wrapper.layout-overlay.layout-overlay-active .layout-sidebar { - transform: translateX(0); - } - .layout-wrapper.layout-static .layout-main-container { - margin-left: 300px; - } - .layout-wrapper.layout-static.layout-static-inactive .layout-sidebar { - transform: translateX(-100%); - left: 0; - } - .layout-wrapper.layout-static.layout-static-inactive .layout-main-container { - margin-left: 0; - padding-left: 2rem; - } - .layout-wrapper .layout-mask { - display: none; - } -} -@media (max-width: 991px) { - .blocked-scroll { - overflow: hidden; - } - .layout-wrapper .layout-main-container { - margin-left: 0; - padding-left: 2rem; - } - .layout-wrapper .layout-sidebar { - transform: translateX(-100%); - left: 0; - top: 0; - height: 100vh; - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } - .layout-wrapper .layout-mask { - display: none; - position: fixed; - top: 0; - left: 0; - z-index: 998; - width: 100%; - height: 100%; - background-color: var(--maskbg); - } - .layout-wrapper.layout-mobile-active .layout-sidebar { - transform: translateX(0); - } - .layout-wrapper.layout-mobile-active .layout-mask { - display: block; - animation: fadein 0.2s; - } -} -.card { - background: var(--surface-card); - border: 1px solid var(--surface-border); - padding: 2rem; - margin-bottom: 2rem; - box-shadow: var(--card-shadow); - border-radius: 12px; -} -.card:last-child { - margin-bottom: 0; -} - -.p-toast.p-toast-top-right, .p-toast.p-toast-top-left, .p-toast.p-toast-top-center { - top: 100px; +::selection { + background-color: var(--selection-background); + color: var(--selection-text-color); } h1, h2, h3, h4, h5, h6 { margin: 1.5rem 0 1rem 0; font-family: inherit; - font-weight: 500; + font-weight: 600; line-height: 1.2; - color: var(--surface-900); + color: var(--high-contrast-text-color); } h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; } h1 { - font-size: 2.5rem; -} - -h2 { - font-size: 2rem; -} - -h3 { font-size: 1.75rem; } -h4 { +h2 { font-size: 1.5rem; } -h5 { +h3 { font-size: 1.25rem; } -h6 { +h4 { + font-size: 1.125rem; +} + +h5 { font-size: 1rem; } -mark { - background: #FFF8E1; - padding: 0.25rem 0.4rem; - border-radius: 12px; - font-family: monospace; -} - -blockquote { - margin: 1rem 0; - padding: 0 2rem; - border-left: 4px solid #90A4AE; -} - -hr { - border-top: solid var(--surface-border); - border-width: 1px 0 0 0; - margin: 1rem 0; +h6 { + font-size: 0.875rem; } p { + line-height: 1.625; margin: 0 0 1rem 0; +} + +.p-toast.p-toast-top-right, +.p-toast.p-toast-top-left { + top: 7rem; +} + +button { + font-family: inherit; + font-feature-settings: inherit; +} + +textarea { + resize: none; +} + +.landing, .layout-wrapper { + background-blend-mode: var(--glow-blend); + background-image: var(--glow-image); + background-position: top; + background-repeat: no-repeat; + background-size: auto 20rem; +} + +.layout-topbar { + position: fixed; + top: 0; + left: 0; + width: calc(100% - var(--p-scrollbar-width, 0px)); + z-index: 1100; + transition: background-color 0.5s, border-color 0.5s; + border-bottom: 1px solid transparent; +} +.layout-topbar.layout-topbar-sticky { + border-bottom: 1px solid var(--border-color); + background-color: var(--topbar-sticky-background); + backdrop-filter: blur(8px); +} + +.layout-topbar-inner { + height: 4rem; + padding: 0 4rem; + display: flex; + align-items: center; + justify-content: space-between; +} +.layout-topbar-inner .layout-topbar-logo-container { + width: 250px; + margin-inline-end: 4rem; +} +.layout-topbar-inner .layout-topbar-logo, +.layout-topbar-inner .layout-topbar-icon { + transition: outline-color 0.2s; + outline-color: transparent; +} +.layout-topbar-inner .layout-topbar-logo:focus-visible, +.layout-topbar-inner .layout-topbar-icon:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.layout-topbar-inner .layout-topbar-logo svg, +.layout-topbar-inner .layout-topbar-icon svg { + width: 120px; +} +.layout-topbar-inner .layout-topbar-logo { + display: inline-flex; +} +.layout-topbar-inner .layout-topbar-logo svg { + width: 120px; +} +.layout-topbar-inner .layout-topbar-icon { + display: none; +} +.layout-topbar-inner .layout-topbar-icon svg { + width: 25px; +} +.layout-topbar-inner .menu-button { + display: none; +} +.layout-topbar-inner .topbar-items { + display: flex; + list-style-type: none; + margin: 0; + padding: 0; + gap: 0.5rem; + align-items: center; +} +.layout-topbar-inner .topbar-items li { + position: relative; +} +.layout-topbar-inner .topbar-items .topbar-item { + display: inline-flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + border: 1px solid var(--border-color); + width: 2rem; + height: 2rem; + transition: outline-color 0.2s, border-color 0.2s; + border-radius: 6px; + margin: 0; + padding: 0; + outline-color: transparent; + background-color: var(--card-background); + cursor: pointer; +} +.layout-topbar-inner .topbar-items .topbar-item:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.layout-topbar-inner .topbar-items .topbar-item:hover { + border-color: var(--primary-color); +} +.layout-topbar-inner .topbar-items .topbar-item i, .layout-topbar-inner .topbar-items .topbar-item span { + color: var(--text-color); +} +.layout-topbar-inner .topbar-items .config-item { + background-color: var(--primary-color); +} +.layout-topbar-inner .topbar-items .config-item i { + color: var(--primary-contrast-color); +} +.layout-topbar-inner .topbar-items .config-panel { + position: absolute; + top: calc(100% + 2px); + inset-inline-end: 0; + width: 18rem; + padding: 0.75rem; + background-color: var(--overlay-background); + border-radius: 6px; + border: 1px solid var(--border-color); + transform-origin: top; + box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); +} +.layout-topbar-inner .topbar-items .config-panel .config-panel-content { + display: flex; + flex-direction: column; + gap: 1rem; +} +.layout-topbar-inner .topbar-items .config-panel .config-panel-label { + font-size: 0.875rem; + color: var(--text-secondary-color); + font-weight: 600; + line-height: 1; +} +.layout-topbar-inner .topbar-items .config-panel .config-panel-colors > div { + justify-content: flex-start; + padding-top: 0.5rem; + display: flex; + gap: 0.5rem; + flex-wrap: wrap; +} +.layout-topbar-inner .topbar-items .config-panel .config-panel-colors > div button { + border: none; + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + padding: 0; + cursor: pointer; + outline-color: transparent; + outline-width: 2px; + outline-style: solid; + outline-offset: 1px; +} +.layout-topbar-inner .topbar-items .config-panel .config-panel-colors > div button.active-color { + outline-color: var(--primary-color); +} +.layout-topbar-inner .topbar-items .config-panel .config-panel-settings { + display: flex; + flex-direction: column; + gap: 0.5rem; +} +.layout-topbar-inner .topbar-items .version-item { + width: auto; + padding: 0.5rem; +} +.layout-topbar-inner .topbar-items .version-item .version-text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.layout-topbar-inner .topbar-items .version-item .version-icon { + margin-left: 0.25rem; + color: var(--text-secondary-color); +} +.layout-topbar-inner .topbar-items .versions-panel { + padding: 0.25rem; + background-color: var(--overlay-background); + position: absolute; + right: 0; + top: calc(100% + 2px); + border-radius: 6px; + border: 1px solid var(--border-color); + box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); + transform-origin: top; +} +.layout-topbar-inner .topbar-items .versions-panel ul { + padding: 0; + margin: 0; + list-style-type: none; + display: flex; + flex-direction: column; + gap: 4px; +} +.layout-topbar-inner .topbar-items .versions-panel ul li { + margin: 2px; +} +.layout-topbar-inner .topbar-items .versions-panel ul a { + display: inline-flex; + padding: 0.5rem 0.75rem; + border-radius: 6px; + width: 100%; + overflow: hidden; + color: var(--text-color); + white-space: nowrap; +} +.layout-topbar-inner .topbar-items .versions-panel ul a:hover { + background-color: var(--hover-background); +} + +.layout-sidebar { + position: sticky; + inset-inline-start: 0; + top: 6rem; + height: calc(100vh - 9rem); + user-select: none; + transition: transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99), opacity 0.3s; + display: flex; + flex-direction: column; + padding: 0; + flex: 0 0 250px; + margin-inline-end: 4rem; + overflow: auto; +} +.layout-sidebar .logo { + display: flex; + justify-content: center; +} +.layout-sidebar nav { + padding-block: 0; + padding-inline: 1rem 0; + margin: 0; + flex-grow: 1; +} +.layout-sidebar .layout-menu { + list-style: none; + margin: 0; + padding: 0; +} +.layout-sidebar .layout-menu > li { + margin-bottom: 0.25rem; +} +.layout-sidebar .layout-menu > li > button, +.layout-sidebar .layout-menu > li > a { + display: flex; + width: 100%; + align-items: center; + padding-block: 0.5rem; + padding-inline: 1px; + color: var(--text-color); + font-weight: 600; + transition: outline-color 0.2s; + outline-color: transparent; + position: relative; + background: transparent; + font-size: 1rem; + border: 0 none; + margin: 0; + text-align: start; + cursor: pointer; + user-select: none; + --p-focus-ring-offset: -1px; +} +.layout-sidebar .layout-menu > li > button:focus-visible, +.layout-sidebar .layout-menu > li > a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.layout-sidebar .layout-menu > li > button .menu-icon, +.layout-sidebar .layout-menu > li > a .menu-icon { + width: 2rem; + height: 2rem; + border-radius: 6px; + margin-inline-end: 0.5rem; + border: 1px solid var(--border-color); + display: inline-flex; + align-items: center; + justify-content: center; + transition: all 0.2s; + position: relative; + background-color: transparent; +} +.layout-sidebar .layout-menu > li > button .menu-icon i, +.layout-sidebar .layout-menu > li > a .menu-icon i { + color: var(--text-color); + transition: all 0.2s; +} +.layout-sidebar .layout-menu > li > button .menu-toggle-icon, +.layout-sidebar .layout-menu > li > a .menu-toggle-icon { + color: var(--text-secondary-color); + margin-inline-start: auto; +} +.layout-sidebar .layout-menu > li > button:hover .menu-icon, +.layout-sidebar .layout-menu > li > a:hover .menu-icon { + background-color: var(--card-background); +} +.layout-sidebar .layout-menu > li > button:hover .menu-icon i, +.layout-sidebar .layout-menu > li > a:hover .menu-icon i { + color: var(--primary-text-color); +} +.layout-sidebar .layout-menu > li > button:hover .menu-toggle-icon, +.layout-sidebar .layout-menu > li > a:hover .menu-toggle-icon { + color: var(--text-color); +} +.layout-sidebar .layout-menu > li > button.router-link-active, +.layout-sidebar .layout-menu > li > a.router-link-active { + color: var(--primary-text-color); +} +.layout-sidebar .layout-menu > li > button.router-link-active > .menu-icon i, +.layout-sidebar .layout-menu > li > a.router-link-active > .menu-icon i { + color: var(--primary-text-color); +} +.layout-sidebar .layout-menu > li > div { + overflow: hidden; +} +.layout-sidebar .layout-menu > li > div ol { + margin-block: 0; + margin-inline: 0 1rem; + padding: 0.25rem 0; + list-style: none; +} +.layout-sidebar .layout-menu > li > div ol li a { + border-inline-start: 1px solid var(--border-color); + transition: all 0.2s; + font-weight: 450; + display: flex; + align-items: center; + padding: 0.5rem; + padding-inline-start: 1rem; + color: var(--text-secondary-color); + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + position: relative; + --p-focus-ring-offset: -1px; +} +.layout-sidebar .layout-menu > li > div ol li a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.layout-sidebar .layout-menu > li > div ol li a:hover { + border-inline-start-color: var(--hover-border-color); +} +.layout-sidebar .layout-menu > li > div ol li a.router-link-active { + color: var(--primary-text-color); + border-inline-start-color: var(--primary-text-color); +} +.layout-sidebar .layout-menu > li > div ol li ol { + margin: 0; + padding: 0; +} +.layout-sidebar .layout-menu > li > div ol li:has(.menu-child-category) { + margin-top: 1rem; +} +.layout-sidebar .layout-menu > li > div ol li:has(.menu-child-category):first-child { + margin-top: 0rem; +} +.layout-sidebar .layout-menu .p-tag { + position: absolute; + inset-inline-end: 0; + top: 50%; + transform: translateY(-50%); +} +.layout-sidebar .layout-menu .p-tag .p-tag-value { + line-height: 1; +} +.layout-sidebar .layout-menu .menu-child-category { + display: flex; + padding: 0.5rem; + padding-inline-start: 0; + font-size: 0.875rem; + font-weight: 600; + letter-spacing: 1px; + color: var(--text-secondary-color); + margin-bottom: 0.25rem; +} + +.layout-content { + padding: 6rem 4rem 0 4rem; + display: flex; +} +.layout-content .layout-content-slot { + flex: 1 1 auto; + width: 1%; + padding-top: 0.5rem; +} + +.card { + background: var(--card-background); + border: var(--card-border); + padding: 2rem; + border-radius: 10px; + margin-bottom: 1rem; +} + +.layout-news { + position: fixed; + top: 0; + left: 0; + z-index: 1100; + width: 100%; + height: 2rem; + padding: 0 2rem; + background-color: var(--primary-color); +} +.layout-news .layout-news-container { + display: flex; + justify-content: space-between; + align-items: center; + width: calc(100% - var(--p-scrollbar-width, 0px)); + height: 100%; +} +.layout-news .layout-news-content { + flex: 1; + display: flex; + justify-content: center; + align-items: center; + min-width: 0%; +} +.layout-news .layout-news-text { line-height: 1.5; + display: block; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + min-width: 0%; + font-weight: 500; + color: var(--primary-contrast-color); } -p:last-child { - margin-bottom: 0; +.layout-news .layout-news-link { + margin-left: 0.5rem; + line-height: 1.5; + white-space: nowrap; +} +.layout-news .layout-news-link, +.layout-news .layout-news-link:visited, +.layout-news .layout-news-link:active { + color: var(--primary-contrast-color); + font-weight: 700; +} +.layout-news .layout-news-link:hover { + text-decoration: underline; +} +.layout-news .layout-news-close { + color: var(--primary-contrast-color); + line-height: 1.5; + cursor: pointer; + display: inline-flex; + justify-content: center; + align-items: center; + border-radius: 50%; + width: 1.5rem; + height: 1.5rem; + transition: background-color 0.3s; + margin-left: 0.5rem; +} +.layout-news .layout-news-close:hover { + background-color: rgba(255, 255, 255, 0.2); +} + +.layout-news-active .layout-topbar { + top: 2rem; +} +.layout-news-active .layout-sidebar, +.layout-news-active .doc-section-nav { + top: 8rem; +} +.layout-news-active .layout-content { + padding-top: 8rem; +} +.layout-news-active .doc-section-label, +.layout-news-active .doc-table tbody td .doc-option-name, +.layout-news-active .doc-table tbody td > i { + scroll-margin-top: 8.5rem; +} + +.layout-footer { + padding: 2rem 4rem; + margin-top: 4rem; + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + font-weight: 500; + color: var(--text-color); + border-top: 1px solid var(--border-color); +} +.layout-footer a { + color: var(--primary-text-color); + font-weight: 700; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + border-radius: 6px; +} +.layout-footer a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.layout-footer a:hover { + text-decoration: underline; +} + +.layout-config { + backdrop-filter: blur(20px); + background-color: var(--mobile-menu-bg); +} +.layout-config .p-selectbutton .p-button { + padding: 0.5rem 1rem; +} +.layout-config .p-selectbutton .p-button:first-child { + border-start-start-radius: 6px; + border-end-start-radius: 6px; +} +.layout-config .p-selectbutton .p-button:last-child { + border-start-end-radius: 6px; + border-end-end-radius: 6px; +} +.layout-config button:focus-visible { + outline: 0 none; + border-color: var(--surface-500) !important; +} +.layout-config .grid > div { + padding: 1rem; +} +.layout-config .p-inputswitch .p-inputswitch-slider { + border-radius: 30px; +} +.layout-config .p-inputswitch .p-inputswitch-slider:before { + border-radius: 30px; +} + +.layout-light .layout-config { + background: var(--surface-overlay); +} + +.layout-dark .layout-config { + background: var(rgba(0, 0, 0, 0.3)); + border: 0 none; +} + +.config-panel { + padding: 0.75rem; + border-radius: 6px; + border: 1px solid var(--border-color); +} +.config-panel .config-panel-content { + display: flex; + flex-direction: column; + gap: 1rem; +} +.config-panel .config-panel-label { + font-size: 0.875rem; + color: var(--text-secondary-color); + font-weight: 600; + line-height: 1; +} +.config-panel .config-panel-colors > div { + padding-top: 0.5rem; + display: flex; + gap: 0.5rem; + flex-wrap: wrap; + justify-content: space-between; +} +.config-panel .config-panel-colors > div button { + border: none; + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + padding: 0; + cursor: pointer; + outline-color: transparent; + outline-width: 2px; + outline-style: solid; + outline-offset: 1px; +} +.config-panel .config-panel-colors > div button.active-color { + outline-color: var(--primary-color); +} +.config-panel .config-panel-settings { + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +code[class*=language-], +pre[class*=language-] { + background: none; + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; + text-align: start; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +div.code-toolbar > .toolbar { + display: none; +} + +pre[class*=language-] { + position: relative; + background: transparent; + margin: 0; + padding: 0; + max-height: 40rem; + overflow: auto; + color-scheme: dark; +} +pre[class*=language-]:before, pre[class*=language-]:after { + display: none !important; +} +pre[class*=language-] code { + border-left: 1rem solid transparent; + box-shadow: none; + margin: 0; + font-size: 14px; + border-radius: 10px; + color: #ffffff; + max-height: inherit; + height: inherit; + padding: 0 1rem; + display: block; + overflow: auto; +} +pre[class*=language-] code .token.comment, +pre[class*=language-] code .token.block-comment, +pre[class*=language-] code .token.prolog, +pre[class*=language-] code .token.doctype, +pre[class*=language-] code .token.cdata { + color: #bbf7d0; +} +pre[class*=language-] code .token.punctuation { + color: #bfdbfe; +} +pre[class*=language-] code .token.property, +pre[class*=language-] code .token.tag, +pre[class*=language-] code .token.boolean, +pre[class*=language-] code .token.number, +pre[class*=language-] code .token.function-name, +pre[class*=language-] code .token.constant, +pre[class*=language-] code .token.symbol, +pre[class*=language-] code .token.deleted { + color: #93c5fd; +} +pre[class*=language-] code .token.selector, +pre[class*=language-] code .token.attr-name, +pre[class*=language-] code .token.string, +pre[class*=language-] code .token.char, +pre[class*=language-] code .token.function, +pre[class*=language-] code .token.builtin, +pre[class*=language-] code .token.inserted { + color: #eff6ff; +} +pre[class*=language-] code .token.operator, +pre[class*=language-] code .token.entity, +pre[class*=language-] code .token.url, +pre[class*=language-] code .token.variable { + color: #ffffff; +} +pre[class*=language-] code .token.atrule, +pre[class*=language-] code .token.attr-value, +pre[class*=language-] code .token.keyword, +pre[class*=language-] code .token.class-name { + color: #bbf7d0; +} +pre[class*=language-] code .token.regex, +pre[class*=language-] code .token.important { + color: #fde68a; +} +pre[class*=language-] code .language-css .token.string, +pre[class*=language-] code .style .token.string { + color: #fde68a; +} +pre[class*=language-] code .token.important { + font-weight: normal; +} +pre[class*=language-] code .token.bold { + font-weight: bold; +} +pre[class*=language-] code .token.italic { + font-style: italic; +} +pre[class*=language-] code .token.entity { + cursor: help; +} + +.copy-to-clipboard-button { + display: none; +} + +pre[class*=language-] code { + background: var(--code-background); +} + +.mark { + border-radius: 6px; + padding: 2px 6px; + font-size: 1rem; + font-weight: 500; + font-style: normal; + background: var(--mark-background); + color: var(--mark-text); +} + +.doc-tabmenu { + list-style: none; + margin: 0; + padding: 0; + display: flex; + margin-bottom: 2rem; + overflow: auto; + position: relative; +} +.doc-tabmenu:after { + display: block; + position: absolute; + bottom: 0; + width: 100%; + border-bottom: 1px solid var(--border-color); + content: ""; +} +.doc-tabmenu li { + position: relative; + z-index: 1; +} +.doc-tabmenu li button { + background-color: transparent; + border: 0 none; + display: block; + padding: 0 2rem 1rem 2rem; + text-align: center; + color: var(--text-color); + font-size: 1rem; + letter-spacing: 1px; + cursor: pointer; + margin: 0; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + border-bottom: 1px solid transparent; + border-start-end-radius: 6px; + border-start-start-radius: 6px; + white-space: nowrap; + --p-focus-ring-offset: -1px; +} +.doc-tabmenu li button:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.doc-tabmenu li button:hover { + border-bottom-color: var(--hover-border-color); +} +.doc-tabmenu li button:focus { + outline: 0 none; +} +.doc-tabmenu li.doc-tabmenu-active button { + border-bottom-color: var(--primary-text-color); + color: var(--primary-text-color); +} +.doc-tabmenu::-webkit-scrollbar { + display: none; +} + +.doc-tabpanel, +.doc { + display: flex; +} + +.doc-main { + flex-grow: 1; + flex-shrink: 1; + flex-basis: 0; + min-width: 0; +} + +.doc-intro { + margin-bottom: 1.5rem; +} +.doc-intro p { + font-size: 1.25rem; + margin: 0; +} +.doc-intro p a { + color: var(--primary-text-color); + font-weight: 500; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + border-radius: 6px; +} +.doc-intro p a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.doc-intro p a:hover { + text-decoration: underline; +} + +.doc-link { + color: var(--primary-text-color); + font-weight: 500; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + border-radius: 6px; +} +.doc-link:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.doc-link:hover { + text-decoration: underline; +} + +.doc-section-label { + display: flex; + align-items: center; + scroll-margin-top: 6.5rem; +} +.doc-section-label > a { + color: var(--primary-text-color); + opacity: 0.7; + margin-inline-start: 1rem; + display: none; + transition: outline-color 0.2s, border-color 0.2s, opacity 0.2s; + outline-color: transparent; + border-radius: 6px; +} +.doc-section-label > a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.doc-section-label > .doc-section-label-badge { + margin-inline-start: 0.5rem; +} +.doc-section-label:has(.doc-section-label-badge) { + line-height: 1; +} +.doc-section-label:hover > a { + display: block; +} +.doc-section-label:hover > a:hover { + opacity: 1; +} + +.doc-section-description > p { + font-size: 1.125rem; +} +.doc-section-description > p i { + border-radius: 6px; + padding: 2px 6px; + font-size: 1rem; + font-weight: 500; + font-style: normal; + background: var(--mark-background); + color: var(--mark-text); +} +.doc-section-description > p a { + color: var(--primary-text-color); + font-weight: 500; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + border-radius: 6px; +} +.doc-section-description > p a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.doc-section-description > p a:hover { + text-decoration: underline; +} +.doc-section-description li { + font-size: 1.125rem; +} + +.doc-notification { + line-height: 1.5; + padding: 1rem; + font-weight: 500; + border-radius: 10px; + background: var(--mark-background); + color: var(--mark-text); + margin-bottom: 1rem; +} + +.doc-section-nav { + position: sticky; + top: 6rem; + right: 0; + width: 14rem; + max-height: calc(100vh - 15rem); + list-style: none; + margin: 0; + padding-block: 0.25rem; + padding-inline: 0; + margin-inline-start: 4rem; + overflow-y: auto; + overflow-x: hidden; + align-self: flex-start; +} +.doc-section-nav > .navbar-item .navbar-item-content { + border-inline-start: 1px solid var(--border-color); + padding-inline-start: 0.25rem; + transition: all 0.2s; +} +.doc-section-nav > .navbar-item .navbar-item-content:hover { + border-inline-start-color: var(--hover-border-color); +} +.doc-section-nav .navbar-item > .navbar-item-content { + display: flex; +} +.doc-section-nav .navbar-item > .navbar-item-content button { + font-size: 1rem; + text-align: start; + background: transparent; + margin: 0; + border: 0 none; + padding-block: 0.25rem; + padding-inline: 1rem; + color: var(--text-secondary-color); + white-space: nowrap; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + cursor: pointer; + user-select: none; + --p-focus-ring-offset: -1px; +} +.doc-section-nav .navbar-item > .navbar-item-content button:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.doc-section-nav .navbar-item > .navbar-item-content:hover button { + color: var(--text-color); +} +.doc-section-nav .navbar-item.active-navbar-item > .navbar-item-content { + border-color: var(--primary-text-color); +} +.doc-section-nav .navbar-item.active-navbar-item > .navbar-item-content button { + color: var(--primary-text-color); +} +.doc-section-nav .navbar-item ul { + list-style: none; + margin: 0; + padding: 0; +} +.doc-section-nav .navbar-item ul .navbar-item .navbar-item-content { + padding-inline-start: 1rem; +} + +.doc-section-code { + position: relative; +} +.doc-section-code div::-webkit-scrollbar { + width: 5px; +} +.doc-section-code:not(:last-child) { + margin-bottom: 1rem; +} +.doc-section-code:hover .doc-section-code-buttons { + display: flex; +} + +.doc-section-code-buttons { + position: absolute; + align-items: center; + justify-content: end; + z-index: 1; + top: 0.75rem; + right: 0.75rem; + gap: 0.5rem; + display: none; + background: rgba(255, 255, 255, 0.05); + border-radius: 10px; + padding: 2px; + backdrop-filter: blur(6px); + border: 1px solid rgba(255, 255, 255, 0.1); +} +.doc-section-code-buttons button { + outline: 0 none; + border-radius: 8px; + outline-offset: 0; + background-color: transparent; + transition: background-color 0.2s, box-shadow 0.2s; + border: 0 none; + color: var(--code-button-text-color); + cursor: pointer; +} +.doc-section-code-buttons button:hover { + background-color: rgba(255, 255, 255, 0.1); + color: var(--code-button-text-color); +} +.doc-section-code-buttons button.code-active { + color: #bbf7d0; +} + +.doc-section-code-tooltip .p-tooltip-text { + padding: 0.5rem; + font-size: 11px; +} + +.doc-tablewrapper { + overflow: auto; +} + +.doc-table { + border-collapse: collapse; + width: 100%; + min-width: 960px; + margin-bottom: 1.5rem; +} +.doc-table th { + border-bottom: 1px solid var(--border-color); + padding: 0.75rem 1rem; + text-align: start; + text-transform: capitalize; +} +.doc-table tbody tr:hover { + background: var(--hover-background); +} +.doc-table tbody td { + padding: 0.75rem 1rem; + border-bottom: 1px solid var(--border-color); + white-space: pre-line; + line-height: 1.5; + scroll-margin-top: 6.5rem; +} +.doc-table tbody td:first-child { + color: var(--primary-text-color); + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; + font-weight: 600; +} +.doc-table tbody td .doc-option-type { + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; + color: var(--primary-text-color); + font-weight: 500; +} +.doc-table tbody td .doc-option-type .doc-option-type-options-container { + display: flex; + align-items: center; +} +.doc-table tbody td .doc-option-type.doc-option-link:hover { + text-decoration: underline; +} +.doc-table tbody td .doc-option-name, +.doc-table tbody td > i:not(.pi) { + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; + position: relative; + scroll-margin-top: 6.5rem; + background-color: var(--mark-background); + color: var(--mark-text); + border-radius: 6px; + padding: 2px 6px; + font-weight: 600; + font-style: normal; + white-space: nowrap; +} +.doc-table tbody td .doc-option-name .doc-option-link, +.doc-table tbody td > i:not(.pi) .doc-option-link { + position: absolute; + top: 0; + right: -1.5rem; + color: var(--primary-text-color); + opacity: 0.7; + display: none; + transition: opacity 0.3s, colors 0.3s; +} +.doc-table tbody td:hover .doc-option-name .doc-option-link { + display: inline; +} +.doc-table tbody td:hover .doc-option-name .doc-option-link:hover { + opacity: 1; +} +.doc-table tbody td .doc-option-default, +.doc-table tbody td .doc-option-returnType { + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; + font-weight: 400; + font-style: normal; + display: flex; + border-width: 1px; + border-style: solid; + border-radius: 6px; + padding: 2px 6px; + max-width: min-content; + border-color: var(--border-color); + background-color: var(--card-background); + color: var(--text-secondary-color); +} +.doc-table tbody td .doc-option-parameter-name { + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; +} +.doc-table tbody td .doc-option-parameter-type { + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; + color: var(--primary-text-color); +} +.doc-table tbody td .doc-option-params { + font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; +} + +.DocSearch-Button { + border-radius: 6px; + border: 1px solid var(--border-color); + height: 2rem; + background-color: var(--card-background); + margin: 0; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + padding: 0 0.5rem; +} +.DocSearch-Button:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.DocSearch-Button:hover { + border-color: var(--primary-color); + box-shadow: none; +} +.DocSearch-Button .DocSearch-Search-Icon { + width: 1rem; + height: 1rem; +} +.DocSearch-Button .DocSearch-Button-Keys { + overflow: hidden; + min-width: auto; + height: auto; + background: transparent; + display: flex; + align-items: center; + justify-content: center; + width: auto; + padding: 0; + gap: 2px; +} +.DocSearch-Button .DocSearch-Button-Keys .DocSearch-Button-Key { + background: transparent; + display: flex; + padding: 0; + margin: 0; + top: 0; + border-radius: 0; + height: auto; + width: auto; + font-family: inherit; +} +.DocSearch-Button .DocSearch-Button-Keys .DocSearch-Button-Key:first-child { + font-size: 0.75rem; + line-height: normal; +} +.DocSearch-Button .DocSearch-Button-Keys .DocSearch-Button-Key:last-child { + justify-content: start; + align-items: center; + font-size: 0.75rem; + position: relative; +} +.DocSearch-Button .DocSearch-Button-Keys .DocSearch-Button-Key:last-child::before { + content: "\e90d"; + display: flex; + color: var(--text-color); + font-family: "primeicons"; + font-size: 0.4rem; + opacity: 0.7; + margin-right: 2px; + height: 13.5px; + align-items: center; + font-weight: 700; +} + +.DocSearch-Container { + z-index: 1101; +} + +.DocSearch-Modal { + border: 1px solid var(--border-color); + box-shadow: none; +} + +.DocSearch-Footer { + box-shadow: none; + border-top: 1px solid var(--border-color); + background-color: var(--overlay-background); +} + +.DocSearch-Form { + background: var(--card-background); + box-shadow: none; + border: 1px solid var(--border-color); + border-radius: 6px; + transition: border-color 0.3s; +} +.DocSearch-Form:hover { + border-color: var(--primary-color); +} +.DocSearch-Form .DocSearch-MagnifierLabel, .DocSearch-Form .DocSearch-Reset { + color: var(--text-color); +} + +.DocSearch-Hit { + border-bottom: 1px solid var(--border-color); + padding-bottom: 0; + margin-bottom: 0.25rem; +} + +.DocSearch-Hit-source { + color: var(--primary-text-color); +} + +.DocSearch-Logo .cls-1, .DocSearch-Logo .cls-2 { + fill: var(--primary-text-color); +} + +.DocSearch-Prefill { + color: var(--primary-text-color); +} + +.DocSearch-Button-Placeholder { + text-align: center; + display: inline-block; + font-size: 0.875rem; +} + +:root { + --docsearch-searchbox-focus-background: var(--card-background); + --docsearch-text-color: var(--text-color); + --docsearch-muted-color: var(--text-color); + --docsearch-searchbox-background: var(--card-background); + --docsearch-text-color: var(--text-color); + --docsearch-modal-background: var(--overlay-background); + --docsearch-key-gradient: var(--ground-background); + --docsearch-key-shadow: none; + --docsearch-container-background: var(--docsearch-mask-background); + --docsearch-hit-background: var(--overlay-background); + --docsearch-hit-shadow: none; + --docsearch-spacing: 1rem; + --docsearch-hit-color: var(--text-color); + --docsearch-highlight-color: var(--primary-color); + --docsearch-hit-active-color: var(--primary-contrast-color); + --docsearch-searchbox-shadow: none; +} + +@media screen and (min-width: 1920px) { + .layout-content { + max-width: 1728px; + margin: 0 auto; + } + + .layout-topbar-inner, + .layout-footer { + max-width: 1728px; + margin: 0 auto; + } +} +@media screen and (max-width: 1199px) { + .layout-topbar-inner { + padding-left: 2rem; + padding-right: 2rem; + } + .layout-topbar-inner .menu-button { + display: block; + } + .layout-topbar-inner .layout-topbar-logo-container { + width: auto; + margin-right: 0; + } + .layout-topbar-inner .DocSearch-Button { + width: 2rem; + height: 2rem; + overflow: hidden; + padding: 0; + justify-content: center; + align-items: center; + } + .layout-topbar-inner .DocSearch-Button .DocSearch-Search-Icon { + width: 1rem; + height: 1rem; + } + .layout-topbar-inner .DocSearch-Button .DocSearch-Button-Placeholder, + .layout-topbar-inner .DocSearch-Button .DocSearch-Button-Keys { + display: none; + } + + .layout-sidebar { + top: 0; + inset-inline-start: 0; + position: fixed; + z-index: 1102; + height: 100%; + transform: translateX(-100%); + background-color: var(--mobile-menu-background); + backdrop-filter: blur(20px); + width: 300px; + opacity: 0; + } + .layout-sidebar:dir(rtl) { + transform: translateX(100%); + } + .layout-sidebar nav { + padding: 1rem 1rem; + } + .layout-sidebar.active { + opacity: 1; + transform: translateX(0); + } + + .layout-news-active .layout-sidebar { + top: 0; + } + + .layout-mask { + background-color: rgba(0, 0, 0, 0.1); + } + .layout-mask.layout-mask-active { + z-index: 1101; + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.4); + transition: background-color 0.5s; + } + + .doc-section-nav { + display: none; + } + + .video-container { + position: relative; + width: 100%; + height: 0; + padding-bottom: 56.25%; + } + .video-container iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + .layout-content { + padding-left: 2rem; + padding-right: 2rem; + } + + .layout-footer { + padding-left: 2rem; + padding-right: 2rem; + } + + .blocked-scroll { + overflow: hidden; + padding-right: var(--p-scrollbar-width); + } +} +@media (max-width: 768px) { + .DocSearch-Container { + position: fixed !important; + } +} +@media screen and (max-width: 575px) { + .layout-topbar-inner { + padding-left: 1rem; + padding-right: 1rem; + } + .layout-topbar-inner .layout-topbar-logo { + display: none; + } + .layout-topbar-inner .layout-topbar-icon { + display: inline-flex; + } + + .layout-content { + padding-left: 1rem; + padding-right: 1rem; + } + + .layout-footer { + padding-left: 1rem; + padding-right: 1rem; + } + + .doc-tabmenu li { + flex: 1 1 0; + } + .doc-tabmenu li button { + width: 100%; + min-width: auto; + } + + .layout-news { + padding-left: 1rem; + padding-right: 1rem; + font-size: 12px; + } + .layout-news > i { + display: none; + } +} +.landing { + scroll-behavior: smooth; + padding-top: 4rem; + background-color: var(--ground-background); +} +.landing .box { + border: 1px solid var(--border-color); + border-radius: 10px; + background-color: var(--card-background); + position: relative; + z-index: 0; +} +.landing .box::before, .landing .box::after { + content: ""; + position: absolute; + top: -2px; + left: -2px; + right: -2px; + bottom: -2px; + border: 2px solid var(--home-box-ring-color); + transition: all 0.5s; + animation: clippath 3s infinite linear; + border-radius: 10px; + opacity: 0; + z-index: -1; +} +.landing .box::after { + animation: clippath 3s infinite -1.5s linear; +} +.landing .box:hover::before, .landing .box:hover::after { + opacity: 1; +} +.landing .linkbox { + transition: background-color 0.2s, border-color 0.2s, outline-color 0.2s; + display: inline-flex; + align-items: center; + color: var(--text-color); + border: 1px solid var(--border-color); + background-color: var(--card-background); + border-radius: 10px; + font-weight: 600; + padding: 1rem 1.5rem; + cursor: pointer; +} +.landing .linkbox:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.landing .linkbox:hover { + background: var(--hover-background); +} +.landing .linkbox.linkbox-primary { + background: var(--primary-color); + color: var(--primary-contrast-color); +} +.landing .linkbox.linkbox-primary:hover { + background: var(--primary-hover-color); +} +.landing .linkbox.linkbox-icon { + width: 3rem; + height: 3rem; + justify-content: center; +} +.landing .section-header { + font-size: 2rem; + color: var(--text-color); + font-weight: 700; + text-align: center; + padding: 0 2rem; +} +.landing .section-detail { + text-align: center; + color: var(--text-secondary-color); + font-weight: 500; + font-size: 1.25rem; + margin: 1.5rem 0 0 0; + padding: 0 2rem; +} +.landing .section-divider { + border: 1px solid var(--border-color); + height: 1px; + border-bottom: 0 none; + overflow: hidden; + margin-top: 5rem; +} +.landing.layout-news-active { + padding-top: 6rem; +} + +.landing-footer-container { + max-width: 1250px !important; + margin-left: auto !important; + margin-right: auto !important; +} + +.animated-text { + position: relative; + padding: 0.25rem 0.5rem; + border-radius: var(--rounded-base); + display: inline-block; + width: 14.45rem; +} +.animated-text::before { + border-radius: var(--rounded-base); + animation: color-animation 2s linear infinite; + background-size: auto auto; + background-clip: border-box; + background-size: 200% auto; + content: ""; + width: 14.45rem; + height: 1.5rem; + position: absolute; + z-index: 0; + background-image: linear-gradient(-225deg, var(--p-blue-400) 30%, var(--p-cyan-400) 60%, var(--p-purple-400) 80%); + filter: blur(24px); + opacity: 0.6; +} +.animated-text > span { + position: relative; + z-index: 3; + background-image: linear-gradient(-225deg, var(--p-blue-400) 30%, var(--p-cyan-400) 60%, var(--p-purple-400) 80%); + animation: color-animation 2s linear infinite; + background-size: auto auto; + background-clip: border-box; + background-size: 200% auto; + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +@keyframes color-animation { + 40%, 100% { + background-position: -200% center; + } +} +@keyframes scroll { + 0% { + transform: translateX(0%); + } + 100% { + transform: translateX(calc(-100% - 3rem)); + } +} +@keyframes clippath { + 0%, 100% { + clip-path: inset(0 0 98% 0); + } + 25% { + clip-path: inset(0 98% 0 0); + } + 50% { + clip-path: inset(98% 0 0 0); + } + 75% { + clip-path: inset(0 0 0 98%); + } +} +.landing-hero .p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link { + background: transparent; +} +.landing-hero .box { + box-shadow: var(--home-card-shadow); +} + +@media screen and (min-width: 1660px) { + .landing-hero { + width: 1504px !important; + margin-left: auto !important; + margin-right: auto !important; + } +} +.landing-users .fade-right { + background: linear-gradient(to left, var(--ground-background), transparent); +} +.landing-users .fade-left { + background: linear-gradient(to right, var(--ground-background), transparent); +} +.landing-users .section-detail { + max-width: 1250px !important; + margin-left: auto !important; + margin-right: auto !important; +} +.landing-users .users-container { + max-width: 1250px !important; + margin-left: auto !important; + margin-right: auto !important; +} +.landing-users .users-container .marquee-wrapper { + user-select: none; + gap: 3rem; + justify-content: center; + align-items: center; + flex-shrink: 0; +} +.landing-users .users-container .marquee { + flex-shrink: 0; + display: flex; + align-items: center; + justify-content: space-around; + gap: 3rem; + min-width: 100%; + animation: scroll 30s linear infinite; +} +.landing-users .users-container .marquee > div { + max-width: clamp(10rem, 1rem + 28vmin, 20rem); + aspect-ratio: 1; + display: flex; + justify-content: center; + align-items: center; + height: 8rem; +} +.landing-users .users-container .marquee.marquee-reverse { + animation-direction: reverse; + animation-delay: -15s; +} + +.landing-getstarted .download-icon { + color: var(--home-highlight-color); +} +.landing-getstarted .download-box span { + color: var(--home-primary-text-color); +} + +.landing-themes .table-container { + width: 1250px; + box-shadow: var(--home-card-shadow); +} + +.landing-blocks * { + box-sizing: content-box; +} +.landing-blocks .prime-blocks { + transform: rotateX(55deg) rotateY(0deg) rotateZ(-45deg); + margin: -12rem 0; +} +.landing-blocks .prime-blocks.blocks-animation .prime-block .block-sidebar, +.landing-blocks .prime-blocks.blocks-animation .prime-block .block-header, +.landing-blocks .prime-blocks.blocks-animation .prime-block .block-sidebar-list, +.landing-blocks .prime-blocks.blocks-animation .prime-block .block-content { + opacity: 1; + visibility: visible; + transform: scale(1); +} +.landing-blocks .prime-blocks .prime-block { + background: var(--ground-surface); + box-shadow: var(--home-blocks-block-shadow); + border-left: 5px solid var(--border-color); + border-bottom: 7px solid var(--border-color); + border-radius: 10px; + height: 300px; + width: 600px; + position: relative; + z-index: 1; + margin: 15px; + transition: opacity 1.3s, transform 1.3s; +} +.landing-blocks .prime-blocks .prime-block .block-sidebar, +.landing-blocks .prime-blocks .prime-block .block-header, +.landing-blocks .prime-blocks .prime-block .block-sidebar-list, +.landing-blocks .prime-blocks .prime-block .block-content { + transition: opacity 1.3s, transform 1.3s; + opacity: 0; + visibility: hidden; + transform: scale(0.9); +} +.landing-blocks .prime-blocks .prime-block:before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + border-radius: 6px; + border: 1px solid var(--border-color); +} +.landing-blocks .prime-blocks .prime-block .block-sidebar, +.landing-blocks .prime-blocks .prime-block .block-header { + background: var(--home-blocks-sidebar-bg); + border-radius: 6px; +} +.landing-blocks .prime-blocks .prime-block .block-sidebar-list { + background: var(--home-blocks-list-bg); +} +.landing-blocks .prime-blocks .prime-block .block-content .block-main { + border: 1px solid var(--border-color); + border-radius: 13px; + background: var(--home-blocks-main-bg); +} +.landing-blocks .prime-blocks .block-item { + background: var(--home-blocks-item-bg); + border-radius: 6px; + padding: 1rem; + transition: transform 1s, box-shadow 1s; + overflow: hidden; + transform: translateY(0); +} +.landing-blocks .prime-blocks .block-item .box { + border-radius: 4px; + width: 14px; + height: 14px; +} +.landing-blocks .prime-blocks .block-item .box.box-orange { + background-color: #F57C00; +} +.landing-blocks .prime-blocks .block-item .box.box-pink { + background-color: #E91E63; +} +.landing-blocks .prime-blocks .block-item .box.box-green { + background-color: #4CAF50; +} +.landing-blocks .prime-blocks .block-item .box.box-blue { + background-color: #2196F3; +} +.landing-blocks .prime-blocks .block-item .block-image { + background-color: var(--home-blocks-image-bg); + height: 44px; +} +.landing-blocks .prime-blocks .block-item .text { + display: block; + font-size: 24px; + font-weight: 700; + color: var(--home-blocks-text-color); +} +.landing-blocks .prime-blocks .block-item.block-item-active { + box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.1); + border-radius: 6px; + border-top: 1px solid var(--border-color); + border-right: 1px solid var(--border-color); + border-bottom: 4px solid var(--border-color); + border-left: 4px solid var(--border-color); + position: relative; + z-index: 5; + animation: block-animation 1500ms ease-in-out alternate infinite; +} +.landing-blocks .prime-blocks .block-item.block-item-active.animation-2 { + animation-delay: 1s; +} +.landing-blocks .prime-blocks .block-item.block-item-active.animation-3 { + animation-delay: 1.5s; +} +.landing-blocks .prime-blocks .block-item.block-item-col { + background: none !important; + border: none; + padding: 12px 0; +} +.landing-blocks .prime-blocks .block-item.block-item-table { + border-radius: 100px; + padding: 10px; +} +.landing-blocks .prime-blocks .block-item.block-item-table .bar { + background: var(--home-blocks-tablebar-bg); +} +.landing-blocks .prime-blocks .bar { + background: var(--home-blocks-bar-bg); + height: 6px; + border-radius: 10px; +} +.landing-blocks .prime-blocks .bar.bar-highlight { + background: var(--primary-color); +} +.landing-blocks .prime-blocks .bar.bar-highlight:before { + background: var(--primary-contrast-color) !important; +} +.landing-blocks .prime-blocks .bar.bar-button { + height: 16px; + position: relative; +} +.landing-blocks .prime-blocks .bar.bar-button:before { + content: ""; + position: absolute; + top: 6px; + left: 10px; + right: 10px; + bottom: 6px; + height: 3px; + border-radius: 6px; + background: var(--home-blocks-bar-button-bg); +} +.landing-blocks .prime-blocks .circle { + width: 18px; + height: 18px; + border-radius: 100%; + background: var(--home-blocks-circle-bg); +} +.landing-blocks .prime-blocks .circle.circle-small { + width: 8px; + height: 8px; +} +.landing-blocks .prime-blocks .circle.circle-medium { + width: 14px; + height: 14px; +} +.landing-blocks .prime-blocks .circle.circle-highlight { + background: var(--primary-color); +} + +@media screen and (max-width: 1199px) { + .landing-blocks .prime-blocks { + margin: -24rem 0; + transform: rotateX(55deg) rotateY(0deg) rotateZ(-45deg) scale(0.6); + } +} +@keyframes block-animation { + to { + transform: translateY(-10px) translateX(10px) scale(1.02); + box-shadow: 0px 30px 50px 10px rgba(0, 0, 0, 0.2); + } +} +.landing-templates { + overflow: hidden; +} +.landing-templates .templates { + transform: rotateX(55deg) rotateY(0deg) rotateZ(-45deg); + position: relative; + z-index: 1; +} +.landing-templates .templates .template-block { + width: 504px; + height: 257px; + background-size: cover; + border-radius: 6px; + overflow: hidden; + box-shadow: var(--home-templates-block-shadow); + border-left: 5px solid var(--border-color); + border-bottom: 7px solid var(--border-color); + position: relative; + z-index: 1; + transition: 1.5s; + opacity: 0; + visibility: hidden; +} +.landing-templates .templates .template-block.block-1 { + animation: animated-block-1 2s ease-in-out alternate infinite; +} +.landing-templates .templates .template-block.block-2 { + animation: animated-block-2 2s 0.2s ease-in-out alternate infinite; +} +.landing-templates .templates .template-block.block-middle { + transform: scale(0.9); +} +.landing-templates .templates .template-block.block-3 { + animation: animated-block-1 2s 0.4s ease-in-out alternate infinite; +} +.landing-templates .templates .template-block.block-4 { + animation: animated-block-2 2s 0.6s ease-in-out alternate infinite; +} +.landing-templates .templates .template-block.block-5 { + animation: animated-block-1 2s 0.8s ease-in-out alternate infinite; +} +.landing-templates .templates .template-block.block-6 { + animation: animated-block-2 2s 1s ease-in-out alternate infinite; +} +.landing-templates .templates .template-block:hover:before { + opacity: 1; +} +.landing-templates .templates .template-block:hover .templates-btn { + transform: scale(1); + opacity: 1; + visibility: visible; +} +.landing-templates .templates .template-block:before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: -1; + transition: 0.4s; + opacity: 0; + background-color: var(--home-templates-block-hover-bg); +} +.landing-templates .templates .template-block .templates-btn { + transition: 0.4s; + opacity: 0; + visibility: hidden; + transform: scale(0.4); + background: var(--card-background); + border-radius: 30px; + padding: 8px 10px; + color: var(--text-color); + font-size: 14px; + text-decoration: none; + box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.25); + border-top: 1px solid var(--border-color); + border-right: 1px solid var(--border-color); + border-left: 3px solid var(--border-color); + border-bottom: 4px solid var(--border-color); +} +.landing-templates .templates .template-block.block-middle { + border: 0 none; + box-shadow: none; +} +.landing-templates .templates .template-block.block-middle:before { + display: none; +} +.landing-templates .templates .template-block .img-1 { + opacity: 0; + visibility: hidden; + transition: 1s; + transform: scale(0.4); + transition-delay: 0.8s; +} +.landing-templates .templates .template-block .img-2 { + opacity: 0; + visibility: hidden; + transition: 1s; + transform: scale(0.4); + transition-delay: 1.1s; +} +.landing-templates .templates .lines { + opacity: 0; + position: absolute; + top: 0; + left: 0; + width: 0%; + height: 100%; + z-index: -1; + transition: 2s; +} +.landing-templates .templates .lines .top { + position: absolute; + top: 0; + left: 50%; + transform: translate(-50%, -25%); + z-index: -1; + display: flex; + width: 800px; + height: 200%; + align-items: center; + justify-content: space-between; +} +.landing-templates .templates .lines .top span { + display: block; + width: 1px; + height: 100%; + background: var(--home-templates-line); +} +.landing-templates .templates .lines .left { + position: absolute; + top: 50%; + left: 0; + transform: translateY(-50%); + z-index: -1; + width: 100%; + height: 800px; + display: flex; + align-items: center; + flex-direction: column; + justify-content: space-between; +} +.landing-templates .templates .lines .left span { + display: block; + width: 100%; + height: 1px; + background: var(--home-templates-line); +} +.landing-templates .templates.templates-animation .template-block { + opacity: 1; + visibility: visible; + transition: none !important; +} +.landing-templates .templates.templates-animation .block-middle .theme-mode, .landing-templates .templates.templates-animation .block-middle img { + opacity: 1; + visibility: visible; + transform: scale(1); + transition: none !important; +} +.landing-templates .templates.templates-animation .lines { + opacity: 0.5; + width: 100%; +} + +@media screen and (max-width: 1199px) { + .landing-templates .templates .template-block { + width: 336px; + height: 171px; + border: none !important; + } +} +@media screen and (max-width: 991px) { + .landing-templates .templates { + transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); + } + .landing-templates .templates .template-block { + width: 336px; + height: 171px; + border: none !important; + animation: none !important; + margin-right: 0 !important; + margin-left: 0 !important; + } + .landing-templates .templates .lines { + display: none; + } +} +@media screen and (max-width: 767px) { + .landing-templates .templates { + transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); + } + .landing-templates .templates .template-block { + width: 354px; + height: 180px; + } +} +@keyframes animated-block-1 { + to { + transform: translateX(-10px); + } +} +@keyframes animated-block-2 { + to { + transform: translateX(10px); + } +} +.landing-features .box { + box-shadow: var(--home-card-shadow); +} +.landing-features .features-container { + max-width: 1250px !important; + margin-left: auto !important; + margin-right: auto !important; +} + +.landing-footer a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} + +.template-features-animation-card:hover .template-features-animation-card-order div:nth-child(3) { + animation: p-features-order-animation 2.5s ease-in-out; + color: var(--p-primary-400); +} +.template-features-animation-card-active .template-features-animation-card-order div:nth-child(3) { + animation: p-features-order-animation 2.5s ease-in-out; + color: var(--p-primary-400); +} + +.template-features a { + color: var(--primary-text-color); + font-weight: 500; + transition: outline-color 0.2s, border-color 0.2s; + outline-color: transparent; + border-radius: 6px; +} +.template-features a:focus-visible { + outline: 1px solid var(--primary-color); + outline-offset: var(--p-focus-ring-offset); +} +.template-features a:hover { + text-decoration: underline; +} + +@keyframes p-features-order-animation { + 0% { + clip-path: polygon(0% 100%, 15% 100%, 32% 100%, 54% 100%, 70% 100%, 84% 100%, 100% 100%, 100% 100%, 0% 100%); + } + 20% { + clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%); + } + 40% { + clip-path: polygon(0% 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%); + } + 60% { + clip-path: polygon(0 51%, 14% 31%, 33% 42%, 49% 53%, 68% 55%, 85% 50%, 100% 60%, 100% 100%, 0 100%); + } + 100% { + clip-path: polygon(0 0, 18% 0, 39% 0, 53% 0, 62% 0, 87% 0, 100% 0, 100% 100%, 0 100%); + } +} +.designer [type=color] { + margin-top: -4px; + border: 0 none; + padding: 0; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + width: 28px; + height: 28px; + background-color: transparent; + border: none; + cursor: pointer; +} +.designer [type=color]::-webkit-color-swatch { + border-radius: 4px; + width: 24px; + height: 24px; + border: 0 none; +} +.designer .p-fieldset-toggleable > .p-fieldset-legend:hover { + background: transparent; +} +.designer .p-drawer-header { + padding: 1.25rem !important; +} +.designer .p-drawer-content { + padding: 1.25rem !important; +} +.designer .p-drawer-footer { + padding: 1.25rem !important; +} +.designer .p-tabpanels { + padding-left: 0px !important; + padding-right: 0px !important; +} +.designer .p-autocomplete > input { + @apply border border-surface-300 dark:border-surface-600 rounded-lg py-2 px-2 w-full; +} +.designer .p-autocomplete > input[type=color] { + @apply pr-8; +} +.designer .p-autocomplete .p-autocomplete-overlay { + @apply border border-surface-200 dark:border-surface-700 bg-surface-0 dark:bg-surface-950 rounded-md; +} +.designer .p-autocomplete .p-autocomplete-list-container { + @apply max-h-40 overflow-auto; +} +.designer .p-autocomplete .p-autocomplete-list { + @apply m-0 py-2 px-2 list-none; +} +.designer .p-autocomplete ul > li { + @apply cursor-pointer py-1 text-sm text-surface-700 dark:text-white/80 data-[p-focus=true]:bg-surface-100 data-[p-focus=true]:dark:bg-surface-800 rounded-md px-0; } diff --git a/booklore-ui/src/assets/layout/styles/layout/layout.scss b/booklore-ui/src/assets/layout/styles/layout/layout.scss index b29651a51..fe63404b7 100644 --- a/booklore-ui/src/assets/layout/styles/layout/layout.scss +++ b/booklore-ui/src/assets/layout/styles/layout/layout.scss @@ -10,3 +10,7 @@ @import "./_responsive"; @import "./_utils"; @import "./_typography"; +@import "./variables/landing/dark"; +@import "./variables/landing/light"; +@import "./variables/main/dark"; +@import "./variables/main/light"; diff --git a/booklore-ui/src/index.html b/booklore-ui/src/index.html index cbdf71502..66dfe5252 100644 --- a/booklore-ui/src/index.html +++ b/booklore-ui/src/index.html @@ -7,7 +7,6 @@ - diff --git a/booklore-ui/src/styles.scss b/booklore-ui/src/styles.scss index 8274a9b26..4d77f6a5d 100644 --- a/booklore-ui/src/styles.scss +++ b/booklore-ui/src/styles.scss @@ -1,2 +1,3 @@ -@use "assets/layout/styles/layout/layout.scss"; @import "../node_modules/primeicons/primeicons.css"; +@import "assets/layout/styles/global.scss"; +