summaryrefslogtreecommitdiff
path: root/web/source/settings
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2023-01-25 18:06:41 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-25 18:06:41 +0100
commit17eecfb6d9f50821d7822d60fa4135d59ea5ca57 (patch)
tree26796a658eb1b05e27c34ec23c2fc8030ffb4458 /web/source/settings
parent[feature] Accept incoming federated Flag activity (#1382) (diff)
downloadgotosocial-17eecfb6d9f50821d7822d60fa4135d59ea5ca57.tar.xz
[feature] Public list of suspended domains (#1362)
* basic rendered domain blocklist (unauthenticated!) * style basic domain block list * better formatting for domain blocklist * add opt-in config option for showing suspended domains * format/linter * re-use InstancePeersGet for web-accessible domain blocklist * reword explanation, border styling * always attach blocklist handler, update error message * domain blocklist error message grammar
Diffstat (limited to 'web/source/settings')
-rw-r--r--web/source/settings/style.css47
1 files changed, 2 insertions, 45 deletions
diff --git a/web/source/settings/style.css b/web/source/settings/style.css
index 2d569759f..745021418 100644
--- a/web/source/settings/style.css
+++ b/web/source/settings/style.css
@@ -368,49 +368,6 @@ span.form-info {
font-weight: initial;
}
-.list {
- display: flex;
- flex-direction: column;
-
- &.scrolling {
- max-height: 40rem;
- overflow: auto;
- }
-
- .header, .entry {
- padding: 0.5rem;
- }
-
- .header {
- border: 0.1rem solid transparent; /* for alignment with .entry border padding */
- background: $gray2;
- display: flex;
- }
-
- input[type=checkbox] {
- margin-left: 0.5rem;
- }
-
- .entry {
- display: flex;
- flex-wrap: wrap;
- background: $settings-entry-bg;
- border: 0.1rem solid transparent;
-
- &:nth-child(even) {
- background: $settings-entry-alternate-bg;
- }
-
- &:hover {
- background: $settings-entry-hover-bg;
- }
-
- &:active, &:focus, &:hover {
- border-color: $fg-accent;
- }
- }
-}
-
.checkbox-list {
.header, .entry {
gap: 1rem;
@@ -446,7 +403,7 @@ span.form-info {
}
.emoji-list {
- background: $settings-entry-bg;
+ background: $list-entry-bg;
.entry {
flex-direction: column;
@@ -472,7 +429,7 @@ span.form-info {
}
&:hover {
- background: $settings-entry-hover-bg;
+ background: $list-entry-hover-bg;
}
}
}