blob: 8b701871815d0076ac68b54d23b2c56dfe9e3ecc [file] [log] [blame]
Edric Milaret627500d2015-03-27 16:41:40 -04001QMainWindow {
2 border: 1px solid #CC119EDA;
3}
4
5QDialog {
6 border: 1px solid #CC119EDA;
7}
8
9QPushButton {
10 background-color: #FFF7F7F7;
11 border: 1px solid #FFCCCCCC;
12 border-radius: 3px;
13 font: bold;
14 padding: 6px;
15}
16
17QPushButton:hover:!pressed:!checked {
18 background-color:#FFE0E0E0;
19}
20
21QPushButton:hover:!pressed {
22 background-color:#FF9D9D9D;
23}
24
25QPushButton:pressed {
26 background-color:#FFD8D8D9;
27}
28
29QPushButton:checked {
30 background-color:#FF7F7F7F;
31 border-radius: 2px;
32 border-color: #FFB9B9B9;
33}
34
35QSlider::groove:horizontal {
36 height: 3px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
37 background: #FF9D9D9D;
38 margin: 2px 0;
39}
40
41QSlider::handle:horizontal {
42 background: #FFD8D8D9;
43 width: 10px;
44 margin: -9px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
45 border-radius: 2.5px;
46 border: 1px solid white;
47}
48
49QSlider::add-page:horizontal {
50 background: #FF9D9D9D;
51}
52
53QSlider::sub-page:horizontal {
54 background: #CC119EDA;
55}
56
57QLineEdit {
58 border: 1px solid #FFCCCCCC;
59 padding: 0px;
60 background: #FFFFFFFF;
61 min-height: 26px;
62}
63
64QLineEdit:focus {
65 border-color: #FF000000;
66}
67
68QListView {
69 border-color: #FF000000;
70 background: #FFFFFFFF;
71}
72
73QListView::item {
74 min-height: 25px;
75
76}
77
78QListView::item:selected {
79
80}
81
82QListView::item:selected:active {
83 background: #CC119EDA;
84}
85
86QListView::item:hover {
87 background: #66119EDA;
88}
89
90QComboBox {
91 border: 1px solid gray;
92 border-radius: 3px;
93 padding: 1px 18px 1px 3px;
94 min-width: 6em;
95}
96
97QComboBox:editable {
98 background: white;
99}
100
101QComboBox:!editable, QComboBox::drop-down:editable {
102 background: white;
103}
104
105/* QComboBox gets the "on" state when the popup is open */
106QComboBox:!editable:on, QComboBox::drop-down:editable:on {
107 background: white;
108}
109
110QComboBox:on { /* shift the text when the popup opens */
111
112}
113
114QComboBox::drop-down {
115 subcontrol-origin: padding;
116 subcontrol-position: top right;
117 width: 15px;
118
119 border-left-width: 0px;
120 border-left-color: darkgray;
121 border-left-style: solid; /* just a single line */
122
123}
124
125QComboBox::down-arrow {
126}
127
128QComboBox::down-arrow:on {
129}
130
131QToolButton {
132 background-color: rgba(255, 255, 255, 0);
133}
134
135QToolButton::menu-indicator {
136 image: none;
137}
138
139QTableWidget::indicator {
140 width: 18px;
141 height: 18px;
142}
143
144QTableWidget::indicator:checked {
145 image: url(://images/checkbox-marked-outline.png);
146}
147
148QTableWidget::indicator:unchecked {
149 image: url(://images/checkbox-blank-outline.png);
150}
151
152QListView::indicator {
153 width: 18px;
154 height: 18px;
155}
156
157QListView::indicator:checked {
158 image: url(://images/checkbox-marked-outline.png);
159}
160
161QListView::indicator:unchecked {
162 image: url(://images/checkbox-blank-outline.png);
163}
164
Edric Milaret12353822015-05-14 14:41:09 -0400165QHeaderView::section {
166 background-color: white;
167 padding-left: 4px;
168 border: none;
169 border-right: 1px solid grey;
170}
171
Edric Milaret627500d2015-03-27 16:41:40 -0400172QCheckBox::indicator {
173 width: 18px;
174 height: 18px;
175}
176
177QCheckBox::indicator:checked {
178 image: url(://images/checkbox-marked-outline.png);
179}
180
181QCheckBox::indicator:unchecked {
182 image: url(://images/checkbox-blank-outline.png);
183}
Edric Milaret12353822015-05-14 14:41:09 -0400184
185QTabWidget {
186 border:none;
187}
188QTabWidget::pane {
189 border:none;
190}
191
192QTabBar::tab {
Edric Milaret3e6aefe2015-06-05 16:07:26 -0400193 min-width: 95px;
Edric Milaret12353822015-05-14 14:41:09 -0400194 min-height: 30px;
195 font-size: 20px;
196 color: black;
197 border-bottom-color: #C2C7CB;
198 padding: 0px;
199}
200
201QTabBar::tab:selected {
202 font-weight: bold;
203 border-bottom-style: none;
204}