2018-05-25 08:15:34 -04:00
|
|
|
// shared styles used
|
|
|
|
// on both the login and
|
2018-05-26 01:12:33 -04:00
|
|
|
// create account modals
|
2018-05-25 08:15:34 -04:00
|
|
|
.login-modal,
|
|
|
|
.create-account {
|
|
|
|
#login-buttons:not(.hidden) {
|
|
|
|
display: flex;
|
2019-05-16 14:07:49 -04:00
|
|
|
flex: 0 1 auto;
|
2018-05-25 08:15:34 -04:00
|
|
|
flex-direction: column;
|
2019-03-15 17:20:52 -04:00
|
|
|
align-items: stretch;
|
2019-03-26 20:47:06 -04:00
|
|
|
min-height: 75px;
|
2020-04-24 19:32:02 -04:00
|
|
|
padding: 0 24px;
|
2018-05-25 16:44:44 -04:00
|
|
|
order: 2;
|
2018-05-25 08:15:34 -04:00
|
|
|
|
|
|
|
button {
|
2019-03-15 19:25:51 -04:00
|
|
|
display: flex;
|
2019-03-15 17:20:52 -04:00
|
|
|
text-align: left;
|
2018-05-25 08:15:34 -04:00
|
|
|
margin: 0.35em;
|
2019-03-15 17:20:52 -04:00
|
|
|
white-space: nowrap;
|
2019-12-13 14:24:59 -05:00
|
|
|
align-items: center;
|
2018-05-25 08:15:34 -04:00
|
|
|
&:lang(zh_CN) {
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
2019-03-26 20:47:06 -04:00
|
|
|
&:first-of-type:last-of-type {
|
|
|
|
&.oauth2_basic {
|
|
|
|
// Handles a strange fringe case where OAuth2 and account approval are enabled
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
2014-11-06 09:06:21 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2019-03-15 17:20:52 -04:00
|
|
|
form {
|
|
|
|
min-width: 300px;
|
2019-10-01 22:08:41 -04:00
|
|
|
max-width: 100%;
|
2019-03-15 17:20:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#modal-alert {
|
2019-10-01 22:08:41 -04:00
|
|
|
max-width: 100%;
|
2020-05-14 02:45:33 -04:00
|
|
|
margin-bottom: 0;
|
2020-04-24 19:32:02 -04:00
|
|
|
padding: 8px 16px;
|
2019-03-15 17:20:52 -04:00
|
|
|
}
|
|
|
|
|
2018-10-03 22:26:05 -04:00
|
|
|
.login-modal {
|
|
|
|
#login-buttons:not(.hidden) {
|
|
|
|
button {
|
|
|
|
&:first-of-type {
|
2018-11-08 15:25:10 -05:00
|
|
|
margin-top: 2.8em;
|
2018-10-03 22:26:05 -04:00
|
|
|
}
|
|
|
|
&:last-of-type {
|
2018-11-08 15:25:10 -05:00
|
|
|
margin-bottom: 3em;
|
2018-10-03 22:26:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.create-account {
|
|
|
|
#login-buttons:not(.hidden) {
|
|
|
|
justify-content: flex-start;
|
2018-11-08 15:25:10 -05:00
|
|
|
padding-top: 2.7em;
|
2019-03-26 20:47:06 -04:00
|
|
|
+ .login-form {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-right: 1px solid var(--primary-low); // Only show border when login-form is present
|
2019-03-26 20:47:06 -04:00
|
|
|
}
|
2018-10-03 22:26:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-25 08:15:34 -04:00
|
|
|
#login-form {
|
2019-03-15 17:20:52 -04:00
|
|
|
box-sizing: border-box;
|
2018-05-25 08:15:34 -04:00
|
|
|
flex: 1 0 auto;
|
2020-04-24 19:32:02 -04:00
|
|
|
padding: 0 24px;
|
2019-03-26 20:47:06 -04:00
|
|
|
+ #login-buttons {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-left: 1px solid var(--primary-low); // Only show border when login-form is present
|
2019-03-26 20:47:06 -04:00
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-05-25 08:15:34 -04:00
|
|
|
tr:not(.instructions) {
|
|
|
|
td {
|
|
|
|
display: flex;
|
|
|
|
padding: 5px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2019-03-08 11:14:07 -05:00
|
|
|
.tip,
|
|
|
|
td label {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
2014-02-07 16:04:00 -05:00
|
|
|
margin-bottom: 0;
|
2019-03-08 11:14:07 -05:00
|
|
|
max-width: 280px;
|
|
|
|
@media screen and (min-width: 500px) {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-alt-auth {
|
|
|
|
.tip,
|
|
|
|
td label {
|
2020-06-18 06:01:02 -04:00
|
|
|
max-width: 100%;
|
2014-02-07 16:04:00 -05:00
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// styles used on
|
|
|
|
// login modal only
|
|
|
|
.d-modal.login-modal {
|
|
|
|
.modal-body,
|
|
|
|
#credentials {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-05-25 16:44:44 -04:00
|
|
|
padding: 15px 0;
|
2018-05-25 08:15:34 -04:00
|
|
|
|
|
|
|
tr {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2018-08-24 19:05:18 -04:00
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-06-28 04:12:32 -04:00
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// styles used on the
|
|
|
|
// create account
|
|
|
|
// modal only
|
|
|
|
.d-modal.create-account {
|
|
|
|
.modal-body {
|
|
|
|
display: flex;
|
2018-05-25 16:44:44 -04:00
|
|
|
padding: 15px 0;
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.create-account-form tr {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login-form {
|
2018-11-08 15:25:10 -05:00
|
|
|
position: relative;
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
2018-11-08 15:25:10 -05:00
|
|
|
overflow: hidden;
|
2019-04-24 13:08:39 -04:00
|
|
|
flex: 1 1 auto;
|
2018-11-08 15:25:10 -05:00
|
|
|
|
|
|
|
&:after,
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
bottom: 0;
|
2019-11-21 14:43:20 -05:00
|
|
|
height: 35px;
|
|
|
|
@media screen and (max-height: 650px) {
|
|
|
|
height: 45px;
|
|
|
|
}
|
2018-11-08 15:25:10 -05:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
2020-11-26 08:03:25 -05:00
|
|
|
rgba(var(--secondary-rgb), 0),
|
|
|
|
rgba(var(--secondary-rgb), 0.9)
|
2018-11-08 15:25:10 -05:00
|
|
|
);
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
top: 0;
|
2019-11-21 14:43:20 -05:00
|
|
|
height: 25px;
|
2018-11-08 15:25:10 -05:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to top,
|
2020-11-26 08:03:25 -05:00
|
|
|
rgba(var(--secondary-rgb), 0),
|
|
|
|
rgba(var(--secondary-rgb), 1)
|
2018-11-08 15:25:10 -05:00
|
|
|
);
|
|
|
|
}
|
|
|
|
form {
|
|
|
|
box-sizing: border-box;
|
2020-04-24 19:32:02 -04:00
|
|
|
padding: 16px 24px;
|
2019-11-21 14:43:20 -05:00
|
|
|
margin-bottom: 0;
|
2018-11-08 16:06:17 -05:00
|
|
|
max-height: 475px;
|
2019-11-21 14:43:20 -05:00
|
|
|
@media screen and (max-height: 650px) {
|
|
|
|
max-height: calc(65vh - 100px);
|
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
2018-11-08 15:25:10 -05:00
|
|
|
}
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2018-06-07 02:03:54 -04:00
|
|
|
form,
|
|
|
|
table {
|
2018-05-25 16:44:44 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
|
2018-05-25 16:44:44 -04:00
|
|
|
tr {
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 0.15em;
|
2018-05-25 16:44:44 -04:00
|
|
|
&.password-confirmation {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-12-16 17:31:05 -05:00
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
tr.input {
|
|
|
|
input,
|
|
|
|
label {
|
2013-12-16 17:31:05 -05:00
|
|
|
margin-bottom: 0;
|
2018-06-07 02:03:54 -04:00
|
|
|
width: 100%;
|
2013-12-16 17:31:05 -05:00
|
|
|
}
|
2013-12-27 14:25:31 -05:00
|
|
|
.tip {
|
|
|
|
max-width: 340px;
|
|
|
|
}
|
2013-12-16 17:31:05 -05:00
|
|
|
}
|
|
|
|
|
2019-11-21 14:43:20 -05:00
|
|
|
.user-fields {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-06-07 02:03:54 -04:00
|
|
|
.user-field {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.confirm {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> label {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-25 08:15:34 -04:00
|
|
|
.invites-show {
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
|
|
.two-col {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
.col-form {
|
|
|
|
margin-left: 200px;
|
|
|
|
.inline-invite-img {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
form {
|
|
|
|
.controls,
|
|
|
|
.input {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
input,
|
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.user-field .control-label:not(.checkbox-label) {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-07 16:04:00 -05:00
|
|
|
.tos-agree {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2017-01-31 15:42:12 -05:00
|
|
|
}
|
2018-05-25 17:33:45 -04:00
|
|
|
|
|
|
|
.login-form {
|
|
|
|
.tip {
|
2019-12-20 03:42:11 -05:00
|
|
|
&:not(:empty) + td {
|
2018-05-25 17:33:45 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&:not(:empty),
|
|
|
|
&:empty + td {
|
|
|
|
min-height: 1.75em;
|
2019-03-08 11:14:07 -05:00
|
|
|
&.bad .svg-icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-05-25 17:33:45 -04:00
|
|
|
}
|
|
|
|
}
|
2018-06-07 02:03:54 -04:00
|
|
|
}
|
2018-07-10 11:18:12 -04:00
|
|
|
|
|
|
|
.password-reset,
|
2019-06-12 10:37:26 -04:00
|
|
|
.email-login,
|
2018-07-10 11:18:12 -04:00
|
|
|
.invites-show {
|
|
|
|
.col-form {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
2018-07-13 16:10:29 -04:00
|
|
|
.col-image {
|
|
|
|
width: 175px;
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-07-10 11:18:12 -04:00
|
|
|
h2 {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2020-12-07 18:08:04 -05:00
|
|
|
input:not([type="checkbox"]) {
|
|
|
|
// 80% width on checkboxes messes up the layout for custom fields
|
2020-09-29 00:41:48 -04:00
|
|
|
width: 80%;
|
|
|
|
}
|
2018-07-10 11:18:12 -04:00
|
|
|
}
|
|
|
|
|
2019-06-12 10:37:26 -04:00
|
|
|
.password-reset,
|
|
|
|
.email-login {
|
2018-07-10 11:18:12 -04:00
|
|
|
.col-form {
|
|
|
|
padding-top: 40px;
|
|
|
|
}
|
|
|
|
}
|