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

154 lines
2.5 KiB
SCSS

.caps-lock-warning {
color: $danger;
font-size: $font-down-1;
font-weight: bold;
}
.discourse-no-touch #login-form {
margin: 0;
}
.discourse-touch .caps-lock-warning {
display: none;
}
#login-form {
table {
width: 100%;
}
a {
color: dark-light-choose($primary-high, $secondary-low);
}
td {
padding-right: 5px;
}
}
#new-account-link {
cursor: pointer;
}
$label-width: 92px;
$input-width: 220px;
.login-modal, .create-account {
tr {
border: none;
}
tr:not(.instructions) {
td {
padding: 10px 0 0 0;
}
}
td {
label, input {
margin-bottom: 0;
width: 100%;
}
}
}
.create-account {
table {
td.label {
width: $label-width;
}
td input {
width: $input-width;
}
}
.disclaimer {
color: dark-light-choose($primary-medium, $secondary-medium);
margin-top: .5em;
}
.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 {
color: dark-light-choose($primary-medium, $secondary-medium);
margin: 0;
font-size: $font-down-1;
font-weight: normal;
line-height: $line-height-medium;
}
}
clear: both;
}
}
.password-reset {
.instructions {
label {
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;
button.btn-primary {
margin-top: 10px;
}
label:not(.checkbox-label) {
font-weight: bold;
}
.controls, .input {
margin-bottom: 10px;
}
.instructions {
color: dark-light-choose($primary-medium, $secondary-medium);
margin: 0;
font-size: $font-down-1;
font-weight: normal;
line-height: $line-height-medium;
}
}
}
.modal tr.instructions {
label {
color: dark-light-choose($primary-medium, $secondary-medium);
}
}
// alternate login / create new account buttons should be de-emphasized
button#login-link, button#new-account-link
{
background: transparent;
color: dark-light-choose($primary-high, $secondary-low);
}