taiga-front/app/styles/layout/invitation.scss

127 lines
2.7 KiB
SCSS

.invitation-main {
@extend %background-taiga;
align-content: center;
align-items: center;
bottom: 0;
justify-content: center;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 999;
.invitation-container {
flex-basis: 650px;
flex-grow: 1;
width: 650px;
}
.logo {
margin: 1rem auto;
width: 150px;
}
.avatar {
margin: 0 auto 1rem;
text-align: center;
width: 250px;
.person-name {
@extend %xlarge;
@extend %title;
color: $white;
text-transform: uppercase;
}
img {
display: block;
text-align: center;
width: 50px;
}
}
.invitation-text {
@extend %xlarge;
@extend %title;
color: $white;
line-height: 2rem;
text-align: center;
text-transform: uppercase;
.project-name {
@extend %xxlarge;
display: block;
}
}
.invitation-form {
display: flex;
fieldset {
margin-bottom: .5rem;
}
input {
background: $white;
color: $gray;
position: relative;
@include placeholder {
color: $gray-light;
}
}
input:focus {
+.forgot-pass {
opacity: 0;
transition: opacity .5s linear;
}
}
.forgot-pass {
@extend %small;
color: $gray-light;
opacity: 1;
position: absolute;
right: 1rem;
top: .5rem;
transition: all .3s linear;
&:hover {
color: $grayer;
transition: color .3s linear;
}
}
.button {
color: $white;
display: block;
text-align: center;
&:hover {
background: $fresh-taiga;
}
}
.button-github {
&:hover {
background: $black;
}
}
}
.login-form,
.register-form {
flex-basis: 200px;
flex-grow: 1;
padding: 1rem;
text-align: center;
width: 200px;
.form-header {
color: #999;
}
}
.register-form {
fieldset {
&:last-child {
margin-bottom: 1rem;
}
}
}
.register-text {
@extend %small;
color: $white;
a {
color: $green-taiga;
&:hover {
color: $fresh-taiga;
}
}
}
.login-form {
border-right: 1px solid $white;
}
}