From f1fdd3b17bb71feb3b99d0d4ae8730e2c3e50cb6 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 8 Sep 2017 17:19:18 +0200 Subject: [PATCH] [update] bright stylesheet --- pylot/styles/bright.qss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pylot/styles/bright.qss b/pylot/styles/bright.qss index 25fdb5c2..ad25a3da 100644 --- a/pylot/styles/bright.qss +++ b/pylot/styles/bright.qss @@ -149,15 +149,20 @@ padding:5px; } QTabBar::tab:selected{ -background-color:rgba(255, 255, 255, 255); +background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(210, 210, 210, 255), stop:1 rgba(230, 230, 230, 255)); color: rgba(0, 0, 0, 255); border-style:solid; -border-color:rgba(255, 255, 255, 255); +border-color:rgba(230, 230, 230, 255); border-bottom-color: transparent; border-width:1px; padding:5px; } +QTabBar::tab:disabled{ +background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(255, 255, 255, 255)); +color: rgba(100, 100, 120, 255); +} + QTabWidget{ background-color:transparent; } @@ -165,7 +170,7 @@ background-color:transparent; QTabWidget::pane{ background-color:rgba(0, 0, 0, 255); border-style:solid; -border-color:rgba(255, 255, 255, 255); +border-color:rgba(230, 230, 230, 255); border-width:1px; } @@ -174,7 +179,7 @@ background-color:rgba(255, 255, 255, 255); } QTabWidget > QWidget{ -background-color: rgba(255, 255, 255, 255); +background-color: rgba(230, 230, 230, 255); color: rgba(0, 0, 0, 255); }