Files
grafana/public/sass/pages/_login.scss

182 lines
2.8 KiB
SCSS
Raw Normal View History

2016-02-15 15:27:41 +01:00
.login-form {
display: inline-block;
max-width: 24rem;
2016-02-15 15:27:41 +01:00
}
.login-box {
max-width: 700px;
margin: $spacer * 2 auto 0 auto;
2016-02-15 15:27:41 +01:00
}
.login-box-logo {
text-align: center;
img {
width: 6rem;
2016-02-15 15:27:41 +01:00
}
.icon-gf-grafana_wordmark {
2016-02-16 09:42:46 +01:00
color: $link-color;
2016-02-15 15:27:41 +01:00
position: relative;
top: -4.5rem;
font-size: 2.5rem;
2016-02-15 15:27:41 +01:00
text-shadow: 3px 3px 5px black;
}
}
.login-inner-box {
2016-02-16 08:30:37 +01:00
background: $panel-bg;
text-align: center;
2016-02-15 15:27:41 +01:00
}
.login-tab-header {
2016-02-16 09:42:46 +01:00
background: $tight-form-bg;
2016-02-15 15:27:41 +01:00
text-align: center;
margin-bottom: 3rem;
2016-02-15 15:27:41 +01:00
}
.btn-login-tab {
background: transparent;
border: none;
font-size: 15px;
padding: 10px 10px;
&.active {
2016-02-16 09:42:46 +01:00
background: darken($tight-form-bg, 5%);
2016-02-15 15:27:41 +01:00
color: $white;
}
font-weight: bold;
display: inline-block;
width: 170px;
2016-02-16 09:42:46 +01:00
color: $text-color;
2016-02-15 15:27:41 +01:00
}
.password-strength {
display: block;
width: 15%;
overflow: visible;
white-space: nowrap;
padding-top: 3px;
2016-02-16 09:42:46 +01:00
color: darken($text-color, 20%);
2016-02-15 15:27:41 +01:00
border-top: 3px solid $red;
&.password-strength-ok {
width: 40%;
border-top: 3px solid lighten($yellow, 10%);
}
&.password-strength-good {
width: 100%;
border-top: 3px solid lighten($green, 10%);
}
}
.login-submit-button-row {
text-align: center;
margin-top: 30px;
button {
padding: 14px 23px;
font-size: 16px;
font-weight: bold;
min-width: 150px;
display: inline-block;
border: 1px solid lighten($btnInverseBackground, 10%);
}
}
.login-oauth {
margin-bottom: 15px;
.btn {
margin: 5px;
}
.btn-google {
background: #dd4b39;
color: white;
}
.btn-github {
background: #555;
color: white;
}
}
.password-recovery {
2016-02-16 09:42:46 +01:00
background: $tight-form-bg;
2016-02-15 15:27:41 +01:00
margin-top: 10px;
padding: 10px;
a {
2016-02-19 12:26:39 +01:00
color: $gray-2;
2016-02-15 15:27:41 +01:00
}
}
.login-divider {
float: left;
width: 50%;
margin: 5px 25% 25px 25%;
.login-divider-line {
width: 100%;
height: 10px;
2016-02-19 12:26:39 +01:00
border-bottom: 1px solid $gray-1;
2016-02-15 15:27:41 +01:00
.login-divider-text {
2016-02-19 12:26:39 +01:00
background-color: $dark-3;
color: $gray-2;
2016-02-15 15:27:41 +01:00
padding: 0 10px;
}
}
}
.signup-page-background {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
background-image: url(../img/background_tease.jpg);
opacity: 0.3;
z-index: -1;
}
.invite-box {
text-align: center;
2016-02-16 09:42:46 +01:00
border: 1px solid $tight-form-func-bg;
2016-02-16 08:30:37 +01:00
background-color: $panel-bg;
max-width: 800px;
2016-02-15 15:27:41 +01:00
margin-left: auto;
margin-right: auto;
.tight-form {
text-align: left;
}
h3 {
margin-top: 30px;
}
.modal-close {
float: right;
font-size: 140%;
padding: 10px;
}
.modal-tagline {
font-size: 16px;
}
}
@include media-breakpoint-up(md) {
2016-02-19 12:26:39 +01:00
.login-box-logo {
img {
width: 125px;
}
.icon-gf-grafana_wordmark {
top: -90px;
font-size: 3rem;
}
}
}