Mercurial > minori
annotate rc/dark.qss @ 145:8e9b71970bda
linux: fix stupid bug caused by... me?
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 12 Nov 2023 18:38:38 -0500 |
parents | 39521c47c7a3 |
children | 03b444cbe55f |
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; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
201 margin: 0.18em; |
105
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
204 QMenu::icon { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
205 margin: 0.23em; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
208 QMenu::item { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
209 /* 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
|
210 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
|
211 border: 0.09em solid transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
212 background: transparent; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
215 QMenu::item:selected { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
216 color: white; |
107
49c8d1976869
themes/dark: make QMenuBar and QMenu look better
Paper <mrpapersonic@gmail.com>
parents:
105
diff
changeset
|
217 background-color: #414141; |
105
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
220 QMenu::item:selected:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
221 background-color: #353535; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
224 QMenu::item:disabled { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
225 color: #808080; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
228 QMenu::indicator { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
229 width: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
230 height: 0.8em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
231 /* 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
|
232 margin-left: 0.3em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
233 subcontrol-position: center left; |
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 /* |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
237 * QHeaderView: |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
238 * 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
|
239 */ |
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 QHeaderView { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
242 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
243 border: 0.04em transparent; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
244 border-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
245 margin: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
246 padding: 0em; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
249 QHeaderView::section { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
250 background-color: #353535; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
251 border: 0.04em solid #808080; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
252 color: #eff0f1; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
253 border-radius: 0em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
254 padding: 0em 0.23em 0em 0.23em; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
255 text-align: center; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
258 QHeaderView::section::vertical::first, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
259 QHeaderView::section::vertical::only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
260 border-top: 0.04em solid #808080; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
263 QHeaderView::section::vertical { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
264 border-top: transparent; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
267 QHeaderView::section::horizontal::first, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
268 QHeaderView::section::horizontal::only-one { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
269 border-left: 0.04em solid #808080; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
272 QHeaderView::section::horizontal { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
273 border-left: transparent; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
276 QHeaderView[showSortIndicator="true"]::section::horizontal { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
277 /* 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
|
278 padding-right: 0.8em; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
281 QHeaderView::section:checked { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
282 color: white; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
283 background-color: #2A82DA; |
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 |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
286 /* 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
|
287 QHeaderView::section:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
288 QHeaderView::section::horizontal::first:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
289 QHeaderView::section::horizontal::only-one:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
290 QHeaderView::section::vertical::first:hover, |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
291 QHeaderView::section::vertical::only-one:hover { |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
292 border: 0.04em solid #2A82DA; |
6d8da6e64d61
theme: add dark stylesheet, make it actually usable
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
293 } |