From 11153b04e104048e7ba350a6b545d979cca5098f Mon Sep 17 00:00:00 2001 From: jlukic Date: Sat, 19 Oct 2013 17:37:09 -0400 Subject: [PATCH] Fixes celled table headers and darkens headers across ui table --- src/collections/table.less | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/src/collections/table.less b/src/collections/table.less index 1a7b6f13c..4a713a171 100755 --- a/src/collections/table.less +++ b/src/collections/table.less @@ -41,10 +41,13 @@ .ui.table thead { border-bottom: 1px solid rgba(0, 0, 0, 0.03); } +.ui.table tfoot th { + background-color: rgba(0, 0, 0, 0.03); +} .ui.table th { cursor: auto; - background-color: rgba(0, 0, 0, 0.03); + background-color: rgba(0, 0, 0, 0.1); text-align: left; color: rgba(0, 0, 0, 0.8); @@ -156,19 +159,23 @@ ---------------*/ /* Sortable */ -.ui.sortable.table thead th:hover { - background-image: none; - color: rgba(0, 0, 0, 0.8); -} .ui.sortable.table th.disabled:hover { cursor: auto; - background-color: rgba(0, 0, 0, 0.1); - text-align: left; font-weight: bold; color: #333333; color: rgba(0, 0, 0, 0.8); } +.ui.sortable.table thead th:hover { + background-color: rgba(0, 0, 0, 0.13); + color: rgba(0, 0, 0, 0.8); +} + +/* Inverted Sortable */ +.ui.inverted.sortable.table thead th:hover { + background-color: rgba(255, 255, 255, 0.13); + color: rgba(255, 255, 255, 1); +} /*-------------- @@ -432,18 +439,17 @@ border: none; } .ui.celled.table th, -.ui.celled.table tbody td { +.ui.celled.table td { border: 1px solid rgba(0, 0, 0, 0.1); } /* Coupling with segment */ -.ui.celled.table.segment th { - border: none; -} -.ui.celled.table.segment tbody td:first-child { +.ui.celled.table.segment th:first-child, +.ui.celled.table.segment td:first-child { border-left: none; } -.ui.celled.table.segment tbody td:last-child { +.ui.celled.table.segment th:last-child, +.ui.celled.table.segment td:last-child { border-right: none; }