Qt: adjust custom stylesheets to work with the new toolbar slider

This commit is contained in:
Megamouse 2018-07-01 20:47:51 +02:00 committed by Ivan
parent 3a5ce90148
commit e6d49798ce
4 changed files with 44 additions and 7 deletions

View file

@ -198,7 +198,7 @@ QLabel#l_controller {
}
/* Game Grid Font */
QLabel#gamegrid_font {
QTableWidget#game_grid {
font-weight: 600;
font-size: 8pt;
font-family: Lucida Grande;
@ -210,6 +210,17 @@ QWidget#sizeSliderContainer {
background: transparent;
}
QSlider#sizeSlider::groove:horizontal {
border: 0em solid transparent;
height: .3em;
background: #fff;
}
QSlider#sizeSlider::handle:horizontal {
width: 1em;
margin: -.8em 0;
}
/* Debug UI Settings buttons */
QLabel#color_button {
background: transparent;
@ -224,7 +235,6 @@ QLineEdit#mw_searchbar {
/* Uniform colors in Toolbar */
QToolButton {
background: transparent;
color: transparent;
border-radius: 0.125em;
padding: 0.09375em;
margin-left: 0.125em;

View file

@ -250,12 +250,23 @@ QWidget#trophy_notification_frame {
}
/* Game Grid Font */
QLabel#gamegrid_font {
QTableWidget#game_grid {
font-weight: 600;
font-size: 8pt;
font-family: Lucida Grande;
}
/* Set Toolbar Slider Size */
QSlider#sizeSlider::groove:horizontal {
border: 0em solid transparent;
height: .3em;
background: #fff;
}
QSlider#sizeSlider::handle:horizontal {
width: 1em;
margin: -.8em 0;
}
/* Set Theme UI colors */
QLabel#gamelist_icon_background_color {
color: transparent;

View file

@ -195,7 +195,7 @@ QLabel#l_controller {
}
/* Game Grid Font */
QLabel#gamegrid_font {
QTableWidget#game_grid {
font-weight: 600;
font-size: 8pt;
font-family: Lucida Grande;
@ -207,6 +207,17 @@ QWidget#sizeSliderContainer {
background: transparent;
}
QSlider#sizeSlider::groove:horizontal {
border: 0em solid transparent;
height: .3em;
background: #fff;
}
QSlider#sizeSlider::handle:horizontal {
width: 1em;
margin: -.8em 0;
}
/* Debug UI Settings buttons */
QLabel#color_button {
background: transparent;
@ -221,7 +232,6 @@ QLineEdit#mw_searchbar {
/* Uniform colors in Toolbar */
QToolButton {
background: transparent;
color: transparent;
border-radius: 0.125em;
padding: 0.09375em;
margin-left: 0.125em;

View file

@ -249,11 +249,17 @@ QSlider::groove:horizontal {
border: 0.10em solid #4d4940;
border-radius: 0.10em;
}
QSlider::handle:horizontal {
background: #4d4940;
width: 0.50em;
}
QSlider#sizeSlider::groove:horizontal {
border: 0.10em solid #4d4940;
border-radius: 0.10em;
height: 1.5em;
}
/* Log and Debugger borders */
QTextEdit {
@ -333,7 +339,7 @@ QLabel#l_controller {
/* Game Grid Font */
QLabel#gamegrid_font {
QTableWidget#game_grid {
font-weight: 600;
color: #4d4940;
text-transform: uppercase;
@ -357,7 +363,7 @@ QLineEdit#mw_searchbar {
/* Uniform colors in Toolbar */
QToolButton {
background: transparent;
color: transparent;
text-transform: uppercase;
}
QToolButton::hover {
background-color: #b3ac98;