Skip to content

Commit 21f0043

Browse files
authored
gui/themes: YoRHa by Ani (r3) (#11585)
1 parent b7599c0 commit 21f0043

File tree

1 file changed

+64
-41
lines changed

1 file changed

+64
-41
lines changed

bin/GuiConfigs/YoRHa by Ani.qss

Lines changed: 64 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ YoRHa Theme for RPCS3
33
by Ani @ https://github.com/AniLeo
44
r1 (2018.02.27)
55
r2 (2021.08.28)
6+
r3 (2022.08.20)
67
*/
78

89
/*
@@ -26,7 +27,7 @@ aea993
2627

2728
/* Every widget */
2829
QWidget {
29-
font-family: SCE-PS3 Rodin LATIN;
30+
font-family: "SCE-PS3 Rodin LATIN";
3031
font-size: 9.00pt;
3132

3233
color: #292929;
@@ -98,6 +99,9 @@ QToolTip {
9899
}
99100

100101
/* Table headers */
102+
QHeaderView {
103+
color: #b3ac98;
104+
}
101105
QHeaderView::section {
102106
text-transform: uppercase;
103107
background: #4d4940;
@@ -109,22 +113,32 @@ QHeaderView::section {
109113
border: none;
110114
}
111115

112-
/* All other Tabs */
116+
/* All Tabs */
113117
QTabBar {
118+
border-bottom: 0.05em solid #4d4940;
114119
text-transform: uppercase;
115120
}
116121
QTabBar::tab {
117122
background: transparent;
123+
width: 4.80em;
118124
padding-left: 0.50em;
119125
padding-right: 0.50em;
120-
padding-top: 0.25em;
121-
padding-bottom: 0.25em;
126+
padding-top: 0.65em;
127+
padding-bottom: 0.65em;
122128
margin-right: 0.25em;
129+
font-size: 10.5pt;
130+
font-weight: 550;
131+
}
132+
QTabBar::tab:last {
133+
margin-right: 0em;
134+
}
135+
QTabBar::tab:!selected:hover {
136+
background: transparent;
137+
color: #4d4940;
123138
}
124139
QTabBar::tab::selected {
125140
background: #4d4940;
126141
color: #aea993;
127-
border-bottom-style: solid;
128142
}
129143

130144
/* Checkboxes */
@@ -153,29 +167,35 @@ QCheckBox::indicator::disabled, QRadioButton::indicator::disabled {
153167
background-color: #828790; /* Gray */
154168
}
155169

156-
/* Combo Boxes */
157-
QComboBox {
170+
/* Combo Boxes, Datetime dropdown */
171+
QComboBox, QDateTimeEdit, QLineEdit {
158172
background: transparent;
159173
color: #4d4940;
160174
border: 0.05em solid #1e1e1e;
161175
border-radius: 0.15em;
162-
padding-bottom: 0.2em;
163-
padding-left: 0.4em;
176+
padding-top: 0.1em;
177+
padding-bottom: 0.1em;
164178
}
165179
QComboBox QAbstractItemView {
166180
background: #b3ac98;
167181
}
168-
QComboBox::disabled {
182+
QComboBox::disabled, QDateTimeEdit::disabled, QLineEdit::disabled {
169183
background: #828790;
170184
color: #4d4940;
171185
}
186+
/* Text boxes need less left padding than combo boxes */
187+
QComboBox {
188+
padding-left: 0.4em;
189+
}
190+
QLineEdit {
191+
padding-left: 0.2em;
192+
}
172193

173194
/* Group Boxes (Settings Dialog) */
174195
QGroupBox {
175196
margin-top: 1em;
176197
border: 0.05em solid #4d4940;
177198
text-transform: uppercase;
178-
font-size: 9.00pt;
179199
}
180200
QGroupBox::title {
181201
subcontrol-origin: margin;
@@ -236,6 +256,10 @@ QDockWidget::close-button, QDockWidget::float-button {
236256
QTabWidget::pane {
237257
border: 0em solid #4d4940;
238258
}
259+
/* Center tabs */
260+
QTabWidget::tab-bar {
261+
alignment: center;
262+
}
239263

240264
/* Top menu bar */
241265
QMenuBar {
@@ -284,6 +308,12 @@ QToolButton::hover {
284308
background-color: #b3ac98;
285309
}
286310

311+
/* Calendar widget */
312+
QCalendarWidget QWidget{
313+
background: #b3ac98;
314+
color: #4d4940;
315+
}
316+
287317

288318
/*** RPCS3 Specifics ***/
289319

@@ -303,40 +333,24 @@ QWidget#trophy_manager, QWidget#cg_disasm, QWidget#log_viewer, QMainWindow#main_
303333
border: 0.05em solid #4d4940;
304334
color: #292929;
305335
font-family: none;
306-
font-size: 9.50pt;
336+
font-size: 9.5pt;
307337
}
308338

309-
/* Pad Settings, Emulator Settings Dialogs: Tabs */
310-
#pad_settings_dialog QTabWidget::tab-bar {
311-
alignment: center;
339+
/* Align the log widget tabs to the left */
340+
QTabWidget#tab_widget_log::tab-bar {
341+
alignment: left;
312342
}
313-
QTabBar#tab_bar_settings, #pad_settings_dialog QTabBar {
314-
border-bottom: 0.05em solid #4d4940;
315-
text-transform: uppercase;
316-
}
317-
QTabBar::tab#tab_bar_settings, #pad_settings_dialog QTabBar::tab {
318-
background: transparent;
319-
width: 5.20em;
320-
padding-left: 0.50em;
321-
padding-right: 0.50em;
322-
padding-top: 0.65em;
323-
padding-bottom: 0.65em;
324-
margin-right: 0.25em;
325-
font-size: 10.5pt;
326-
font-weight: 550;
327-
}
328-
QTabBar::tab:last#tab_bar_settings, #pad_settings_dialog QTabBar::tab:last {
329-
margin-right: 0em;
330-
}
331-
QTabBar::tab:!selected:hover#tab_bar_settings, #pad_settings_dialog QTabBar::tab:!selected:hover {
332-
background: transparent;
333-
color: #4d4940;
343+
344+
/* Restore log section QTabBar to small sizes */
345+
QTabBar#tab_bar_log {
346+
border-bottom: 0;
334347
}
335-
QTabBar::tab::selected#tab_bar_settings, #pad_settings_dialog QTabBar::tab::selected {
336-
background: #4d4940;
337-
color: #aea993;
338-
border-bottom-style: solid;
339-
margin-top: 0.15em;
348+
QTabBar#tab_bar_log::tab {
349+
width: 2.00em;
350+
padding: 0.25em;
351+
font-size: 9.0pt;
352+
font-weight: 400;
353+
margin-right: 0;
340354
}
341355

342356
/* Pad Settings: Controller Image */
@@ -362,6 +376,7 @@ QLineEdit#mw_searchbar {
362376
margin-left: 0.7em;
363377
color: #4d4940;
364378
font-size: 10.25pt;
379+
border: 0em;
365380
}
366381

367382
/* Set Theme UI colors */
@@ -440,3 +455,11 @@ QWidget#trophy_notification_frame {
440455
QSlider#sizeSlider::groove:horizontal {
441456
height: 1.5em;
442457
}
458+
459+
/*
460+
On Patch Creator, it's the patch validation label
461+
since we can't avoid repainting color, let's bold it instead
462+
*/
463+
QLabel#validLabel {
464+
font-weight: 600;
465+
}

0 commit comments

Comments
 (0)