Commit 2ba1ac3b authored by Mariano Lizarraga's avatar Mariano Lizarraga

Changed stylesheet to better show when a button is pressed down

parent e6f0b404
...@@ -17,54 +17,54 @@ margin-top: 1ex; /* leave space at the top for the title */ ...@@ -17,54 +17,54 @@ margin-top: 1ex; /* leave space at the top for the title */
QCheckBox { QCheckBox {
/*background-color: #252528;*/ /*background-color: #252528;*/
color: #DDDDDF; color: #DDDDDF;
} }
QCheckBox::indicator { QCheckBox::indicator {
border: 1px solid #777777; border: 1px solid #777777;
border-radius: 2px; border-radius: 2px;
color: #DDDDDF; color: #DDDDDF;
width: 10px; width: 10px;
height: 10px; height: 10px;
} }
QLineEdit { QLineEdit {
border: 1px solid #777777; border: 1px solid #777777;
border-radius: 2px; border-radius: 2px;
} }
QTextEdit { QTextEdit {
border: 1px solid #777777; border: 1px solid #777777;
border-radius: 2px; border-radius: 2px;
} }
QPlainTextEdit { QPlainTextEdit {
border: 1px solid #777777; border: 1px solid #777777;
border-radius: 2px; border-radius: 2px;
} }
QComboBox { QComboBox {
border: 1px solid #777777; border: 1px solid #777777;
border-radius: 2px; border-radius: 2px;
} }
QCheckBox::indicator:checked { QCheckBox::indicator:checked {
background-color: #555555; background-color: #555555;
} }
QCheckBox::indicator:checked:hover { QCheckBox::indicator:checked:hover {
background-color: #555555; background-color: #555555;
} }
QCheckBox::indicator:checked:pressed { QCheckBox::indicator:checked:pressed {
background-color: #555555; background-color: #555555;
} }
QCheckBox::indicator:indeterminate:hover { QCheckBox::indicator:indeterminate:hover {
image: url(:/images/checkbox_indeterminate_hover.png); image: url(:/images/checkbox_indeterminate_hover.png);
} }
QCheckBox::indicator:indeterminate:pressed { QCheckBox::indicator:indeterminate:pressed {
image: url(:/images/checkbox_indeterminate_pressed.png); image: url(:/images/checkbox_indeterminate_pressed.png);
} }
QGroupBox::title { QGroupBox::title {
...@@ -72,7 +72,7 @@ border: 1px solid #777777; ...@@ -72,7 +72,7 @@ border: 1px solid #777777;
subcontrol-position: top center; /* position at the top center */ subcontrol-position: top center; /* position at the top center */
margin: 0 3px 0px 3px; margin: 0 3px 0px 3px;
padding: 0 3px 0px 0px; padding: 0 3px 0px 0px;
font: bold 8px; font: bold 8px;
color: #DDDDDF; color: #DDDDDF;
} }
...@@ -88,7 +88,7 @@ QDockWidget::close-button, QDockWidget::float-button { ...@@ -88,7 +88,7 @@ QDockWidget::close-button, QDockWidget::float-button {
QDockWidget::title { QDockWidget::title {
text-align: left; text-align: left;
background: #121214; background: #121214;
color: #4A4A4F; color: #4A4A4F;
padding-left: 5px; padding-left: 5px;
height: 10px; height: 10px;
...@@ -101,46 +101,46 @@ QSeparator { ...@@ -101,46 +101,46 @@ QSeparator {
QSpinBox { QSpinBox {
min-height: 14px; min-height: 14px;
max-height: 18px; max-height: 18px;
border: 1px solid #4A4A4F; border: 1px solid #4A4A4F;
border-radius: 5px; border-radius: 5px;
} }
QSpinBox::up-button { QSpinBox::up-button {
subcontrol-origin: border; subcontrol-origin: border;
subcontrol-position: top right; /* position at the top right corner */ subcontrol-position: top right; /* position at the top right corner */
border-image: url(:/images/actions/go-up.svg) 1; border-image: url(:/images/actions/go-up.svg) 1;
border-width: 1px; border-width: 1px;
} }
QSpinBox::down-button { QSpinBox::down-button {
subcontrol-origin: border; subcontrol-origin: border;
subcontrol-position: bottom right; /* position at the top right corner */ subcontrol-position: bottom right; /* position at the top right corner */
border-image: url(:/images/actions/go-down.svg) 1; border-image: url(:/images/actions/go-down.svg) 1;
border-width: 1px; border-width: 1px;
} }
QDoubleSpinBox { QDoubleSpinBox {
min-height: 14px; min-height: 14px;
max-height: 18px; max-height: 18px;
border: 1px solid #4A4A4F; border: 1px solid #4A4A4F;
border-radius: 5px; border-radius: 5px;
} }
QDoubleSpinBox::up-button { QDoubleSpinBox::up-button {
subcontrol-origin: border; subcontrol-origin: border;
subcontrol-position: top right; /* position at the top right corner */ subcontrol-position: top right; /* position at the top right corner */
border-image: url(:/images/actions/go-up.svg) 1; border-image: url(:/images/actions/go-up.svg) 1;
border-width: 1px; border-width: 1px;
max-width: 5px; max-width: 5px;
} }
QDoubleSpinBox::down-button { QDoubleSpinBox::down-button {
subcontrol-origin: border; subcontrol-origin: border;
subcontrol-position: bottom right; /* position at the top right corner */ subcontrol-position: bottom right; /* position at the top right corner */
border-image: url(:/images/actions/go-down.svg) 1; border-image: url(:/images/actions/go-down.svg) 1;
border-width: 1px; border-width: 1px;
max-width: 5px; max-width: 5px;
} }
QPushButton { QPushButton {
font-weight: bold; font-weight: bold;
...@@ -154,7 +154,7 @@ QPushButton { ...@@ -154,7 +154,7 @@ QPushButton {
} }
QPushButton:checked { QPushButton:checked {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #101010, stop: 1 #404040); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #404040, stop: 1 #808080);
} }
QPushButton:pressed { QPushButton:pressed {
...@@ -169,8 +169,8 @@ QToolButton { ...@@ -169,8 +169,8 @@ QToolButton {
border: 2px solid #4A4A4F; border: 2px solid #4A4A4F;
border-radius: 5px; border-radius: 5px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208);
} }
QToolButton:checked { QToolButton:checked {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #353535);
} }
...@@ -227,7 +227,7 @@ QPushButton:pressed#killButton { ...@@ -227,7 +227,7 @@ QPushButton:pressed#killButton {
border-radius: 5px; border-radius: 5px;
} }
QPushButton#controlButton { QPushButton#controlButton {
min-height: 25px; min-height: 25px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A0AE00, stop: 1 #909E00); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A0AE00, stop: 1 #909E00);
} }
...@@ -267,4 +267,4 @@ QProgressBar::chunk#speedBar { ...@@ -267,4 +267,4 @@ QProgressBar::chunk#speedBar {
QProgressBar::chunk#thrustBar { QProgressBar::chunk#thrustBar {
background-color: orange; background-color: orange;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment