From a9a41e53caf9f55f393494f7cd63ea2ab5bbbe05 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 5 Feb 2018 15:17:28 +0100 Subject: CSS: improve hover colors --- scss/custom.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'scss') diff --git a/scss/custom.scss b/scss/custom.scss index 473d35bb8..b5dc0747e 100644 --- a/scss/custom.scss +++ b/scss/custom.scss @@ -43,6 +43,20 @@ label { border-radius: 0; } +.card-header, +.table-striped tbody tr:nth-of-type(2n+1), +.dt-bootstrap4 table.dataTable.stripe tbody tr.odd, +.dt-bootstrap4 table.dataTable.display tbody tr.odd { + background-color: $gray-200; +} + +.dropdown-item:hover, .dropdown-item:focus, +.dt-bootstrap4 table.dataTable.hover tbody tr:hover, +.dt-bootstrap4 table.dataTable.display tbody tr:hover { + background-color: #f6f6f6; + background-color: $gray-300; +} + /* datatable - start */ table.dataTable { -- cgit v1.2.3