]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add batch suspend for accounts in admin UI
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 5 Dec 2021 20:48:39 +0000 (21:48 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Thu, 16 Dec 2021 15:25:21 +0000 (16:25 +0100)
Port SCSS changes from 2aafa5b4e7a83ce8195cd739f1233a52ab060db7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/accounts.scss
app/javascript/flavours/glitch/styles/tables.scss
app/javascript/flavours/glitch/styles/widgets.scss

index fe7dfc20f614aa4048cb23bb3395da40142dd2dc..56b143fe6284a486423bde0091edbd8af1f66072 100644 (file)
   }
 }
 
-.batch-table__row--muted .pending-account__header {
+.batch-table__row--muted {
+  color: lighten($ui-base-color, 26%);
+}
+
+.batch-table__row--muted .pending-account__header,
+.batch-table__row--muted .accounts-table {
   &,
   a,
   strong {
   }
 }
 
-.batch-table__row--attention .pending-account__header {
+.batch-table__row--muted .accounts-table {
+  tbody td.accounts-table__extra,
+  &__count,
+  &__count small {
+    color: lighten($ui-base-color, 26%);
+  }
+}
+
+.batch-table__row--attention {
+  color: $gold-star;
+}
+
+.batch-table__row--attention .pending-account__header,
+.batch-table__row--attention .accounts-table {
   &,
   a,
   strong {
     color: $gold-star;
   }
 }
+
+.batch-table__row--attention .accounts-table {
+  tbody td.accounts-table__extra,
+  &__count,
+  &__count small {
+    color: $gold-star;
+  }
+}
index ec2ee7c1ce47b3b058ef769aac0256e489ef4aed..12c84a6c906157400726e39c328eb927a9185f4d 100644 (file)
@@ -237,6 +237,11 @@ a.table-action-link {
         flex: 1 1 auto;
       }
 
+      &__quote {
+        padding: 12px;
+        padding-top: 0;
+      }
+
       &__extra {
         flex: 0 0 auto;
         text-align: right;
index 06bf55e1e58a396834b2b787073f67937a84399e..a88f3b2c798a78a02a98f776564ba1a8b575315a 100644 (file)
     }
   }
 
+  tbody td.accounts-table__extra {
+    width: 120px;
+    text-align: right;
+    color: $darker-text-color;
+    padding-right: 16px;
+
+    a {
+      text-decoration: none;
+      color: inherit;
+
+      &:focus,
+      &:hover,
+      &:active {
+        text-decoration: underline;
+      }
+    }
+  }
+
   &__comment {
     width: 50%;
     vertical-align: initial !important;