2022-09-29 11:02:41 +01:00
|
|
|
/*
|
|
|
|
GoToSocial
|
2023-01-05 11:43:00 +00:00
|
|
|
Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
|
2022-09-29 11:02:41 +01: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/>.
|
|
|
|
*/
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
/* Fork-Awesome 'fa-fw' fixed icon width
|
|
|
|
keep in sync with https://github.com/ForkAwesome/Fork-Awesome/blob/a99579ae3e735ee70e51ed62dfcee3172b5b2db7/css/fork-awesome.css#L50
|
|
|
|
*/
|
|
|
|
$fa-fw: 1.28571429em;
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
body {
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
grid-column: 1 / span 3; /* stretch entire width, to fit panel + sidebar nav */
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
grid-column: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#root {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 90ch 1fr;
|
|
|
|
width: 100vw;
|
|
|
|
max-width: 100vw;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
section.with-sidebar {
|
|
|
|
border-left: none;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
& > div, & > form {
|
2022-09-29 11:02:41 +01:00
|
|
|
border-left: 0.2rem solid $border-accent;
|
|
|
|
padding-left: 0.4rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
margin: 2rem 0;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin: 0;
|
2023-01-18 13:45:14 +00:00
|
|
|
margin-top: 0.1rem;
|
2022-09-29 11:02:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:only-child {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2023-02-03 11:07:40 +00:00
|
|
|
|
|
|
|
&.without-border {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
2022-09-29 11:02:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
align-self: start;
|
|
|
|
justify-self: end;
|
|
|
|
background: $settings-nav-bg;
|
|
|
|
border: $boxshadow-border;
|
|
|
|
box-shadow: $boxshadow;
|
|
|
|
border-radius: $br;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 12rem;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:first-child h2 {
|
|
|
|
border-top-left-radius: $br;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5rem;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $settings-nav-header-fg;
|
|
|
|
background: $settings-nav-header-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 1rem;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: 0.1s;
|
|
|
|
color: $fg;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $settings-nav-fg-hover;
|
|
|
|
background: $settings-nav-bg-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $settings-nav-fg-active;
|
|
|
|
background: $settings-nav-bg-active;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* reserve space for bold version of the element, so .active doesn't
|
|
|
|
change container size */
|
|
|
|
&::after {
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: underline;
|
|
|
|
display: block;
|
|
|
|
content: attr(data-content);
|
|
|
|
height: 1px;
|
|
|
|
color: transparent;
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
nav:last-child a:last-child {
|
|
|
|
border-bottom-left-radius: $br;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.capitalize {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $error-link;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background: $bg;
|
|
|
|
color: $fg;
|
|
|
|
padding: 1rem;
|
|
|
|
overflow: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messagebutton, .messagebutton > div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
div.padded {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
button, .button {
|
|
|
|
white-space: nowrap;
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.messagebutton > div {
|
|
|
|
button, .button {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
section.with-sidebar > div, section.with-sidebar > form {
|
2022-09-29 11:02:41 +01: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 11:02:41 +01:00
|
|
|
input[type=checkbox] {
|
|
|
|
justify-self: start;
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.moreinfolink {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.labelinput .border {
|
|
|
|
border-radius: 0.2rem;
|
|
|
|
border: 0.15rem solid $border_accent;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
.file-upload > div {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 8rem;
|
|
|
|
border: 0.2rem solid $border-accent;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.avatar {
|
|
|
|
width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.header {
|
|
|
|
width: 24rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile {
|
|
|
|
.overview {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 70% 30%;
|
2022-12-01 16:28:11 +00:00
|
|
|
grid-template-rows: 100%;
|
2022-09-29 11:02:41 +01:00
|
|
|
|
|
|
|
.files {
|
|
|
|
width: 100%;
|
|
|
|
margin: 1rem;
|
|
|
|
margin-right: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
div:first-child {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
.form-field label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.form-field.file label {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
2022-11-08 16:51:44 +00:00
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.label {
|
|
|
|
grid-column: 1 / span 2;
|
|
|
|
}
|
|
|
|
}
|
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 11:02:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.instance-list {
|
2023-01-18 13:45:14 +00:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
.filter {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry {
|
2023-01-18 13:45:14 +00:00
|
|
|
padding: 0.5rem;
|
2022-09-29 11:02:41 +01: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 11:02:41 +01:00
|
|
|
|
2023-01-27 08:09:26 +00:00
|
|
|
.header .form-field {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
.entry {
|
|
|
|
flex-direction: column;
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
b {
|
|
|
|
padding-left: 0.4rem;
|
|
|
|
}
|
|
|
|
|
2022-09-29 11:02:41 +01:00
|
|
|
.emoji-group {
|
|
|
|
display: flex;
|
2022-11-25 15:37:57 +00:00
|
|
|
flex-wrap: wrap;
|
2022-09-29 11:02:41 +01: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 11:02:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toot {
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
.contentgrid {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 100ch) {
|
|
|
|
#root {
|
|
|
|
padding: 1rem;
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
justify-self: auto;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar, section.with-sidebar {
|
|
|
|
border-top-left-radius: $br;
|
|
|
|
border-top-right-radius: $br;
|
|
|
|
border-bottom-left-radius: $br;
|
|
|
|
border-bottom-right-radius: $br;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar a:first-child h2 {
|
|
|
|
border-top-right-radius: $br;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile .overview {
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
|
|
|
|
.files {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main section {
|
|
|
|
padding: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instance-list .filter {
|
|
|
|
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;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: $br;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
i {
|
|
|
|
margin-top: 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $info-link;
|
|
|
|
}
|
2023-02-06 08:33:47 +00:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button.with-icon {
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-icon {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeout {
|
|
|
|
animation-name: fadeout;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-delay: 2s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.suspend-import-list {
|
|
|
|
.checkbox-list {
|
2023-02-03 11:07:40 +00:00
|
|
|
.entry {
|
2023-01-18 13:45:14 +00:00
|
|
|
grid-template-columns: auto 25ch auto 1fr;
|
2023-02-03 11:07:40 +00:00
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
|
|
|
|
p {
|
|
|
|
grid-column: 4;
|
|
|
|
grid-row: 1 / span 2;
|
|
|
|
}
|
2023-01-18 13:45:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
#icon {
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#icon .already-blocked {
|
|
|
|
color: $green1;
|
|
|
|
}
|
|
|
|
|
2023-02-03 11:07:40 +00:00
|
|
|
#icon .suggest-changes {
|
|
|
|
color: $orange2;
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
p {
|
|
|
|
align-self: center;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-03 11:07:40 +00:00
|
|
|
.import-export {
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.export-file {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.7rem;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-grid {
|
|
|
|
display: inline-grid;
|
|
|
|
grid-template-columns: auto auto auto;
|
|
|
|
align-self: start;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.export-format-table {
|
|
|
|
width: 100%;
|
|
|
|
background: $list-entry-alternate-bg;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
border: 0.1rem solid $gray1;
|
|
|
|
padding: 0.3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
background: $list-entry-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.fa-check {
|
|
|
|
color: $green1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-times {
|
|
|
|
color: $error3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-18 13:45:14 +00:00
|
|
|
.form-field.radio {
|
|
|
|
&, label {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: auto;
|
|
|
|
place-self: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-06 08:33:47 +00:00
|
|
|
.reports {
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.report {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
color: $fg;
|
|
|
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
border-left: 0.3rem solid $border-accent;
|
|
|
|
|
2023-02-09 08:26:35 +00:00
|
|
|
.usernames {
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
|
|
|
|
2023-02-06 08:33:47 +00:00
|
|
|
.byline {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
2023-02-09 08:26:35 +00:00
|
|
|
gap: 0.5rem;
|
2023-02-06 08:33:47 +00:00
|
|
|
|
|
|
|
.status {
|
|
|
|
color: $border-accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
gap: 0.2rem 0.5rem;
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
|
|
justify-items: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.resolved {
|
|
|
|
color: $fg-reduced;
|
|
|
|
border-left: 0.4rem solid $bg;
|
|
|
|
|
|
|
|
.byline .status {
|
|
|
|
color: $fg-reduced;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.detail {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.report.detail {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 1rem;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
.info-block {
|
|
|
|
padding: 0.5rem;
|
|
|
|
background: $gray2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reported-toots {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toot .toot-info {
|
|
|
|
padding: 0.5rem;
|
|
|
|
background: $toot-info-bg;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $fg-reduced;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-left-radius: $br;
|
|
|
|
border-bottom-right-radius: $br;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user {
|
2023-02-09 08:26:35 +00:00
|
|
|
line-height: 1.3rem;
|
|
|
|
display: inline-block;
|
2023-02-06 08:33:47 +00:00
|
|
|
background: $fg-accent;
|
|
|
|
color: $bg;
|
|
|
|
border-radius: $br;
|
2023-02-09 08:26:35 +00:00
|
|
|
padding: 0.15rem 0.15rem;
|
2023-02-06 08:33:47 +00:00
|
|
|
margin: 0 0.1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
|
2023-02-09 08:26:35 +00:00
|
|
|
.acct {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
2023-02-06 08:33:47 +00:00
|
|
|
&.suspended {
|
|
|
|
background: $bg-accent;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.local {
|
|
|
|
background: $green1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-09 08:26:35 +00:00
|
|
|
@media screen and (orientation: portrait) {
|
|
|
|
.reports .report .byline {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
|
|
.status {
|
|
|
|
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;
|
|
|
|
}
|
2022-09-29 11:02:41 +01:00
|
|
|
}
|