stats campaign lineredesign and new bg

pull/38/head
HardiReady 2018-08-04 10:35:26 +02:00
parent 7bcbf182bc
commit 6395aac17a
11 changed files with 32 additions and 54 deletions

View File

@ -8,7 +8,7 @@
background-image: url('../../../assets/bg.jpg'); background-image: url('../../../assets/bg.jpg');
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
background-position: center; background-position: top;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
@ -27,8 +27,7 @@
.return-button { .return-button {
position: absolute; position: absolute;
display: block; padding-left: 5px;
width: auto;
} }
.table { .table {

View File

@ -8,7 +8,7 @@
background-image: url('../../assets/bg.jpg'); background-image: url('../../assets/bg.jpg');
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
background-position: center; background-position: top;
background-repeat: no-repeat; background-repeat: no-repeat;
} }

View File

@ -4,6 +4,14 @@
margin: 0 auto; margin: 0 auto;
} }
.form-signin > .row {
width: 400px;
}
.form-signin-heading {
text-align: center;
}
.form-signin .form-signin-heading, .form-signin .checkbox, #inputEmail { .form-signin .form-signin-heading, .form-signin .checkbox, #inputEmail {
margin-bottom: 10px; margin-bottom: 10px;
} }
@ -38,39 +46,8 @@
border-top-right-radius: 0; border-top-right-radius: 0;
} }
.account-wall { button {
margin-top: 20px; width: 100%;
padding: 40px 0px 20px 0px;
background-color: #f7f7f7;
-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.login-title {
color: #555;
font-size: 18px;
font-weight: 400;
display: block;
}
.profile-img {
width: 96px;
height: 96px;
margin: 0 auto 10px;
display: block;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}
.need-help {
margin-top: 10px;
}
.new-account {
display: block;
margin-top: 10px;
} }
/* Loading Animation */ /* Loading Animation */

View File

@ -1,7 +1,6 @@
<form class="form-signin" (ngSubmit)="login(userName.value, password.value)"> <form class="form-signin" (ngSubmit)="login(userName.value, password.value)">
<div class="row">
<div class="row" style="position: absolute;width: 400px;left: 40%;"> <h2 class="form-signin-heading">Login</h2>
<h2 style="text-align: center;" class="form-signin-heading">Anmelden</h2>
<label for="inputEmail" class="sr-only">Benutzername</label> <label for="inputEmail" class="sr-only">Benutzername</label>
<input #userName id="inputEmail" class="form-control" placeholder="Benutzername" required="" autofocus=""> <input #userName id="inputEmail" class="form-control" placeholder="Benutzername" required="" autofocus="">
@ -9,15 +8,12 @@
<label for="inputPassword" class="sr-only">Passwort</label> <label for="inputPassword" class="sr-only">Passwort</label>
<input #password type="password" id="inputPassword" class="form-control" placeholder="Passwort" required=""> <input #password type="password" id="inputPassword" class="form-control" placeholder="Passwort" required="">
<div class="form-group"> <div class="form-group">
<button type="submit" class="btn btn-lg btn-block btn-primary"> <button mat-stroked-button type="submit">
<span *ngIf="!loading">Anmelden</span> <span *ngIf="!loading">Anmelden</span>
<span *ngIf="loading" class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> <span *ngIf="loading" class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span>
</button> </button>
</div> </div>
</div> </div>
</form> </form>

View File

@ -8,7 +8,7 @@
background-image: url('../../../assets/bg.jpg'); background-image: url('../../../assets/bg.jpg');
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
background-position: center; background-position: top;
background-repeat: no-repeat; background-repeat: no-repeat;
} }

View File

@ -8,7 +8,7 @@
background-image: url('../../../assets/bg.jpg'); background-image: url('../../../assets/bg.jpg');
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
background-position: center; background-position: top;
background-repeat: no-repeat; background-repeat: no-repeat;
} }

View File

@ -30,21 +30,25 @@
} }
.campaign-entry { .campaign-entry {
border: 1px solid #dadada; border: 1px solid #222222;
min-width: 120px; min-width: 120px;
width: 20%; width: 20%;
padding: 15px; max-height: 4em;
padding: 10px 0;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
font-size: 16px; font-size: 16px;
float: left; float: left;
color: #333333; background: #424242;
color: #9d9d9d;
} }
.active { .active {
background: #e7e7e7; background: #222222;
color: white;
border-bottom: 3px solid #ffd740;
} }
.campaign-entry:hover { .campaign-entry:hover {
background: #f9f9f9; border-bottom: 3px solid #ffd740;
} }

View File

@ -16,6 +16,7 @@
position: fixed; position: fixed;
top: calc(100vh - 35px); top: calc(100vh - 35px);
left: -10px; left: -10px;
background: white; background: #424242;
border: 1px solid #dadada; border: 1px solid #dadada;
box-shadow: #ffd740 0 0 3px;
} }

View File

@ -21,8 +21,8 @@
} }
.select-indicator { .select-indicator {
width: 30px; width: 29px;
height: 30px; height: 29px;
position: absolute; position: absolute;
left: calc(100% + 11px); left: calc(100% + 11px);
background: -moz-linear-gradient(45deg, white 50%, transparent 50%); background: -moz-linear-gradient(45deg, white 50%, transparent 50%);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 KiB

After

Width:  |  Height:  |  Size: 892 KiB

View File

@ -46,6 +46,7 @@ form {
position: static; position: static;
float: left; float: left;
border-right: thin solid #dadada; border-right: thin solid #dadada;
box-shadow: #dadada 1px 1px 6px;
} }
#right { #right {