]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add account bio to account admin view
authorThibG <thib@sitedethib.com>
Mon, 9 Sep 2019 12:15:52 +0000 (14:15 +0200)
committerThibaut Girka <thib@sitedethib.com>
Fri, 13 Sep 2019 16:34:55 +0000 (18:34 +0200)
Port SCSS changes from ec2a439a22bc74d21a99beedde4c0ae25f682d05 to glitch-soc

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

index 74f91599a61b1056775e03500ab4fef0600c997d..089ae68c0b51dda805526ea38f5ceda6fa152e6e 100644 (file)
@@ -720,3 +720,47 @@ a.name-tag,
   text-overflow: ellipsis;
   vertical-align: middle;
 }
+
+.admin-account-bio {
+  display: flex;
+  flex-wrap: wrap;
+  margin: 0 -5px;
+  margin-top: 20px;
+
+  > div {
+    box-sizing: border-box;
+    padding: 0 5px;
+    margin-bottom: 10px;
+    flex: 1 0 50%;
+  }
+
+  .account__header__fields,
+  .account__header__content {
+    background: lighten($ui-base-color, 8%);
+    border-radius: 4px;
+    height: 100%;
+  }
+
+  .account__header__fields {
+    margin: 0;
+    border: 0;
+
+    a {
+      color: lighten($ui-highlight-color, 8%);
+    }
+
+    dl:first-child .verified {
+      border-radius: 0 4px 0 0;
+    }
+
+    .verified a {
+      color: $valid-value-color;
+    }
+  }
+
+  .account__header__content {
+    box-sizing: border-box;
+    padding: 20px;
+    color: $primary-text-color;
+  }
+}