[update] style_settings
This commit is contained in:
@@ -8,9 +8,22 @@ background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop
|
||||
color: rgba(255, 255, 255, 255);
|
||||
}
|
||||
|
||||
QWidget:checked{
|
||||
background-color: transparent;
|
||||
border-color: rgba(100, 100, 120, 255);
|
||||
border-width: 2px;
|
||||
border-style:inset;
|
||||
}
|
||||
|
||||
FigureCanvasQtAgg{
|
||||
background-color: rgba(50, 50, 60, 255);
|
||||
color: rgba(255, 255, 255, 255);
|
||||
}
|
||||
|
||||
QComboBox{
|
||||
background-color: rgba(80, 80, 90, 255);
|
||||
color: rgba(255, 255, 255, 255);
|
||||
min-height: 1.5em;
|
||||
}
|
||||
|
||||
QComboBox *{
|
||||
@@ -35,9 +48,9 @@ color: rgba(255, 255, 255, 255);
|
||||
padding:0;
|
||||
}
|
||||
|
||||
QMenu::item:selected{
|
||||
*::item:selected{
|
||||
color: rgba(255, 255, 255, 255);
|
||||
background-color: rgba(200, 210, 230, 255);
|
||||
background-color: rgba(0, 150, 190, 255);
|
||||
}
|
||||
|
||||
QToolBar{
|
||||
@@ -51,15 +64,6 @@ QToolBar *{
|
||||
background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255));
|
||||
}
|
||||
|
||||
QFileDialog QLabel{
|
||||
color: rgba(0, 0, 0, 255);
|
||||
}
|
||||
|
||||
QFileDialog QPushButton{
|
||||
background-color: rgba(210, 210, 210, 255);
|
||||
color: rgba(0, 0, 0, 255);
|
||||
}
|
||||
|
||||
QMessageBox{
|
||||
background-color: rgba(60, 60, 70, 255);
|
||||
color: rgba(255, 255, 255, 255);
|
||||
@@ -103,16 +107,26 @@ color:rgba(255, 255, 255, 255);
|
||||
}
|
||||
|
||||
QPushButton{
|
||||
background-color:rgba(70, 70, 80, 255);
|
||||
background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255));
|
||||
color:rgba(255, 255, 255, 255);
|
||||
border-color: (60, 60, 70, 255);
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-color: rgba(50, 50, 60, 255);
|
||||
min-width: 6em;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
QPushButton:pressed{
|
||||
background-color: rgba(70, 70, 80, 255);
|
||||
}
|
||||
|
||||
*:disabled{
|
||||
color:rgba(100, 100, 120, 255);
|
||||
}
|
||||
|
||||
QTabBar{
|
||||
background-color:transparent
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
QTabBar::tab{
|
||||
@@ -197,13 +211,12 @@ border-radius:0;
|
||||
text-align:center;
|
||||
color:rgba(255, 255, 255, 255);
|
||||
background-color:rgba(60,60,80,255);
|
||||
border: 2px solid #e3a21a;
|
||||
border-radius:7px;
|
||||
font: 75 12pt "Open Sans";
|
||||
|
||||
border: 2px solid;
|
||||
border-color:rgba(0, 150, 190, 255);
|
||||
border-radius:5px;
|
||||
}
|
||||
|
||||
QProgressBar::chunk{
|
||||
background-color:rgba(60, 60, 70, 255);
|
||||
background-color:rgba(0, 150, 190, 255);
|
||||
width:10px;
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Set base phase colors for manual and automatic picks
|
||||
# together with a modifier (r, g, or b) used to alternate
|
||||
# the base color
|
||||
phasecolors = {
|
||||
'manual': {
|
||||
'P':{
|
||||
'rgba': (0, 0, 255, 255),
|
||||
'modifier': 'g'},
|
||||
'S':{
|
||||
'rgba': (255, 0, 0, 255),
|
||||
'modifier': 'b'}
|
||||
},
|
||||
'auto':{
|
||||
'P':{
|
||||
'rgba': (140, 0, 255, 255),
|
||||
'modifier': 'g'},
|
||||
'S':{
|
||||
'rgba': (255, 140, 0, 255),
|
||||
'modifier': 'b'}
|
||||
}
|
||||
}
|
||||
|
||||
# Set plot colors and stylesheet for each style
|
||||
stylecolors = {
|
||||
'default':{
|
||||
'wf':{
|
||||
'rgba': (0, 0, 0, 255)},
|
||||
'background': {
|
||||
'rgba': (255, 255, 255, 255)},
|
||||
'stylesheet': {
|
||||
'filename': None}
|
||||
},
|
||||
'dark':{
|
||||
'wf':{
|
||||
'rgba': (255, 255, 255, 255)},
|
||||
'background':{
|
||||
'rgba': (50, 50, 60, 255)},
|
||||
'stylesheet': {
|
||||
'filename': 'styles/dark.qss'}
|
||||
}
|
||||
}
|
||||
|
||||
70
pylot/styles/style_settings.py
Normal file
70
pylot/styles/style_settings.py
Normal file
@@ -0,0 +1,70 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Set base phase colors for manual and automatic picks
|
||||
# together with a modifier (r, g, or b) used to alternate
|
||||
# the base color
|
||||
phasecolors = {
|
||||
'manual': {
|
||||
'P':{
|
||||
'rgba': (0, 0, 255, 255),
|
||||
'modifier': 'g'},
|
||||
'S':{
|
||||
'rgba': (255, 0, 0, 255),
|
||||
'modifier': 'b'}
|
||||
},
|
||||
'auto':{
|
||||
'P':{
|
||||
'rgba': (140, 0, 255, 255),
|
||||
'modifier': 'g'},
|
||||
'S':{
|
||||
'rgba': (255, 140, 0, 255),
|
||||
'modifier': 'b'}
|
||||
}
|
||||
}
|
||||
|
||||
# Set plot colors and stylesheet for each style
|
||||
stylecolors = {
|
||||
'default':{
|
||||
'linecolor':{
|
||||
'rgba': (0, 0, 0, 255)},
|
||||
'background': {
|
||||
'rgba': (255, 255, 255, 255)},
|
||||
'multicursor': {
|
||||
'rgba': (255, 190, 0, 255)},
|
||||
'ref': {
|
||||
'rgba': (200, 210, 230, 255)},
|
||||
'test': {
|
||||
'rgba': (200, 230, 200, 255)},
|
||||
'stylesheet': {
|
||||
'filename': None}
|
||||
},
|
||||
'dark': {
|
||||
'linecolor': {
|
||||
'rgba': (255, 255, 255, 255)},
|
||||
'background': {
|
||||
'rgba': (50, 50, 60, 255)},
|
||||
'multicursor': {
|
||||
'rgba': (0, 150, 190, 255)},
|
||||
'ref': {
|
||||
'rgba': (80, 110, 170, 255)},
|
||||
'test': {
|
||||
'rgba': (130, 190, 100, 255)},
|
||||
'stylesheet': {
|
||||
'filename': 'pylot/styles/dark.qss'}
|
||||
},
|
||||
'bright': {
|
||||
'linecolor': {
|
||||
'rgba': (0, 0, 0, 255)},
|
||||
'background': {
|
||||
'rgba': (255, 255, 255, 255)},
|
||||
'multicursor': {
|
||||
'rgba': (100, 100, 190, 255)},
|
||||
'ref': {
|
||||
'rgba': (200, 210, 230, 255)},
|
||||
'test': {
|
||||
'rgba': (200, 230, 200, 255)},
|
||||
'stylesheet': {
|
||||
'filename': 'pylot/styles/bright.qss'}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user