2018-05-25 20:15:34 +08:00
|
|
|
// -webkit- prefix needed for
|
|
|
|
// flexbox on Safari 8
|
|
|
|
// can be removed once support
|
|
|
|
// for safari 8 is dropped
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-05-25 20:15:34 +08:00
|
|
|
// shared styles used
|
|
|
|
// on both the login and
|
|
|
|
// create accont modals
|
|
|
|
.login-modal,
|
|
|
|
.create-account {
|
|
|
|
#login-buttons:not(.hidden) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2018-05-25 16:44:44 -04:00
|
|
|
flex-basis: 40%;
|
2018-05-25 20:15:34 +08:00
|
|
|
align-items: center;
|
2018-05-25 16:44:44 -04:00
|
|
|
min-height: 175px;
|
2018-05-25 20:15:34 +08:00
|
|
|
border-left: 1px solid $primary-low;
|
2018-05-25 16:44:44 -04:00
|
|
|
padding: 15px;
|
|
|
|
order: 2;
|
2018-05-25 20:15:34 +08:00
|
|
|
|
|
|
|
button {
|
|
|
|
margin: 0.35em;
|
|
|
|
width: 160px;
|
|
|
|
&:lang(zh_CN) {
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
2014-11-06 22:06:21 +08:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2018-05-25 16:44:44 -04:00
|
|
|
.modal-inner-container {
|
|
|
|
min-width: 475px;
|
|
|
|
}
|
|
|
|
|
2018-05-25 20:15:34 +08:00
|
|
|
#login-form {
|
|
|
|
flex: 1 0 auto;
|
2018-05-25 16:44:44 -04:00
|
|
|
padding: 0 15px;
|
2018-05-25 20:15:34 +08:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2018-05-25 20:15:34 +08:00
|
|
|
tr:not(.instructions) {
|
|
|
|
td {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
padding: 5px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.input label {
|
2014-02-07 16:04:00 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-05-25 20:15:34 +08: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 20:15:34 +08:00
|
|
|
|
|
|
|
tr {
|
|
|
|
display: -webkit-flex;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2013-12-27 14:25:31 -05:00
|
|
|
}
|
2018-05-25 20:15:34 +08: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 20:15:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.create-account-form tr {
|
|
|
|
display: -webkit-flex;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login-form {
|
|
|
|
display: flex;
|
2018-05-25 16:44:44 -04:00
|
|
|
flex: 1 1 50%;
|
2018-05-25 20:15:34 +08:00
|
|
|
align-items: center;
|
2018-05-25 16:44:44 -04:00
|
|
|
padding: 0 15px;
|
|
|
|
form, table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-05-25 20:15:34 +08:00
|
|
|
|
2018-05-25 16:44:44 -04:00
|
|
|
tr {
|
2018-05-25 20:15:34 +08: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 20:15:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
tr.input {
|
|
|
|
input,
|
|
|
|
label {
|
2013-12-16 17:31:05 -05:00
|
|
|
margin-bottom: 0;
|
2018-05-25 16:44:44 -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
|
|
|
}
|
|
|
|
|
2018-05-25 20:15:34 +08:00
|
|
|
.tip {
|
|
|
|
&:not(:empty) + td {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:empty),
|
|
|
|
&:empty + td {
|
|
|
|
min-height: 1.75em;
|
|
|
|
width: 240px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.invites-show {
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
|
|
.two-col {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
.col-image {
|
|
|
|
width: 200px;
|
|
|
|
img {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.password-reset,
|
|
|
|
.invites-show {
|
|
|
|
.col-form {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
.col-image img {
|
|
|
|
width: 200px;
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.password-reset {
|
|
|
|
.col-form {
|
|
|
|
padding-top: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-07 16:04:00 -05:00
|
|
|
.tos-agree {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2014-10-02 15:56:28 -04:00
|
|
|
|
2016-11-15 13:41:43 +11:00
|
|
|
.disclaimer {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
2017-08-11 17:33:54 +05:30
|
|
|
.user-fields {
|
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
2017-01-31 15:42:12 -05:00
|
|
|
}
|