scss improvments
This commit is contained in:
parent
34755be840
commit
b3f77eb721
@ -1,3 +0,0 @@
|
|||||||
.text-warning {
|
|
||||||
color: darkred;
|
|
||||||
}
|
|
@ -2,8 +2,7 @@ import {Component, OnInit} from '@angular/core';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-imprint',
|
selector: 'app-imprint',
|
||||||
templateUrl: './general.imprint.html',
|
templateUrl: './general.imprint.html'
|
||||||
styleUrls: ['./general.component.scss']
|
|
||||||
})
|
})
|
||||||
export class ImprintComponent implements OnInit {
|
export class ImprintComponent implements OnInit {
|
||||||
|
|
||||||
@ -17,8 +16,7 @@ export class ImprintComponent implements OnInit {
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-privacy-policy',
|
selector: 'app-privacy-policy',
|
||||||
templateUrl: './general.privacy-policy.html',
|
templateUrl: './general.privacy-policy.html'
|
||||||
styleUrls: ['./general.component.scss']
|
|
||||||
})
|
})
|
||||||
export class PrivacyPolicyComponent implements OnInit {
|
export class PrivacyPolicyComponent implements OnInit {
|
||||||
|
|
||||||
@ -32,8 +30,7 @@ export class PrivacyPolicyComponent implements OnInit {
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-terms-of-service',
|
selector: 'app-terms-of-service',
|
||||||
templateUrl: './general.terms-of-service.html',
|
templateUrl: './general.terms-of-service.html'
|
||||||
styleUrls: ['./general.component.scss']
|
|
||||||
})
|
})
|
||||||
export class TermsOfServiceComponent implements OnInit {
|
export class TermsOfServiceComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<mat-card>
|
<mat-card class="accent">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>404</mat-card-title>
|
<mat-card-title>404</mat-card-title>
|
||||||
<mat-card-subtitle>{{'not-found' | i18n}}</mat-card-subtitle>
|
<mat-card-subtitle>{{'not-found' | i18n}}</mat-card-subtitle>
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
@import './../../../variables.scss';
|
|
||||||
|
|
||||||
mat-card-header {
|
|
||||||
background-color: $accent !important;
|
|
||||||
padding: 16px ;
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
mat-card {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
mat-card-content {
|
|
||||||
padding: 16px;
|
|
||||||
}
|
|
@ -2,8 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-notfound',
|
selector: 'app-notfound',
|
||||||
templateUrl: './notfound.component.html',
|
templateUrl: './notfound.component.html'
|
||||||
styleUrls: ['./notfound.component.scss']
|
|
||||||
})
|
})
|
||||||
export class NotfoundComponent implements OnInit {
|
export class NotfoundComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<mat-card>
|
<mat-card class="warn">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>503</mat-card-title>
|
<mat-card-title>503</mat-card-title>
|
||||||
<mat-card-subtitle>{{'service-unavailable' | i18n}}</mat-card-subtitle>
|
<mat-card-subtitle>{{'service-unavailable' | i18n}}</mat-card-subtitle>
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
@import './../../../variables.scss';
|
|
||||||
|
|
||||||
mat-card-header {
|
|
||||||
background-color: $warn !important;
|
|
||||||
padding: 16px ;
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
mat-card {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
mat-card-content, mat-card-actions {
|
|
||||||
padding: 16px !important;
|
|
||||||
}
|
|
@ -3,8 +3,7 @@ import { Location } from '@angular/common'
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-unavailable',
|
selector: 'app-unavailable',
|
||||||
templateUrl: './unavailable.component.html',
|
templateUrl: './unavailable.component.html'
|
||||||
styleUrls: ['./unavailable.component.scss']
|
|
||||||
})
|
})
|
||||||
export class UnavailableComponent implements OnInit {
|
export class UnavailableComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<app-profilefields [profileFields]="profileFields"></app-profilefields>
|
<app-profilefields [profileFields]="profileFields"></app-profilefields>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<mat-card *ngIf="error">
|
<mat-card class="warn" *ngIf="error">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>{{error.status}}</mat-card-title>
|
<mat-card-title>{{error.status}}</mat-card-title>
|
||||||
<mat-card-subtitle>{{'user.unavailable' | i18n}}</mat-card-subtitle>
|
<mat-card-subtitle>{{'user.unavailable' | i18n}}</mat-card-subtitle>
|
||||||
|
@ -6,8 +6,7 @@ import {ProfileService} from '../../services/profile.service';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-user',
|
selector: 'app-user',
|
||||||
templateUrl: './user.component.html',
|
templateUrl: './user.component.html'
|
||||||
styleUrls: ['./user.component.scss']
|
|
||||||
})
|
})
|
||||||
export class UserComponent implements OnInit {
|
export class UserComponent implements OnInit {
|
||||||
|
|
||||||
|
@ -191,6 +191,72 @@ mat-sidenav-container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text-warning {
|
.text-warning {
|
||||||
color: darkred;
|
color: $warn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mat-card.warn,
|
||||||
|
mat-card.accent {
|
||||||
|
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
mat-card-content {
|
||||||
|
padding: 16px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
mat-card-header {
|
||||||
|
padding: 16px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
mat-card-actions {
|
||||||
|
padding: 16px !important;
|
||||||
|
padding-top: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
mat-card.warn mat-card-header {
|
||||||
|
background-color: $warn !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
mat-card.accent mat-card-header {
|
||||||
|
background-color: $accent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
table {
|
||||||
|
border: 0;
|
||||||
|
border-spacing: 0;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
th,
|
||||||
|
td,
|
||||||
|
td {
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
font-size: 14px;
|
||||||
|
border: 0;
|
||||||
|
padding: 14px;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
border-bottom-color: rgba(0, 0, 0, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
th:first-of-type,
|
||||||
|
td:first-of-type,
|
||||||
|
td:first-of-type {
|
||||||
|
padding-left: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead {
|
||||||
|
tr {
|
||||||
|
height: 56px;
|
||||||
|
|
||||||
|
th {
|
||||||
|
color: rgba(0, 0, 0, 0.54);
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -17,4 +17,4 @@ $dark-warn: mat-palette($mat-deep-orange);
|
|||||||
$primary: mat-color($dark-primary);
|
$primary: mat-color($dark-primary);
|
||||||
$accent: mat-color($dark-accent);
|
$accent: mat-color($dark-accent);
|
||||||
$warn: mat-color($dark-warn);
|
$warn: mat-color($dark-warn);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user