2016-10-23 06:05:55 -04:00
|
|
|
code {
|
2017-05-07 09:23:06 -04:00
|
|
|
font-family: 'mastodon-font-monospace', monospace;
|
2016-10-23 06:05:55 -04:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2016-10-18 10:37:15 -04:00
|
|
|
.form-container {
|
|
|
|
max-width: 400px;
|
|
|
|
padding: 20px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.simple_form {
|
|
|
|
.input {
|
|
|
|
margin-bottom: 15px;
|
2017-05-20 13:42:44 -04:00
|
|
|
overflow: hidden;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
2017-03-26 07:22:38 -04:00
|
|
|
span.hint {
|
2016-12-22 17:03:57 -05:00
|
|
|
display: block;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-primary-color;
|
2016-12-22 17:03:57 -05:00
|
|
|
font-size: 12px;
|
2017-01-27 21:56:10 -05:00
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2017-03-26 07:22:38 -04:00
|
|
|
p.hint {
|
|
|
|
margin-bottom: 15px;
|
2017-07-11 09:27:59 -04:00
|
|
|
color: lighten($ui-base-color, 32%);
|
|
|
|
|
|
|
|
&.subtle-hint {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 18px;
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: lighten($ui-base-color, 26%);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
}
|
|
|
|
}
|
2017-03-26 07:22:38 -04:00
|
|
|
}
|
|
|
|
|
2017-07-20 23:28:51 -04:00
|
|
|
.card {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2017-04-08 16:20:08 -04:00
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2017-01-27 21:56:10 -05:00
|
|
|
.label_input {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
label {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2016-12-22 17:03:57 -05:00
|
|
|
}
|
|
|
|
|
2017-07-11 21:24:04 -04:00
|
|
|
.input.with_label {
|
2016-10-18 10:37:15 -04:00
|
|
|
padding: 15px 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
2017-05-20 13:42:44 -04:00
|
|
|
.label_input > label {
|
2017-01-04 23:24:27 -05:00
|
|
|
font-family: inherit;
|
2016-10-18 10:37:15 -04:00
|
|
|
font-size: 16px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2016-11-16 11:51:02 -05:00
|
|
|
display: block;
|
|
|
|
padding-top: 5px;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
2017-07-11 21:24:04 -04:00
|
|
|
|
|
|
|
&.boolean {
|
|
|
|
padding: initial;
|
|
|
|
margin-bottom: initial;
|
|
|
|
|
|
|
|
.label_input > label {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
label.checkbox {
|
|
|
|
position: relative;
|
|
|
|
padding-left: 25px;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.input.with_block_label {
|
|
|
|
& > label {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 16px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
display: block;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hint {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.fields-group {
|
|
|
|
margin-bottom: 25px;
|
|
|
|
}
|
|
|
|
|
2017-04-17 04:37:00 -04:00
|
|
|
.input.radio_buttons .radio label {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2017-04-17 04:37:00 -04:00
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2016-10-18 10:37:15 -04:00
|
|
|
.input.boolean {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
label {
|
2017-01-04 23:24:27 -05:00
|
|
|
font-family: inherit;
|
2016-10-18 10:37:15 -04:00
|
|
|
font-size: 14px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2016-11-16 11:51:02 -05:00
|
|
|
display: block;
|
2017-01-27 21:56:10 -05:00
|
|
|
width: auto;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
2016-11-25 08:01:14 -05:00
|
|
|
|
2016-11-23 10:26:53 -05:00
|
|
|
label.checkbox {
|
|
|
|
position: relative;
|
2017-04-17 04:37:00 -04:00
|
|
|
padding-left: 25px;
|
|
|
|
flex: 1 1 auto;
|
2016-11-23 10:26:53 -05:00
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
|
|
|
|
input[type=checkbox] {
|
2017-05-07 14:47:31 -04:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2017-07-11 21:24:04 -04:00
|
|
|
top: 5px;
|
2016-11-25 08:01:14 -05:00
|
|
|
margin: 0;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
2016-12-22 17:03:57 -05:00
|
|
|
|
|
|
|
.hint {
|
|
|
|
padding-left: 25px;
|
2017-01-27 21:56:10 -05:00
|
|
|
margin-left: 0;
|
2016-12-22 17:03:57 -05:00
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
2017-07-11 21:24:04 -04:00
|
|
|
.check_boxes {
|
|
|
|
.checkbox {
|
|
|
|
label {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-left: 25px;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
input[type=text],
|
|
|
|
input[type=number],
|
|
|
|
input[type=email],
|
|
|
|
input[type=password],
|
|
|
|
textarea {
|
2016-10-18 10:37:15 -04:00
|
|
|
background: transparent;
|
2016-11-07 12:45:44 -05:00
|
|
|
box-sizing: border-box;
|
2016-10-18 10:37:15 -04:00
|
|
|
border: 0;
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom: 2px solid $ui-primary-color;
|
2016-11-07 12:45:44 -05:00
|
|
|
border-radius: 2px 2px 0 0;
|
|
|
|
padding: 7px 4px;
|
2016-10-18 10:37:15 -04:00
|
|
|
font-size: 16px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
outline: 0;
|
2017-01-04 23:24:27 -05:00
|
|
|
font-family: inherit;
|
2017-02-14 14:59:26 -05:00
|
|
|
resize: vertical;
|
2016-10-18 10:37:15 -04:00
|
|
|
|
|
|
|
&:invalid {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus:invalid {
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom-color: $error-value-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:required:valid {
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom-color: $valid-value-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom-color: $ui-highlight-color;
|
|
|
|
background: rgba($base-overlay-background, 0.1);
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.input.field_with_errors {
|
2017-01-27 21:56:10 -05:00
|
|
|
label {
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $error-value-color;
|
2017-01-27 21:56:10 -05:00
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
input[type=text],
|
|
|
|
input[type=email],
|
|
|
|
input[type=password] {
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom-color: $error-value-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
2017-01-27 21:56:10 -05:00
|
|
|
display: block;
|
2016-10-18 10:37:15 -04:00
|
|
|
font-weight: 500;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $error-value-color;
|
2017-01-27 21:56:10 -05:00
|
|
|
margin-top: 4px;
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
margin-top: 30px;
|
2017-05-17 18:38:01 -04:00
|
|
|
display: flex;
|
2016-10-22 13:38:47 -04:00
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
button,
|
2017-05-17 18:38:01 -04:00
|
|
|
.button,
|
2017-05-07 14:47:31 -04:00
|
|
|
.block-button {
|
2016-10-22 13:38:47 -04:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
2016-10-22 13:38:47 -04:00
|
|
|
font-size: 18px;
|
2017-05-17 18:38:01 -04:00
|
|
|
line-height: inherit;
|
|
|
|
height: auto;
|
2016-10-22 13:38:47 -04:00
|
|
|
padding: 10px;
|
|
|
|
text-transform: uppercase;
|
2017-01-27 14:28:46 -05:00
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
box-sizing: border-box;
|
2016-10-22 13:38:47 -04:00
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 500;
|
|
|
|
outline: 0;
|
|
|
|
margin-bottom: 10px;
|
2017-05-17 18:38:01 -04:00
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
|
2016-10-22 13:38:47 -04:00
|
|
|
&:hover {
|
2017-05-08 09:57:49 -04:00
|
|
|
background-color: lighten($ui-highlight-color, 5%);
|
2016-10-22 13:38:47 -04:00
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-05-08 09:57:49 -04:00
|
|
|
background-color: darken($ui-highlight-color, 5%);
|
2016-10-22 13:38:47 -04:00
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
|
2016-10-22 13:38:47 -04:00
|
|
|
&.negative {
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $error-value-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
|
2016-10-22 13:38:47 -04:00
|
|
|
&:hover {
|
2017-05-08 09:57:49 -04:00
|
|
|
background-color: lighten($error-value-color, 5%);
|
2016-10-22 13:38:47 -04:00
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-05-08 09:57:49 -04:00
|
|
|
background-color: darken($error-value-color, 5%);
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-17 04:37:00 -04:00
|
|
|
|
|
|
|
select {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2017-07-11 09:27:59 -04:00
|
|
|
|
|
|
|
.input-with-append {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.input input {
|
|
|
|
padding-right: 127px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.append {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 7px 4px;
|
|
|
|
padding-bottom: 9px;
|
|
|
|
font-size: 16px;
|
|
|
|
color: lighten($ui-base-color, 26%);
|
|
|
|
font-family: inherit;
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
2016-10-18 10:37:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.flash-message {
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $ui-base-color;
|
|
|
|
color: $ui-primary-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 15px 10px;
|
|
|
|
margin-bottom: 30px;
|
2017-05-08 09:57:49 -04:00
|
|
|
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
2016-10-18 10:37:15 -04:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-footer {
|
|
|
|
margin-top: 30px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
a {
|
2017-07-11 09:27:59 -04:00
|
|
|
color: $ui-primary-color;
|
2016-10-18 10:37:15 -04:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
.oauth-prompt,
|
|
|
|
.follow-prompt {
|
2016-10-22 13:38:47 -04:00
|
|
|
margin-bottom: 30px;
|
|
|
|
text-align: center;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-primary-color;
|
2016-10-22 13:38:47 -04:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-secondary-color;
|
2016-10-22 13:38:47 -04:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
2017-01-27 14:28:46 -05:00
|
|
|
|
2017-04-08 16:20:08 -04:00
|
|
|
.qr-wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2017-01-27 14:28:46 -05:00
|
|
|
.qr-code {
|
2017-04-08 16:20:08 -04:00
|
|
|
flex: 0 0 auto;
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $simple-background-color;
|
2017-01-27 14:28:46 -05:00
|
|
|
padding: 4px;
|
|
|
|
margin-bottom: 20px;
|
2017-05-08 09:57:49 -04:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2017-01-27 14:28:46 -05:00
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-04-08 16:20:08 -04:00
|
|
|
|
|
|
|
.qr-alternative {
|
|
|
|
margin-left: 10px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-primary-color;
|
2017-04-08 16:20:08 -04:00
|
|
|
|
|
|
|
samp {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-23 18:38:37 -04:00
|
|
|
|
|
|
|
.table-form {
|
|
|
|
p {
|
|
|
|
max-width: 400px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
2017-06-14 12:01:27 -04:00
|
|
|
}
|
2017-04-23 18:38:37 -04:00
|
|
|
|
2017-06-14 12:01:27 -04:00
|
|
|
.simple_form,
|
|
|
|
.table-form {
|
2017-04-23 18:38:37 -04:00
|
|
|
.warning {
|
|
|
|
max-width: 400px;
|
|
|
|
box-sizing: border-box;
|
2017-05-08 09:57:49 -04:00
|
|
|
background: rgba($error-value-color, 0.5);
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-shadow: 1px 1px 0 rgba($base-shadow-color, 0.3);
|
|
|
|
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.4);
|
2017-04-23 18:38:37 -04:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
a {
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2017-04-23 18:38:37 -04:00
|
|
|
text-decoration: underline;
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-04-23 18:38:37 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-pagination {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
.actions,
|
|
|
|
.pagination {
|
2017-04-23 18:38:37 -04:00
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
padding: 30px 0;
|
|
|
|
padding-right: 20px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2017-05-01 11:42:13 -04:00
|
|
|
|
2017-07-10 12:05:06 -04:00
|
|
|
.post-follow-actions {
|
|
|
|
text-align: center;
|
|
|
|
color: $ui-primary-color;
|
|
|
|
|
|
|
|
div {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
}
|