Checkpoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
.book-card {
|
.book-card {
|
||||||
background-color: var(--surface-card);
|
background-color: var(--card-background);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
height: calc(100vh - 10rem);
|
height: calc(100vh - 10rem);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
transition: transform 0.2s, left 0.2s;
|
transition: transform 0.2s, left 0.2s;
|
||||||
background-color: var(--surface-card);
|
background-color: var(--card-background);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
padding: 1.5rem 2rem;
|
padding: 1.5rem 2rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
background-color: var(--surface-card);
|
background-color: var(--card-background);
|
||||||
border-radius: 12px 12px 0 0;
|
border-radius: 12px 12px 0 0;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background-color: var(--surface-card);
|
background-color: var(--card-background);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
|
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
.infinite-scroller-a-book {
|
.infinite-scroller-a-book {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: var(--surface-card);
|
background-color: var(--card-background);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
flex: 0 0 9.5%;
|
flex: 0 0 9.5%;
|
||||||
scroll-snap-align: start;
|
scroll-snap-align: start;
|
||||||
|
|||||||
@@ -38,9 +38,5 @@
|
|||||||
</p-button>
|
</p-button>
|
||||||
<p-button [rounded]="true" [outlined]="true" severity="help"> </p-button>
|
<p-button [rounded]="true" [outlined]="true" severity="help"> </p-button>
|
||||||
<app-configurator></app-configurator>
|
<app-configurator></app-configurator>
|
||||||
|
|
||||||
<div class="top-bar-app-theme-switcher">
|
|
||||||
<app-theme-switcher></app-theme-switcher>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import {LayoutService} from './service/app.layout.service';
|
|||||||
import {RouterLink} from '@angular/router';
|
import {RouterLink} from '@angular/router';
|
||||||
import {DialogService as PrimeDialogService, DynamicDialogRef} from 'primeng/dynamicdialog';
|
import {DialogService as PrimeDialogService, DynamicDialogRef} from 'primeng/dynamicdialog';
|
||||||
import {LibraryCreatorComponent} from '../library-creator/library-creator.component';
|
import {LibraryCreatorComponent} from '../library-creator/library-creator.component';
|
||||||
import {ThemeSwitcherComponent} from '../theme-switcher/theme-switcher.component';
|
|
||||||
import {TooltipModule} from 'primeng/tooltip';
|
import {TooltipModule} from 'primeng/tooltip';
|
||||||
import {FormsModule} from '@angular/forms';
|
import {FormsModule} from '@angular/forms';
|
||||||
import {InputTextModule} from 'primeng/inputtext';
|
import {InputTextModule} from 'primeng/inputtext';
|
||||||
@@ -26,7 +25,6 @@ import {AppConfiguratorComponent} from '../../../configurator/configurator.compo
|
|||||||
FormsModule,
|
FormsModule,
|
||||||
InputTextModule,
|
InputTextModule,
|
||||||
SearchComponent,
|
SearchComponent,
|
||||||
ThemeSwitcherComponent,
|
|
||||||
NgIf,
|
NgIf,
|
||||||
Button,
|
Button,
|
||||||
AppConfiguratorComponent
|
AppConfiguratorComponent
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export class AppConfigService {
|
|||||||
preset: 'Aura',
|
preset: 'Aura',
|
||||||
primary: 'noir',
|
primary: 'noir',
|
||||||
surface: null,
|
surface: null,
|
||||||
darkTheme: false,
|
darkTheme: true,
|
||||||
menuActive: false,
|
menuActive: false,
|
||||||
designerKey: 'primeng-designer-theme',
|
designerKey: 'primeng-designer-theme',
|
||||||
RTL: false
|
RTL: false
|
||||||
|
|||||||
@@ -60,18 +60,15 @@ const presets = {
|
|||||||
[title]="surface.name"
|
[title]="surface.name"
|
||||||
(click)="updateColors($event, 'surface', surface)"
|
(click)="updateColors($event, 'surface', surface)"
|
||||||
[ngClass]="{ 'active-color': selectedSurfaceColor() ? selectedSurfaceColor() === surface.name : configService.appState().darkTheme ? surface.name === 'zinc' : surface.name === 'slate' }"
|
[ngClass]="{ 'active-color': selectedSurfaceColor() ? selectedSurfaceColor() === surface.name : configService.appState().darkTheme ? surface.name === 'zinc' : surface.name === 'slate' }"
|
||||||
[style]="{
|
[style]="{'background-color': surface.name === 'noir' ? 'var(--text-color)' : surface.palette['500'] }">
|
||||||
'background-color': surface.name === 'noir' ? 'var(--text-color)' : surface.palette['500']
|
</button>
|
||||||
}"
|
|
||||||
></button>
|
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="config-panel-settings">
|
<div class="config-panel-settings">
|
||||||
<span class="config-panel-label">Presets</span>
|
<span class="config-panel-label">Presets</span>
|
||||||
<p-selectbutton [options]="presets" [ngModel]="selectedPreset()" (ngModelChange)="onPresetChange($event)"
|
<p-selectbutton [options]="presets" [ngModel]="selectedPreset()" (ngModelChange)="onPresetChange($event)" [allowEmpty]="false" size="small"/>
|
||||||
[allowEmpty]="false" size="small"/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
transition: transform 1s;
|
transition: transform 1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--primary-400);
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
top: 5.2rem;
|
top: 5.2rem;
|
||||||
left: 1.2rem;
|
left: 1.2rem;
|
||||||
transition: transform $transitionDuration, left $transitionDuration;
|
transition: transform $transitionDuration, left $transitionDuration;
|
||||||
background-color: var(--surface-overlay);
|
background-color: var(--card-background);
|
||||||
border-radius: $borderRadius;
|
border-radius: $borderRadius;
|
||||||
padding: 0.5rem 1.35rem;
|
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);
|
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);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 1.75rem;
|
padding: 0 1.75rem;
|
||||||
background-color: var(--surface-card);
|
background-color: var(--card-background);
|
||||||
transition: left $transitionDuration;
|
transition: left $transitionDuration;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.card {
|
.card {
|
||||||
background: var(--surface-card);
|
background: var(--card-background);
|
||||||
border: 1px solid var(--surface-border);
|
border: 1px solid var(--surface-border);
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
@@ -17,4 +17,4 @@
|
|||||||
&.p-toast-top-center {
|
&.p-toast-top-center {
|
||||||
top: 100px;
|
top: 100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -10,3 +10,7 @@
|
|||||||
@import "./_responsive";
|
@import "./_responsive";
|
||||||
@import "./_utils";
|
@import "./_utils";
|
||||||
@import "./_typography";
|
@import "./_typography";
|
||||||
|
@import "./variables/landing/dark";
|
||||||
|
@import "./variables/landing/light";
|
||||||
|
@import "./variables/main/dark";
|
||||||
|
@import "./variables/main/light";
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
<base href="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
<link id="theme-link" rel="stylesheet" type="text/css" href="assets/layout/styles/theme/mdc-dark-deeppurple/theme.css">
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
@use "assets/layout/styles/layout/layout.scss";
|
|
||||||
@import "../node_modules/primeicons/primeicons.css";
|
@import "../node_modules/primeicons/primeicons.css";
|
||||||
|
@import "assets/layout/styles/global.scss";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user