about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/metadata.scss
diff options
context:
space:
mode:
authorncls7615 <himasoto@gmail.com>2018-01-14 03:41:20 +0900
committerncls7615 <himasoto@gmail.com>2018-01-14 03:41:20 +0900
commit6a73c8c8a290a9db7449b7a460701f726c400785 (patch)
treeb4160258740747767e2392cb812091fefe573104 /app/javascript/flavours/glitch/styles/components/metadata.scss
parente2ce6287241fd03a757c0a96455f4cad796a576f (diff)
Initial scss refactor
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/metadata.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/components/metadata.scss52
1 files changed, 52 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/metadata.scss b/app/javascript/flavours/glitch/styles/components/metadata.scss
new file mode 100644
index 000000000..d56de19ea
--- /dev/null
+++ b/app/javascript/flavours/glitch/styles/components/metadata.scss
@@ -0,0 +1,52 @@
+.account__metadata {
+  width: 100%;
+  font-size: 15px;
+  line-height: 20px;
+  overflow: hidden;
+  border-collapse: collapse;
+
+  a {
+    text-decoration: none;
+
+    &:hover{
+      text-decoration: underline;
+    }
+  }
+
+  tr {
+    border-top: 1px solid lighten($ui-base-color, 8%);
+    text-align: center;
+  }
+
+  th, td {
+    padding: 14px 20px;
+    vertical-align: middle;
+
+    & > div {
+      max-height: 40px;
+      overflow-y: auto;
+      white-space: pre-wrap;
+      text-overflow: ellipsis;
+    }
+  }
+
+  th {
+    color: $ui-primary-color;
+    background: lighten($ui-base-color, 13%);
+    max-width: 120px;
+
+    a {
+      color: $primary-text-color;
+    }
+  }
+
+  td {
+    flex: auto;
+    color: $primary-text-color;
+    background: $ui-base-color;
+
+    a {
+      color: $ui-highlight-color;
+    }
+  }
+}