mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
7d26e61d82
- Styled Log Viewer - Styled CG Disasm's text boxes - Fixed list widget checkbox and row styling - Fixed missing styling on Debugger - Fixed text alignment on table headers - Fixed QSpinBox buttons - Styled disabled QSpinbox - Styled Pad Settings tabs to look the same as Settings Dialog - Centered Pad Settings tabs - Separated first row from game list table headers so there's some spacing in between when highlighting that row - Refactored some code to style global QT properties instead of specific RPCS3 elements - Separated RPCS3 specific code from global code
443 lines
8.5 KiB
Plaintext
443 lines
8.5 KiB
Plaintext
/*
|
|
YoRHa Theme for RPCS3
|
|
by Ani @ https://github.com/AniLeo
|
|
r1 (2018.02.27)
|
|
r2 (2021.08.28)
|
|
*/
|
|
|
|
/*
|
|
Color Scheme
|
|
|
|
- Pod Programs
|
|
8c806a
|
|
bd9d86
|
|
c1b398
|
|
eadfb1
|
|
ebe4d2
|
|
|
|
- Light
|
|
b3ac98
|
|
aea993
|
|
|
|
- Dark
|
|
4d4940
|
|
*/
|
|
|
|
|
|
/* Every widget */
|
|
QWidget {
|
|
font-family: SCE-PS3 Rodin LATIN;
|
|
font-size: 9.00pt;
|
|
|
|
color: #292929;
|
|
background: transparent;
|
|
alternate-background-color: transparent;
|
|
}
|
|
|
|
/* Every dialog */
|
|
QDialog {
|
|
border-image: url("GuiConfigs/YoRHa-background.jpg");
|
|
}
|
|
|
|
/*
|
|
QTextEdit, QPlainTextEdit: Use flat dark color background with
|
|
a solid border, smaller font size and
|
|
default font family for better readability
|
|
|
|
RPCS3: Log, TTY, Log Viewer, CG Disasm
|
|
*/
|
|
QTextEdit, QPlainTextEdit {
|
|
background: rgba(52, 49, 40, 0.9);
|
|
border: 0.05em solid #4d4940;
|
|
color: #b3ac98;
|
|
font-family: none;
|
|
font-size: 8.50pt;
|
|
}
|
|
|
|
/*
|
|
QListWidget, QTreeWidget: Style checkboxes and rows
|
|
|
|
RPCS3: LLE/HLE Selector, Debugger
|
|
*/
|
|
QListWidget::item {
|
|
margin-top: 0.05em;
|
|
margin-bottom: 0.05em;
|
|
}
|
|
QListWidget::indicator, QTreeWidget::indicator {
|
|
border: 0.05em solid #4d4940;
|
|
}
|
|
QListWidget::indicator::unchecked, QTreeWidget::indicator::unchecked {
|
|
background-color: #b3ac98;
|
|
}
|
|
QListWidget::indicator::checked, QTreeWidget::indicator::checked {
|
|
background-color: #4d4940;
|
|
}
|
|
QListWidget::indicator::disabled, QTreeWidget::indicator::disabled {
|
|
background-color: #828790;
|
|
}
|
|
QListWidget::item::selected, QTreeWidget::item::selected {
|
|
background-color: #4d4940;
|
|
}
|
|
|
|
/*
|
|
QTableView: Style selected row
|
|
|
|
RPCS3: Game List
|
|
*/
|
|
QTableView {
|
|
selection-background-color: #4d4940;
|
|
}
|
|
|
|
/*
|
|
QToolTip: Mouse Tooltips
|
|
*/
|
|
QToolTip {
|
|
background-color: #b3ac98;
|
|
border: 0.10em solid #4d4940;
|
|
color: #4d4940;
|
|
}
|
|
|
|
/* Table headers */
|
|
QHeaderView::section {
|
|
text-transform: uppercase;
|
|
background: #4d4940;
|
|
color: #b3ac98;
|
|
padding-left: 0.20em;
|
|
padding-top: 0.25em;
|
|
margin-bottom: 0.05em;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
}
|
|
|
|
/* All other Tabs */
|
|
QTabBar {
|
|
text-transform: uppercase;
|
|
}
|
|
QTabBar::tab {
|
|
background: transparent;
|
|
padding-left: 0.50em;
|
|
padding-right: 0.50em;
|
|
padding-top: 0.25em;
|
|
padding-bottom: 0.25em;
|
|
margin-right: 0.25em;
|
|
}
|
|
QTabBar::tab::selected {
|
|
background: #4d4940;
|
|
color: #aea993;
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
/* Checkboxes */
|
|
QCheckBox::indicator {
|
|
border-radius: 0.1em;
|
|
}
|
|
/* Radio Buttons */
|
|
QRadioButton::indicator {
|
|
border-radius: 0.4em;
|
|
}
|
|
/* Checkboxes and Radio Buttons */
|
|
QCheckBox::indicator, QRadioButton::indicator {
|
|
border: 0.05em solid #4d4940;
|
|
margin-top: 0.05em;
|
|
margin-bottom: 0.05em;
|
|
width: 0.8em;
|
|
height: 0.8em;
|
|
}
|
|
QCheckBox::indicator:checked, QRadioButton::indicator:checked {
|
|
background-color: #4d4940; /* Dark */
|
|
}
|
|
QCheckBox::indicator:unchecked, QRadioButton::indicator:unchecked {
|
|
background-color: #b3ac98; /* Light */
|
|
}
|
|
QCheckBox::indicator::disabled, QRadioButton::indicator::disabled {
|
|
background-color: #828790; /* Gray */
|
|
}
|
|
|
|
/* Combo Boxes */
|
|
QComboBox {
|
|
background: transparent;
|
|
color: #4d4940;
|
|
border: 0.05em solid #1e1e1e;
|
|
border-radius: 0.15em;
|
|
padding-bottom: 0.2em;
|
|
padding-left: 0.4em;
|
|
}
|
|
QComboBox QAbstractItemView {
|
|
background: #b3ac98;
|
|
}
|
|
QComboBox::disabled {
|
|
background: #828790;
|
|
color: #4d4940;
|
|
}
|
|
|
|
/* Group Boxes (Settings Dialog) */
|
|
QGroupBox {
|
|
margin-top: 1em;
|
|
border: 0.05em solid #4d4940;
|
|
text-transform: uppercase;
|
|
font-size: 9.00pt;
|
|
}
|
|
QGroupBox::title {
|
|
subcontrol-origin: margin;
|
|
subcontrol-position: top;
|
|
padding: 0.3em 0.5em 0.3em 0.5em;
|
|
color: #4d4940;
|
|
}
|
|
|
|
/* Buttons */
|
|
QPushButton {
|
|
background: #b3ac98;
|
|
}
|
|
QPushButton::disabled {
|
|
background: #828790;
|
|
}
|
|
|
|
/* QSpinBox (Settings -> Emulator -> width/height) */
|
|
/* QDoubleSpinBox (Pads -> Mouse Acceleration -> x/y) */
|
|
QSpinBox, QDoubleSpinBox {
|
|
background-color: #b3ac98;
|
|
}
|
|
QSpinBox::disabled, QDoubleSpinBox::disabled {
|
|
background-color: #828790;
|
|
}
|
|
|
|
/* Styles Sliders */
|
|
QSlider::groove:horizontal {
|
|
border: 0.10em solid #4d4940;
|
|
border-radius: 0.10em;
|
|
}
|
|
QSlider::handle:horizontal {
|
|
background: #4d4940;
|
|
width: 0.50em;
|
|
}
|
|
QSlider::disabled {
|
|
background: #828790;
|
|
}
|
|
|
|
/* For dock buttons to be visible */
|
|
QDockWidget {
|
|
background: transparent;
|
|
text-transform: uppercase;
|
|
color: #b3ac98;
|
|
font-weight: 500;
|
|
}
|
|
[floating="true"] {
|
|
border-image: url("GuiConfigs/YoRHa-background.jpg");
|
|
}
|
|
QDockWidget::title {
|
|
background: #4d4940;
|
|
padding-top: 0.2em;
|
|
}
|
|
QDockWidget::close-button, QDockWidget::float-button {
|
|
background-color: #b3ac98;
|
|
}
|
|
|
|
/* Disable ugly borders */
|
|
QTabWidget::pane {
|
|
border: 0em solid #4d4940;
|
|
}
|
|
|
|
/* Top menu bar */
|
|
QMenuBar {
|
|
height:1.50em;
|
|
text-transform: uppercase;
|
|
}
|
|
QMenuBar::item {
|
|
margin-right: 0.20em;
|
|
margin-left: 0.20em;
|
|
padding-left: 1.20em;
|
|
padding-right: 1.20em;
|
|
}
|
|
QMenuBar::item:selected {
|
|
background: #4d4940;
|
|
color: #aea993
|
|
}
|
|
|
|
QMenu {
|
|
background: #b3ac98;
|
|
color: #4d4940;
|
|
text-transform: uppercase;
|
|
}
|
|
QMenu::item {
|
|
padding-left: 1.5em;
|
|
padding-right: 0.75em;
|
|
padding-top: 0.25em;
|
|
padding-bottom: 0.25em;
|
|
|
|
}
|
|
QMenu::item:selected {
|
|
background: #4d4940;
|
|
color: #aea993;
|
|
border: 0.05em solid #4d4940;
|
|
}
|
|
QMenu::item:disabled {
|
|
background-color: #828790;
|
|
color: #4d4940;
|
|
}
|
|
|
|
/* Uniform colors in Toolbar */
|
|
QToolButton {
|
|
background: transparent;
|
|
text-transform: uppercase;
|
|
}
|
|
QToolButton::hover {
|
|
background-color: #b3ac98;
|
|
}
|
|
|
|
|
|
/*** RPCS3 Specifics ***/
|
|
|
|
|
|
/* Main Window, Dialogs and some Dialogs that are actually widgets */
|
|
QWidget#trophy_manager, QWidget#cg_disasm, QWidget#log_viewer, QMainWindow#main_window {
|
|
border-image: url("GuiConfigs/YoRHa-background.jpg");
|
|
}
|
|
|
|
/*
|
|
#debugger: Set font-family to default (any invalid value could be provided)
|
|
Reset background, color and font size to the global values
|
|
Add solid border
|
|
*/
|
|
#debugger QListWidget, #debugger QTextEdit {
|
|
background: transparent;
|
|
border: 0.05em solid #4d4940;
|
|
color: #292929;
|
|
font-family: none;
|
|
font-size: 9.50pt;
|
|
}
|
|
|
|
/* Pad Settings, Emulator Settings Dialogs: Tabs */
|
|
#pad_settings_dialog QTabWidget::tab-bar {
|
|
alignment: center;
|
|
}
|
|
QTabBar#tab_bar_settings, #pad_settings_dialog QTabBar {
|
|
border-bottom: 0.05em solid #4d4940;
|
|
text-transform: uppercase;
|
|
}
|
|
QTabBar::tab#tab_bar_settings, #pad_settings_dialog QTabBar::tab {
|
|
background: transparent;
|
|
width: 5.20em;
|
|
padding-left: 0.50em;
|
|
padding-right: 0.50em;
|
|
padding-top: 0.65em;
|
|
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 */
|
|
QLabel#l_controller {
|
|
color: #4d4940;
|
|
}
|
|
|
|
/* Game Grid Font */
|
|
QTableWidget#game_grid {
|
|
font-weight: 600;
|
|
color: #4d4940;
|
|
text-transform: uppercase;
|
|
selection-color: #aea993;
|
|
}
|
|
|
|
/* Debug UI Settings buttons */
|
|
QLabel#color_button {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Search bar on main Toolbar */
|
|
QLineEdit#mw_searchbar {
|
|
margin-left: 0.7em;
|
|
color: #4d4940;
|
|
font-size: 10.25pt;
|
|
}
|
|
|
|
/* Set Theme UI colors */
|
|
QLabel#gamelist_icon_background_color {
|
|
color: transparent;
|
|
}
|
|
|
|
/* Set Windows Taskbar Thumbnail colors */
|
|
QLabel#thumbnail_icon_color {
|
|
color: #4d4940;
|
|
}
|
|
|
|
QLabel#log_level_always {
|
|
color: #00ffff; /* Cyan */
|
|
}
|
|
QLabel#log_level_fatal {
|
|
color: #ff00ff; /* Fuchsia */
|
|
}
|
|
QLabel#log_level_error {
|
|
color: #ff0000; /* Red */
|
|
}
|
|
QLabel#log_level_todo {
|
|
color: #ff6000; /* Orange */
|
|
}
|
|
QLabel#log_level_success {
|
|
color: #00ff00; /* Green */
|
|
}
|
|
QLabel#log_level_warning {
|
|
color: #ffff00; /* Yellow */
|
|
}
|
|
QLabel#log_level_notice {
|
|
color: #ffffff; /* White */
|
|
}
|
|
QLabel#log_level_trace {
|
|
color: #808080; /* Gray */
|
|
}
|
|
QLabel#log_stack {
|
|
color: #b3ac98; /* Light */
|
|
}
|
|
|
|
/* Set TTY colors */
|
|
#tty_frame {
|
|
color: #b3ac98; /* Light */
|
|
}
|
|
|
|
/* Memory Viewer */
|
|
QLabel#memory_viewer_address_panel {
|
|
color: #0000ff; /* Font Color: Blue */
|
|
}
|
|
QLabel#memory_viewer_hex_panel {
|
|
color: #4d4940; /* Font Color: Grey */
|
|
}
|
|
QLabel#memory_viewer_ascii_panel {
|
|
color: #4d4940; /* Font Color: Grey */
|
|
}
|
|
|
|
/* Debugger colors */
|
|
QLabel#debugger_frame_breakpoint {
|
|
color: #000000; /* Font Color: Black */
|
|
background-color: #ffff00; /* Yellow */
|
|
}
|
|
QLabel#debugger_frame_pc {
|
|
color: #000000; /* Font Color: Black */
|
|
background-color: #00ff00; /* Green */
|
|
}
|
|
|
|
/* Trophy Notification Popup */
|
|
QWidget#trophy_notification_frame {
|
|
background-color: #b3ac98;
|
|
color: #4d4940;
|
|
}
|
|
|
|
/*
|
|
#sizeSlider: Style the main window's icon size slider so it's not stretched
|
|
*/
|
|
QSlider#sizeSlider::groove:horizontal {
|
|
height: 1.5em;
|
|
}
|