Browse Source

fix: tables styling

Nicolas Giard 6 years ago
parent
commit
cad45f57fd
1 changed files with 29 additions and 0 deletions
  1. 29 0
      client/themes/default/scss/app.scss

+ 29 - 0
client/themes/default/scss/app.scss

@@ -146,6 +146,10 @@
     border-radius: .5rem;
     margin: 1rem;
 
+    > p:first-child .emoji {
+      margin-right: .5rem;
+    }
+
     &.is-info {
       background-color: mc('blue', '50');
       background-image: radial-gradient(ellipse at top, mc('blue', '50'), lighten(mc('blue', '50'), 5%));
@@ -333,4 +337,29 @@
     }
   }
 
+  // ---------------------------------
+  // TABLES
+  // ---------------------------------
+
+  table {
+    margin: .5rem 1.75rem;
+    border-spacing: 0;
+
+    th {
+      padding: .75rem;
+      border-bottom: 2px solid mc('grey', '500');
+      color: mc('grey', '600');
+    }
+
+    td {
+      padding: .75rem;
+    }
+
+    tr {
+      td {
+        border-bottom: 1px solid mc('grey', '200');
+      }
+    }
+  }
+
 }