Checkpoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.book-card {
|
||||
background-color: var(--surface-card);
|
||||
background-color: var(--card-background);
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
@@ -38,9 +38,5 @@
|
||||
</p-button>
|
||||
<p-button [rounded]="true" [outlined]="true" severity="help"> </p-button>
|
||||
<app-configurator></app-configurator>
|
||||
|
||||
<div class="top-bar-app-theme-switcher">
|
||||
<app-theme-switcher></app-theme-switcher>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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']
|
||||
}"
|
||||
></button>
|
||||
[style]="{'background-color': surface.name === 'noir' ? 'var(--text-color)' : surface.palette['500'] }">
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="config-panel-settings">
|
||||
<span class="config-panel-label">Presets</span>
|
||||
<p-selectbutton [options]="presets" [ngModel]="selectedPreset()" (ngModelChange)="onPresetChange($event)"
|
||||
[allowEmpty]="false" size="small"/>
|
||||
<p-selectbutton [options]="presets" [ngModel]="selectedPreset()" (ngModelChange)="onPresetChange($event)" [allowEmpty]="false" size="small"/>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<div class="flex-1">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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";
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
@use "assets/layout/styles/layout/layout.scss";
|
||||
@import "../node_modules/primeicons/primeicons.css";
|
||||
@import "assets/layout/styles/global.scss";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user