Mercurial > minori
annotate rc/dark.qss @ 116:254b1d2b7096
settings: add torrents page, make rss feed configurable
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 13:52:13 -0500 |
parents | 79714c95a145 |
children | 39521c47c7a3 |
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; |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
164 } |
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
165 |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
166 QLineEdit:!read-only { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
167 background-color: #191919; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
168 padding: 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
169 border-style: solid; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
170 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
171 border-radius: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
172 } |
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 /* QMenuBar */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
175 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
176 QMenuBar { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
177 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
178 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
179 } |
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 QMenuBar::item:selected { |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
182 background-color: #414141; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
183 } |
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 QMenuBar::item:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
186 color: #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
187 } |
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 QMenuBar::item:pressed { |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
190 background-color: #414141; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
191 margin-bottom: -0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
192 padding-bottom: 0.09em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
193 } |
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 /* QMenu */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
196 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
197 QMenu { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
198 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
199 background-color: #353535; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
200 margin: 0.18em; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
201 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
202 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
203 QMenu::icon { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
204 margin: 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
205 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
206 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
207 QMenu::item { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
208 /* 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
|
209 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
|
210 border: 0.09em solid transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
211 background: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
212 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
213 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
214 QMenu::item:selected { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
215 color: white; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
216 background-color: #414141; |
105
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
217 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
218 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
219 QMenu::item:selected:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
220 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
221 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
222 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
223 QMenu::item:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
224 color: #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
225 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
226 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
227 QMenu::indicator { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
228 width: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
229 height: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
230 /* 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
|
231 margin-left: 0.3em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
232 subcontrol-position: center left; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
233 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
234 |
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 * QHeaderView: |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
237 * 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
|
238 */ |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
239 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
240 QHeaderView { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
241 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
242 border: 0.04em transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
243 border-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
244 margin: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
245 padding: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
246 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
247 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
248 QHeaderView::section { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
249 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
250 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
251 color: #eff0f1; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
252 border-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
253 padding: 0em 0.23em 0em 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
254 text-align: center; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
255 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
256 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
257 QHeaderView::section::vertical::first, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
258 QHeaderView::section::vertical::only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
259 border-top: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
260 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
261 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
262 QHeaderView::section::vertical { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
263 border-top: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
264 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
265 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
266 QHeaderView::section::horizontal::first, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
267 QHeaderView::section::horizontal::only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
268 border-left: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
269 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
270 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
271 QHeaderView::section::horizontal { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
272 border-left: transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
273 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
274 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
275 QHeaderView[showSortIndicator="true"]::section::horizontal { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
276 /* 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
|
277 padding-right: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
278 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
279 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
280 QHeaderView::section:checked { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
281 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
282 background-color: #2A82DA; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
283 } |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
284 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
285 /* 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
|
286 QHeaderView::section:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
287 QHeaderView::section::horizontal::first:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
288 QHeaderView::section::horizontal::only-one:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
289 QHeaderView::section::vertical::first:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
290 QHeaderView::section::vertical::only-one:hover { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
291 border: 0.04em solid #2A82DA; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
292 } |