From 0b5f9512efb8d861b3d935278f22d0cc5d6b8d4a Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 11 Dec 2013 21:44:05 -0200 Subject: Fix TableWidget ( equipment ones ) on dark scheme. This patch uses the class created by the previous patch to get rid of the CSS and be really desktop native. it fixes a lot of stuff in non-blue-styles and throws a lot of code away. <3 Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/css/tableviews.css | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'qt-ui/css') diff --git a/qt-ui/css/tableviews.css b/qt-ui/css/tableviews.css index 4e8396886..e69de29bb 100644 --- a/qt-ui/css/tableviews.css +++ b/qt-ui/css/tableviews.css @@ -1,28 +0,0 @@ - QTableView { - show-decoration-selected: 1; - } - - QTableView::item { - border: 1px solid #d9d9d9; - border-top-color: transparent; - border-bottom-color: transparent; - padding: 2px; - } - - QTableView::item:hover { - background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); - border: 1px solid #bfcde4; - } - - QTableView::item:selected { - border: 1px solid #567dbc; - } - - QTableView::item:selected:active{ - background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc); - } - - QTableView::item:selected:!active { - background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf); - } - -- cgit v1.2.3-70-g09d2