forked from NinjaCheetah/NUSGet
441 lines
8.6 KiB
Plaintext
441 lines
8.6 KiB
Plaintext
/* "resources/style.qss" from NUSGet by NinjaCheetah & Contributors */
|
|
/* Much of this QSS was written by Alex (https://github.com/Humanoidear) */
|
|
/* from WiiLink for the fancy new WiiLink Patcher GUI. Used with permission. */
|
|
|
|
QMainWindow, QDialog {
|
|
background-color: #222222;
|
|
}
|
|
|
|
QMainWindow QLabel {
|
|
color: #ffffff;
|
|
}
|
|
|
|
QDialog QLabel {
|
|
color: #ffffff;
|
|
}
|
|
|
|
QDialog QLabel[class="title"] {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
QDialog QLabel[class="version"] {
|
|
font-size: 13px;
|
|
color: #aaaaaa;
|
|
}
|
|
|
|
QDialog QLabel[class="copyright"] {
|
|
font-size: 12px;
|
|
color: #888888;
|
|
}
|
|
|
|
QDialog QLabel[class="header"] {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
border-bottom: 1px solid #444444;
|
|
padding-bottom: 4px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
QMenuBar {
|
|
background-color: #2b2b2b;
|
|
}
|
|
|
|
QMenuBar::item:selected {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
color: white;
|
|
}
|
|
|
|
QMenuBar::item:pressed {
|
|
background-color: #6c1ae8;
|
|
color: white;
|
|
}
|
|
|
|
QMenu {
|
|
background-color: #2b2b2b;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
padding: 6px 2px;
|
|
margin: 4px 0;
|
|
color: white;
|
|
}
|
|
|
|
QMenu::item {
|
|
padding: 6px 2px;
|
|
margin: 2px;
|
|
border-radius: 4px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
QMenu::item:selected {
|
|
background-color: #6c1ae8;
|
|
color: white;
|
|
}
|
|
|
|
QMenu::icon {
|
|
padding: 4px;
|
|
}
|
|
|
|
QRadioButton {
|
|
background-color: transparent;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
|
|
QRadioButton:hover {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
border-color: #9c4ae8;
|
|
}
|
|
|
|
QRadioButton:checked {
|
|
background-color: rgba(26, 115, 232, 0.08);
|
|
border: 1px solid #6c1ae8;
|
|
color: #6c1ae8;
|
|
}
|
|
|
|
QRadioButton::indicator {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 5px;
|
|
border: 1px solid #5f6368;
|
|
margin-right: 8px;
|
|
subcontrol-position: left center;
|
|
}
|
|
|
|
QRadioButton::indicator:checked {
|
|
background-color: #6c1ae8;
|
|
border: 1px solid #6c1ae8;
|
|
image: url("{IMAGE_PREFIX}/rounded_square.svg");
|
|
}
|
|
|
|
QRadioButton::indicator:hover {
|
|
border-color: #6c1ae8;
|
|
}
|
|
|
|
QLineEdit {
|
|
background-color: transparent;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
margin: 4px 0px;
|
|
font-size: 13px;
|
|
color: #ffffff;
|
|
selection-background-color: #6c1ae8;
|
|
}
|
|
|
|
QLineEdit:focus {
|
|
border-color: #6c1ae8;
|
|
}
|
|
|
|
QLineEdit:disabled {
|
|
background-color: rgba(70, 70, 70, 0.5);
|
|
border: 1px solid rgba(100, 100, 100, 0.3);
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
QTabWidget::pane {
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-top-right-radius: 8px;
|
|
border-bottom-right-radius: 8px;
|
|
border-bottom-left-radius: 8px;
|
|
background-color: #2b2b2b;
|
|
top: -1px;
|
|
}
|
|
|
|
QTabBar::tab {
|
|
background-color: transparent;
|
|
border-top: 1px solid rgba(70, 70, 70, 1);
|
|
border-left: 1px solid rgba(70, 70, 70, 1);
|
|
border-right: 1px solid rgba(70, 70, 70, 1);
|
|
border-top-left-radius: 6px;
|
|
border-top-right-radius: 6px;
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
|
|
QTabBar::tab:selected, QTabBar::tab:hover {
|
|
background-color: #2b2b2b;
|
|
}
|
|
|
|
QTreeView {
|
|
show-decoration-selected: 1;
|
|
outline: 0;
|
|
background-color: #1a1a1a;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
QTreeView QHeaderView::section {
|
|
color: white;
|
|
background-color: #2b2b2b;
|
|
border: 0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
QTreeView::item {
|
|
color: white;
|
|
}
|
|
|
|
QTreeView::item:hover {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
}
|
|
|
|
QTreeView::item:focus {
|
|
background-color: rgba(64, 26, 232, 0.15);
|
|
}
|
|
|
|
QTreeView::item:selected {
|
|
background-color: #6c1ae8;
|
|
}
|
|
|
|
QTreeView QScrollBar:vertical {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
QTreeView::branch:has-children:!has-siblings:closed,
|
|
QTreeView::branch:closed:has-children:has-siblings {
|
|
image: url("{IMAGE_PREFIX}/right_arrow_white.svg");
|
|
}
|
|
|
|
QTreeView::branch:open:has-children:!has-siblings,
|
|
QTreeView::branch:open:has-children:has-siblings {
|
|
image: url("{IMAGE_PREFIX}/down_arrow_white.svg");
|
|
}
|
|
|
|
QTextBrowser {
|
|
color: white;
|
|
background-color: #1a1a1a;
|
|
selection-background-color: #6c1ae8;
|
|
}
|
|
|
|
QPushButton {
|
|
outline: 0;
|
|
show-decoration-selected: 1;
|
|
background-color: transparent;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
margin: 4px 0px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
border-color: #9c4ae8;
|
|
}
|
|
|
|
QPushButton:focus {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
border-color: #9c4ae8;
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: rgba(64, 26, 232, 0.15);
|
|
border: 1px solid #6c1ae8;
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: rgba(70, 70, 70, 0.5);
|
|
border: 1px solid rgba(100, 100, 100, 0.3);
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
QComboBox {
|
|
background-color: transparent;
|
|
combobox-popup: 0;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
margin: 4px 0px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
|
|
QComboBox:on {
|
|
background-color: rgba(64, 26, 232, 0.15);
|
|
border: 1px solid #6c1ae8;
|
|
}
|
|
|
|
QComboBox:hover {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
border-color: #9c4ae8;
|
|
}
|
|
|
|
QComboBox:focus {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
border-color: #9c4ae8;
|
|
}
|
|
|
|
QComboBox::drop-down {
|
|
border: 0;
|
|
width: 24px;
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url("{IMAGE_PREFIX}/down_arrow_white.svg");
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color: #2b2b2b;
|
|
border: 1px solid #444444;
|
|
border-radius: 8px;
|
|
padding: 4px;
|
|
outline: none;
|
|
}
|
|
|
|
QComboBox QAbstractItemView::item {
|
|
height: 25px;
|
|
border-radius: 4px;
|
|
padding: 4px 8px;
|
|
margin: 2px 0px;
|
|
color: white;
|
|
}
|
|
|
|
QComboBox QAbstractItemView::item:hover {
|
|
background-color: #6c1ae8;
|
|
}
|
|
|
|
QScrollBar:vertical {
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 2px 0 2px 0;
|
|
background-color: #222222;
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
margin: 0px 2px 0px 2px;
|
|
width: 10px;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover {
|
|
background-color: rgba(71, 26, 232, 0.4);
|
|
}
|
|
|
|
QScrollBar::add-line:vertical {
|
|
height: 0;
|
|
subcontrol-position: bottom;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical {
|
|
height: 0;
|
|
subcontrol-position: top;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar:horizontal {
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 2px 0 2px 0;
|
|
background-color: #222222;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
margin: 0px 2px 0px 2px;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal:hover {
|
|
background-color: rgba(71, 26, 232, 0.4);
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal {
|
|
height: 0;
|
|
subcontrol-position: bottom;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal {
|
|
height: 0;
|
|
subcontrol-position: top;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QMessageBox QLabel {
|
|
color: white;
|
|
}
|
|
|
|
QProgressBar {
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
background-color: #1a1a1a;
|
|
text-align: center;
|
|
color: white;
|
|
padding-left: 1px;
|
|
}
|
|
|
|
QProgressBar::chunk {
|
|
background-color: qlineargradient(
|
|
x1: 0, y1: 0, x2: 1, y2: 0,
|
|
stop: 0 #1a73e8, stop: 1 #5596f4
|
|
);
|
|
border-radius: 5px;
|
|
margin: 0.5px;
|
|
}
|
|
|
|
WrapCheckboxWidget {
|
|
show-decoration-selected: 1;
|
|
outline: 0;
|
|
background-color: transparent;
|
|
border: 1px solid rgba(70, 70, 70, 1);
|
|
border-radius: 8px;
|
|
padding: 12px 10px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
|
|
WrapCheckboxWidget:hover {
|
|
background-color: rgba(60, 60, 60, 1);
|
|
border-color: #9c4ae8;
|
|
}
|
|
|
|
WrapCheckboxWidget:disabled {
|
|
background-color: rgba(70, 70, 70, 0.5);
|
|
border: 1px solid rgba(100, 100, 100, 0.3);
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
WrapCheckboxWidget QLabel:disabled {
|
|
color: #919191;
|
|
}
|
|
|
|
WrapCheckboxWidget QCheckBox::indicator {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 4px;
|
|
border: 1px solid #5f6368;
|
|
}
|
|
|
|
WrapCheckboxWidget QCheckBox::indicator::focus {
|
|
background-color: rgba(64, 26, 232, 0.15);
|
|
}
|
|
|
|
WrapCheckboxWidget QCheckBox::indicator:checked {
|
|
background-color: #6c1ae8;
|
|
border: 1px solid #6c1ae8;
|
|
image: url("{IMAGE_PREFIX}/check.svg");
|
|
}
|
|
|
|
WrapCheckboxWidget QCheckBox::indicator:hover {
|
|
border-color: #6c1ae8;
|
|
}
|
|
|
|
WrapCheckboxWidget QCheckBox:checked {
|
|
color: #6c1ae8;
|
|
}
|