Removed footer and layout fixes
This commit is contained in:
@@ -46,9 +46,9 @@
|
||||
</div>
|
||||
<div class="book-browser-footer" *ngIf="selectedBooks.size > 0">
|
||||
<div class="footer-items-container">
|
||||
<p-button *ngIf="(entityType$ | async) === 'Library'" icon="pi pi-ellipsis-v" label="Options" severity="primary" [outlined]="true" (click)="menu.toggle($event)"></p-button>
|
||||
<p-button *ngIf="(entityType$ | async) === 'Shelf'" icon="pi pi-minus-circle" label="Unshelf" severity="primary" [outlined]="true" (click)="unshelfBooks()"></p-button>
|
||||
<p-button icon="pi pi-times" label="Deselect" severity="warning" [outlined]="true" (click)="deselectAllBooks()"></p-button>
|
||||
<p-button *ngIf="(entityType$ | async) === 'Library'" icon="pi pi-ellipsis-v" label="Options" severity="info" (click)="menu.toggle($event)"></p-button>
|
||||
<p-button *ngIf="(entityType$ | async) === 'Shelf'" icon="pi pi-minus-circle" label="Unshelf" severity="info" (click)="unshelfBooks()"></p-button>
|
||||
<p-button icon="pi pi-times" label="Deselect" severity="warning" (click)="deselectAllBooks()"></p-button>
|
||||
</div>
|
||||
<p-menu #menu [model]="multiSelectItems" [popup]="true" appendTo="body"></p-menu>
|
||||
</div>
|
||||
|
||||
@@ -31,15 +31,15 @@
|
||||
|
||||
.virtual-scroller {
|
||||
width: 100%;
|
||||
height: calc(100vh - 210px);
|
||||
height: calc(100vh - 11.5rem);
|
||||
padding: 1rem;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.virtual-scroller-item {
|
||||
height: 210px;
|
||||
width: 130px;
|
||||
height: 220px;
|
||||
width: 135px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
@@ -47,7 +47,6 @@
|
||||
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
||||
gap: 1.3rem;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<div class="layout-footer">
|
||||
<img src="assets/layout/images/{{layoutService.config().colorScheme === 'light' ? 'logo-dark' : 'logo-white'}}.svg" alt="Logo" height="20" class="mr-2"/>
|
||||
by
|
||||
<span class="font-medium ml-2">Aditya C.</span>
|
||||
</div>
|
||||
@@ -1,10 +0,0 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { LayoutService } from "./service/app.layout.service";
|
||||
|
||||
@Component({
|
||||
selector: 'app-footer',
|
||||
templateUrl: './app.footer.component.html'
|
||||
})
|
||||
export class AppFooterComponent {
|
||||
constructor(public layoutService: LayoutService) { }
|
||||
}
|
||||
@@ -7,7 +7,6 @@
|
||||
<div class="layout-main">
|
||||
<router-outlet></router-outlet>
|
||||
</div>
|
||||
<app-footer></app-footer>
|
||||
</div>
|
||||
<app-config></app-config>
|
||||
<div class="layout-mask"></div>
|
||||
|
||||
@@ -4,7 +4,6 @@ import { filter, Subscription } from 'rxjs';
|
||||
import { LayoutService } from "./service/app.layout.service";
|
||||
import { AppSidebarComponent } from "./app.sidebar.component";
|
||||
import { AppTopBarComponent } from './app.topbar.component';
|
||||
import {AppFooterComponent} from "./app.footer.component";
|
||||
import {AppConfigComponent} from "./config/app.config.component";
|
||||
import {NgClass} from '@angular/common';
|
||||
import {ToastModule} from 'primeng/toast';
|
||||
@@ -13,7 +12,6 @@ import {ToastModule} from 'primeng/toast';
|
||||
selector: 'app-layout',
|
||||
imports: [
|
||||
RouterOutlet,
|
||||
AppFooterComponent,
|
||||
AppConfigComponent,
|
||||
AppSidebarComponent,
|
||||
AppTopBarComponent,
|
||||
|
||||
@@ -13,7 +13,6 @@ import { AppMenuComponent } from './app.menu.component';
|
||||
import { AppMenuitemComponent } from './app.menuitem.component';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { AppTopBarComponent } from './app.topbar.component';
|
||||
import { AppFooterComponent } from './app.footer.component';
|
||||
import { AppConfigModule } from './config/config.module';
|
||||
import { AppSidebarComponent } from "./app.sidebar.component";
|
||||
import { AppLayoutComponent } from "./app.layout.component";
|
||||
@@ -37,7 +36,6 @@ import { AppLayoutComponent } from "./app.layout.component";
|
||||
AppConfigModule,
|
||||
AppMenuitemComponent,
|
||||
AppTopBarComponent,
|
||||
AppFooterComponent,
|
||||
AppMenuComponent,
|
||||
AppSidebarComponent,
|
||||
AppLayoutComponent
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
justify-content: space-between;
|
||||
padding: 5.5rem 2rem 2rem 4rem;
|
||||
padding: 5.2rem 1.2rem 2rem 3.6rem;
|
||||
transition: margin-left $transitionDuration;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
.layout-sidebar {
|
||||
position: fixed;
|
||||
width: 225px;
|
||||
height: calc(100vh - 9rem);
|
||||
height: calc(100vh - 6.5rem);
|
||||
z-index: 999;
|
||||
overflow-y: auto;
|
||||
user-select: none;
|
||||
top: 5.5rem;
|
||||
left: 1.5rem;
|
||||
top: 5.2rem;
|
||||
left: 1.2rem;
|
||||
transition: transform $transitionDuration, left $transitionDuration;
|
||||
background-color: var(--surface-overlay);
|
||||
border-radius: $borderRadius;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
.layout-main-container {
|
||||
margin-left: 0;
|
||||
padding-left: 2rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
padding: 0 2rem;
|
||||
padding: 0 1.75rem;
|
||||
background-color: var(--surface-card);
|
||||
transition: left $transitionDuration;
|
||||
display: flex;
|
||||
@@ -22,7 +22,7 @@
|
||||
color: var(--surface-900);
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
width: 228px;
|
||||
width: 200px;
|
||||
border-radius: 12px;
|
||||
|
||||
img {
|
||||
|
||||
Reference in New Issue
Block a user