2018-05-25 08:16:38 -04:00
|
|
|
// shared styles
|
|
|
|
// used in both login and
|
|
|
|
// create account modals
|
|
|
|
.login-modal,
|
|
|
|
.create-account {
|
2019-12-11 15:47:25 -05:00
|
|
|
&.fixed-modal .modal-inner-container {
|
2018-05-25 08:16:38 -04:00
|
|
|
max-width: 350px;
|
2020-02-21 16:08:19 -05:00
|
|
|
max-height: 90vh;
|
2018-05-25 08:16:38 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-05-25 16:44:44 -04:00
|
|
|
.close {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
#login-buttons:not(.hidden) {
|
|
|
|
display: flex;
|
2019-12-11 15:47:25 -05:00
|
|
|
flex: 1 0 auto;
|
2018-05-25 08:16:38 -04:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
2018-05-25 16:44:44 -04:00
|
|
|
width: 102%;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
margin-left: -2%;
|
2018-06-06 09:02:35 -04:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
button {
|
2019-02-13 21:07:34 -05:00
|
|
|
flex: 1 1 47%;
|
2018-06-09 02:14:59 -04:00
|
|
|
max-width: 70%;
|
2018-05-25 16:44:44 -04:00
|
|
|
margin: 1% 0 1% 2%;
|
2019-03-15 17:20:52 -04:00
|
|
|
font-size: $font-0;
|
2018-05-25 08:16:38 -04:00
|
|
|
white-space: nowrap;
|
2018-05-26 01:12:33 -04:00
|
|
|
@media screen and (max-width: 360px) {
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
2018-05-25 08:16:38 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-05-25 16:44:44 -04:00
|
|
|
+ #login-form {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2018-05-25 16:44:44 -04:00
|
|
|
}
|
2018-05-25 08:16:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-06-06 09:02:35 -04:00
|
|
|
flex-direction: column;
|
2018-05-25 08:16:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
2018-10-04 12:02:28 -04:00
|
|
|
width: 100%;
|
2018-05-25 08:16:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
&.input td label {
|
|
|
|
margin-top: 0.75em;
|
2016-12-02 02:53:07 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2019-03-08 11:14:07 -05:00
|
|
|
td label {
|
|
|
|
max-width: 280px;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
&:not(.instructions) td {
|
|
|
|
padding: 2px 0 0 0;
|
|
|
|
}
|
2014-02-25 16:40:15 -05:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
&:not(.password-confirmation) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tip {
|
|
|
|
&:not(:empty) + td {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-body input[type="text"],
|
|
|
|
.modal-body input[type="email"],
|
2018-06-10 09:33:41 -04:00
|
|
|
.modal-body input[type="password"],
|
|
|
|
.modal-body input[type="tel"] {
|
2018-05-25 08:16:38 -04:00
|
|
|
margin-top: 0;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0 auto;
|
2018-05-25 16:44:44 -04:00
|
|
|
font-size: $font-down-1;
|
2017-05-18 16:11:46 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
.alert.alert-error {
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-07-18 05:26:34 -04:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
#new-account-link {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2016-07-18 05:26:34 -04:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
// Styles for the
|
|
|
|
// login modal only
|
|
|
|
.d-modal.login-modal {
|
|
|
|
#credentials {
|
|
|
|
width: 100%;
|
|
|
|
tr {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#login-form {
|
2018-05-25 16:44:44 -04:00
|
|
|
margin-bottom: 0.75em;
|
2018-05-25 08:16:38 -04:00
|
|
|
td {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2014-08-25 15:38:20 -04:00
|
|
|
label {
|
2018-05-25 08:16:38 -04:00
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
textarea,
|
|
|
|
input,
|
|
|
|
select {
|
|
|
|
font-size: $font-up-1;
|
|
|
|
clear: left;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
td label {
|
|
|
|
margin-top: 0.75em;
|
|
|
|
padding: 4px 0;
|
2014-08-25 15:38:20 -04:00
|
|
|
}
|
|
|
|
}
|
2018-05-25 08:16:38 -04:00
|
|
|
}
|
2014-08-25 15:38:20 -04:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
// styles for the
|
|
|
|
// create account
|
|
|
|
// modal only
|
2020-02-21 16:08:19 -05:00
|
|
|
|
|
|
|
#discourse-modal .create-account .modal-body {
|
|
|
|
max-height: 60vh !important;
|
|
|
|
@media screen and (max-height: 575px) {
|
|
|
|
max-height: 50vh !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
.create-account .modal-body {
|
2018-05-25 16:44:44 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-05-25 08:16:38 -04:00
|
|
|
tr.instructions {
|
|
|
|
label {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2014-02-25 16:40:15 -05:00
|
|
|
}
|
|
|
|
}
|
2018-05-25 16:44:44 -04:00
|
|
|
|
2018-10-03 22:26:05 -04:00
|
|
|
#login-buttons {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2018-05-25 16:44:44 -04:00
|
|
|
}
|
2018-10-03 22:26:05 -04:00
|
|
|
|
2018-05-25 16:44:44 -04:00
|
|
|
.login-form {
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
}
|
2014-02-25 16:40:15 -05:00
|
|
|
}
|
2014-10-02 15:56:28 -04:00
|
|
|
|
|
|
|
.create-account {
|
2017-08-11 08:03:54 -04:00
|
|
|
.user-fields {
|
2018-06-06 09:02:35 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-08-11 08:03:54 -04:00
|
|
|
}
|
|
|
|
|
2018-06-06 09:02:35 -04:00
|
|
|
.user-field {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
> label {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
margin-left: 0;
|
2018-10-04 11:53:54 -04:00
|
|
|
label {
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
}
|
2018-06-06 09:02:35 -04:00
|
|
|
}
|
2014-10-02 15:56:28 -04:00
|
|
|
}
|
|
|
|
}
|
2017-01-31 15:42:12 -05:00
|
|
|
|
2018-05-25 08:16:38 -04:00
|
|
|
.password-reset,
|
2019-06-12 10:37:26 -04:00
|
|
|
.email-login,
|
2018-05-25 08:16:38 -04:00
|
|
|
.invites-show {
|
2017-01-31 15:42:12 -05:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-13 16:19:41 -05:00
|
|
|
.password-reset .tip {
|
|
|
|
max-width: 180px;
|
|
|
|
}
|
|
|
|
|
2017-01-31 15:42:12 -05:00
|
|
|
.discourse-touch .password-reset {
|
|
|
|
.instructions {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|
2017-02-13 16:19:41 -05:00
|
|
|
|
|
|
|
.invites-show {
|
|
|
|
.col-image {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-08-11 08:03:54 -04:00
|
|
|
}
|