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