2022-09-29 10:02:41 +00:00
|
|
|
/*
|
|
|
|
GoToSocial
|
2023-01-05 11:43:00 +00:00
|
|
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2024-05-01 13:11:22 +00:00
|
|
|
/*
|
|
|
|
This source file uses PostCSS syntax.
|
|
|
|
See: https://postcss.org/
|
|
|
|
*/
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
body {
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
|
2023-12-27 10:23:52 +00:00
|
|
|
.page-content {
|
2022-09-29 10:02:41 +00:00
|
|
|
grid-column: 1 / span 3; /* stretch entire width, to fit panel + sidebar nav */
|
2023-03-11 09:49:44 +00:00
|
|
|
width: 100%;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
2023-12-27 10:23:52 +00:00
|
|
|
/* Don't inherit orange dot from base.css. */
|
|
|
|
ul li::before {
|
|
|
|
content: initial;
|
2023-03-29 10:18:45 +00:00
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
#root {
|
|
|
|
box-sizing: border-box;
|
2023-05-11 15:46:32 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0 1rem;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
section.oauth {
|
|
|
|
max-width: 92%;
|
|
|
|
width: 60rem;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
section.with-sidebar {
|
2023-05-11 15:46:32 +00:00
|
|
|
flex-grow: 100;
|
|
|
|
flex-basis: 40rem;
|
|
|
|
background: $bg-accent;
|
|
|
|
padding: 2rem;
|
|
|
|
border-radius: $br;
|
2023-05-13 10:17:22 +00:00
|
|
|
max-width: 100%;
|
2023-05-11 15:46:32 +00:00
|
|
|
|
2024-01-16 17:28:56 +00:00
|
|
|
& > div,
|
|
|
|
& > form {
|
2022-09-29 10:02:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-03-11 09:49:44 +00:00
|
|
|
margin: 1rem 0;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2024-04-24 10:12:47 +00:00
|
|
|
h1, h2, h3, h4, h5 {
|
2022-09-29 10:02:41 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-05-13 10:17:22 +00:00
|
|
|
|
|
|
|
& > .error {
|
|
|
|
display: grid; /* prevents error overflowing */
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
2023-05-11 15:46:32 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 20rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
align-self: start;
|
|
|
|
justify-self: end;
|
2023-03-29 10:18:45 +00:00
|
|
|
background: $bg;
|
2022-09-29 10:02:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2023-03-29 10:18:45 +00:00
|
|
|
.account-card {
|
|
|
|
grid-template-columns: auto 1fr auto;
|
|
|
|
|
|
|
|
img.avatar {
|
|
|
|
width: 4rem;
|
|
|
|
height: 4rem;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2023-03-29 10:18:45 +00:00
|
|
|
span {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logout {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
align-self: center;
|
|
|
|
grid-row: 1 / span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $list-entry-bg;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
2023-03-29 10:18:45 +00:00
|
|
|
}
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2023-03-29 10:18:45 +00:00
|
|
|
nav.menu-tree {
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* top-level ul */
|
|
|
|
& > ul {
|
|
|
|
gap: 0.3rem;
|
|
|
|
padding: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.top-level { /* top-level categories, orange all-caps titles */
|
|
|
|
border-top: 0.1rem solid $gray3;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.3rem;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
& > a.title {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $settings-nav-header-fg;
|
2022-09-29 10:02:41 +00:00
|
|
|
padding: 0.5rem;
|
2023-03-29 10:18:45 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 0.8rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2023-03-29 10:18:45 +00:00
|
|
|
|
|
|
|
& > ul {
|
|
|
|
gap: 0.2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.expanding { /* second-level categories, expanding box, active shows nested */
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
border: 0.1rem solid transparent;
|
|
|
|
border-radius: $br;
|
|
|
|
padding: 0.5rem;
|
|
|
|
transition: background 0.1s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $settings-nav-fg-hover;
|
|
|
|
background: $settings-nav-bg-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus, &:active {
|
|
|
|
border-color: $settings-nav-border-active;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border: 0.1rem solid $settings-nav-border-active;
|
|
|
|
border-radius: $br;
|
|
|
|
overflow: hidden;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
a {
|
2023-03-29 10:18:45 +00:00
|
|
|
transition: background 0s;
|
|
|
|
border: none;
|
|
|
|
color: $settings-nav-fg-active;
|
|
|
|
background: $settings-nav-bg-active;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 0;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-29 10:18:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li.nested { /* any deeper nesting, just has indent */
|
|
|
|
a.title {
|
|
|
|
padding-left: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
color: $fg;
|
|
|
|
background: $gray4;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2023-03-29 10:18:45 +00:00
|
|
|
&:focus {
|
|
|
|
color: $fg-accent;
|
|
|
|
outline: none;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2023-03-29 10:18:45 +00:00
|
|
|
&:hover {
|
|
|
|
background: $settings-nav-bg-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
a.title {
|
|
|
|
color: $fg-accent;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.capitalize {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
|
|
|
input, select, textarea {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
|
|
color: $error-fg;
|
|
|
|
background: $error-bg;
|
|
|
|
border: 0.02rem solid $error-fg;
|
|
|
|
border-radius: $br;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0.5rem;
|
|
|
|
white-space: pre-wrap;
|
2023-05-13 10:17:22 +00:00
|
|
|
position: relative;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $error-link;
|
|
|
|
}
|
|
|
|
|
2023-05-13 10:17:22 +00:00
|
|
|
.details {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
pre {
|
|
|
|
background: $bg;
|
|
|
|
color: $fg;
|
|
|
|
padding: 1rem;
|
|
|
|
overflow: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2024-05-07 17:48:12 +00:00
|
|
|
&.with-dismiss {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2024-05-07 17:48:12 +00:00
|
|
|
.dismiss {
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
|
|
|
align-items: center;
|
|
|
|
align-self: stretch;
|
|
|
|
gap: 0.25rem;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
2024-05-07 17:48:12 +00:00
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2024-05-27 10:37:14 +00:00
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2024-05-07 17:48:12 +00:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notImplemented {
|
|
|
|
border: 2px solid rgb(70, 79, 88);
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
-45deg,
|
|
|
|
#525c66,
|
|
|
|
#525c66 10px,
|
|
|
|
rgb(70, 79, 88) 10px,
|
|
|
|
rgb(70, 79, 88) 20px
|
|
|
|
) !important;
|
|
|
|
}
|
|
|
|
|
2024-04-24 10:12:47 +00:00
|
|
|
section.with-sidebar > div,
|
|
|
|
section.with-sidebar > form {
|
2022-09-29 10:02:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
input, textarea {
|
|
|
|
width: 100%;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
button {
|
|
|
|
width: auto;
|
|
|
|
align-self: flex-start;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
input[type=checkbox] {
|
|
|
|
justify-self: start;
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2023-09-29 11:01:36 +00:00
|
|
|
.docslink {
|
2022-09-29 10:02:41 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2023-09-29 11:01:36 +00:00
|
|
|
|
|
|
|
.form-section-docs {
|
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
|
|
|
border-left: 0.2rem solid $border-accent;
|
|
|
|
padding-left: 0.4rem;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.2rem;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
.labelinput .border {
|
|
|
|
border-radius: 0.2rem;
|
2024-07-17 14:46:52 +00:00
|
|
|
border: 0.15rem solid $border-accent;
|
2022-09-29 10:02:41 +00:00
|
|
|
padding: 0.3rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-input.button {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 0.3rem 0.3rem;
|
|
|
|
align-self: flex-start;
|
|
|
|
margin-right: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.labelinput, .labelselect {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.labelcheckbox {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.titlesave {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-08 16:51:44 +00:00
|
|
|
.form-flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
2024-02-21 13:24:04 +00:00
|
|
|
.file-upload {
|
|
|
|
.file-upload-with-preview {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 8rem;
|
|
|
|
border: 0.2rem solid $border-accent;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.avatar {
|
|
|
|
width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.header {
|
|
|
|
width: 24rem;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
2024-07-08 13:47:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-input-with-image-description {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
gap: 0.5rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
2024-01-16 17:28:56 +00:00
|
|
|
/*
|
|
|
|
Normalize mock profile and make profile
|
|
|
|
header preview pop a bit nicer.
|
|
|
|
*/
|
|
|
|
.profile {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
& > .profile-header {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border: 0.1rem solid $gray1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.user-profile {
|
2024-07-08 13:47:03 +00:00
|
|
|
.profile {
|
|
|
|
max-width: 42rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.overview {
|
2024-07-08 13:47:03 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-02-14 10:58:57 +00:00
|
|
|
gap: 1rem;
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.files {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2023-02-14 10:58:57 +00:00
|
|
|
gap: 1rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
span {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-13 10:21:26 +00:00
|
|
|
|
2024-07-24 08:40:56 +00:00
|
|
|
.theme, .form-field.radio {
|
2023-06-13 10:21:26 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
2024-07-24 08:40:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5rem 1rem 1rem 1rem;
|
|
|
|
max-width: fit-content;
|
|
|
|
border: 0.1rem solid var(--gray1);
|
|
|
|
border-radius: 0.1rem;
|
|
|
|
|
|
|
|
>legend {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fields {
|
2023-06-13 10:21:26 +00:00
|
|
|
display: flex;
|
2024-07-24 08:40:56 +00:00
|
|
|
flex-direction: column;
|
2023-06-13 10:21:26 +00:00
|
|
|
gap: 0.5rem;
|
2024-07-24 08:40:56 +00:00
|
|
|
|
|
|
|
.entry {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
2023-06-13 10:21:26 +00:00
|
|
|
}
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
2024-01-16 17:28:56 +00:00
|
|
|
.migration-details {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
background-color: $gray2;
|
|
|
|
padding: 1rem;
|
|
|
|
max-width: fit-content;
|
|
|
|
border-radius: $br;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
|
|
|
& > dd {
|
|
|
|
font-weight: bold;
|
|
|
|
word-wrap: anywhere;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-migration-alias {
|
|
|
|
.aliases {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.form-field label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2024-05-07 17:48:12 +00:00
|
|
|
.form-field.file {
|
2023-01-18 13:45:14 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
2024-05-07 17:48:12 +00:00
|
|
|
grid-template-rows: auto auto;
|
|
|
|
grid-template-areas:
|
|
|
|
"label-label label-label"
|
|
|
|
"label-button file-info"
|
|
|
|
;
|
|
|
|
|
|
|
|
.label-label {
|
|
|
|
grid-area: label-label;
|
|
|
|
}
|
2022-11-08 16:51:44 +00:00
|
|
|
|
2024-05-07 17:48:12 +00:00
|
|
|
.label-button {
|
|
|
|
grid-area: label-button;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-info {
|
|
|
|
grid-area: file-info;
|
|
|
|
.error {
|
|
|
|
padding: 0.1rem;
|
|
|
|
line-height: 1.4rem;
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
}
|
2022-11-08 16:51:44 +00:00
|
|
|
|
|
|
|
span.form-info {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding: 0.3rem 0;
|
2023-01-18 13:45:14 +00:00
|
|
|
font-weight: initial;
|
2022-11-08 16:51:44 +00:00
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.checkbox-list {
|
|
|
|
.header, .entry {
|
2023-02-03 11:07:40 +00:00
|
|
|
display: grid;
|
|
|
|
gap: 0 1rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-01 13:11:22 +00:00
|
|
|
.pageable-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
.entries {
|
|
|
|
color: $fg;
|
|
|
|
border: 0.1rem solid var(--gray1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.prev-next {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-17 10:46:06 +00:00
|
|
|
.domain-permissions-list {
|
2023-01-18 13:45:14 +00:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.filter {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry {
|
2023-01-18 13:45:14 +00:00
|
|
|
padding: 0.5rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
margin: 0.2rem 0;
|
|
|
|
|
|
|
|
#domain {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk h2 {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-list {
|
2023-01-25 17:06:41 +00:00
|
|
|
background: $list-entry-bg;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
2023-01-27 08:09:26 +00:00
|
|
|
.header .form-field {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.entry {
|
|
|
|
flex-direction: column;
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
b {
|
|
|
|
padding-left: 0.4rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 10:02:41 +00:00
|
|
|
.emoji-group {
|
|
|
|
display: flex;
|
2022-11-25 15:37:57 +00:00
|
|
|
flex-wrap: wrap;
|
2022-09-29 10:02:41 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
border-radius: $br;
|
|
|
|
padding: 0.4rem;
|
|
|
|
line-height: 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 2rem;
|
|
|
|
width: 2rem;
|
|
|
|
object-fit: contain;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2023-01-25 17:06:41 +00:00
|
|
|
background: $list-entry-hover-bg;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toot {
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
.contentgrid {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-14 10:58:57 +00:00
|
|
|
@media screen and (max-width: 60rem) {
|
|
|
|
/* vertical layout */
|
2022-09-29 10:02:41 +00:00
|
|
|
#root {
|
2024-04-25 16:24:24 +00:00
|
|
|
padding: 0.5rem;
|
|
|
|
margin: 0;
|
2022-09-29 10:02:41 +00:00
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
|
2024-04-25 16:24:24 +00:00
|
|
|
div.sidebar {
|
2022-09-29 10:02:41 +00:00
|
|
|
justify-self: auto;
|
2024-04-25 16:24:24 +00:00
|
|
|
margin-bottom: 0;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
2024-04-25 16:24:24 +00:00
|
|
|
div.sidebar, section.with-sidebar {
|
2022-09-29 10:02:41 +00:00
|
|
|
border-top-left-radius: $br;
|
|
|
|
border-top-right-radius: $br;
|
|
|
|
border-bottom-left-radius: $br;
|
|
|
|
border-bottom-right-radius: $br;
|
|
|
|
}
|
|
|
|
|
2024-04-25 16:24:24 +00:00
|
|
|
section.with-sidebar {
|
|
|
|
grid-column: 1;
|
|
|
|
padding: 1rem;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
2024-04-25 16:24:24 +00:00
|
|
|
div.sidebar a:first-child h2 {
|
|
|
|
border-top-right-radius: $br;
|
|
|
|
}
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile .overview {
|
2023-02-14 10:58:57 +00:00
|
|
|
grid-template-columns: auto;
|
|
|
|
grid-template-rows: auto 1fr;
|
2022-09-29 10:02:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main section {
|
|
|
|
padding: 0.75rem;
|
|
|
|
}
|
|
|
|
|
2023-10-17 10:46:06 +00:00
|
|
|
.domain-permissions-list .filter {
|
2022-09-29 10:02:41 +00:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2022-11-16 16:05:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.combobox-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
input[aria-expanded="true"] {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.combobox {
|
|
|
|
height: 2.5rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover {
|
|
|
|
position: relative;
|
|
|
|
z-index: 50;
|
|
|
|
display: flex;
|
|
|
|
max-height: min(var(--popover-available-height,300px),300px);
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: auto;
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
border: 0.15rem solid $orange2;
|
|
|
|
background: $bg-accent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.combobox-item {
|
|
|
|
display: flex;
|
|
|
|
cursor: pointer;
|
|
|
|
scroll-margin: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.5rem;
|
|
|
|
padding: 0.5rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
border-bottom: 0.15rem solid $gray3;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.combobox-item:hover {
|
|
|
|
background: $button-hover-bg;
|
|
|
|
color: $button-fg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.combobox-item[data-active-item] {
|
|
|
|
background: $button-hover-bg;
|
|
|
|
color: hsl(204 20% 100%);
|
2022-11-25 14:49:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
display: flex;
|
2023-01-18 13:45:14 +00:00
|
|
|
gap: 0.5rem;
|
2022-11-25 14:49:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-detail {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem !important;
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-11-25 14:49:48 +00:00
|
|
|
img {
|
|
|
|
height: 8.5rem;
|
|
|
|
width: 8.5rem;
|
|
|
|
border: 0.2rem solid $border-accent;
|
|
|
|
object-fit: contain;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.update-category {
|
|
|
|
.combobox-wrapper button {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0.15rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
2023-01-18 13:45:14 +00:00
|
|
|
margin-top: 0.1rem;
|
2022-11-25 14:49:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.update-image {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-border {
|
|
|
|
border-left: 0.2rem solid $border-accent;
|
|
|
|
padding-left: 0.4rem;
|
2022-12-11 15:00:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.parse-emoji {
|
|
|
|
.parsed {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
span {
|
|
|
|
margin-bottom: -0.5rem;
|
2022-12-11 15:00:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.action-buttons {
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.checkbox-list {
|
|
|
|
.entry {
|
2022-12-11 15:00:23 +00:00
|
|
|
grid-template-columns: auto auto 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji {
|
|
|
|
height: 2rem;
|
|
|
|
width: 2rem;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
color: $info-fg;
|
|
|
|
background: $info-bg;
|
2024-04-13 11:25:10 +00:00
|
|
|
padding: 0.25rem;
|
2023-01-18 13:45:14 +00:00
|
|
|
border-radius: $br;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $info-link;
|
|
|
|
}
|
2023-02-06 08:33:47 +00:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
|
2024-05-27 10:37:14 +00:00
|
|
|
.mutation-button {
|
|
|
|
width: fit-content;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.with-icon,
|
|
|
|
.button.with-icon {
|
2023-01-18 13:45:14 +00:00
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
padding-right: calc(0.5rem + $fa-fw);
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.with-padding {
|
|
|
|
padding: 0.5rem calc(0.5rem + $fa-fw);
|
|
|
|
}
|
|
|
|
|
2024-07-17 14:46:52 +00:00
|
|
|
.tab-buttons {
|
|
|
|
display: flex;
|
|
|
|
max-width: fit-content;
|
|
|
|
justify-content: space-between;
|
|
|
|
gap: 0.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.tab-button {
|
|
|
|
border-top-left-radius: $br;
|
|
|
|
border-top-right-radius: $br;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
background: $blue1;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $button-hover-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
|
|
|
@media screen and (max-width: 20rem) {
|
|
|
|
font-size: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: $button-bg;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.loading-icon {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeout {
|
|
|
|
animation-name: fadeout;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-delay: 2s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
2023-10-17 10:46:06 +00:00
|
|
|
.domain-perm-import-list {
|
2023-03-11 09:49:44 +00:00
|
|
|
.checkbox-list-wrapper {
|
|
|
|
overflow-x: auto;
|
|
|
|
display: grid;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.checkbox-list {
|
2023-02-03 11:07:40 +00:00
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
.header {
|
|
|
|
input[type="checkbox"] {
|
|
|
|
align-self: start;
|
|
|
|
height: 1.5rem;
|
2023-02-03 11:07:40 +00:00
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
.entry {
|
|
|
|
gap: 0;
|
|
|
|
width: 100%;
|
|
|
|
grid-template-columns: auto minmax(25ch, 2fr) minmax(40ch, 1fr);
|
|
|
|
grid-template-rows: auto 1fr;
|
2023-01-18 13:45:14 +00:00
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
input[type="checkbox"] {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
.domain-input {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr $fa-fw;
|
|
|
|
gap: 0.5rem;
|
2023-02-03 11:07:40 +00:00
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
#icon {
|
|
|
|
align-self: center;
|
|
|
|
|
2023-10-17 10:46:06 +00:00
|
|
|
.permission-already-exists {
|
2023-03-11 09:49:44 +00:00
|
|
|
color: $green1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.suggest-changes {
|
|
|
|
color: $orange2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
align-self: center;
|
|
|
|
margin: 0;
|
|
|
|
grid-column: 4;
|
|
|
|
grid-row: 1 / span 2;
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-03 11:07:40 +00:00
|
|
|
.import-export {
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.export-file {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.7rem;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-10-17 10:46:06 +00:00
|
|
|
.form-field.radio {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2023-02-03 11:07:40 +00:00
|
|
|
.button-grid {
|
|
|
|
display: inline-grid;
|
|
|
|
grid-template-columns: auto auto auto;
|
|
|
|
align-self: start;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
@media screen and (max-width: 35rem) {
|
|
|
|
.import-export {
|
|
|
|
.button-grid {
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
|
|
|
|
b { /* filler item */
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
grid-column: 1 / span 2;
|
|
|
|
justify-self: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.export-file-button, .export-file {
|
|
|
|
grid-column: span 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-03 11:07:40 +00:00
|
|
|
.update-hints {
|
|
|
|
background: $list-entry-alternate-bg;
|
|
|
|
border: 0.1rem solid $border-accent;
|
|
|
|
/* border-radius: $br; */
|
|
|
|
padding: 0.5rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.hints {
|
|
|
|
max-width: 100%;
|
|
|
|
align-self: start;
|
|
|
|
align-items: center;
|
|
|
|
margin: 1rem 0;
|
|
|
|
display: inline-grid;
|
|
|
|
grid-template-columns: auto auto auto auto;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
.export-format-table-wrapper {
|
|
|
|
overflow-x: auto;
|
2023-02-03 11:07:40 +00:00
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
&, th, td {
|
|
|
|
border: 0.1rem solid $gray1 !important;
|
2023-02-03 11:07:40 +00:00
|
|
|
}
|
|
|
|
|
2023-03-11 09:49:44 +00:00
|
|
|
.export-format-table {
|
|
|
|
background: $list-entry-alternate-bg;
|
|
|
|
border-style: hidden;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
padding: 0.3rem;
|
2023-02-03 11:07:40 +00:00
|
|
|
}
|
2023-03-11 09:49:44 +00:00
|
|
|
|
|
|
|
th {
|
|
|
|
background: $list-entry-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.fa-check {
|
|
|
|
color: $green1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-times {
|
|
|
|
color: $error3;
|
|
|
|
}
|
2023-02-03 11:07:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.form-field.radio {
|
|
|
|
&, label {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: auto;
|
|
|
|
place-self: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.reports-view {
|
2023-02-06 08:33:47 +00:00
|
|
|
.report {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-18 16:18:00 +00:00
|
|
|
flex-wrap: nowrap;
|
2023-02-06 08:33:47 +00:00
|
|
|
gap: 0.5rem;
|
|
|
|
color: $fg;
|
|
|
|
border-left: 0.3rem solid $border-accent;
|
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.username-lozenge {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2023-02-06 08:33:47 +00:00
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.fa {
|
|
|
|
flex-shrink: 0;
|
2023-02-06 08:33:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.report-byline {
|
|
|
|
max-width: fit-content;
|
2023-02-06 08:33:47 +00:00
|
|
|
}
|
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.info-list {
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
.info-list-entry {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.report-target .username-lozenge {
|
|
|
|
color: $bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reported-by .username-lozenge {
|
|
|
|
color: $fg;
|
|
|
|
font-weight: initial;
|
|
|
|
border-radius: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
2023-02-06 08:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.resolved {
|
2024-06-18 16:18:00 +00:00
|
|
|
border-left: 0.3rem solid $list-entry-bg;
|
2023-02-06 08:33:47 +00:00
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.info-list,
|
|
|
|
.info-list .info-list-entry .reported-by .username-lozenge {
|
2023-02-06 08:33:47 +00:00
|
|
|
color: $fg-reduced;
|
|
|
|
}
|
2024-06-18 16:18:00 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $fg-accent;
|
2023-02-06 08:33:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.detail {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2024-06-18 16:18:00 +00:00
|
|
|
}
|
2023-02-06 08:33:47 +00:00
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.report-detail {
|
|
|
|
.info-list {
|
|
|
|
|
|
|
|
&.overview {
|
|
|
|
margin-top: 1rem;
|
2023-02-06 08:33:47 +00:00
|
|
|
}
|
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.username-lozenge {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
max-width: fit-content;
|
2023-02-06 08:33:47 +00:00
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.fa {
|
|
|
|
flex-shrink: 0;
|
2023-02-06 08:33:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.report-statuses {
|
|
|
|
width: min(100%, 50rem);
|
2023-02-06 08:33:47 +00:00
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.thread {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 2rem;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2023-05-13 10:17:22 +00:00
|
|
|
}
|
2024-05-01 13:11:22 +00:00
|
|
|
}
|
2023-05-13 10:17:22 +00:00
|
|
|
|
2024-05-01 13:11:22 +00:00
|
|
|
.accounts-view {
|
|
|
|
.pageable-list {
|
|
|
|
.username-lozenge {
|
|
|
|
line-height: inherit;
|
2023-05-13 10:17:22 +00:00
|
|
|
color: $fg;
|
2024-05-01 13:11:22 +00:00
|
|
|
font-weight: initial;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 0;
|
|
|
|
background: $list-entry-bg;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(even) {
|
|
|
|
background: $list-entry-alternate-bg;
|
|
|
|
}
|
2023-05-13 10:17:22 +00:00
|
|
|
|
2024-05-01 13:11:22 +00:00
|
|
|
.acct {
|
|
|
|
color: var(--link-fg);
|
2023-05-13 10:17:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-detail {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
.profile {
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 60rem;
|
2024-05-01 13:11:22 +00:00
|
|
|
margin-top: 1rem;
|
2023-05-13 10:17:22 +00:00
|
|
|
}
|
|
|
|
|
2024-04-13 11:25:10 +00:00
|
|
|
h4, h3, h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
.action-buttons {
|
2024-04-13 11:25:10 +00:00
|
|
|
display: flex;
|
2024-05-05 11:47:22 +00:00
|
|
|
gap: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
2024-04-13 11:25:10 +00:00
|
|
|
|
2024-06-18 16:18:00 +00:00
|
|
|
.username-lozenge {
|
|
|
|
line-height: 1.3rem;
|
|
|
|
display: inline-block;
|
|
|
|
background: $fg-accent;
|
|
|
|
color: $bg;
|
|
|
|
border-radius: $br;
|
|
|
|
padding: 0.15rem;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
.acct {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.suspended {
|
|
|
|
background: $bg-accent;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.local {
|
|
|
|
background: $green1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pseudolink {
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
.info-list {
|
|
|
|
border: 0.1rem solid $gray1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-04-13 11:25:10 +00:00
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
.info-list-entry {
|
|
|
|
background: $list-entry-bg;
|
|
|
|
border: 0.1rem solid transparent;
|
|
|
|
padding: 0.25rem;
|
2024-04-13 11:25:10 +00:00
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
&:nth-child(even) {
|
|
|
|
background: $list-entry-alternate-bg;
|
|
|
|
}
|
2024-04-13 11:25:10 +00:00
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: max(20%, 10rem) 1fr;
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2024-05-01 13:11:22 +00:00
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
dd {
|
|
|
|
word-break: break-word;
|
2024-04-13 11:25:10 +00:00
|
|
|
}
|
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
dt, dd {
|
|
|
|
/*
|
|
|
|
Make sure any fa icons used in keys
|
|
|
|
or values are properly aligned.
|
|
|
|
*/
|
|
|
|
.fa {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2023-05-13 10:17:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-27 10:23:52 +00:00
|
|
|
.instance-rules {
|
|
|
|
list-style-position: inside;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
a.rule {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
align-items: center;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: none;
|
|
|
|
background: $status-bg;
|
|
|
|
padding: 1rem;
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
border-radius: $br;
|
|
|
|
line-height: 2rem;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $fg-accent;
|
|
|
|
|
|
|
|
.edit-icon {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-icon {
|
|
|
|
display: none;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-size: 1.75rem;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 0 !important;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $fg-reduced;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-05 11:47:22 +00:00
|
|
|
.http-header-permissions {
|
|
|
|
.list {
|
|
|
|
/*
|
|
|
|
Space this page out a bit, it
|
|
|
|
looks too tight otherwise.
|
|
|
|
*/
|
|
|
|
margin: 1rem 0;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Visually separate the key + value for
|
|
|
|
each entry, and show the value in
|
|
|
|
reasonably-sized monospace font.
|
|
|
|
*/
|
|
|
|
.entries > .entry {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: max(20%, 10rem) 1fr;
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: large;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.http-header-permission-details {
|
|
|
|
.info-list {
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
|
|
|
> .info-list-entry > .monospace {
|
|
|
|
font-size: large;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-03 09:20:53 +00:00
|
|
|
.admin-debug-apurl {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.prism-highlighted {
|
|
|
|
max-width: 40rem;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Normally we'd want to use a scrollbar for pre
|
|
|
|
and code, but it actually looks a bit better
|
|
|
|
to wrap here because there are many long lines.
|
|
|
|
*/
|
|
|
|
pre, code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-17 14:46:52 +00:00
|
|
|
.interaction-default-settings {
|
|
|
|
.interaction-policy-section {
|
|
|
|
padding: 1rem;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
border: 0.15rem solid $input-border;
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5rem 1rem 1rem 1rem;
|
|
|
|
|
|
|
|
border: $boxshadow-border;
|
|
|
|
border-radius: 0.1rem;
|
|
|
|
box-shadow: $boxshadow;
|
|
|
|
|
|
|
|
>legend {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: large;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.something-else {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
margin-top: -0.3rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-31 14:03:34 +00:00
|
|
|
.export-data {
|
|
|
|
.export-buttons-wrapper {
|
|
|
|
display: grid;
|
|
|
|
max-width: fit-content;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
.stats-and-button {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 13rem 1fr;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
|
|
|
.mutation-button {
|
|
|
|
width: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
|
|
button {
|
|
|
|
font-size: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 35rem) {
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
.stats-and-button {
|
|
|
|
grid-template-columns: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-09 08:26:35 +00:00
|
|
|
@media screen and (orientation: portrait) {
|
|
|
|
.reports .report .byline {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
2023-12-27 10:23:52 +00:00
|
|
|
.report-status {
|
2023-02-09 08:26:35 +00:00
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-03 11:07:40 +00:00
|
|
|
[role="button"] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
@keyframes fadeout {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2023-12-27 10:23:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion) {
|
|
|
|
.fa-spin {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.monospace {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|