From 6dab7f44638c1e5417315e66ba86f9e356f2a000 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 13 Dec 2016 13:11:34 +0800 Subject: [PATCH] UX: Keep table styles consistent with topic list. --- app/assets/stylesheets/common/base/group.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/base/group.scss b/app/assets/stylesheets/common/base/group.scss index 146c5039ad2..1e88b25e7a9 100644 --- a/app/assets/stylesheets/common/base/group.scss +++ b/app/assets/stylesheets/common/base/group.scss @@ -56,7 +56,7 @@ table.group-members { width: 100%; table-layout: fixed; - th, tr { + tr { border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); } @@ -69,17 +69,23 @@ table.group-members { } th { + border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%); + } + + th.sortable { text-align: left; - padding: 5px 0px; + padding: 5px 0px 5px 5px; + + color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); + font-weight: normal; i { margin-left: 5px; } &:hover { - color: $tertiary; cursor: pointer; - text-decoration: underline; + background-color: dark-light-diff($primary, $secondary, 90%, -75%); } }