Files
wei 8316722169 Update to v0.1.3-alpha
- Add Forge/Neoforge support.
- Now launcher will try to recreate the manifest if specific version does not exist.
- Themed "ItLooksLikeOfficial" scrollbar.

CoreLib update to 0.1.6
2026-11-01 17:35:22 +08:00

120 lines
4.4 KiB
Plaintext

QMainWindow, QDialog {
background: palette(window);
color: palette(window-text);
}
QPushButton, QToolButton {
background: palette(button);
color: palette(button-text);
border: 1px solid #595959;
border-bottom: 3px solid #171717;
border-radius: 0;
padding: 6px 12px;
min-height: 22px;
}
QPushButton:hover, QToolButton:hover { background: #4c4c4c; border-top-color: #858585; }
QPushButton:pressed, QToolButton:pressed,
QPushButton:checked, QToolButton:checked { background: #252525; border-bottom-color: #595959; }
QPushButton:focus, QToolButton:focus { border-color: #a0e081; }
QPushButton:disabled, QToolButton:disabled { background: #303030; color: #858585; border-color: #414141; }
QLineEdit, QPlainTextEdit, QTextEdit, QSpinBox, QDoubleSpinBox,
QComboBox, QListView, QTreeView, QTableView {
background: palette(base);
color: palette(text);
border: 1px solid palette(mid);
border-radius: 0;
padding: 6px;
selection-background-color: palette(highlight);
selection-color: palette(highlighted-text);
}
QLineEdit:focus, QPlainTextEdit:focus, QTextEdit:focus,
QSpinBox:focus, QDoubleSpinBox:focus, QComboBox:focus { border-color: #86d562; }
QComboBox { padding-right: 28px; min-height: 22px; }
QComboBox QAbstractItemView {
background: palette(base);
color: palette(text);
selection-background-color: palette(highlight);
selection-color: palette(highlighted-text);
}
QGroupBox { border: 1px solid palette(mid); margin-top: 12px; padding-top: 10px; }
QGroupBox::title { subcontrol-origin: margin; left: 10px; padding: 0 4px; }
QProgressBar {
background: palette(base);
color: palette(text);
border: 1px solid palette(mid);
border-radius: 0;
min-height: 18px;
text-align: center;
}
QProgressBar::chunk { background: #3c8527; }
QProgressBar[failed="true"]::chunk { background: #c62828; }
QTabWidget::pane { border: 1px solid palette(mid); }
QTabBar::tab { background: #202020; color: #b1b1b1; padding: 10px 16px; border-bottom: 3px solid transparent; }
QTabBar::tab:selected { color: #ffffff; border-bottom-color: #6cc349; }
QTabBar::tab:hover { background: #383838; color: #ffffff; }
QMenu { background: #202020; color: #ffffff; border: 1px solid #505050; padding: 4px; }
QMenu::item { padding: 7px 24px; }
QMenu::item:selected { background: #3c8527; }
QMenu::item:disabled { color: #858585; }
QToolTip { background: #181818; color: #ffffff; border: 1px solid #606060; padding: 5px; }
QLabel#dev_info_box { font-size: 20pt; font-weight: bold; }
QLabel#dev_info_message { font-size: 10pt; }
QLabel#version_label { font-weight: bold; }
QMessageBox { background: #262626; }
QMessageBox QLabel { color: #ffffff; background: transparent; }
QMessageBox QPushButton { min-width: 72px; }
/* Square, inset tracks and raised handles match the launcher's buttons. */
QScrollBar:vertical, QScrollBar:horizontal {
background: #181818;
border: 1px solid #414141;
border-radius: 0;
margin: 0;
padding: 2px;
}
QScrollBar:vertical { width: 14px; }
QScrollBar:horizontal { height: 14px; }
QScrollBar::handle:vertical, QScrollBar::handle:horizontal {
background: #595959;
border: 1px solid #737373;
border-top-color: #858585;
border-left-color: #858585;
border-bottom-color: #303030;
border-right-color: #303030;
border-radius: 0;
}
QScrollBar::handle:vertical { min-height: 32px; }
QScrollBar::handle:horizontal { min-width: 32px; }
QScrollBar::handle:vertical:hover, QScrollBar::handle:horizontal:hover {
background: #737373;
border-top-color: #a0a0a0;
border-left-color: #a0a0a0;
}
QScrollBar::handle:vertical:pressed, QScrollBar::handle:horizontal:pressed {
background: #3c8527;
border: 1px solid #6cc349;
border-top-color: #28591a;
border-left-color: #28591a;
}
QScrollBar::handle:vertical:disabled, QScrollBar::handle:horizontal:disabled {
background: #303030;
border: 1px solid #414141;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
height: 0;
border: none;
background: transparent;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
width: 0;
border: none;
background: transparent;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
background: transparent;
}
QAbstractScrollArea::corner {
background: #181818;
border: 1px solid #414141;
}