Fixes login table style

This commit is contained in:
apapachristou 2019-10-29 18:17:04 +02:00
parent b8058f17f6
commit bb91873194
2 changed files with 113 additions and 54 deletions

View File

@ -7,32 +7,45 @@
<button *ngIf="hasGoogleOauth()" mat-icon-button id="googleSignInButton" class="login-social-button">
<i class="fa fa-google"></i>
</button>
</div>
<div class="col">
<button *ngIf="hasLinkedInOauth()" mat-icon-button class="login-social-button">
<i class="fa fa-linkedin" (click)="linkedInLogin()"></i>
</button>
</div>
<div class="col">
<button *ngIf="hasFacebookOauth()" mat-icon-button (click)="facebookLogin()" class="login-social-button">
<i class="fa fa-facebook-square"></i>
</button>
</div>
<div class="col">
<button *ngIf="hasTwitterOauth()" mat-icon-button (click)="twitterLogin()" class="login-social-button">
<i class="fa fa-twitter"></i>
</button>
</div>
</div>
<div class="row mt-2 accesss-methods">
<div class="col justify-content-center">
<div class="w-100"></div>
<div class="row pt-2 mb-4 accesss-methods">
<!-- <div class="col justify-content-center"> -->
<div class="col-auto logo">
<button *ngIf="hasB2AccessOauth()" class="b2access-button" mat-icon-button (click)="b2AccessLogin()" class="login-social-button">
<span class="iconmedium"></span>
<!-- <span></span> -->
</button>
</div>
<div class="col-auto orcid-logo">
<button *ngIf="hasOrcidOauth()" class="orcid-button" mat-icon-button (click)="orcidLogin()" class="login-social-button">
<span class="orcidIconMedium"></span>
<!-- <span></span> -->
</button>
</div>
<div class="col-auto openaire-logo">
<button *ngIf="hasOpenAireOauth()" class="openaire-button" mat-icon-button (click)="openaireLogin()" class="login-social-button">
<span class="openaireIcon"></span>
<!-- <span></span> -->
</button>
</div>
<!-- </div> -->
</div>
</div>
<div class="card-footer">

View File

@ -28,36 +28,32 @@
margin-top: 40px;
}
@media (min-width: 1200px) {
.container {
width: 100%;
}
}
@media (min-width: 992px) {
.container {
width: 100%;
}
}
@media (min-width: 768px) {
.container {
width: 100%;
}
}
// @media (max-width: 438px) {
// .social-btns i {
// padding: 0.4em !important;
// }
// }
.container {
height: 100%;
position: relative;
z-index: 1;
}
@-webkit-keyframes card {
from {
top: -40px;
}
to {
top: 0;
}
}
@keyframes card {
from {
top: -40px;
}
to {
top: 0;
}
}
.card {
position: relative;
padding: 20px;
@ -80,26 +76,6 @@
animation-fill-mode: forwards;
}
@-webkit-keyframes card {
from {
top: -40px;
}
to {
top: 0;
}
}
@keyframes card {
from {
top: -40px;
}
to {
top: 0;
}
}
.card-header {
position: relative;
overflow: hidden;
@ -124,6 +100,7 @@
.social-btns {
height: 6em;
justify-content: center;
}
.social-btns i {
@ -132,10 +109,44 @@
color: #fff;
}
// .social-btns:hover {
// background-color: #f5f5f5;
// border-radius: 1em;
// }
.social-btns .col {
flex-grow: 0;
}
.social-btns i:hover {
background-color: #f5f5f51c;
border-radius: 60%;
}
.accesss-methods {
height: 5em;
justify-content: center;
}
.accesss-methods .col-auto:hover {
background-color: #f5f5f51c;
border-radius: 100%;
}
.accesss-methods .logo {
flex-grow: 0;
padding-top: 21px;
padding-bottom: 21px;
}
.accesss-methods .openaire-logo {
flex-grow: 0;
padding-top: 21px;
padding-bottom: 21px;
margin-top: 5px;
height: 90px;
}
.accesss-methods .orcid-logo {
height: 75px;
padding-top: 8px;
margin-top: 13px;
}
.tip {
margin-top: -20px;
@ -196,7 +207,7 @@ span.orcidIconMedium {
background: url(img/ORCIDiD_medium.png) no-repeat;
background-position: center;
float: right;
width: 100px;
width: 56px;
height: 56px;
// margin-left: 1em;
// margin-right: 1em;
@ -206,7 +217,7 @@ span.openaireIcon {
background: url(img/openaire_small.png) no-repeat;
background-position: center;
float: right;
width: 100px;
width: 80px;
height: 56px;
// margin-left: 1em;
// margin-right: 1em;
@ -244,6 +255,41 @@ span.openaireIcon {
height: auto;
}
.accesss-methods {
height: 5em;
@media (min-width: 1200px) {
.container {
width: 100%;
}
}
@media (min-width: 992px) {
.container {
width: 100%;
}
}
@media (min-width: 768px) {
.container {
width: 100%;
}
}
@media (min-width: 401px) and (max-width: 560px) {
.social-btns i {
padding: 0.4em !important;
}
.accesss-methods {
padding-top: 1em;
}
}
@media (min-width: 0px) and (max-width: 400px) {
.social-btns i {
padding: 0.4em !important;
}
.card-header {
height: 350px !important;
}
.accesss-methods {
padding-top: 1em;
}
}