1
0
Fork 0

THEME: minor theme fixes

This commit is contained in:
Duncan Ogilvie 2020-07-11 22:22:53 +02:00
parent af31d9d9aa
commit 0bc216f84f
2 changed files with 120 additions and 67 deletions

View File

@ -173,7 +173,7 @@ QMenuBar::item {
}
QMenuBar::item:selected {
background: transparent;
background: #414141;
border: 1px solid #212121;
}
@ -185,6 +185,15 @@ QMenuBar::item:pressed {
padding-bottom: 1px;
}
QMenuBar::item:disabled {
color: grey;
}
QMenuBar::item:disabled:selected {
background: transparent;
color: grey;
}
QMenu {
border: 1px solid #212121;
color: #e0e0e0;
@ -709,7 +718,7 @@ QTabBar::close-button:pressed {
QTabBar::tab {
color: #e0e0e0;
background-color: #2c2c38;
background-color: #313131;
padding: 3px;
/*min-width: 50px;*/
padding: 4px 10px;
@ -729,6 +738,28 @@ QTabBar::tab:hover {
background-color: #414141;
}
/* Attempt at fixing an ugly bug: https://stackoverflow.com/a/55097717/1806760 */
QTabBar QToolButton {
border-width: 1px;
border-color: #515151;
border-style: solid;
border-radius: 2px;
background: #212121;
padding: 0px;
margin: 0px;
margin-top: 2px;
margin-bottom: 2px;
}
QTabBar QToolButton::hover {
background: #212121;
border: 1px solid #717171;
}
QTabBar::scroller {
width: 15px;
}
QTabBar QToolButton::right-arrow:enabled {
image: url(./rc/right_arrow.png);
}

View File

@ -1,66 +1,88 @@
/* QStatusBar == DebugStatusLabel, LogStatusLabel, TimeWastedCounter */
QStatusBar QLabel {
background-color: #c0c0c0;
}
QStatusBar QFrame {
qproperty-frameShape: Panel;
qproperty-frameShadow: Sunken;
}
QStatusBar::item {
border: none;
}
QStatusBar {
background-color: #c0c0c0;
}
DebugStatusLabel[state="initialized"] {
color: #00dd00;
background-color: #c0c0c0;
}
DebugStatusLabel[state="paused"] {
color: #ff0000;
background-color: #ffff00;
}
DebugStatusLabel[state="running"] {
color: #000000;
background-color: #c0c0c0;
}
DebugStatusLabel[state="stopped"] {
color: #ff0000;
background-color: #c0c0c0;
}
QPushButton#AbstractTableViewHeader {
background-color: rgb(192, 192, 192);
border-style: outset;
border-width: 2px;
border-color: rgb(128, 128, 128);
}
QPushButton#AbstractTableViewHeader QPushButton:pressed {
background-color: rgb(192, 192, 192);
border-style: inset;
}
ShortcutEdit {
color: #222222;
}
ShortcutEdit[error="true"] {
color: #dd0000;
}
QTabWidget::pane {
border: 0px;
}
QTabBar::tear {
width: 0px;
border: none;
/* QStatusBar == DebugStatusLabel, LogStatusLabel, TimeWastedCounter */
QStatusBar QLabel {
background-color: #c0c0c0;
}
QStatusBar QFrame {
qproperty-frameShape: Panel;
qproperty-frameShadow: Sunken;
}
QStatusBar::item {
border: none;
}
QStatusBar {
background-color: #c0c0c0;
}
DebugStatusLabel[state="initialized"] {
color: #00dd00;
background-color: #c0c0c0;
}
DebugStatusLabel[state="paused"] {
color: #ff0000;
background-color: #ffff00;
}
DebugStatusLabel[state="running"] {
color: #000000;
background-color: #c0c0c0;
}
DebugStatusLabel[state="stopped"] {
color: #ff0000;
background-color: #c0c0c0;
}
QPushButton#AbstractTableViewHeader {
background-color: rgb(192, 192, 192);
border-style: outset;
border-width: 2px;
border-color: rgb(128, 128, 128);
}
QPushButton#AbstractTableViewHeader QPushButton:pressed {
background-color: rgb(192, 192, 192);
border-style: inset;
}
ShortcutEdit {
color: #222222;
}
ShortcutEdit[error="true"] {
color: #dd0000;
}
QTabWidget::pane {
border: 0px;
}
QTabBar::tear {
width: 0px;
border: none;
}
/* Attempt at fixing an ugly bug: https://stackoverflow.com/a/55097717/1806760 */
QTabBar QToolButton {
border-width: 1px;
border-color: grey;
border-style: solid;
border-radius: 2px;
background: #f0f0f0;
padding: 0px;
margin: 0px;
margin-top: 2px;
margin-bottom: 2px;
}
QTabBar QToolButton::hover {
background: #f0f0f0;
border: 1px solid black;
}
QTabBar::scroller {
width: 15px;
}