To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vect.qss @ 415:011d39dc7350
History | View | Annotate | Download (8.58 KB)
| 1 |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
|---|---|
| 2 |
|
| 3 |
/* |
| 4 |
Vect |
| 5 |
An experimental audio player for plural recordings of a work |
| 6 |
Centre for Digital Music, Queen Mary, University of London. |
| 7 |
|
| 8 |
This file is based on the Thorn theme of the Rosegarden MIDI and |
| 9 |
audio sequencer and notation editor. Copyright 2006-2014 |
| 10 |
D. Michael McIntyre and the Rosegarden team. |
| 11 |
|
| 12 |
This program is free software; you can redistribute it and/or |
| 13 |
modify it under the terms of the GNU General Public License as |
| 14 |
published by the Free Software Foundation; either version 2 of the |
| 15 |
License, or (at your option) any later version. See the file |
| 16 |
COPYING included with this distribution for more information. |
| 17 |
*/ |
| 18 |
|
| 19 |
QWidget |
| 20 |
{
|
| 21 |
background: #333333; |
| 22 |
color: #FAFAFA; |
| 23 |
} |
| 24 |
|
| 25 |
QDialog |
| 26 |
{
|
| 27 |
background-color: #333333; |
| 28 |
} |
| 29 |
|
| 30 |
QToolBar |
| 31 |
{
|
| 32 |
background-color: #333333; |
| 33 |
} |
| 34 |
|
| 35 |
QToolBar::handle:top, |
| 36 |
QToolBar::handle:bottom |
| 37 |
{
|
| 38 |
image: url(:icons/style/htoolbar-separator.png); |
| 39 |
} |
| 40 |
|
| 41 |
QFrame#BottomFrame, |
| 42 |
QFrame#BottomFrame > QFrame |
| 43 |
{
|
| 44 |
background-color: #333333; |
| 45 |
} |
| 46 |
|
| 47 |
QLabel |
| 48 |
{
|
| 49 |
background: transparent; |
| 50 |
color: white; |
| 51 |
} |
| 52 |
|
| 53 |
QMenu |
| 54 |
{
|
| 55 |
background-color: #EEEEEE; |
| 56 |
border: 1px solid black; |
| 57 |
} |
| 58 |
|
| 59 |
QMenu::separator |
| 60 |
{
|
| 61 |
height: 2px; |
| 62 |
background: #AAAAAA; |
| 63 |
margin-left: 10px; |
| 64 |
margin-right: 10px; |
| 65 |
} |
| 66 |
|
| 67 |
QMenu QLabel /* title on popup */ |
| 68 |
{
|
| 69 |
background-color: transparent; |
| 70 |
color: #000000; |
| 71 |
padding: 2px 20px 2px 0px; |
| 72 |
border: 1px solid transparent; |
| 73 |
} |
| 74 |
|
| 75 |
QMenu::item:enabled |
| 76 |
{
|
| 77 |
background-color: transparent; |
| 78 |
color: #000000; |
| 79 |
padding: 2px 20px 2px 25px; |
| 80 |
border: 1px solid transparent; |
| 81 |
min-width: 12em; /* leaves room for space between item and hotkey */ |
| 82 |
} |
| 83 |
|
| 84 |
QMenu::item:!enabled |
| 85 |
{
|
| 86 |
color: #AAAAAA; |
| 87 |
padding: 2px 20px 2px 25px; |
| 88 |
border: 1px solid transparent; |
| 89 |
min-width: 12em; /* leaves room for space between item and hotkey */ |
| 90 |
} |
| 91 |
|
| 92 |
QMenu::item:selected |
| 93 |
{
|
| 94 |
background-color: #80AFFF; |
| 95 |
color: #FFFFFF; |
| 96 |
} |
| 97 |
|
| 98 |
QCheckBox:enabled QLabel, |
| 99 |
QCheckBox:enabled |
| 100 |
{
|
| 101 |
color: #FFFFFF |
| 102 |
} |
| 103 |
|
| 104 |
QCheckbox:!enabled QLabel, |
| 105 |
QCheckBox:!enabled |
| 106 |
{
|
| 107 |
color: #000000; |
| 108 |
} |
| 109 |
/* |
| 110 |
QCheckBox::indicator:enabled |
| 111 |
{
|
| 112 |
background: url(:icons/style/checkbox-checked.png); |
| 113 |
} |
| 114 |
*/ |
| 115 |
QCheckBox |
| 116 |
{
|
| 117 |
spacing: 5px; |
| 118 |
} |
| 119 |
|
| 120 |
QCheckBox::indicator |
| 121 |
{
|
| 122 |
width: 13px; |
| 123 |
height: 13px; |
| 124 |
} |
| 125 |
/* |
| 126 |
QCheckBox::indicator:unchecked |
| 127 |
{
|
| 128 |
image: url(:icons/style/checkbox_unchecked.png); |
| 129 |
} |
| 130 |
|
| 131 |
QCheckBox::indicator:!enabled |
| 132 |
{
|
| 133 |
image: url(:icons/style/checkbox_disabled.png); |
| 134 |
} |
| 135 |
|
| 136 |
QCheckBox::indicator:checked:!enabled |
| 137 |
{
|
| 138 |
image: url(:icons/style/checkbox_checked_disabled.png); |
| 139 |
} |
| 140 |
|
| 141 |
QCheckBox::indicator:unchecked:hover |
| 142 |
{
|
| 143 |
image: url(:icons/style/checkbox_unchecked_hover.png); |
| 144 |
} |
| 145 |
|
| 146 |
QCheckBox::indicator:unchecked:pressed |
| 147 |
{
|
| 148 |
image: url(:icons/style/checkbox_unchecked_pressed.png); |
| 149 |
} |
| 150 |
|
| 151 |
QCheckBox::indicator:checked |
| 152 |
{
|
| 153 |
image: url(:icons/style/checkbox_checked.png); |
| 154 |
} |
| 155 |
|
| 156 |
QCheckBox::indicator:checked:hover |
| 157 |
{
|
| 158 |
image: url(:icons/style/checkbox_checked_hover.png); |
| 159 |
} |
| 160 |
|
| 161 |
QCheckBox::indicator:checked:pressed |
| 162 |
{
|
| 163 |
image: url(:icons/style/checkbox_checked_pressed.png); |
| 164 |
} |
| 165 |
|
| 166 |
QCheckBox::indicator:indeterminate |
| 167 |
{
|
| 168 |
image: url(:icons/style/checkbox_indeterminate.png); |
| 169 |
} |
| 170 |
|
| 171 |
QCheckBox::indicator:indeterminate:hover |
| 172 |
{
|
| 173 |
image: url(:icons/style/checkbox_indeterminate_hover.png); |
| 174 |
} |
| 175 |
|
| 176 |
QCheckBox::indicator:indeterminate:pressed |
| 177 |
{
|
| 178 |
image: url(:icons/style/checkbox_indeterminate_pressed.png); |
| 179 |
} |
| 180 |
*/ |
| 181 |
QRadioButton:enabled QLabel, |
| 182 |
QRadioButton:enabled |
| 183 |
{
|
| 184 |
color: #FFFFFF; |
| 185 |
} |
| 186 |
|
| 187 |
QRadioButton:!enabled QLabel, |
| 188 |
QRadioButton:!enabled |
| 189 |
{
|
| 190 |
color: #000000; |
| 191 |
} |
| 192 |
|
| 193 |
QRadioButton::indicator |
| 194 |
{
|
| 195 |
width: 13px; |
| 196 |
height: 13px; |
| 197 |
} |
| 198 |
|
| 199 |
QRadioButton::indicator::unchecked:enabled |
| 200 |
{
|
| 201 |
image: url(:icons/style/radiobutton_unchecked.png); |
| 202 |
} |
| 203 |
|
| 204 |
QRadioButton::indicator::unchecked:!enabled |
| 205 |
{
|
| 206 |
image: url(:icons/style/radiobutton_unchecked_disabled.png); |
| 207 |
} |
| 208 |
|
| 209 |
QRadioButton::indicator:unchecked:hover:enabled |
| 210 |
{
|
| 211 |
image: url(:icons/style/radiobutton_unchecked_hover.png); |
| 212 |
} |
| 213 |
|
| 214 |
QRadioButton::indicator:unchecked:hover:!enabled |
| 215 |
{
|
| 216 |
image: url(:icons/style/radiobutton_unchecked_hover_disabled.png); |
| 217 |
} |
| 218 |
|
| 219 |
QRadioButton::indicator:unchecked:pressed:enabled |
| 220 |
{
|
| 221 |
image: url(:icons/style/radiobutton_unchecked_pressed.png); |
| 222 |
} |
| 223 |
|
| 224 |
QRadioButton::indicator:unchecked:pressed:!enabled |
| 225 |
{
|
| 226 |
image: url(:icons/style/radiobutton_unchecked_pressed_disabled.png); |
| 227 |
} |
| 228 |
|
| 229 |
QRadioButton::indicator::checked:enabled |
| 230 |
{
|
| 231 |
image: url(:icons/style/radiobutton_checked.png); |
| 232 |
} |
| 233 |
|
| 234 |
QRadioButton::indicator::checked:!enabled |
| 235 |
{
|
| 236 |
image: url(:icons/style/radiobutton_checked_disabled.png); |
| 237 |
} |
| 238 |
|
| 239 |
QRadioButton::indicator:checked:hover:enabled |
| 240 |
{
|
| 241 |
image: url(:icons/style/radiobutton_checked_hover.png); |
| 242 |
} |
| 243 |
|
| 244 |
QRadioButton::indicator:checked:hover:!enabled |
| 245 |
{
|
| 246 |
image: url(:icons/style/radiobutton_checked_hover_disabled.png); |
| 247 |
} |
| 248 |
|
| 249 |
QRadioButton::indicator:checked:pressed:enabled |
| 250 |
{
|
| 251 |
image: url(:icons/style/radiobutton_checked_pressed.png); |
| 252 |
} |
| 253 |
|
| 254 |
QRadioButton::indicator:checked:pressed:!enabled |
| 255 |
{
|
| 256 |
image: url(:icons/style/radiobutton_checked_pressed_disabled.png); |
| 257 |
} |
| 258 |
|
| 259 |
QMenuBar |
| 260 |
{
|
| 261 |
background-color: #404040; |
| 262 |
} |
| 263 |
|
| 264 |
QMenuBar::item |
| 265 |
{
|
| 266 |
spacing: 3px; /* spacing between menu bar items */ |
| 267 |
padding: 1px 4px; |
| 268 |
background: transparent; |
| 269 |
color: #FFFFFF; |
| 270 |
} |
| 271 |
|
| 272 |
QMenuBar::item:selected |
| 273 |
{
|
| 274 |
background-color: #80AFFF; |
| 275 |
color: #FFFFFF; |
| 276 |
} |
| 277 |
|
| 278 |
QMenuBar::item:pressed |
| 279 |
{
|
| 280 |
background-color: #BBCEFF; |
| 281 |
} |
| 282 |
|
| 283 |
QMessageBox |
| 284 |
{
|
| 285 |
background: #000000; |
| 286 |
} |
| 287 |
|
| 288 |
QProgressBar |
| 289 |
{
|
| 290 |
border: 1px solid #AAAAAA; |
| 291 |
border-radius: 3px; |
| 292 |
text-align: center; |
| 293 |
background: #FFFFFF; |
| 294 |
} |
| 295 |
|
| 296 |
QProgressBar::chunk |
| 297 |
{
|
| 298 |
background-color: #89B8E7; |
| 299 |
width: 20px; |
| 300 |
} |
| 301 |
|
| 302 |
QToolButton[popupMode="1"] |
| 303 |
{ /* only for MenuButtonPopup */
|
| 304 |
padding-right: 5px; /* make way for the popup button */ |
| 305 |
} |
| 306 |
|
| 307 |
QToolButton::menu-arrow |
| 308 |
{
|
| 309 |
image: url(:icons/style/arrow-down-small.png); |
| 310 |
} |
| 311 |
|
| 312 |
QToolButton::menu-arrow:open |
| 313 |
{
|
| 314 |
top: 1px; left: 1px; /* shift it a bit */ |
| 315 |
} |
| 316 |
|
| 317 |
QToolButton::menu-button |
| 318 |
{
|
| 319 |
background: transparent; |
| 320 |
border: none; |
| 321 |
} |
| 322 |
|
| 323 |
QToolButton::up-arrow |
| 324 |
{
|
| 325 |
image: url(:icons/style/arrow-up-small.png); |
| 326 |
} |
| 327 |
|
| 328 |
QToolButton::down-arrow |
| 329 |
{
|
| 330 |
subcontrol-position: right bottom; |
| 331 |
image: url(:icons/style/arrow-down-small.png); |
| 332 |
} |
| 333 |
|
| 334 |
QToolButton, |
| 335 |
QToolButton::enabled |
| 336 |
{
|
| 337 |
color: #FFFFFF; |
| 338 |
background-color: transparent; |
| 339 |
border: 2px solid transparent; |
| 340 |
border-radius: 2px; |
| 341 |
} |
| 342 |
|
| 343 |
QToolButton::pressed, |
| 344 |
QToolButton::checked |
| 345 |
{
|
| 346 |
border: 2px solid #AAAAAA; |
| 347 |
border-radius: 2px; |
| 348 |
background-color: #666666; |
| 349 |
} |
| 350 |
|
| 351 |
QToolButton::enabled:hover |
| 352 |
{
|
| 353 |
border: 2px solid #AAAAAA; |
| 354 |
border-radius: 2px; |
| 355 |
background-color: #666666; |
| 356 |
} |
| 357 |
|
| 358 |
QToolButton::!enabled |
| 359 |
{
|
| 360 |
color: #FFFFFF; |
| 361 |
background-color: transparent; |
| 362 |
} |
| 363 |
|
| 364 |
QToolButton::menu-indicator |
| 365 |
{
|
| 366 |
/* the arrow on tool buttons with menus in ImmediatePopup mode is |
| 367 |
* intentionally styled out of existence */ |
| 368 |
background: transparent; |
| 369 |
} |
| 370 |
|
| 371 |
QComboBox {
|
| 372 |
border: 1px solid #AAAAAA; |
| 373 |
border-radius: 3px; |
| 374 |
color: #FFFFFF; |
| 375 |
} |
| 376 |
|
| 377 |
QComboBox:enabled {
|
| 378 |
color: #FFFFFF; |
| 379 |
} |
| 380 |
|
| 381 |
QComboBox:disabled {
|
| 382 |
color: #909090; |
| 383 |
} |
| 384 |
|
| 385 |
QComboBox QAbstractItemView {
|
| 386 |
background-color: #EEEEEE; |
| 387 |
border: 1px solid black; |
| 388 |
color: #000000; |
| 389 |
} |
| 390 |
|
| 391 |
QComboBox QAbstractItemView::separator |
| 392 |
{
|
| 393 |
height: 2px; |
| 394 |
background: #AAAAAA; |
| 395 |
margin-left: 10px; |
| 396 |
margin-right: 5px; |
| 397 |
} |
| 398 |
|
| 399 |
QComboBox QAbstractItemView::item:enabled |
| 400 |
{
|
| 401 |
/* sets background of menu item. set this to something non-transparent |
| 402 |
if you want menu color and menu item color to be different */ |
| 403 |
background-color: transparent; |
| 404 |
color: #000000; |
| 405 |
padding: 2px 25px 2px 20px; |
| 406 |
border: 1px solid transparent; |
| 407 |
min-width: 12em; /* leaves room for space between item and hotkey */ |
| 408 |
} |
| 409 |
|
| 410 |
QComboBox QAbstractItemView::item:!enabled |
| 411 |
{
|
| 412 |
color: #AAAAAA; |
| 413 |
padding: 2px 25px 2px 20px; |
| 414 |
border: 1px solid transparent; |
| 415 |
min-width: 12em; /* leaves room for space between item and hotkey */ |
| 416 |
} |
| 417 |
|
| 418 |
QComboBox QAbstractItemView::item:selected |
| 419 |
{
|
| 420 |
background-color: #80AFFF; |
| 421 |
color: #FFFFFF; |
| 422 |
} |
| 423 |
|
| 424 |
QFileDialog |
| 425 |
{
|
| 426 |
leftarrow-icon: url(:icons/style/arrow-left-inverted.png); |
| 427 |
rightarrow-icon: url(:icons/style/arrow-right-inverted.png); |
| 428 |
uparrow-icon: url(:icons/style/arrow-up-inverted.png); |
| 429 |
} |
| 430 |
|
| 431 |
QPushButton, |
| 432 |
QFileDialog QPushButton, |
| 433 |
QDialog QPushButton |
| 434 |
{
|
| 435 |
border: 2px solid #AAAAAA; |
| 436 |
border-radius: 2px; |
| 437 |
padding: 0.18em; |
| 438 |
padding-left: 0.5em; |
| 439 |
padding-right: 0.5em; |
| 440 |
margin-top: 0.1em; |
| 441 |
margin-bottom: 0.1em; |
| 442 |
margin-left: 0.2em; |
| 443 |
margin-right: 0.2em; |
| 444 |
} |
| 445 |
|
| 446 |
QPushButton:disabled, |
| 447 |
QFileDialog QPushButton:disabled, |
| 448 |
QDialog QPushButton:disabled |
| 449 |
{
|
| 450 |
color: #AAAAAA; |
| 451 |
} |
| 452 |
|
| 453 |
QPushButton:pressed, |
| 454 |
QFileDialog QPushButton:pressed, |
| 455 |
QDialog QPushButton:pressed, |
| 456 |
QFileDialog QPushButton:on, |
| 457 |
QDialog QPushButton:on |
| 458 |
{
|
| 459 |
background-color: #BBCEFF; |
| 460 |
} |
| 461 |
|
| 462 |
QPushButton::enabled:hover |
| 463 |
{
|
| 464 |
background-color: #666666; |
| 465 |
} |
| 466 |
|
| 467 |
QPushButton::checked |
| 468 |
{
|
| 469 |
background-color: #666666; |
| 470 |
} |