]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Improve appearence consistency of settings pages
authorMélanie Chauvel <perso@hack-libre.org>
Thu, 25 Jun 2020 22:36:30 +0000 (00:36 +0200)
committerThibaut Girka <thib@sitedethib.com>
Fri, 26 Jun 2020 11:31:17 +0000 (13:31 +0200)
Port 08cf81f8c1b445eba9972214869c376fe6097efb to glitch-soc

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

index 1c8f2271f46fcc4f9b432dcd7d1f99b6fb7299cc..3cf5ee970b1ad425a3fe68142ede895c406b26d1 100644 (file)
@@ -171,9 +171,7 @@ $content-width: 840px;
   }
 
   .content {
-    padding: 20px 15px;
-    padding-top: 60px;
-    padding-left: 25px;
+    padding: 55px 15px 20px 25px;
 
     @media screen and (max-width: $no-columns-breakpoint) {
       max-width: none;
@@ -184,7 +182,7 @@ $content-width: 840px;
     &-heading {
       display: flex;
 
-      padding-bottom: 40px;
+      padding-bottom: 36px;
       border-bottom: 1px solid lighten($ui-base-color, 8%);
 
       margin: -15px -15px 40px 0;
@@ -215,7 +213,7 @@ $content-width: 840px;
     h2 {
       color: $secondary-text-color;
       font-size: 24px;
-      line-height: 28px;
+      line-height: 36px;
       font-weight: 400;
 
       @media screen and (max-width: $no-columns-breakpoint) {
@@ -528,6 +526,16 @@ body,
   max-width: 100%;
 }
 
+.simple_form {
+  .actions {
+    margin-top: 15px;
+  }
+
+  .button {
+    font-size: 15px;
+  }
+}
+
 .batch-form-box {
   display: flex;
   flex-wrap: wrap;