From 2f8dc023a5bde678c2099c3c7b5ac2cef25d4295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 8 Oct 2017 10:46:59 +0200 Subject: [PATCH] improve static page metadata look --- app/javascript/styles/accounts.scss | 45 ++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/app/javascript/styles/accounts.scss b/app/javascript/styles/accounts.scss index b51761de1b..9d1e322b90 100644 --- a/app/javascript/styles/accounts.scss +++ b/app/javascript/styles/accounts.scss @@ -204,27 +204,46 @@ } .metadata { - margin: 15px 0; - border: thin $ui-base-color solid; + $meta-table-border: darken($classic-highlight-color, 20%);//#174f77; + border-collapse: collapse; padding: 0; + margin: 15px -15px -10px -15px; + border: 0 none; + border-top: 1px solid $meta-table-border; + border-bottom: 1px solid $meta-table-border; - th { - margin: 0; - border: thin $ui-base-color solid; - padding: 0 5px; - color: $ui-secondary-color; - background: darken($ui-base-color, 8%); - width: 94px; + td, th { + padding: 10px; + border: 0 none; + border-bottom: 1px solid $meta-table-border; vertical-align: middle; } + tr:last-child { + td, th { + border-bottom: 0 none; + } + } + td { - margin: 0; - border: thin $ui-base-color solid; - padding: 0 5px; color: $ui-primary-color; - vertical-align: middle; + width:100%; // makes it stretch + padding-left: 0; + } + + th { + padding-left: 15px; + font-weight: bold; + text-align: left; + width: 94px; + color: $ui-secondary-color; + background: darken($ui-base-color, 8%); + //background: #131415; + } + + a { + color: $classic-highlight-color; } }