discourse/app/assets/stylesheets/mobile/login.scss

129 lines
1.8 KiB
SCSS

// style that apply to the login popup
.btn-social {
width: 150px;
font-size: $font-up-1;
overflow: hidden;
white-space: nowrap;
}
#login-buttons {
button {
margin: 0 0 5px 0;
}
display: inline-block;
}
#login-form {
label { float: left; display: block; }
textarea, input, select {
font-size: $font-up-1;
clear: left;
margin-top: 0;
}
td { padding: 4px; }
}
a#new-account-link { white-space:nowrap; }
// Create account
.login-modal, .create-account {
.btn-primary {
margin-bottom: 10px;
float: left;
}
}
$label-width: 85px;
$input-width: 184px;
.create-account .modal-body {
input[type=text], input[type=email], input[type=password] {
display: inline-block;
margin-bottom: 5px;
margin-top: 10px;
width: $input-width;
}
tr.instructions {
label {
color: dark-light-choose($primary-medium, $secondary-medium);
}
}
tr.input {
td.label {
width: $label-width;
}
}
}
.create-account {
.user-fields {
margin-top: 10px;
padding-top: 15px;
border-top: 1px solid #e9e9e9;
}
.user-field.confirm {
margin-top: 10px;
margin-bottom: 10px;
}
.user-field {
label {
width: $label-width;
}
input[type=text] {
margin-top: 0;
width: $input-width;
}
.controls {
margin-left: $label-width;
}
}
}
.password-reset, .invites-show {
margin-top: 30px;
.col-image {
padding-top: 12px;
}
.password-reset-img {
width: 50px;
height: 50px;
}
.col-form {
padding-left: 8px;
}
h2 {
margin-bottom: 12px;
}
.tip {
display: block;
margin: 6px 0;
}
}
.password-reset .tip {
max-width: 180px;
}
.discourse-touch .password-reset {
.instructions {
margin-bottom: 16px;
}
}
.invites-show {
.col-image {
display: none;
}
}