1- /* Otaku-Sync Custom Stylesheet */
1+ /* Otaku-Sync Custom Stylesheet v2 */
22
33/* --- General --- */
44QWidget {
5- /* A cleaner, modern font stack for cross-platform compatibility. Segoe UI is preferred on Windows. */
65 font-family: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
7- font-size: 14px;
6+ font-size: 15px;
7+ /* A slightly lighter base text color for better overall contrast */
8+ color: #E0E0E0;
89}
910
10- /* --- Widgets --- */
11- QPushButton, QLineEdit, QComboBox {
12- padding: 8px;
13- border-radius: 5px; /* Slightly rounded corners for a modern feel */
11+ /* --- Key Widgets --- */
12+ QPushButton, QLineEdit, QComboBox, QPlainTextEdit, QTextEdit {
13+ /* Unified padding and border-radius */
14+ padding: 9px;
15+ border-radius: 5px;
16+ /* A slightly lighter background to distinguish from the window */
17+ background-color: #333;
18+ border: 1px solid #444;
19+ }
20+
21+ /* Provide visual feedback on focus */
22+ QLineEdit:focus, QPlainTextEdit:focus, QTextEdit:focus, QComboBox:focus {
23+ border: 1px solid #0078d4; /* Use accent color for focus */
1424}
1525
1626QPushButton {
1727 font-weight: bold;
28+ color: #fff;
29+ background-color: #0078d4; /* Main accent color for primary actions */
1830}
1931
20- QTextEdit {
21- border: 1px solid #444; /* A subtle border to define the log area */
22- border-radius: 5px;
23- padding: 5px;
32+ QPushButton:hover {
33+ background-color: #008dfa; /* Lighter blue on hover */
2434}
2535
26- /* --- Layout Sections (QGroupBox) --- */
36+ /* --- Tab Widget --- */
37+ QTabWidget::pane {
38+ /* The area where tab content is shown */
39+ border-top: 2px solid #444;
40+ margin-top: -2px; /* Align with the tab bar bottom border */
41+ }
42+
43+ QTabBar::tab {
44+ /* Style for individual tabs */
45+ padding: 10px 20px;
46+ background-color: transparent;
47+ color: #aaa; /* Dim unselected tabs */
48+ border: none; /* Remove default borders */
49+ font-weight: bold;
50+ }
51+
52+ QTabBar::tab:hover {
53+ color: #fff; /* Highlight on hover */
54+ }
55+
56+ QTabBar::tab:selected {
57+ /* Style for the active tab */
58+ color: #fff;
59+ background-color: #444; /* Lighter background for the tab itself */
60+ border-bottom: 2px solid #0078d4; /* Accent color line */
61+ }
62+
63+
64+ /* --- GroupBox --- */
2765QGroupBox {
28- /* Adds breathing room around the entire section */
2966 margin-top: 12px;
30- border: 1px solid #555 ; /* A subtle border to frame the section */
67+ border: 1px solid #444 ; /* Match other borders */
3168 border-radius: 8px;
32- padding-top: 25px; /* Pushes content down to make space for the title */
69+ padding-top: 25px;
3370}
3471
3572QGroupBox::title {
36- /* Positions the title inside the top border */
3773 subcontrol-origin: margin;
3874 subcontrol-position: top left;
39-
40- /* Style for the title itself */
41- padding: 4px 10px;
75+ padding: 4px 12px;
4276 margin-left: 10px;
43- background-color: #666 ; /* A distinct but harmonious background for the title */
44- color: #eee ;
77+ background-color: #0078d4 ; /* Use accent color for titles */
78+ color: #fff ;
4579 border-radius: 5px;
4680 font-weight: bold;
4781}
@@ -52,9 +86,11 @@ QProgressBar {
5286 border-radius: 5px;
5387 text-align: center;
5488 font-weight: bold;
89+ background-color: #333;
90+ border: 1px solid #444;
5591}
5692
5793QProgressBar::chunk {
58- background-color: #0078d4; /* A pleasant blue for progress */
94+ background-color: #0078d4;
5995 border-radius: 3px;
60- }
96+ }
0 commit comments