discourse/app/assets/stylesheets/common/base/login.scss

118 lines
2.0 KiB
SCSS
Raw Normal View History

.caps-lock-warning {
color: $danger;
font-size: 0.857em;
font-weight: bold;
}
.discourse-no-touch #login-form {
margin: 0;
}
.discourse-touch .caps-lock-warning {
display: none;
}
$label-width: 92px;
$input-width: 220px;
.create-account {
table {
td.label {
width: $label-width;
}
td input {
width: $input-width;
}
}
.disclaimer {
font-size: 0.857em;
2017-10-10 16:07:46 -04:00
color: dark-light-choose($primary-medium, $secondary-medium);
2016-12-03 07:24:44 -05:00
clear: both;
}
.user-field.confirm {
margin-top: 20px;
}
.user-field {
label {
width: $label-width;
float: left;
}
input[type=text] {
width: $input-width;
margin-bottom: 0;
}
.controls {
margin-left: $label-width;
margin-bottom: 15px;
label {
width: auto;
text-align: left;
font-weight: normal;
float: auto;
}
.instructions {
2017-10-10 16:07:46 -04:00
color: dark-light-choose($primary-medium, $secondary-medium);
margin: 0;
font-size: 0.857em;
font-weight: normal;
line-height: 18px;
}
}
clear: both;
}
}
.password-reset {
.instructions {
label {
2017-10-10 16:07:46 -04:00
color: dark-light-choose($primary-medium, $secondary-medium);
}
}
}
.invites-show {
.two-col {
position: relative;
}
.col-image {
position: absolute;
top: 0;
left: 0;
}
form {
margin-top: 24px;
2017-02-16 04:31:21 -05:00
button.btn-primary {
margin-top: 10px;
}
label:not(.checkbox-label) {
font-weight: bold;
}
.controls, .input {
margin-bottom: 10px;
}
.instructions {
2017-10-10 16:07:46 -04:00
color: dark-light-choose($primary-medium, $secondary-medium);
margin: 0;
font-size: 0.857em;
font-weight: normal;
line-height: 18px;
}
}
}
// alternate login / create new account buttons should be de-emphasized
button#login-link, button#new-account-link
{
background: transparent;
2017-10-10 16:07:46 -04:00
color: dark-light-choose($primary-high, $secondary-low);
}