1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

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 */ /* Game Grid Font */
QLabel#gamegrid_font { QTableWidget#game_grid {
font-weight: 600; font-weight: 600;
font-size: 8pt; font-size: 8pt;
font-family: Lucida Grande; font-family: Lucida Grande;
@ -210,6 +210,17 @@ QWidget#sizeSliderContainer {
background: transparent; 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 */ /* Debug UI Settings buttons */
QLabel#color_button { QLabel#color_button {
background: transparent; background: transparent;
@ -224,7 +235,6 @@ QLineEdit#mw_searchbar {
/* Uniform colors in Toolbar */ /* Uniform colors in Toolbar */
QToolButton { QToolButton {
background: transparent; background: transparent;
color: transparent;
border-radius: 0.125em; border-radius: 0.125em;
padding: 0.09375em; padding: 0.09375em;
margin-left: 0.125em; margin-left: 0.125em;

View File

@ -250,12 +250,23 @@ QWidget#trophy_notification_frame {
} }
/* Game Grid Font */ /* Game Grid Font */
QLabel#gamegrid_font { QTableWidget#game_grid {
font-weight: 600; font-weight: 600;
font-size: 8pt; font-size: 8pt;
font-family: Lucida Grande; 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 */ /* Set Theme UI colors */
QLabel#gamelist_icon_background_color { QLabel#gamelist_icon_background_color {
color: transparent; color: transparent;

View File

@ -195,7 +195,7 @@ QLabel#l_controller {
} }
/* Game Grid Font */ /* Game Grid Font */
QLabel#gamegrid_font { QTableWidget#game_grid {
font-weight: 600; font-weight: 600;
font-size: 8pt; font-size: 8pt;
font-family: Lucida Grande; font-family: Lucida Grande;
@ -207,6 +207,17 @@ QWidget#sizeSliderContainer {
background: transparent; 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 */ /* Debug UI Settings buttons */
QLabel#color_button { QLabel#color_button {
background: transparent; background: transparent;
@ -221,7 +232,6 @@ QLineEdit#mw_searchbar {
/* Uniform colors in Toolbar */ /* Uniform colors in Toolbar */
QToolButton { QToolButton {
background: transparent; background: transparent;
color: transparent;
border-radius: 0.125em; border-radius: 0.125em;
padding: 0.09375em; padding: 0.09375em;
margin-left: 0.125em; margin-left: 0.125em;

View File

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