Mercurial > minori
annotate rc/dark.qss @ 231:69f4768a820c
chore: merge divergent branches
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:43:41 -0500 |
parents | 03b444cbe55f |
children |
rev | line source |
---|---|
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
1 /* |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
2 Much of this is taken from the Breeze Style Sheets, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
3 which is under the MIT license: |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
4 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
5 Copyright © `<2013-2014>` `<Colin Duquesnoy>` |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
6 Copyright © `<2015-2016>` `<Alex Huszagh>` |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
7 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
8 Permission is hereby granted, free of charge, to any person |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
9 obtaining a copy of this software and associated documentation |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
10 files (the “Software”), to deal in the Software without |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
11 restriction, including without limitation the rights to use, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
12 copy, modify, merge, publish, distribute, sublicense, and/or sell |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
13 copies of the Software, and to permit persons to whom the |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
14 Software is furnished to do so, subject to the following |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
15 conditions: |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
16 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
17 The above copyright notice and this permission notice shall be |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
18 included in all copies or substantial portions of the Software. |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
19 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
20 THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
21 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
22 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
23 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
24 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
25 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
26 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
27 OTHER DEALINGS IN THE SOFTWARE. |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
28 */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
29 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
30 /* Colors should be the same as the QPalette in gui/theme.cc, i.e.: |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
31 window == darkgray == #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
32 ??? == gray == #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
33 base == black == #191919; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
34 highlighted == blue = #2A82DA; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
35 We could include a preprocessor like sass to make these constants, |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
36 but that's really lame :( |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
37 */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
38 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
39 AnimeListPage::pane { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
40 margin: 0.04em; |
109
79714c95a145
*: add translation files and locale files
Paper <mrpapersonic@gmail.com>
parents:
107
diff
changeset
|
41 border: 0.04em solid #808080; |
79714c95a145
*: add translation files and locale files
Paper <mrpapersonic@gmail.com>
parents:
107
diff
changeset
|
42 top: -0.04em; |
79714c95a145
*: add translation files and locale files
Paper <mrpapersonic@gmail.com>
parents:
107
diff
changeset
|
43 left: -0.04em; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
44 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
45 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
46 QTabWidget::pane:top { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
47 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
48 top: -0.04em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
49 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
50 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
51 QTabWidget::pane:bottom { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
52 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
53 bottom: -0.04em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
54 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
55 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
56 QTabWidget::pane:left { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
57 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
58 left: -0.04em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
59 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
60 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
61 QTabWidget::pane:right { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
62 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
63 right: -0.04em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
64 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
65 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
66 QTabBar { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
67 qproperty-drawBase: 0; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
68 left: 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
69 border-radius: 0.13em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
70 selection-color: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
71 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
72 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
73 QTabBar:focus { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
74 border: 0em transparent black; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
75 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
76 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
77 QTabBar::tab:top, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
78 QTabBar::tab:top:last, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
79 QTabBar::tab:top:only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
80 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
81 border: 0.04em transparent black; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
82 border-left: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
83 border-right: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
84 border-top: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
85 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
86 min-width: 50px; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
87 padding-top: 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
88 padding-bottom: 0.23em; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
89 padding-left: 0.78em; |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
90 padding-right: 0.78em; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
91 border-radius: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
92 border-bottom-left-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
93 border-bottom-right-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
94 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
95 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
96 QTabBar::tab:top:!selected { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
97 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
98 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
99 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
100 border-radius: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
101 border-bottom-left-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
102 border-bottom-right-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
103 margin-top: 0.13em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
104 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
105 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
106 QTabBar::tab:top:next-selected { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
107 border-right: 0.04em transparent #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
108 border-bottom-left-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
109 border-bottom-right-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
110 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
111 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
112 QTabBar::tab:top:previous-selected { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
113 border-left: 0.04em transparent #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
114 border-bottom-left-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
115 border-bottom-right-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
116 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
117 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
118 QTabBar::tab:top:!selected:hover { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
119 background-color: rgba(42, 130, 218, 0.1); |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
120 border-radius: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
121 border-bottom-left-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
122 border-bottom-right-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
123 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
124 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
125 QTabBar::tab:top:!selected:first:hover { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
126 background-color: rgba(42, 130, 218, 0.1); |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
127 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
128 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
129 QGroupBox::title { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
130 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
131 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
132 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
133 QComboBox, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
134 QPushButton, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
135 QDateEdit, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
136 QSpinBox { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
137 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
138 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
139 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
140 |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
141 QComboBox, |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
142 QDateEdit, |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
143 QSpinBox { |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
144 border: 0.04em solid #808080; |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
145 } |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
146 |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
147 QComboBox:disabled, |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
148 QPushButton:disabled, |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
149 QDateEdit:disabled, |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
150 QSpinBox:disabled { |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
151 color: #808080; |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
152 } |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
153 |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
154 QPushButton:hover { |
109
79714c95a145
*: add translation files and locale files
Paper <mrpapersonic@gmail.com>
parents:
107
diff
changeset
|
155 background-color: #39424B; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
156 } |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
157 |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
158 /* |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
159 * QLineEdit |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
160 */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
161 |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
162 QLineEdit { |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
163 background: transparent; |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
109
diff
changeset
|
164 color: white; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
165 } |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
166 |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
167 QLineEdit:!read-only { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
168 background-color: #191919; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
169 padding: 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
170 border-style: solid; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
171 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
172 border-radius: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
173 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
174 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
175 /* QMenuBar */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
176 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
177 QMenuBar { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
178 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
179 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
180 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
181 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
182 QMenuBar::item:selected { |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
183 background-color: #414141; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
184 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
185 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
186 QMenuBar::item:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
187 color: #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
188 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
189 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
190 QMenuBar::item:pressed { |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
191 background-color: #414141; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
192 margin-bottom: -0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
193 padding-bottom: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
194 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
195 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
196 /* QMenu */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
197 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
198 QMenu { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
199 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
200 background-color: #353535; |
171
03b444cbe55f
graph: improve? drawing the text
Paper <mrpapersonic@gmail.com>
parents:
118
diff
changeset
|
201 padding: 0.18em 0.18em; |
03b444cbe55f
graph: improve? drawing the text
Paper <mrpapersonic@gmail.com>
parents:
118
diff
changeset
|
202 border: 0.09em solid #A0A0A0; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
203 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
204 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
205 QMenu::icon { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
206 margin: 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
207 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
208 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
209 QMenu::item { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
210 /* Add extra padding on the right for the QMenu arrow */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
211 padding: 0.23em 1.5em 0.23em 1.3em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
212 border: 0.09em solid transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
213 background: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
214 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
215 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
216 QMenu::item:selected { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
217 color: white; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
218 background-color: #414141; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
219 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
220 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
221 QMenu::item:selected:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
222 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
223 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
224 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
225 QMenu::item:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
226 color: #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
227 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
228 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
229 QMenu::indicator { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
230 width: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
231 height: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
232 /* To align with QMenu::icon, which has a 0.23em margin. */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
233 margin-left: 0.3em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
234 subcontrol-position: center left; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
235 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
236 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
237 /* |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
238 * QHeaderView: |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
239 * Need this for the anime list, on Windows it gets screwed up. |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
240 */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
241 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
242 QHeaderView { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
243 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
244 border: 0.04em transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
245 border-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
246 margin: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
247 padding: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
248 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
249 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
250 QHeaderView::section { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
251 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
252 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
253 color: #eff0f1; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
254 border-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
255 padding: 0em 0.23em 0em 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
256 text-align: center; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
257 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
258 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
259 QHeaderView::section::vertical::first, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
260 QHeaderView::section::vertical::only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
261 border-top: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
262 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
263 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
264 QHeaderView::section::vertical { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
265 border-top: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
266 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
267 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
268 QHeaderView::section::horizontal::first, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
269 QHeaderView::section::horizontal::only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
270 border-left: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
271 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
272 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
273 QHeaderView::section::horizontal { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
274 border-left: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
275 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
276 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
277 QHeaderView[showSortIndicator="true"]::section::horizontal { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
278 /* Same as the width of the arrow subcontrols below. */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
279 padding-right: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
280 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
281 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
282 QHeaderView::section:checked { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
283 color: white; |
171
03b444cbe55f
graph: improve? drawing the text
Paper <mrpapersonic@gmail.com>
parents:
118
diff
changeset
|
284 background-color: #808080; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
285 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
286 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
287 /* Note that this doesn't work for QTreeView unless the header is clickable */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
288 QHeaderView::section:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
289 QHeaderView::section::horizontal::first:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
290 QHeaderView::section::horizontal::only-one:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
291 QHeaderView::section::vertical::first:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
292 QHeaderView::section::vertical::only-one:hover { |
171
03b444cbe55f
graph: improve? drawing the text
Paper <mrpapersonic@gmail.com>
parents:
118
diff
changeset
|
293 background-color: #353535; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
294 } |