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

129 lines
1.8 KiB
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
// style that apply to the login popup
2013-10-09 10:16:08 -04:00
.btn-social {
width: 150px;
2018-01-12 17:27:38 -05:00
font-size: $font-up-1;
2016-11-17 20:07:05 -05:00
overflow: hidden;
white-space: nowrap;
2013-09-05 15:37:07 -04:00
}
#login-buttons {
button {
2013-10-09 10:16:08 -04:00
margin: 0 0 5px 0;
2013-09-05 15:37:07 -04:00
}
2014-09-22 20:26:17 -04:00
display: inline-block;
2013-09-05 15:37:07 -04:00
}
#login-form {
2018-02-23 21:41:40 -05:00
2014-08-25 15:38:20 -04:00
label { float: left; display: block; }
textarea, input, select {
2018-01-12 17:27:38 -05:00
font-size: $font-up-1;
clear: left;
margin-top: 0;
}
2014-07-12 04:04:25 -04:00
td { padding: 4px; }
2013-09-05 15:37:07 -04:00
}
2014-02-25 16:40:15 -05:00
a#new-account-link { white-space:nowrap; }
2013-09-05 15:37:07 -04:00
// Create account
.login-modal, .create-account {
.btn-primary {
margin-bottom: 10px;
float: left;
}
}
2013-09-05 15:37:07 -04:00
$label-width: 85px;
$input-width: 184px;
2014-02-25 16:40:15 -05:00
.create-account .modal-body {
2014-07-14 02:50:13 -04:00
input[type=text], input[type=email], input[type=password] {
2014-02-25 16:40:15 -05:00
display: inline-block;
2014-08-25 15:38:20 -04:00
margin-bottom: 5px;
margin-top: 10px;
width: $input-width;
2014-02-25 16:40:15 -05:00
}
2014-08-25 15:38:20 -04:00
tr.instructions {
label {
2017-10-10 16:07:46 -04:00
color: dark-light-choose($primary-medium, $secondary-medium);
2014-08-25 15:38:20 -04:00
}
}
2014-02-25 16:40:15 -05:00
tr.input {
td.label {
width: $label-width;
2014-02-25 16:40:15 -05:00
}
}
}
.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;
}
}