fix: login flow handling (#491)

* fix: login flow handling

* fix: cancel button

* fix: hover in light design

* fix: profile image width

* fix: profile image width

* fix: profile image width
This commit is contained in:
Fabi
2020-07-22 11:43:32 +02:00
committed by GitHub
parent 520cc161d7
commit f39d3a3cc7
29 changed files with 195 additions and 86 deletions
@@ -175,7 +175,8 @@ input:not([type=radio]), select {
}
form button.user-selection .profile-image, .login-profile .profile-image {
height: 100px;
height: 80px;
width: 80px;
background-position: center;
background-repeat: no-repeat;
background-image: url("../../../images/icon-user-dark.png");
@@ -183,7 +184,7 @@ form button.user-selection .profile-image, .login-profile .profile-image {
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
form button.user-selection .profile-image, .login-profile .profile-image {
background-image: url("../../../images/[email protected]");
background-size: 100px 100px;
background-size: 80px 80px;
}
}
form button.user-selection:hover .profile-image, .login-profile:hover .profile-image {
@@ -192,16 +193,21 @@ form button.user-selection:hover .profile-image, .login-profile:hover .profile-i
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
form button.user-selection:hover .profile-image, .login-profile:hover .profile-image {
background-image: url("../../../images/[email protected]");
background-size: 100px 100px;
background-size: 80px 80px;
}
}
.login-profile .profile-image {
margin-left: auto;
margin-right: auto;
}
.login-profile .names {
padding: 10px 0;
text-align: center;
}
.login-profile .names div:first-of-type {
font-size: 1.3rem;
font-size: 40px;
font-weight: 300;
}
.login-profile .names div:nth-of-type(2) {
font-weight: 300;
@@ -263,7 +269,11 @@ form button.clean * {
font-weight: 300;
}
form .user-selection-list {
margin-bottom: 80px;
margin-bottom: 40px;
}
form button.user-selection .profile-image {
height: 80px;
width: 80px;
}
form button.user-selection .sessionstate {
display: inline-block;
@@ -299,8 +309,8 @@ form button.user-selection > div.names .loginname {
margin-top: 80px;
}
form button.other-user .other-user-image {
width: 100px;
height: 75px;
width: 80px;
height: 60px;
background-repeat: no-repeat;
background-position: center;
background-image: url("../../../images/icon-newuser-dark.png");
@@ -308,7 +318,7 @@ form button.other-user .other-user-image {
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
form button.other-user .other-user-image {
background-image: url("../../../images/[email protected]");
background-size: 100px 75px;
background-size: 80px 60px;
}
}
form button.other-user:hover .other-user-image {
@@ -319,7 +329,7 @@ form button.other-user:hover .other-user-image {
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
form button.other-user:hover .other-user-image {
background-image: url("../../../images/[email protected]");
background-size: 100px 75px;
background-size: 80px 60px;
}
}
form button.other-user > div:nth-of-type(2) {
@@ -435,45 +445,45 @@ html button.clean {
}
html button.clean:hover {
border: none;
background-color: #252525;
background-color: #FFFFFF;
}
html button.user-selection .profile-image {
background-image: url("/resources/images/icon-user-light.png");
background-image: url("../../../images/icon-user-light.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
html button.user-selection .profile-image {
background-image: url("/resources/images/[email protected]");
background-size: 100px 100px;
background-image: url("../../../images/[email protected]");
background-size: 80px 80px;
}
}
html button.user-selection:hover {
background-color: #252525;
background-color: #FFFFFF;
}
html button.user-selection:hover .profile-image {
background-image: url("/resources/images/icon-user-light-hover.png");
background-image: url("../../../images/icon-user-light-hover.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
html button.user-selection:hover .profile-image {
background-image: url("/resources/images/[email protected]");
background-size: 100px 100px;
background-image: url("../../../images/[email protected]");
background-size: 80px 80px;
}
}
html button.other-user .other-user-image {
background-image: url("/resources/images/icon-newuser-light.png");
background-image: url("../../../images/icon-newuser-light.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
html button.other-user .other-user-image {
background-image: url("/resources/images/[email protected]");
background-size: 100px 75px;
background-image: url("../../../images/[email protected]");
background-size: 80px 60px;
}
}
html button.other-user:hover .other-user-image {
background-image: url("/resources/images/icon-newuser-light-hover.png");
background-image: url("../../../images/icon-newuser-light-hover.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
html button.other-user:hover .other-user-image {
background-image: url("/resources/images/[email protected]");
background-size: 100px 75px;
background-image: url("../../../images/[email protected]");
background-size: 80px 60px;
}
}
html input:not([type=radio]), html select {