diff --git a/QtPyLoT.py b/QtPyLoT.py index eea72ecb..27b9689e 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -554,8 +554,8 @@ class MainWindow(QMainWindow): self.pg = pg # init style - #self.set_style('dark') - self.set_style('bright') + self.set_style('dark') + #self.set_style('bright') #self.set_style('default') # add event combo box and ref/test buttons diff --git a/pylot/styles/bright.qss b/pylot/styles/bright.qss index ee1bb29a..5e2a0e3f 100644 --- a/pylot/styles/bright.qss +++ b/pylot/styles/bright.qss @@ -117,13 +117,14 @@ color:rgba(0, 0, 0, 255); } QPushButton{ -background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(255, 255, 255, 255)); +background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(245, 245, 245, 255)); color:rgba(0, 0, 0, 255); border-style: outset; -border-width: 2px; -border-color: rgba(230, 230, 230, 255); +border-width: 1px; +border-color: rgba(100, 100, 120, 255); min-width: 6em; padding: 5px; +border-radius: 2px; } QPushButton:pressed{ @@ -142,7 +143,7 @@ QTabBar::tab{ background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(210, 210, 210, 255)); color: rgba(0, 0, 0, 255); border-style:solid; -border-color:rgba(230, 230, 230 255); +border-color:rgba(210, 210, 210 255); border-bottom-color: transparent; border-width:1px; padding:5px; @@ -213,7 +214,16 @@ background-color: rgba(255, 255, 255, 255); QLineEdit{ background-color: rgba(255, 255, 255, 255); +border: 1px inset; border-radius:0; +border-color: rgba(100, 100, 120, 255); +} + +QLineEdit:disabled{ +background-color: rgba(255, 255, 255, 255); +border: 1px inset; +border-radius:0; +border-color: rgba(200, 200, 200, 255); } QCheckBox{ diff --git a/pylot/styles/dark.qss b/pylot/styles/dark.qss index 2d830ff7..4d54cb7e 100644 --- a/pylot/styles/dark.qss +++ b/pylot/styles/dark.qss @@ -124,6 +124,7 @@ border-width: 2px; border-color: rgba(50, 50, 60, 255); min-width: 6em; padding: 5px; +border-radius: 2px; } QPushButton:pressed{ @@ -218,7 +219,16 @@ border:none; QLineEdit{ background-color: rgba(80, 80, 90, 255); +border: 1px inset; border-radius:0; +border-color: rgba(100, 100, 120, 255); +} + +QLineEdit:disabled{ +background-color: rgba(80, 80, 90, 255); +border: 1px inset; +border-radius:0; +border-color: rgba(200, 200, 200, 255); } QListWidget{