diff --git a/resources/styles/plugins.qss b/resources/styles/plugins.qss new file mode 100644 index 0000000..f24a926 --- /dev/null +++ b/resources/styles/plugins.qss @@ -0,0 +1,51 @@ +QDialog#pluginsDialog { + background-color: palette(window); +} + +QLabel#pluginsTitle, QLabel#pluginName { + font-size: 20px; + font-weight: bold; +} + +QLabel#pluginsSectionTitle, QLabel#pluginsEmptyTitle { + font-size: 14px; + font-weight: bold; +} + +QLabel#pluginsMuted { + color: palette(placeholder-text); +} + +QListWidget#pluginList { + background-color: palette(base); + border: 1px solid palette(mid); + border-radius: 6px; + outline: none; +} + +QListWidget#pluginList::item { + padding: 6px; + border-radius: 4px; +} + +QListWidget#pluginList::item:selected { + background-color: palette(highlight); + color: palette(highlighted-text); +} + +QListWidget#pluginList::item:focus { + border: 1px solid palette(highlight); +} + +QDialog#pluginsDialog QLineEdit { + padding: 7px; + border: 1px solid palette(mid); + border-radius: 5px; + background-color: palette(base); + color: palette(text); +} + +QDialog#pluginsDialog QSplitter::handle:horizontal { + width: 1px; + background-color: palette(mid); +} diff --git a/resources/themes/bliss/palette.toml b/resources/themes/bliss/palette.toml new file mode 100644 index 0000000..52042eb --- /dev/null +++ b/resources/themes/bliss/palette.toml @@ -0,0 +1,14 @@ +[palette] +window = "#ece9d8" +window_text = "#000000" +base = "#ffffff" +alternate_base = "#f1f5fb" +text = "#000000" +button = "#f5f3e9" +button_text = "#000000" +mid = "#aca899" +midlight = "#ffffff" +dark = "#716f64" +highlight = "#316ac5" +highlighted_text = "#ffffff" +placeholder_text = "#555d69" diff --git a/resources/themes/bliss/styles/login_dialog.qss b/resources/themes/bliss/styles/login_dialog.qss new file mode 100644 index 0000000..2178534 --- /dev/null +++ b/resources/themes/bliss/styles/login_dialog.qss @@ -0,0 +1,7 @@ +QDialog { background: #ece9d8; } +QLabel#dialogTitle { color: #003399; font-size: 18px; font-weight: bold; } +QLabel#helpText { color: #000000; font-size: 13px; } +QLineEdit#codeEdit { min-height: 50px; padding: 0 12px; border: 1px solid #7f9db9; border-radius: 8px; background: #ffffff; color: #003399; font-size: 25px; font-weight: bold; letter-spacing: 2px; } +QLabel#errorMessage { padding: 9px 11px; border: 1px solid #dfb8bd; border-radius: 6px; background: #fff0f2; color: #b32120; font-size: 12px; } +QPushButton { min-height: 30px; padding: 3px 14px; border: 1px solid #003c74; border-radius: 14px; color: #000000; background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #ffffff,stop:0.45 #f5f3e9,stop:0.5 #e0ddce,stop:1 #faf9f3); } +QPushButton:pressed { background: #a2c9f4; } diff --git a/resources/themes/bliss/styles/main.qss b/resources/themes/bliss/styles/main.qss new file mode 100644 index 0000000..d1abc87 --- /dev/null +++ b/resources/themes/bliss/styles/main.qss @@ -0,0 +1,101 @@ +QWidget { + font-family: "Tahoma", "Segoe UI"; + font-size: 13px; +} +QMainWindow, QDialog { + color: #000000; + background: #ece9d8; +} +QPushButton, QToolButton { + color: #000000; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #ffffff, stop:0.45 #f5f3e9, stop:0.5 #e0ddce, stop:1 #faf9f3); + border: 1px solid #003c74; + border-radius: 3px; + padding: 4px 14px; + min-height: 22px; +} +QPushButton:hover, QToolButton:hover { border-color: #e59700; } +QPushButton:default, QPushButton:checked, QToolButton:checked { + color: #003399; + border-color: #3266ac; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #e9f8ff, stop:0.45 #a7d0ff, stop:0.5 #649be5, stop:1 #c2e2ff); +} +QPushButton:pressed, QToolButton:pressed { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #79a5db, stop:0.5 #4f86ca, stop:1 #a2c9f4); +} +QPushButton:disabled, QToolButton:disabled { color: #8590a0; border-color: #b9c1cc; } +QLineEdit, QPlainTextEdit, QTextEdit, QSpinBox, QDoubleSpinBox, +QComboBox, QListView, QTreeView, QTableView { + background: #ffffff; + color: #000000; + border: 1px solid #7f9db9; + border-top-color: #6e7c90; + border-radius: 4px; + padding: 4px; + selection-background-color: #316ac5; + selection-color: #ffffff; +} +QLineEdit:focus, QPlainTextEdit:focus, QTextEdit:focus, +QSpinBox:focus, QDoubleSpinBox:focus, QComboBox:focus { border-color: #e59700; } +QComboBox { padding-right: 26px; } +QComboBox::drop-down { + width: 20px; + border-left: 1px solid #7d9abd; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #e4f5ff, stop:0.48 #a1caff, stop:0.5 #699ee3, stop:1 #b9ddff); +} +QComboBox QAbstractItemView { background: #ffffff; color: #000000; selection-background-color: #316ac5; selection-color: #ffffff; } +QGroupBox { border: 1px solid #aab2bf; border-radius: 7px; margin-top: 10px; padding-top: 10px; } +QGroupBox::title { subcontrol-origin: margin; left: 10px; padding: 0 4px; } +QProgressBar { border: 1px solid #8a9ab0; border-radius: 7px; background: #e0e5ed; color: #000000; text-align: center; min-height: 14px; } +QProgressBar::chunk { + border-radius: 6px; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #e5f6ff, stop:0.4 #8ac4ff, stop:0.5 #4589db, stop:1 #9bd0ff); +} +QTabWidget::pane { border: 1px solid #9aa9bc; border-radius: 6px; } +QTabBar::tab { border: 1px solid #9aa9bc; padding: 5px 14px; background: #e4e9f0; } +QTabBar::tab:selected { background: #a8ceff; color: #16355f; } +QScrollBar { background: #e7eaf0; border: 1px solid #b3bdcc; } +QScrollBar:vertical { width: 16px; } +QScrollBar:horizontal { height: 16px; } +QScrollBar::handle { border: 1px solid #6e9bc9; border-radius: 6px; background: #a4cff7; } +QScrollBar::handle:vertical { min-height: 24px; background: qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 #dff4ff,stop:0.5 #83b9ef,stop:1 #c7e7ff); } +QScrollBar::handle:horizontal { min-width: 24px; background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #dff4ff,stop:0.5 #83b9ef,stop:1 #c7e7ff); } +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: #ece9d8; } +QMessageBox QLabel { color: #003399; background: transparent; } +QMessageBox QPushButton { min-width: 72px; } +QMessageBox QPushButton:default { + border-color: #3266ac; + background: qlineargradient(x1:0,y1:0,x2:0,y2:1, + stop:0 #e9f8ff,stop:0.45 #a7d0ff,stop:0.5 #649be5,stop:1 #c2e2ff); +} +QMessageBox QPushButton:pressed { background: #79a5db; } + +/* Luna-style panels, warm button faces and segmented green progress. */ +QPushButton, QToolButton { + background: qlineargradient(x1:0,y1:0,x2:0,y2:1, + stop:0 #ffffff,stop:0.8 #f0eddf,stop:1 #d8d2bd); +} +QPushButton:hover, QToolButton:hover { border-color: #e59700; } +QPushButton:default { border-color: #316ac5; } +QPushButton:pressed, QToolButton:pressed { background: #c9d9ef; } +QPushButton:disabled, QToolButton:disabled { background: #ece9d8; color: #868478; } +QProgressBar { background: #ffffff; border-color: #7f9db9; border-radius: 3px; } +QProgressBar::chunk { + width: 10px; + margin: 1px; + border-radius: 1px; + background: qlineargradient(x1:0,y1:0,x2:0,y2:1, + stop:0 #b7ee8b,stop:0.5 #54b42b,stop:1 #2c931a); +} +QTabBar::tab:selected { border-top: 3px solid #e9a32b; background: #fcfcfe; } diff --git a/resources/themes/bliss/styles/manage_profile.qss b/resources/themes/bliss/styles/manage_profile.qss new file mode 100644 index 0000000..d8b2de7 --- /dev/null +++ b/resources/themes/bliss/styles/manage_profile.qss @@ -0,0 +1,20 @@ +QLabel#manageTitle { color: #003399; font-size: 22px; font-weight: bold; padding: 4px; } +QScrollArea#manageProfileListScroll, QScrollArea#manageProfileOptionsScroll { background: #ffffff; border: 1px solid #7f9db9; border-radius: 8px; } +QPushButton#manageProfileItem { + /* Content height + two 1px borders = 64px; the layout supplies padding. */ + min-height: 62px; + padding: 0; + background: #ffffff; + color: #003399; + border: 1px solid transparent; + border-radius: 5px; + text-align: left; +} +QPushButton#manageProfileItem:hover { background: #e3efff; } +QPushButton#manageProfileItem:checked { background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5286d4,stop:1 #316ac5); color: #ffffff; } +QPushButton#manageProfileItem QLabel[itemChecked="true"] { color: #ffffff; background: transparent; } +QLabel#itemName { color: #003399; font-size: 15px; font-weight: bold; } +QLabel#itemVersion { color: #555d69; font-size: 12px; } +QFrame#profileEditor { background: transparent; } +QPushButton#saveProfileButton { min-width: 130px; font-weight: bold; } +QPushButton#dangerButton { color: #b32120; } diff --git a/resources/themes/bliss/styles/process_log.qss b/resources/themes/bliss/styles/process_log.qss new file mode 100644 index 0000000..3c756ad --- /dev/null +++ b/resources/themes/bliss/styles/process_log.qss @@ -0,0 +1,8 @@ +QMainWindow { background: #ece9d8; } +QLabel { color: #003399; } +QPlainTextEdit { background: #ffffff; color: #000000; font-family: "Menlo", "Consolas", monospace; font-size: 10pt; border: 1px solid #7f9db9; border-radius: 4px; selection-background-color: #316ac5; selection-color: #ffffff; } +QPushButton { padding: 4px 14px; min-height: 22px; border: 1px solid #003c74; border-radius: 3px; color: #000000; background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #ffffff,stop:0.45 #f5f3e9,stop:0.5 #e0ddce,stop:1 #faf9f3); } +QPushButton:pressed { background: #a2c9f4; } +QPushButton:disabled { color: #8590a0; } +QScrollBar { background: #e7eaf0; border: 1px solid #b3bdcc; } +QScrollBar::handle { background: #a4cff7; border: 1px solid #6e9bc9; border-radius: 6px; } diff --git a/resources/themes/bliss/styles/profile.qss b/resources/themes/bliss/styles/profile.qss new file mode 100644 index 0000000..0dfa134 --- /dev/null +++ b/resources/themes/bliss/styles/profile.qss @@ -0,0 +1,45 @@ +QFrame#profileButton { + border: 1px solid #7f9db9; + border-radius: 3px; + background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #ffffff,stop:0.48 #ebf3ff,stop:0.5 #d6e5fa,stop:1 #f7fbff); +} +QFrame#profileButton:hover { border-color: #e59700; } +QLabel#profileName, QLabel#itemName { color: #003399; font-size: 15px; font-weight: bold; } +QLabel#profileVersion, QLabel#itemVersion { color: #555d69; font-size: 12px; } +QLabel#profileArrow { background: transparent; color: #34649c; font-size: 18px; } +QLabel#launchStatus { font-size: 12px; font-weight: bold; } +QFrame#profilePopup { border: 1px solid #7f9db9; border-radius: 8px; background: #f7faff; } +QWidget#profileListContent { background: #ffffff; } +QPushButton#profileItem { + /* Content height + two 1px borders = 62px; the layout supplies padding. */ + min-height: 60px; + padding: 0; + background: #ffffff; + border: 1px solid transparent; + border-radius: 5px; + text-align: left; +} +QPushButton#profileItem:hover { + background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5286d4,stop:1 #316ac5); +} +QPushButton#profileItem QLabel[itemHovered="true"] { color: #ffffff; background: transparent; } +QPushButton#launchButton { + min-width: 150px; + font-size: 15px; + font-weight: bold; + color: #ffffff; + border: 1px solid #25621b; + border-radius: 8px; + background: qlineargradient(x1:0,y1:0,x2:0,y2:1, + stop:0 #93d875,stop:0.15 #55ad39,stop:0.8 #31851e,stop:1 #246514); +} +QPushButton#launchButton:hover { border-color: #e59700; background: #4b9f2c; } +QPushButton#launchButton:pressed { background: #28691b; } +QPushButton#launchButton:disabled { color: #d9e3d5; background: #7b9472; } +QFrame#profileFrame { background: #dceaff; border: 1px solid #8fa8c9; border-radius: 3px; } +QFrame#header { + background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5794f5,stop:0.18 #2879ed,stop:1 #0053cf); + border: 1px solid #1654bd; + border-radius: 5px; +} +QLabel#headerLabel { color: #ffffff; background: transparent; font-size: 20px; font-weight: bold; } diff --git a/resources/themes/bliss/styles/settings.qss b/resources/themes/bliss/styles/settings.qss new file mode 100644 index 0000000..5262747 --- /dev/null +++ b/resources/themes/bliss/styles/settings.qss @@ -0,0 +1,22 @@ +QWidget#settingsPage, QWidget#settingsMainPage, QWidget#settingsScrollContent { + background: #ece9d8; +} +QScrollArea#settingsScrollArea { border: none; background: transparent; } +QLabel#settingsPageTitle { color: #003399; font-size: 20px; font-weight: bold; } +QLabel#settingsSubPageTitle { color: #003399; font-size: 18px; font-weight: bold; } +QPushButton#settingsItem { + min-height: 68px; + border: 1px solid #7f9db9; + border-radius: 4px; + background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #ffffff,stop:1 #e5edf8); + text-align: left; +} +QPushButton#settingsItem:hover { border-color: #e59700; background: #fff8e7; } +QPushButton#settingsItem:pressed { background: #c4ddfa; } +QLabel#settingsItemTitle { color: #003399; font-size: 14px; font-weight: bold; } +QLabel#settingsItemDescription, QLabel#settingsHelpText { color: #555d69; font-size: 12px; } +QPushButton#settingsBackButton { min-height: 0; padding: 0; border-radius: 5px; font-size: 22px; } +QLabel#settingsBrand { color: #003399; font-size: 20px; font-weight: bold; } +QLabel#settingsVersion { font-size: 12px; } +QPlainTextEdit#settingsDescription { font-size: 13px; } +QWidget#settingsPage QComboBox { min-height: 22px; padding: 4px 26px 4px 8px; border: 1px solid #7f9db9; border-radius: 5px; background: #ffffff; color: #000000; } diff --git a/resources/themes/bliss/styles/toolbar.qss b/resources/themes/bliss/styles/toolbar.qss new file mode 100644 index 0000000..d3e678b --- /dev/null +++ b/resources/themes/bliss/styles/toolbar.qss @@ -0,0 +1,23 @@ +QToolBar { + background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5794f5,stop:0.1 #2879ed,stop:0.85 #245edb,stop:1 #1545ae); + border: 1px solid #0041b5; + spacing: 4px; + padding: 3px; +} +QToolBar QToolButton, QToolBar QPushButton { + color: #ffffff; + background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5596f9,stop:1 #215bc6); + border: 1px solid #1752b8; + border-radius: 4px; + padding: 6px; + font-size: 13px; +} +QToolBar QToolButton:hover, QToolBar QPushButton:hover { border-color: #99c2ff; background: #408cf1; } +QToolBar QToolButton:focus, QToolBar QToolButton:checked, QToolBar QPushButton:focus, QToolBar QPushButton:checked { + background: #174cac; + border-color: #b6d4ff; +} +QToolBar QToolButton:pressed, QToolBar QPushButton:pressed { background: #123c91; } +QToolBar QToolButton:disabled, QToolBar QPushButton:disabled { color: #8590a0; } +QToolBar::separator { background: #b0bac8; width: 1px; height: 1px; margin: 4px; } +QToolBar::handle { background: #d1d8e3; border: 1px solid #b0bac8; width: 4px; height: 4px; border-radius: 2px; } diff --git a/resources/themes/bliss/theme.toml b/resources/themes/bliss/theme.toml new file mode 100644 index 0000000..5cda4fe --- /dev/null +++ b/resources/themes/bliss/theme.toml @@ -0,0 +1 @@ +name = "Bliss"