commento/frontend/sass/commento-login.scss
2019-05-01 20:39:49 -04:00

85 lines
1.5 KiB
SCSS

@import "colors-main.scss";
.commento-login-box-container {
display: flex;
justify-content: center;
position: relative;
width: 100%;
height: 0px;
overflow: visible;
.commento-login-box {
width: 90%;
max-width: 500px;
min-height: 100px;
background: $gray-1;
z-index: 100;
position: absolute;
top: 8px;
padding: 16px;
opacity: 1;
transition: opacity 0.2s;
@import "commento-oauth.scss";
hr {
border: none;
background: $gray-2;
height: 1px;
margin: 24px 0px;
}
.commento-login-box-subtitle {
color: $gray-6;
text-align: center;
margin: 12px 0px;
font-size: 15px;
}
@import "email-main.scss";
.commento-login-link-container {
margin: 16px;
width: calc(100% - 32px);
text-align: center;
.commento-login-link {
font-size: 14px;
font-weight: bold;
border-bottom: none;
}
}
.commento-login-box-close {
position: absolute;
right: 16px;
top: 16px;
width: 16px;
height: 16px;
opacity: 0.3;
}
.commento-login-box-close:hover {
opacity: 1;
cursor: pointer;
}
.commento-login-box-close:before, .commento-login-box-close:after {
position: absolute;
left: 7px;
content: ' ';
height: 17px;
width: 2px;
background-color: $gray-7;
}
.commento-login-box-close:before {
transform: rotate(45deg);
}
.commento-login-box-close:after {
transform: rotate(-45deg);
}
}
}