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

gui/themes: Refactor Kuroi

Also tweaks a few things visually and removes dead code
This commit is contained in:
Ani 2018-05-07 03:30:40 +01:00 committed by Ivan
parent dca6f1f863
commit 753d8170d1

View File

@ -1,40 +1,42 @@
/* /*
Kuroi (Dark) Theme for RPCS3 Kuroi (Dark) Theme for RPCS3
also compatible with Dolphin
by Ani @ https://github.com/AniLeo by Ani @ https://github.com/AniLeo
r1 (2017.08.15) r2 (2018.05.07)
*/ ---
/*
Color Scheme Color Scheme
(Darker to Lighter) (Darker to Lighter)
Black Black
> 292929 > 292929
> 323232 > 323232
> 333333 > 333333
> 3d3d3d > 3d3d3d
> 404040 > 404040
> 444444 > 444444
Light Grey Light Grey
> 828790 > 828790
> bdc3c7 > bdc3c7
> ecf0f1 > ecf0f1
> e6e6e6
> b1b1b1 > b1b1b1
> 7f8c8d > 7f8c8d
Green Green
> 2ecc71 > 2ecc71
Red Red
> e74c3c > e74c3c
*/ */
/* Every widget */ /* Every widget */
QWidget { QWidget {
background-color: #323232; background-color: transparent;
color: #bdc3c7; color: #e6e6e6;
alternate-background-color: #3d3d3d; alternate-background-color: #3d3d3d;
} }
@ -45,24 +47,93 @@ QToolTip {
color: #ecf0f1; color: #ecf0f1;
} }
/* Define background on QDialog and QMainWindow */
QDialog, QMainWindow {
background-color: #323232;
}
/* Top Menu Bar */
QMenuBar::item:selected {
background: #444444;
}
QMenu {
background-color: #323232;
}
QMenu::item {
padding-left: 1.5em;
padding-right: 0.75em;
padding-top: 0.25em;
padding-bottom: 0.25em;
}
QMenu::item:selected {
background: #444444;
border: 0.05em solid #bdc3c7;
}
QMenu::item:disabled {
background-color: #444444;
color: #828790;
}
/* Tool Button (Toolbar) */
QToolButton::disabled {
background-color: #444444;
color: #828790;
}
QToolButton::hover {
background-color: #3d3d3d;
}
/* Dock Widget */
QDockWidget {
color: #e6e6e6;
font-weight: 500;
}
QDockWidget::title {
background: #3d3d3d;
padding-top: 0.20em;
padding-left: 0.10em;
}
/* Dock Buttons: For visibility */
QDockWidget::close-button, QDockWidget::float-button {
background-color: #bdc3c7;
border: 0.05em solid #000;
border-radius: 0.3em;
}
/* Push Buttons */
QPushButton {
background-color: #404040;
}
QPushButton::disabled {
background-color: #828790;
}
/* Table headers */ /* Table headers */
QHeaderView::section { QHeaderView::section {
background-color: #323232; background-color: #222;
color: #ecf0f1;
padding-left: 0.2em; padding-left: 0.2em;
border: 0.05em solid #323232; border: 0.05em solid #323232;
} }
/* Settings Dialog: Tabs */ /* Tab Widgets: Disable ugly borders */
QTabWidget::pane {
border: 0em;
}
/* Text Edit: Log and Debugger borders */
QTextEdit {
border: 0.05em solid #828790;
}
/* QTabBar (Settings Dialog) */
QTabBar::tab { QTabBar::tab {
color: #ecf0f1;
border: 0.05em solid #444; border: 0.05em solid #444;
border-bottom-style: none; border-bottom-style: none;
background-color: #333333; background-color: #333333;
padding-left: 0.9em; padding-left: 1em;
padding-right: 0.9em; padding-right: 1em;
padding-top: 0.2em; padding-top: 0.25em;
padding-bottom: 0.2em; padding-bottom: 0.25em;
margin-right: -0.2em; margin-right: -0.2em;
} }
QTabBar::tab:last { QTabBar::tab:last {
@ -79,6 +150,19 @@ QTabBar::tab:hover {
color: #ecf0f1; color: #ecf0f1;
} }
/* Group Boxes (Settings Dialog) */
QGroupBox {
margin-top: 1em;
font-size: 8pt;
border: 0.05em solid #bdc3c7;
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top;
padding: 0.3em 0.5em 0.3em 0.5em;
color: #fff;
}
/* Checkboxes */ /* Checkboxes */
QCheckBox::indicator { QCheckBox::indicator {
border-radius: 0.1em; border-radius: 0.1em;
@ -129,66 +213,14 @@ QComboBox::disabled {
color: #fff; color: #fff;
} }
/* Group Boxes (Settings Dialog) */ /* Spin Boxes */
QGroupBox { QSpinBox {
margin-top: 1em; background: transparent;
font-size: 8pt; border: 0.05em solid #4d4940;
border: 0.05em solid #bdc3c7; border-radius: 0.10em;
border-radius: 0.3em;
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top;
padding: 0.3em 0.5em 0.3em 0.5em;
color: #fff;
} }
/* Buttons */ /* List Widget */
QPushButton {
background-color: #404040;
}
QPushButton::disabled {
background-color: #444444;
color: #828790;
}
/* Log and Debugger borders */
QTextEdit {
border: 0.05em solid #828790;
}
/* For dock buttons to be visible */
QDockWidget::close-button, QDockWidget::float-button {
background-color: #bdc3c7;
border: 0.05em solid #000;
border-radius: 0.3em;
}
/* Disable ugly borders */
QTabWidget::pane {
border: 0em solid #828790;
}
/* Top menu bar */
QMenuBar::item:selected {
background: #444444;
}
QMenu::item {
padding-left: 1.5em;
padding-right: 0.75em;
padding-top: 0.25em;
padding-bottom: 0.25em;
}
QMenu::item:selected {
background: #444444;
border: 0.05em solid #bdc3c7;
}
QMenu::item:disabled {
background-color: #444444;
color: #828790;
}
/* Libraries list */
QListWidget::item:selected { QListWidget::item:selected {
background-color: #3d3d3d; background-color: #3d3d3d;
color: #ecf0f1; color: #ecf0f1;
@ -198,9 +230,23 @@ QListWidget::item:hover {
color: #ecf0f1; color: #ecf0f1;
} }
/* Pad Settings: Controller Image */
QLabel#l_controller { /*** RPCS3 Specifics ***/
color: #bdc3c7;
/* Define background on Setting Widgets,
CG Disasm, Trophy Manager, RSX Debugger
which are neither QDialog nor QMainWindow */
QWidget#coreTab, QWidget#gpuTab, QWidget#audioTab,
QWidget#inputTab, QWidget#systemTab, QWidget#networkTab,
QWidget#emulatorTab, QWidget#debugTab,
QWidget#cg_disasm, QWidget#trophy_manager {
background-color: #323232;
}
/* Trophy Notification Popup */
QWidget#trophy_notification_frame {
background-color: #323232;
color: #e6e6e6;
} }
/* Game Grid Font */ /* Game Grid Font */
@ -208,35 +254,6 @@ QLabel#gamegrid_font {
font-weight: 600; font-weight: 600;
font-size: 8pt; font-size: 8pt;
font-family: Lucida Grande; font-family: Lucida Grande;
color: #ecf0f1;
}
/* Slider on toolbar */
QWidget#sizeSliderContainer {
background: transparent;
}
/* Debug UI Settings buttons */
QLabel#color_button {
background: transparent;
}
/* Seachbar on main toolbar */
QLineEdit#mw_searchbar {
margin-left: 0.7em;
color: #ecf0f1;
}
/* Uniform colors in Toolbar */
QToolButton {
background: transparent;
color: transparent;
}
QToolButton::disabled {
background-color: #828790;
}
QToolButton::hover {
background-color: #444444;
} }
/* Set Theme UI colors */ /* Set Theme UI colors */
@ -244,11 +261,32 @@ QLabel#gamelist_icon_background_color {
color: transparent; color: transparent;
} }
/* Set Windows Taskbar Thumbnail colors */ /* Set Taskbar Thumbnail colors */
QLabel#thumbnail_icon_color { QLabel#thumbnail_icon_color {
color: #444444; color: #444444;
} }
/* Memory Viewer */
QLabel#memory_viewer_address_panel {
color: #00cbff; /* Font Color: Blue */
}
QLabel#memory_viewer_hex_panel {
color: #bdc3c7; /* Font Color: Grey */
}
QLabel#memory_viewer_ascii_panel {
color: #bdc3c7; /* 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 */
}
/* Set Log colors */ /* Set Log colors */
QTextEdit#log_frame { QTextEdit#log_frame {
background-color: #000000; /* Black */ background-color: #000000; /* Black */
@ -280,7 +318,6 @@ QLabel#log_level_trace {
QLabel#log_stack { QLabel#log_stack {
color: #ffffff; /* White */ color: #ffffff; /* White */
} }
/* Set TTY colors */ /* Set TTY colors */
QTextEdit#tty_frame { QTextEdit#tty_frame {
background-color: #000000; /* Black */ background-color: #000000; /* Black */
@ -288,40 +325,3 @@ QTextEdit#tty_frame {
QLabel#tty_text { QLabel#tty_text {
color: #ffffff; /* White */ color: #ffffff; /* White */
} }
/* RSX Debugger */
QLabel#rsx_debugger_display_buffer {
background-color: #323232;
}
/* Kernel Explorer */
QDialog#kernel_explorer {
background-color: #323232;
}
/* Memory Viewer */
QDialog#memory_viewer {
background-color: #323232;
}
QLabel#memory_viewer_address_panel {
color: #00cbff; /* Font Color: Blue */
background-color: #323232;
}
QLabel#memory_viewer_hex_panel {
color: #bdc3c7; /* Font Color: Grey */
background-color: #323232;
}
QLabel#memory_viewer_ascii_panel {
color: #bdc3c7; /* Font Color: Grey */
background-color: #323232;
}
/* 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 */
}