better textboxes

This commit is contained in:
2020-05-28 20:54:25 +02:00
parent f795850766
commit e652db7741
8 changed files with 31 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
@import "../../../../styles/shadow"; @import "../../../../styles/shadow";
.song { .song {
background: #fffe; background: #fff5;
width: 100%; width: 100%;
padding: 10px; padding: 10px;
border-radius: 8px; border-radius: 8px;

View File

@@ -39,7 +39,7 @@
</app-button-row> </app-button-row>
</app-card> </app-card>
<app-card *ngIf="!!(files$|async)" heading="Anhänge"> <app-card *ngIf="(files$|async).length>0" heading="Anhänge">
<p *ngFor="let file of (files$|async)"> <p *ngFor="let file of (files$|async)">
<app-file [file]="file"></app-file> <app-file [file]="file"></app-file>
</p> </p>

View File

@@ -8,12 +8,14 @@ p.error {
} }
.login { .login {
backdrop-filter: blur(12px);
padding: 20px; padding: 20px;
width: 400px; width: 400px;
margin: 100px 0; margin: 100px 0;
background: #fffc; background: #fffa;
border-radius: 8px; border-radius: 8px;
font-size: 18px; font-size: 18px;
position: relative;
@media screen and (max-width: 860px) { @media screen and (max-width: 860px) {
margin: 20px; margin: 20px;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -8,10 +8,11 @@ nav {
left: 0; left: 0;
right: 0; right: 0;
height: 50px; height: 50px;
background: #222; background: #222b;
color: #fff; color: #fff;
z-index: 1; z-index: 1;
.card-3; box-shadow: 0px -5px 20px 4px rgba(0, 0, 0, 0.39), 1px 0px 6px 4px rgba(0, 0, 0, 0.53);
backdrop-filter: blur(10px);
transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;
display: flex; display: flex;

View File

@@ -1,10 +1,10 @@
@import "../../../../styles/shadow"; @import "../../../../styles/shadow";
.card { .card {
.card-3;
margin: 20px; margin: 20px;
border-radius: 8px; border-radius: 8px;
background: #fffb; background: #fffb;
backdrop-filter: blur(12px);
overflow: hidden; overflow: hidden;
width: 800px; width: 800px;
position: relative; position: relative;

BIN
src/assets/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 KiB

BIN
src/assets/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

View File

@@ -20,6 +20,8 @@ body {
background: -webkit-linear-gradient(to bottom, #373b44, @primary-color); /* Chrome 10-25, Safari 5.1-6 */ background: -webkit-linear-gradient(to bottom, #373b44, @primary-color); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #373b44, @primary-color); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ background: linear-gradient(to bottom, #373b44, @primary-color); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background-attachment: fixed; background-attachment: fixed;
background: url("/assets/background.png");
background-size: cover;
} }
p { p {
@@ -100,3 +102,23 @@ select:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0px 1000px #0000 inset; -webkit-box-shadow: 0 0 0px 1000px #0000 inset;
transition: background-color 5000s ease-in-out 0s; transition: background-color 5000s ease-in-out 0s;
} }
mat-dialog-container.mat-dialog-container {
background: #fffb;
backdrop-filter: blur(8px);
border-radius: 8px;
}
.mat-form-field-outline {
background: #fff4;
border-radius: 4px;
}
.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap {
border-top-color: inherit !important;
}
.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,
.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {
transform: translateY(-1.0em) scale(0.75);
}