1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 04:02:42 +01:00

gui/themes: YoRHa by Ani (r3) (#11585)

This commit is contained in:
Ani 2022-08-31 22:47:42 +01:00 committed by GitHub
parent b7599c0f30
commit 21f0043b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ YoRHa Theme for RPCS3
by Ani @ https://github.com/AniLeo by Ani @ https://github.com/AniLeo
r1 (2018.02.27) r1 (2018.02.27)
r2 (2021.08.28) r2 (2021.08.28)
r3 (2022.08.20)
*/ */
/* /*
@ -26,7 +27,7 @@ aea993
/* Every widget */ /* Every widget */
QWidget { QWidget {
font-family: SCE-PS3 Rodin LATIN; font-family: "SCE-PS3 Rodin LATIN";
font-size: 9.00pt; font-size: 9.00pt;
color: #292929; color: #292929;
@ -98,6 +99,9 @@ QToolTip {
} }
/* Table headers */ /* Table headers */
QHeaderView {
color: #b3ac98;
}
QHeaderView::section { QHeaderView::section {
text-transform: uppercase; text-transform: uppercase;
background: #4d4940; background: #4d4940;
@ -109,22 +113,32 @@ QHeaderView::section {
border: none; border: none;
} }
/* All other Tabs */ /* All Tabs */
QTabBar { QTabBar {
border-bottom: 0.05em solid #4d4940;
text-transform: uppercase; text-transform: uppercase;
} }
QTabBar::tab { QTabBar::tab {
background: transparent; background: transparent;
width: 4.80em;
padding-left: 0.50em; padding-left: 0.50em;
padding-right: 0.50em; padding-right: 0.50em;
padding-top: 0.25em; padding-top: 0.65em;
padding-bottom: 0.25em; padding-bottom: 0.65em;
margin-right: 0.25em; margin-right: 0.25em;
font-size: 10.5pt;
font-weight: 550;
}
QTabBar::tab:last {
margin-right: 0em;
}
QTabBar::tab:!selected:hover {
background: transparent;
color: #4d4940;
} }
QTabBar::tab::selected { QTabBar::tab::selected {
background: #4d4940; background: #4d4940;
color: #aea993; color: #aea993;
border-bottom-style: solid;
} }
/* Checkboxes */ /* Checkboxes */
@ -153,29 +167,35 @@ QCheckBox::indicator::disabled, QRadioButton::indicator::disabled {
background-color: #828790; /* Gray */ background-color: #828790; /* Gray */
} }
/* Combo Boxes */ /* Combo Boxes, Datetime dropdown */
QComboBox { QComboBox, QDateTimeEdit, QLineEdit {
background: transparent; background: transparent;
color: #4d4940; color: #4d4940;
border: 0.05em solid #1e1e1e; border: 0.05em solid #1e1e1e;
border-radius: 0.15em; border-radius: 0.15em;
padding-bottom: 0.2em; padding-top: 0.1em;
padding-left: 0.4em; padding-bottom: 0.1em;
} }
QComboBox QAbstractItemView { QComboBox QAbstractItemView {
background: #b3ac98; background: #b3ac98;
} }
QComboBox::disabled { QComboBox::disabled, QDateTimeEdit::disabled, QLineEdit::disabled {
background: #828790; background: #828790;
color: #4d4940; color: #4d4940;
} }
/* Text boxes need less left padding than combo boxes */
QComboBox {
padding-left: 0.4em;
}
QLineEdit {
padding-left: 0.2em;
}
/* Group Boxes (Settings Dialog) */ /* Group Boxes (Settings Dialog) */
QGroupBox { QGroupBox {
margin-top: 1em; margin-top: 1em;
border: 0.05em solid #4d4940; border: 0.05em solid #4d4940;
text-transform: uppercase; text-transform: uppercase;
font-size: 9.00pt;
} }
QGroupBox::title { QGroupBox::title {
subcontrol-origin: margin; subcontrol-origin: margin;
@ -236,6 +256,10 @@ QDockWidget::close-button, QDockWidget::float-button {
QTabWidget::pane { QTabWidget::pane {
border: 0em solid #4d4940; border: 0em solid #4d4940;
} }
/* Center tabs */
QTabWidget::tab-bar {
alignment: center;
}
/* Top menu bar */ /* Top menu bar */
QMenuBar { QMenuBar {
@ -284,6 +308,12 @@ QToolButton::hover {
background-color: #b3ac98; background-color: #b3ac98;
} }
/* Calendar widget */
QCalendarWidget QWidget{
background: #b3ac98;
color: #4d4940;
}
/*** RPCS3 Specifics ***/ /*** RPCS3 Specifics ***/
@ -303,40 +333,24 @@ QWidget#trophy_manager, QWidget#cg_disasm, QWidget#log_viewer, QMainWindow#main_
border: 0.05em solid #4d4940; border: 0.05em solid #4d4940;
color: #292929; color: #292929;
font-family: none; font-family: none;
font-size: 9.50pt; font-size: 9.5pt;
} }
/* Pad Settings, Emulator Settings Dialogs: Tabs */ /* Align the log widget tabs to the left */
#pad_settings_dialog QTabWidget::tab-bar { QTabWidget#tab_widget_log::tab-bar {
alignment: center; alignment: left;
} }
QTabBar#tab_bar_settings, #pad_settings_dialog QTabBar {
border-bottom: 0.05em solid #4d4940; /* Restore log section QTabBar to small sizes */
text-transform: uppercase; QTabBar#tab_bar_log {
border-bottom: 0;
} }
QTabBar::tab#tab_bar_settings, #pad_settings_dialog QTabBar::tab { QTabBar#tab_bar_log::tab {
background: transparent; width: 2.00em;
width: 5.20em; padding: 0.25em;
padding-left: 0.50em; font-size: 9.0pt;
padding-right: 0.50em; font-weight: 400;
padding-top: 0.65em; margin-right: 0;
padding-bottom: 0.65em;
margin-right: 0.25em;
font-size: 10.5pt;
font-weight: 550;
}
QTabBar::tab:last#tab_bar_settings, #pad_settings_dialog QTabBar::tab:last {
margin-right: 0em;
}
QTabBar::tab:!selected:hover#tab_bar_settings, #pad_settings_dialog QTabBar::tab:!selected:hover {
background: transparent;
color: #4d4940;
}
QTabBar::tab::selected#tab_bar_settings, #pad_settings_dialog QTabBar::tab::selected {
background: #4d4940;
color: #aea993;
border-bottom-style: solid;
margin-top: 0.15em;
} }
/* Pad Settings: Controller Image */ /* Pad Settings: Controller Image */
@ -362,6 +376,7 @@ QLineEdit#mw_searchbar {
margin-left: 0.7em; margin-left: 0.7em;
color: #4d4940; color: #4d4940;
font-size: 10.25pt; font-size: 10.25pt;
border: 0em;
} }
/* Set Theme UI colors */ /* Set Theme UI colors */
@ -440,3 +455,11 @@ QWidget#trophy_notification_frame {
QSlider#sizeSlider::groove:horizontal { QSlider#sizeSlider::groove:horizontal {
height: 1.5em; height: 1.5em;
} }
/*
On Patch Creator, it's the patch validation label
since we can't avoid repainting color, let's bold it instead
*/
QLabel#validLabel {
font-weight: 600;
}