Updated look of buttons and several home page elements

pull/413/head
Isaac Abadi 4 years ago
parent 34245bd339
commit dac5919ffb

@ -28,7 +28,7 @@
</div> </div>
</div> </div>
<div> <div>
<div class="container"> <div class="container" style="margin-bottom: 16px">
<div class="row justify-content-center"> <div class="row justify-content-center">
<ng-container *ngIf="normal_files_received && paged_data"> <ng-container *ngIf="normal_files_received && paged_data">
<div *ngFor="let file of paged_data; let i = index" class="mb-2 mt-2 d-flex justify-content-center" [ngClass]="[ postsService.card_size === 'small' ? 'col-2 small-col' : '', postsService.card_size === 'medium' ? 'col-6 col-lg-4 medium-col' : '', postsService.card_size === 'large' ? 'col-12 large-col' : '' ]"> <div *ngFor="let file of paged_data; let i = index" class="mb-2 mt-2 d-flex justify-content-center" [ngClass]="[ postsService.card_size === 'small' ? 'col-2 small-col' : '', postsService.card_size === 'medium' ? 'col-6 col-lg-4 medium-col' : '', postsService.card_size === 'large' ? 'col-12 large-col' : '' ]">

@ -133,12 +133,16 @@ mat-form-field.mat-form-field {
top: -5px; top: -5px;
} }
.border-radius-both {
border-radius: 16px;
}
.no-border-radius-bottom { .no-border-radius-bottom {
border-radius: 4px 4px 0px 0px; border-radius: 16px 16px 0px 0px;
} }
.no-border-radius-top { .no-border-radius-top {
border-radius: 0px 0px 4px 4px; border-radius: 0px 0px 16px 16px;
} }
@media (max-width: 576px) { @media (max-width: 576px) {

@ -1,6 +1,6 @@
<br/> <br/>
<div class="big demo-basic"> <div class="big demo-basic">
<mat-card id="card" style="margin-right: 20px; margin-left: 20px;" [ngClass]="(allowAdvancedDownload) ? 'no-border-radius-bottom' : null"> <mat-card id="card" style="margin-right: 20px; margin-left: 20px;" [ngClass]="(allowAdvancedDownload) ? 'no-border-radius-bottom' : 'border-radius-both'">
<mat-card-content style="padding: 0px 8px 0px 8px;"> <mat-card-content style="padding: 0px 8px 0px 8px;">
<div style="position: relative; margin-right: 15px;"> <div style="position: relative; margin-right: 15px;">
<form class="example-form"> <form class="example-form">

@ -42,6 +42,10 @@ $dark-theme: mat-dark-theme($dark-primary, $dark-accent, $dark-warn);
@include angular-material-theme($dark-theme); @include angular-material-theme($dark-theme);
} }
.mat-stroked-button, .mat-raised-button, .mat-flat-button {
border-radius: 24px !important
}
// Light theme // Light theme
$light-primary: mat-palette($mat-grey, 200, 500, 300); $light-primary: mat-palette($mat-grey, 200, 500, 300);
$light-accent: mat-palette($mat-brown, 200); $light-accent: mat-palette($mat-brown, 200);
@ -50,7 +54,7 @@ $light-warn: mat-palette($mat-deep-orange, 200);
$light-theme: mat-light-theme($light-primary, $light-accent, $light-warn); $light-theme: mat-light-theme($light-primary, $light-accent, $light-warn);
.light-theme { .light-theme {
@include angular-material-theme($light-theme) @include angular-material-theme($light-theme);
} }
.no-outline { .no-outline {

Loading…
Cancel
Save