1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-16 01:55:07 +01:00
onion/sass/ascribe_login.scss

85 lines
1.4 KiB
SCSS
Raw Normal View History

2015-06-20 16:43:18 +02:00
$break-small: 764px;
2015-06-22 10:50:22 +02:00
2015-06-20 16:43:18 +02:00
.ascribe-btn-login {
2015-07-07 10:28:39 +02:00
padding: 0.5em;
2015-06-20 16:43:18 +02:00
font-weight: 500;
text-align: center;
background-color: rgba(2, 182, 163, 1);
color: white;
font-size: 1.2em;
border-radius: 0;
width: 100%;
border:none;
2015-07-07 10:28:39 +02:00
//margin-left: 1.2em;
2015-06-20 16:43:18 +02:00
&:hover {
color: white;
background-color: rgba(2, 182, 163, 0.8);
border: none;
}
&:active, &:focus {
color: white;
background-color: rgba(2, 182, 163, 0.6);
border: none;
}
2015-07-07 18:07:12 +02:00
&[disabled] {
opacity: .3;
}
2015-06-20 16:43:18 +02:00
}
2015-06-22 10:50:22 +02:00
.ascribe-btn-login-spinner{
background-color: rgba(2, 182, 163, 0.4);
2015-07-07 10:28:39 +02:00
padding: 0.4em;
2015-06-22 10:50:22 +02:00
img {
2015-07-07 10:28:39 +02:00
height: 1.6em;
2015-06-22 10:50:22 +02:00
}
&:hover {
background-color: rgba(2, 182, 163, 0.4);
}
&:active, &:focus {
background-color: rgba(2, 182, 163, 0.4);
}
}
2015-06-20 16:43:18 +02:00
.ascribe-login-wrapper {
width: 80%;
margin: 0 auto;
max-width: 600px;
@media screen and (max-width: $break-small) {
width: 100%;
}
}
.ascribe-login-text {
2015-07-07 10:28:39 +02:00
font-size: 0.8em;
2015-06-20 16:43:18 +02:00
padding: 0 0 1em 0;
margin-left: 0.4em;
2015-07-07 10:28:39 +02:00
margin-top: 1.5em;
color: rgba(0, 0, 0, 0.6);
2015-06-20 16:43:18 +02:00
}
.ascribe-login-header {
font-size: 2em;
2015-07-07 10:28:39 +02:00
margin-left: 0.8em;
2015-06-20 16:43:18 +02:00
}
.ascribe-form {
hr {
2015-07-07 10:28:39 +02:00
color: rgba(0, 0, 0, 0.05);
2015-06-20 16:43:18 +02:00
border: none;
height: 1px;
2015-07-07 10:28:39 +02:00
background-color: rgba(0, 0, 0, 0.05);
2015-06-20 16:43:18 +02:00
margin-top: 0;
}
}
%vertical-align {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}