]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add batch actions and categories to admin UI for custom emojis
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 9 Sep 2019 20:44:17 +0000 (22:44 +0200)
committerThibaut Girka <thib@sitedethib.com>
Fri, 13 Sep 2019 16:35:20 +0000 (18:35 +0200)
Port SCSS changes from 1110ea1a9162d5488e1ed5dbccd0803618e713f8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/tables.scss

index e6eb393934d3878bc13b6ec43f909db8ef1aceb0..669f72787da60144e00d9ceaf43a1a0ccdf133d3 100644 (file)
@@ -180,6 +180,18 @@ a.table-action-link {
     }
   }
 
+  &__form {
+    padding: 16px;
+    border: 1px solid darken($ui-base-color, 8%);
+    border-top: 0;
+    background: $ui-base-color;
+
+    .fields-row {
+      padding-top: 0;
+      margin-bottom: 0;
+    }
+  }
+
   &__row {
     border: 1px solid darken($ui-base-color, 8%);
     border-top: 0;
@@ -210,6 +222,35 @@ a.table-action-link {
       &--unpadded {
         padding: 0;
       }
+
+      &--with-image {
+        display: flex;
+        align-items: center;
+      }
+
+      &__image {
+        flex: 0 0 auto;
+        display: flex;
+        justify-content: center;
+        align-items: center;
+        margin-right: 10px;
+
+        .emojione {
+          width: 32px;
+          height: 32px;
+        }
+      }
+
+      &__text {
+        flex: 1 1 auto;
+      }
+
+      &__extra {
+        flex: 0 0 auto;
+        text-align: right;
+        color: $darker-text-color;
+        font-weight: 500;
+      }
     }
 
     .directory__tag {