Add override api support.
More apis are added in this version.
This commit is contained in:
1 parent
f029ba425b
commit
e3e406a5bc
18 files changed
+451
-14
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[palette]
|
||||
window = "#262626"
|
||||
window_text = "#ffffff"
|
||||
base = "#181818"
|
||||
alternate_base = "#303030"
|
||||
text = "#ffffff"
|
||||
button = "#3c3c3c"
|
||||
button_text = "#ffffff"
|
||||
mid = "#505050"
|
||||
midlight = "#454545"
|
||||
dark = "#111111"
|
||||
highlight = "#3c8527"
|
||||
highlighted_text = "#ffffff"
|
||||
placeholder_text = "#b1b1b1"
|
||||
@@ -0,0 +1,64 @@
|
||||
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; }
|
||||
@@ -0,0 +1,24 @@
|
||||
QLabel#manageTitle { font-size: 24px; font-weight: bold; padding: 4px 2px 8px 2px; }
|
||||
QScrollArea#manageProfileListScroll, QScrollArea#manageProfileOptionsScroll {
|
||||
background: #181818;
|
||||
border: 1px solid #505050;
|
||||
border-radius: 0;
|
||||
}
|
||||
QPushButton#manageProfileItem {
|
||||
min-height: 62px;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
border-radius: 0;
|
||||
text-align: left;
|
||||
}
|
||||
QLabel#itemName { color: #ffffff; font-size: 15px; font-weight: bold; }
|
||||
QLabel#itemVersion { color: #b1b1b1; font-size: 12px; }
|
||||
QPushButton#manageProfileItem:hover { background: #303030; }
|
||||
QPushButton#manageProfileItem:checked { background: #3c8527; border-left-color: #86d562; color: #ffffff; }
|
||||
QPushButton#manageProfileItem:focus { border-color: #a0e081; }
|
||||
QPushButton#manageProfileItem QLabel[itemChecked="true"] { color: #ffffff; background: transparent; }
|
||||
QFrame#profileEditor { background: transparent; }
|
||||
QPushButton#saveProfileButton { min-width: 130px; font-weight: bold; }
|
||||
QPushButton#dangerButton { color: #ff9090; }
|
||||
@@ -0,0 +1,38 @@
|
||||
QFrame#profileButton { background: #303030; border: 1px solid #505050; border-radius: 0; }
|
||||
QFrame#profileButton:hover { background: #3c3c3c; border-color: #86d562; }
|
||||
QLabel#profileName, QLabel#itemName { color: #ffffff; font-size: 16px; font-weight: bold; }
|
||||
QLabel#profileVersion, QLabel#itemVersion { color: #b1b1b1; font-size: 12px; }
|
||||
QLabel#profileArrow { color: #ffffff; background: transparent; font-size: 18px; }
|
||||
QLabel#launchStatus { color: #ffffff; font-size: 12px; font-weight: bold; }
|
||||
QFrame#profilePopup { background: #202020; border: 1px solid #505050; border-radius: 0; }
|
||||
QWidget#profileListContent { background: #202020; }
|
||||
QPushButton#profileItem {
|
||||
min-height: 60px;
|
||||
padding: 0;
|
||||
background: #202020;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0;
|
||||
text-align: left;
|
||||
}
|
||||
QPushButton#profileItem:hover { background: #3c8527; }
|
||||
QPushButton#profileItem:focus { border-color: #a0e081; }
|
||||
QPushButton#profileItem QLabel[itemHovered="true"] { color: #ffffff; background: transparent; }
|
||||
QPushButton#launchButton {
|
||||
min-width: 150px;
|
||||
min-height: 32px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
background: #3c8527;
|
||||
border: 2px solid #1d4d13;
|
||||
border-top: 2px solid #86d562;
|
||||
border-bottom: 5px solid #1d4d13;
|
||||
border-radius: 0;
|
||||
}
|
||||
QPushButton#launchButton:hover { background: #4f9f30; }
|
||||
QPushButton#launchButton:pressed { background: #2f6b1f; border-top-color: #1d4d13; border-bottom-color: #3c8527; }
|
||||
QPushButton#launchButton:focus { border-left-color: #b5f293; border-right-color: #b5f293; }
|
||||
QPushButton#launchButton:disabled { background: #3c3c3c; color: #858585; border-color: #505050; }
|
||||
QFrame#profileFrame { background: #202020; border: 1px solid #505050; border-radius: 0; }
|
||||
QFrame#header { background: #202020; border-bottom: 1px solid #505050; }
|
||||
QLabel#headerLabel { color: #ffffff; background: transparent; font-size: 22px; font-weight: bold; }
|
||||
@@ -0,0 +1,34 @@
|
||||
QWidget#settingsPage, QWidget#settingsMainPage, QWidget#settingsScrollContent {
|
||||
background: #262626;
|
||||
}
|
||||
QScrollArea#settingsScrollArea { border: none; background: #262626; }
|
||||
QScrollArea#settingsScrollArea > QWidget > QWidget { background: #262626; }
|
||||
QLabel#settingsPageTitle { color: #ffffff; font-size: 20px; font-weight: bold; }
|
||||
QLabel#settingsSubPageTitle { color: #ffffff; font-size: 18px; font-weight: bold; }
|
||||
QPushButton#settingsItem {
|
||||
min-height: 68px;
|
||||
border: 1px solid #505050;
|
||||
border-left: 4px solid #505050;
|
||||
border-radius: 0;
|
||||
background: #303030;
|
||||
text-align: left;
|
||||
}
|
||||
QPushButton#settingsItem:hover { background: #3c3c3c; border-left-color: #6cc349; }
|
||||
QPushButton#settingsItem:pressed { background: #202020; }
|
||||
QPushButton#settingsItem:focus { border-color: #86d562; }
|
||||
QLabel#settingsItemTitle { color: #ffffff; font-size: 14px; font-weight: bold; }
|
||||
QLabel#settingsItemDescription, QLabel#settingsHelpText { color: #b1b1b1; font-size: 12px; }
|
||||
QPushButton#settingsBackButton { min-height: 0; padding: 0; border: none; border-radius: 0; font-size: 22px; }
|
||||
QPushButton#settingsBackButton:focus { border: 1px solid #86d562; }
|
||||
QLabel#settingsBrand { color: #ffffff; font-size: 20px; font-weight: bold; }
|
||||
QLabel#settingsVersion { color: #b1b1b1; font-size: 12px; }
|
||||
QPlainTextEdit#settingsDescription { font-size: 13px; }
|
||||
QWidget#settingsPage QComboBox {
|
||||
min-height: 22px;
|
||||
padding: 6px 32px 6px 10px;
|
||||
border: 1px solid #505050;
|
||||
border-radius: 0;
|
||||
background: #181818;
|
||||
color: #ffffff;
|
||||
}
|
||||
QWidget#settingsPage QComboBox:hover, QWidget#settingsPage QComboBox:focus { border-color: #86d562; }
|
||||
@@ -0,0 +1,31 @@
|
||||
QToolBar {
|
||||
margin: 0;
|
||||
spacing: 0;
|
||||
background: #181818;
|
||||
border: none;
|
||||
}
|
||||
QToolBar::separator { background: #3c3c3c; width: 1px; height: 1px; }
|
||||
QToolBar QPushButton, QToolBar QToolButton {
|
||||
margin: 0;
|
||||
padding: 14px;
|
||||
min-height: 28px;
|
||||
border: none;
|
||||
border-left: 4px solid transparent;
|
||||
border-radius: 0;
|
||||
background: #181818;
|
||||
color: #b1b1b1;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
}
|
||||
QToolBar:left QPushButton, QToolBar:right QPushButton,
|
||||
QToolBar:left QToolButton, QToolBar:right QToolButton { padding: 14px 6px; min-width: 0; }
|
||||
QToolBar QPushButton:hover, QToolBar QToolButton:hover { background: #303030; color: #ffffff; }
|
||||
QToolBar QPushButton:pressed, QToolBar QToolButton:pressed,
|
||||
QToolBar QPushButton:checked, QToolBar QToolButton:checked {
|
||||
background: #303030;
|
||||
color: #ffffff;
|
||||
border-left-color: #6cc349;
|
||||
}
|
||||
QToolBar QPushButton:focus, QToolBar QToolButton:focus { border-left-color: #6cc349; }
|
||||
QToolBar QPushButton:disabled, QToolBar QToolButton:disabled { color: #757575; }
|
||||
QToolBar::handle { background: #3c3c3c; }
|
||||
@@ -0,0 +1 @@
|
||||
name = "ItLooksLikeOfficial"
|
||||
@@ -112,6 +112,7 @@
|
||||
"Launched!": "Launched!",
|
||||
"Launcher error occurred.": "Launcher error occurred.",
|
||||
"Launcher theme": "Launcher theme",
|
||||
"Minecraft Launcher": "Minecraft Launcher",
|
||||
"Light": "Light",
|
||||
"Loading all types...": "Loading all types...",
|
||||
"Loading all versions...": "Loading all versions...",
|
||||
@@ -336,5 +337,6 @@
|
||||
"minutes": "minutes",
|
||||
"{account} is currently signed in.": "{account} is currently signed in.",
|
||||
"{account}'s session has expired.": "{account}'s session has expired.",
|
||||
"Plugins can run code on your computer and access your files and account data. Only enable plugins from sources you trust.": "Plugins can run code on your computer and access your files and account data. Only enable plugins from sources you trust.",
|
||||
"$ABOUT_THIS_LAUNCHER": "<ORIGINAL>"
|
||||
}
|
||||
@@ -111,6 +111,7 @@
|
||||
"Launched!": "已啟動!",
|
||||
"Launcher error occurred.": "啟動器發生錯誤。",
|
||||
"Launcher theme": "啟動器佈景主題",
|
||||
"Minecraft Launcher": "Minecraft 官方啟動器風格",
|
||||
"Light": "淺色",
|
||||
"Loading all types...": "正在載入所有類型……",
|
||||
"Loading all versions...": "正在載入所有版本……",
|
||||
@@ -320,6 +321,7 @@
|
||||
"Credential migration failed": "憑證移轉失敗",
|
||||
"Credentials save method": "憑證儲存方式",
|
||||
"Custom": "自訂",
|
||||
"Plugins can run code on your computer and access your files and account data. Only enable plugins from sources you trust.": "插件可以在你的電腦上執行程式碼,並存取檔案與帳號資料。請只啟用來自可信來源的插件。",
|
||||
"Expired": "已過期",
|
||||
"Invalid Client ID": "無效的 Client ID",
|
||||
"Launcher log": "啟動器紀錄",
|
||||
|
||||
Reference in new issue
Block a user