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 {
|
2021-02-10 15:53:18 -05:00
|
|
|
.modal-body {
|
|
|
|
&.has-alt-auth {
|
|
|
|
background: var(--tertiary);
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
&.has-alt-auth {
|
|
|
|
background: rgba(var(--tertiary-rgb), 0.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-flat.btn.modal-close svg {
|
|
|
|
color: rgba(var(--primary-rgb), 0.5);
|
|
|
|
&:hover {
|
|
|
|
color: rgba(var(--primary-rgb), 0.85);
|
|
|
|
}
|
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
#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;
|
2018-05-25 16:44:44 -04:00
|
|
|
order: 2;
|
2018-05-25 08:15:34 -04:00
|
|
|
|
|
|
|
button {
|
2021-02-10 15:53:18 -05:00
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 2.8em;
|
|
|
|
}
|
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
margin: 0.35em;
|
|
|
|
&: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
|
|
|
}
|
|
|
|
|
2021-02-10 15:53:18 -05:00
|
|
|
.tip {
|
2019-03-08 11:14:07 -05:00
|
|
|
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 {
|
2021-02-10 15:53:18 -05:00
|
|
|
.tip {
|
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
|
|
|
}
|
|
|
|
|
2021-02-10 15:53:18 -05:00
|
|
|
.login-modal:not(.hidden).has-alt-auth.no-local-login {
|
|
|
|
padding: 0 2em !important;
|
|
|
|
min-width: 350px !important;
|
|
|
|
.login-right-side {
|
|
|
|
width: 100%;
|
|
|
|
padding: 2em 0;
|
|
|
|
#login-buttons:not(.hidden) {
|
|
|
|
width: 80%;
|
|
|
|
.btn.btn-social:first-of-type {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
.btn.btn-social,
|
|
|
|
.btn,
|
|
|
|
.login-with-email-button {
|
|
|
|
border: 1px solid var(--primary-low-mid);
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
&:hover {
|
|
|
|
background: var(--primary-very-low) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-12 17:24:13 -05:00
|
|
|
.login-modal.modal-body:not(.hidden).second-factor {
|
|
|
|
.login-left-side {
|
|
|
|
max-width: 350px;
|
|
|
|
}
|
|
|
|
.modal-footer {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-25 08:15:34 -04:00
|
|
|
// styles used on
|
|
|
|
// login modal only
|
2021-02-10 15:53:18 -05:00
|
|
|
.login-modal:not(.hidden) {
|
|
|
|
padding: 0 !important;
|
|
|
|
&.has-alt-auth {
|
|
|
|
min-width: 700px;
|
|
|
|
.login-left-side {
|
2021-02-10 20:32:44 -05:00
|
|
|
align-self: stretch;
|
2021-02-10 15:53:18 -05:00
|
|
|
width: calc(60% - 4em);
|
|
|
|
padding: 1em 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.login-left-side {
|
|
|
|
background: var(--secondary);
|
|
|
|
width: calc(100% - 4em);
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
2021-02-10 15:53:18 -05:00
|
|
|
flex-direction: column;
|
|
|
|
padding: 1em 4em 1em 2em;
|
|
|
|
.login-welcome-header {
|
|
|
|
.login-title {
|
|
|
|
font-size: 2.75em;
|
|
|
|
}
|
|
|
|
.login-subheader {
|
|
|
|
font-size: 1.125em !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#credentials {
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-02-10 15:53:18 -05:00
|
|
|
align-items: flex-start !important;
|
|
|
|
}
|
|
|
|
#login-form {
|
|
|
|
margin: 1.5em 0 0 0;
|
|
|
|
}
|
|
|
|
.modal-footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.login-right-side {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.has-alt-auth .login-right-side {
|
|
|
|
width: 40%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
#login-buttons {
|
|
|
|
button {
|
|
|
|
&.login-with-email-button {
|
|
|
|
border-radius: 4px;
|
|
|
|
.d-icon {
|
|
|
|
color: #000 !important;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.25);
|
|
|
|
.d-icon {
|
|
|
|
color: #000 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
2021-02-10 15:53:18 -05:00
|
|
|
}
|
|
|
|
.modal-body,
|
|
|
|
#credentials {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
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 {
|
2021-02-10 15:53:18 -05:00
|
|
|
.create-account {
|
|
|
|
position: relative;
|
|
|
|
.modal-body:not(.reorder-categories):not(.poll-ui-builder):not(.poll-breakdown) {
|
|
|
|
max-height: 65vh !important;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.has-alt-auth .create-account-form {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 65% 35%;
|
|
|
|
grid-template-rows: 20% 80%;
|
|
|
|
grid-template-areas:
|
|
|
|
"header login-buttons"
|
|
|
|
"form login-buttons";
|
|
|
|
}
|
|
|
|
.create-account-form {
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
2021-02-10 15:53:18 -05:00
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
2021-02-10 15:53:18 -05:00
|
|
|
.create-account-login-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.has-alt-auth .create-account-login-buttons {
|
|
|
|
grid-area: login-buttons;
|
|
|
|
padding: 1em;
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-02-10 15:53:18 -05:00
|
|
|
justify-content: center;
|
|
|
|
h3 {
|
|
|
|
color: var(--secondary);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#login-buttons {
|
|
|
|
button:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
}
|
2021-02-10 15:53:18 -05:00
|
|
|
.modal-body {
|
2018-05-25 08:15:34 -04:00
|
|
|
display: flex;
|
2021-02-10 15:53:18 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.login-welcome-header {
|
|
|
|
grid-area: header;
|
|
|
|
padding: 1em 1em 1em 1em;
|
2021-02-11 11:08:01 -05:00
|
|
|
height: calc(110px - 2em);
|
2021-02-10 15:53:18 -05:00
|
|
|
.login-title {
|
|
|
|
font-size: 2.75em;
|
|
|
|
}
|
|
|
|
.login-subheader {
|
|
|
|
font-size: 1.125em !important;
|
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
}
|
2018-11-08 15:25:10 -05:00
|
|
|
|
2021-02-10 15:53:18 -05:00
|
|
|
.modal-body:not(.has-alt-auth) .login-form {
|
|
|
|
&:after,
|
|
|
|
&:before {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
top: calc(8em - 10px) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-alt-auth .login-form,
|
|
|
|
.login-form {
|
|
|
|
background: var(--secondary);
|
|
|
|
padding: 1em;
|
|
|
|
grid-area: form;
|
|
|
|
overflow-y: scroll;
|
2018-11-08 15:25:10 -05:00
|
|
|
&:after,
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2021-02-10 15:53:18 -05:00
|
|
|
width: 65%;
|
2018-11-08 15:25:10 -05:00
|
|
|
pointer-events: none;
|
2021-02-10 15:53:18 -05:00
|
|
|
z-index: 100;
|
|
|
|
margin-left: -1em;
|
|
|
|
height: 1em;
|
2018-11-08 15:25:10 -05:00
|
|
|
}
|
|
|
|
&:after {
|
2021-02-10 15:53:18 -05:00
|
|
|
bottom: 93px;
|
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),
|
2021-02-10 15:53:18 -05:00
|
|
|
rgba(var(--secondary-rgb), 1)
|
2018-11-08 15:25:10 -05:00
|
|
|
);
|
|
|
|
}
|
|
|
|
&:before {
|
2021-02-11 11:08:01 -05:00
|
|
|
top: 110px;
|
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
|
|
|
);
|
|
|
|
}
|
2021-02-10 15:53:18 -05:00
|
|
|
.input-group {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
input:not(.value-entered):not(:focus) + label.alt-placeholder {
|
|
|
|
top: 12px;
|
2018-11-08 15:25:10 -05:00
|
|
|
}
|
|
|
|
}
|
2021-02-10 15:53:18 -05:00
|
|
|
.password-confirmation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
scrollbar-color: rgba(var(--primary-rgb), 0.5) transparent;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 15px;
|
2018-05-25 16:44:44 -04:00
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
|
2021-02-10 15:53:18 -05:00
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
box-shadow: inset 0 0 14px 14px transparent;
|
|
|
|
border: 4px solid transparent;
|
2013-12-16 17:31:05 -05:00
|
|
|
}
|
2018-05-25 08:15:34 -04:00
|
|
|
|
2021-02-10 15:53:18 -05:00
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
box-shadow: inset 0 0 14px 14px rgba(var(--primary-rgb), 0.5);
|
|
|
|
border: 4px solid transparent;
|
|
|
|
border-radius: 14px;
|
2013-12-16 17:31:05 -05:00
|
|
|
}
|
2021-02-10 15:53:18 -05:00
|
|
|
|
|
|
|
/* set button(top and bottom of the scrollbar) */
|
|
|
|
&::-webkit-scrollbar-button {
|
|
|
|
display: none;
|
2013-12-27 14:25:31 -05:00
|
|
|
}
|
2013-12-16 17:31:05 -05:00
|
|
|
}
|
|
|
|
|
2019-11-21 14:43:20 -05:00
|
|
|
.user-fields {
|
2021-02-10 15:53:18 -05:00
|
|
|
margin-bottom: 1em;
|
2019-11-21 14:43:20 -05:00
|
|
|
}
|
|
|
|
|
2018-06-07 02:03:54 -04:00
|
|
|
.user-field {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
&.confirm {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2021-02-10 15:53:18 -05:00
|
|
|
&:not(:empty) {
|
2018-05-25 17:33:45 -04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|