From 16cd6cc7a2ee55424c581218a3282b00eeec1ae3 Mon Sep 17 00:00:00 2001 From: Bryant Date: Wed, 6 Aug 2014 08:33:22 -0700 Subject: [PATCH] Fixed coloring of headers in TreeViews for dark themes. Also added a corresponding style for the light themes to make it a little prettier (though it wasn't broken on light themes). --- files/styles/style-dark.css | 7 +++++++ files/styles/style-light.css | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/files/styles/style-dark.css b/files/styles/style-dark.css index 9716a8594e..4e30e7c358 100644 --- a/files/styles/style-dark.css +++ b/files/styles/style-dark.css @@ -261,6 +261,13 @@ QGroupBox::title { color: #DDD; } +QHeaderView::section { + border: none; + border-right: 1px solid #969696; + padding: 2px 0 2px 4px; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4B4B4B, stop: 0.3 #404040, stop: 0.34 #383838, stop:1 #181818); +} + QLabel { background-color: transparent; } diff --git a/files/styles/style-light.css b/files/styles/style-light.css index 74ab01cb9d..60c15e2745 100644 --- a/files/styles/style-light.css +++ b/files/styles/style-light.css @@ -230,6 +230,13 @@ QGroupBox::title { color: #000; } +QHeaderView::section { + border: none; + border-right: 1px solid #969696; + padding: 2px 0 2px 4px; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #DDD, stop: 1 #999); +} + QLabel { background-color: transparent; } -- GitLab