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
History | View | Annotate | Download (8.58 KB)
| 1 | 70:0b3e194cd633 | Chris | /* -*- 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 | 119:e7d1e7ab0e00 | Chris | background: #333333; |
| 22 | 175:741f88f51b06 | Chris | color: #FAFAFA; |
| 23 | 70:0b3e194cd633 | Chris | } |
| 24 | |||
| 25 | 119:e7d1e7ab0e00 | Chris | QDialog |
| 26 | 70:0b3e194cd633 | Chris | {
|
| 27 | 119:e7d1e7ab0e00 | Chris | background-color: #333333; |
| 28 | 70:0b3e194cd633 | Chris | } |
| 29 | |||
| 30 | 175:741f88f51b06 | Chris | QToolBar |
| 31 | 70:0b3e194cd633 | Chris | {
|
| 32 | 140:a813463b162a | Chris | background-color: #333333; |
| 33 | 70:0b3e194cd633 | Chris | } |
| 34 | |||
| 35 | QToolBar::handle:top, |
||
| 36 | QToolBar::handle:bottom |
||
| 37 | {
|
||
| 38 | 119:e7d1e7ab0e00 | Chris | image: url(:icons/style/htoolbar-separator.png); |
| 39 | 70:0b3e194cd633 | Chris | } |
| 40 | |||
| 41 | 129:42e8fc44919f | Chris | QFrame#BottomFrame, |
| 42 | QFrame#BottomFrame > QFrame |
||
| 43 | {
|
||
| 44 | 140:a813463b162a | Chris | background-color: #333333; |
| 45 | 129:42e8fc44919f | Chris | } |
| 46 | 70:0b3e194cd633 | Chris | |
| 47 | 119:e7d1e7ab0e00 | Chris | QLabel |
| 48 | 70:0b3e194cd633 | Chris | {
|
| 49 | background: transparent; |
||
| 50 | color: white; |
||
| 51 | } |
||
| 52 | |||
| 53 | 73:d86a7f8175e9 | Chris | QMenu |
| 54 | 70:0b3e194cd633 | Chris | {
|
| 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 | 204:8f25e6e0f6e0 | Chris | margin-right: 10px; |
| 65 | 70:0b3e194cd633 | Chris | } |
| 66 | |||
| 67 | 415:011d39dc7350 | Chris | 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 | 73:d86a7f8175e9 | Chris | QMenu::item:enabled |
| 76 | 70:0b3e194cd633 | Chris | {
|
| 77 | background-color: transparent; |
||
| 78 | color: #000000; |
||
| 79 | 204:8f25e6e0f6e0 | Chris | padding: 2px 20px 2px 25px; |
| 80 | 70:0b3e194cd633 | Chris | border: 1px solid transparent; |
| 81 | min-width: 12em; /* leaves room for space between item and hotkey */ |
||
| 82 | } |
||
| 83 | |||
| 84 | 73:d86a7f8175e9 | Chris | QMenu::item:!enabled |
| 85 | 70:0b3e194cd633 | Chris | {
|
| 86 | color: #AAAAAA; |
||
| 87 | 204:8f25e6e0f6e0 | Chris | padding: 2px 20px 2px 25px; |
| 88 | 70:0b3e194cd633 | Chris | border: 1px solid transparent; |
| 89 | min-width: 12em; /* leaves room for space between item and hotkey */ |
||
| 90 | } |
||
| 91 | |||
| 92 | 73:d86a7f8175e9 | Chris | QMenu::item:selected |
| 93 | 70:0b3e194cd633 | Chris | {
|
| 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 | 229:a50065368721 | Chris | /* |
| 110 | 70:0b3e194cd633 | Chris | QCheckBox::indicator:enabled |
| 111 | {
|
||
| 112 | 119:e7d1e7ab0e00 | Chris | background: url(:icons/style/checkbox-checked.png); |
| 113 | 70:0b3e194cd633 | Chris | } |
| 114 | 229:a50065368721 | Chris | */ |
| 115 | 70:0b3e194cd633 | Chris | QCheckBox |
| 116 | {
|
||
| 117 | spacing: 5px; |
||
| 118 | } |
||
| 119 | |||
| 120 | QCheckBox::indicator |
||
| 121 | {
|
||
| 122 | width: 13px; |
||
| 123 | height: 13px; |
||
| 124 | } |
||
| 125 | 229:a50065368721 | Chris | /* |
| 126 | 70:0b3e194cd633 | Chris | QCheckBox::indicator:unchecked |
| 127 | {
|
||
| 128 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_unchecked.png); |
| 129 | 70:0b3e194cd633 | Chris | } |
| 130 | |||
| 131 | QCheckBox::indicator:!enabled |
||
| 132 | {
|
||
| 133 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_disabled.png); |
| 134 | 70:0b3e194cd633 | Chris | } |
| 135 | |||
| 136 | QCheckBox::indicator:checked:!enabled |
||
| 137 | {
|
||
| 138 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_checked_disabled.png); |
| 139 | 70:0b3e194cd633 | Chris | } |
| 140 | |||
| 141 | QCheckBox::indicator:unchecked:hover |
||
| 142 | {
|
||
| 143 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_unchecked_hover.png); |
| 144 | 70:0b3e194cd633 | Chris | } |
| 145 | |||
| 146 | QCheckBox::indicator:unchecked:pressed |
||
| 147 | {
|
||
| 148 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_unchecked_pressed.png); |
| 149 | 70:0b3e194cd633 | Chris | } |
| 150 | |||
| 151 | QCheckBox::indicator:checked |
||
| 152 | {
|
||
| 153 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_checked.png); |
| 154 | 70:0b3e194cd633 | Chris | } |
| 155 | |||
| 156 | QCheckBox::indicator:checked:hover |
||
| 157 | {
|
||
| 158 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_checked_hover.png); |
| 159 | 70:0b3e194cd633 | Chris | } |
| 160 | |||
| 161 | QCheckBox::indicator:checked:pressed |
||
| 162 | {
|
||
| 163 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_checked_pressed.png); |
| 164 | 70:0b3e194cd633 | Chris | } |
| 165 | |||
| 166 | QCheckBox::indicator:indeterminate |
||
| 167 | {
|
||
| 168 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_indeterminate.png); |
| 169 | 70:0b3e194cd633 | Chris | } |
| 170 | |||
| 171 | QCheckBox::indicator:indeterminate:hover |
||
| 172 | {
|
||
| 173 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_indeterminate_hover.png); |
| 174 | 70:0b3e194cd633 | Chris | } |
| 175 | |||
| 176 | QCheckBox::indicator:indeterminate:pressed |
||
| 177 | {
|
||
| 178 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/checkbox_indeterminate_pressed.png); |
| 179 | 70:0b3e194cd633 | Chris | } |
| 180 | 229:a50065368721 | Chris | */ |
| 181 | 70:0b3e194cd633 | Chris | 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 | 73:d86a7f8175e9 | Chris | |
| 199 | 70:0b3e194cd633 | Chris | QRadioButton::indicator::unchecked:enabled |
| 200 | {
|
||
| 201 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_unchecked.png); |
| 202 | 70:0b3e194cd633 | Chris | } |
| 203 | |||
| 204 | QRadioButton::indicator::unchecked:!enabled |
||
| 205 | {
|
||
| 206 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_unchecked_disabled.png); |
| 207 | 70:0b3e194cd633 | Chris | } |
| 208 | |||
| 209 | QRadioButton::indicator:unchecked:hover:enabled |
||
| 210 | {
|
||
| 211 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_unchecked_hover.png); |
| 212 | 70:0b3e194cd633 | Chris | } |
| 213 | |||
| 214 | QRadioButton::indicator:unchecked:hover:!enabled |
||
| 215 | {
|
||
| 216 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_unchecked_hover_disabled.png); |
| 217 | 70:0b3e194cd633 | Chris | } |
| 218 | |||
| 219 | QRadioButton::indicator:unchecked:pressed:enabled |
||
| 220 | {
|
||
| 221 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_unchecked_pressed.png); |
| 222 | 70:0b3e194cd633 | Chris | } |
| 223 | |||
| 224 | QRadioButton::indicator:unchecked:pressed:!enabled |
||
| 225 | {
|
||
| 226 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_unchecked_pressed_disabled.png); |
| 227 | 70:0b3e194cd633 | Chris | } |
| 228 | |||
| 229 | QRadioButton::indicator::checked:enabled |
||
| 230 | {
|
||
| 231 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_checked.png); |
| 232 | 70:0b3e194cd633 | Chris | } |
| 233 | |||
| 234 | QRadioButton::indicator::checked:!enabled |
||
| 235 | {
|
||
| 236 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_checked_disabled.png); |
| 237 | 70:0b3e194cd633 | Chris | } |
| 238 | |||
| 239 | QRadioButton::indicator:checked:hover:enabled |
||
| 240 | {
|
||
| 241 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_checked_hover.png); |
| 242 | 70:0b3e194cd633 | Chris | } |
| 243 | |||
| 244 | QRadioButton::indicator:checked:hover:!enabled |
||
| 245 | {
|
||
| 246 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_checked_hover_disabled.png); |
| 247 | 70:0b3e194cd633 | Chris | } |
| 248 | |||
| 249 | QRadioButton::indicator:checked:pressed:enabled |
||
| 250 | {
|
||
| 251 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_checked_pressed.png); |
| 252 | 70:0b3e194cd633 | Chris | } |
| 253 | |||
| 254 | QRadioButton::indicator:checked:pressed:!enabled |
||
| 255 | {
|
||
| 256 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/radiobutton_checked_pressed_disabled.png); |
| 257 | 70:0b3e194cd633 | Chris | } |
| 258 | 73:d86a7f8175e9 | Chris | |
| 259 | QMenuBar |
||
| 260 | 70:0b3e194cd633 | Chris | {
|
| 261 | background-color: #404040; |
||
| 262 | } |
||
| 263 | |||
| 264 | 73:d86a7f8175e9 | Chris | QMenuBar::item |
| 265 | 70:0b3e194cd633 | Chris | {
|
| 266 | spacing: 3px; /* spacing between menu bar items */ |
||
| 267 | padding: 1px 4px; |
||
| 268 | background: transparent; |
||
| 269 | color: #FFFFFF; |
||
| 270 | } |
||
| 271 | |||
| 272 | 73:d86a7f8175e9 | Chris | QMenuBar::item:selected |
| 273 | 70:0b3e194cd633 | Chris | {
|
| 274 | background-color: #80AFFF; |
||
| 275 | color: #FFFFFF; |
||
| 276 | } |
||
| 277 | |||
| 278 | 73:d86a7f8175e9 | Chris | QMenuBar::item:pressed |
| 279 | 70:0b3e194cd633 | Chris | {
|
| 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 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/arrow-down-small.png); |
| 310 | 70:0b3e194cd633 | Chris | } |
| 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 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/arrow-up-small.png); |
| 326 | 70:0b3e194cd633 | Chris | } |
| 327 | |||
| 328 | QToolButton::down-arrow |
||
| 329 | {
|
||
| 330 | subcontrol-position: right bottom; |
||
| 331 | 73:d86a7f8175e9 | Chris | image: url(:icons/style/arrow-down-small.png); |
| 332 | 70:0b3e194cd633 | Chris | } |
| 333 | |||
| 334 | QToolButton, |
||
| 335 | 74:20e476621d2c | Chris | QToolButton::enabled |
| 336 | 70:0b3e194cd633 | Chris | {
|
| 337 | color: #FFFFFF; |
||
| 338 | background-color: transparent; |
||
| 339 | 150:72eb8990652a | Chris | border: 2px solid transparent; |
| 340 | 70:0b3e194cd633 | Chris | border-radius: 2px; |
| 341 | } |
||
| 342 | |||
| 343 | QToolButton::pressed, |
||
| 344 | 74:20e476621d2c | Chris | QToolButton::checked |
| 345 | 70:0b3e194cd633 | Chris | {
|
| 346 | 140:a813463b162a | Chris | border: 2px solid #AAAAAA; |
| 347 | 70:0b3e194cd633 | Chris | border-radius: 2px; |
| 348 | 150:72eb8990652a | Chris | background-color: #666666; |
| 349 | 70:0b3e194cd633 | Chris | } |
| 350 | |||
| 351 | 74:20e476621d2c | Chris | QToolButton::enabled:hover |
| 352 | 70:0b3e194cd633 | Chris | {
|
| 353 | 140:a813463b162a | Chris | border: 2px solid #AAAAAA; |
| 354 | 70:0b3e194cd633 | Chris | border-radius: 2px; |
| 355 | 140:a813463b162a | Chris | background-color: #666666; |
| 356 | 70:0b3e194cd633 | Chris | } |
| 357 | |||
| 358 | 74:20e476621d2c | Chris | QToolButton::!enabled |
| 359 | 70:0b3e194cd633 | Chris | {
|
| 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 | 74:20e476621d2c | Chris | 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 | 70:0b3e194cd633 | Chris | |
| 424 | QFileDialog |
||
| 425 | {
|
||
| 426 | 73:d86a7f8175e9 | Chris | 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 | 70:0b3e194cd633 | Chris | } |
| 430 | 73:d86a7f8175e9 | Chris | |
| 431 | 140:a813463b162a | Chris | QPushButton, |
| 432 | QFileDialog QPushButton, |
||
| 433 | QDialog QPushButton |
||
| 434 | 73:d86a7f8175e9 | Chris | {
|
| 435 | 140:a813463b162a | Chris | border: 2px solid #AAAAAA; |
| 436 | border-radius: 2px; |
||
| 437 | 73:d86a7f8175e9 | Chris | padding: 0.18em; |
| 438 | padding-left: 0.5em; |
||
| 439 | padding-right: 0.5em; |
||
| 440 | 150:72eb8990652a | Chris | margin-top: 0.1em; |
| 441 | margin-bottom: 0.1em; |
||
| 442 | margin-left: 0.2em; |
||
| 443 | margin-right: 0.2em; |
||
| 444 | 73:d86a7f8175e9 | Chris | } |
| 445 | |||
| 446 | 140:a813463b162a | Chris | QPushButton:disabled, |
| 447 | QFileDialog QPushButton:disabled, |
||
| 448 | QDialog QPushButton:disabled |
||
| 449 | 73:d86a7f8175e9 | Chris | {
|
| 450 | 140:a813463b162a | Chris | color: #AAAAAA; |
| 451 | 73:d86a7f8175e9 | Chris | } |
| 452 | |||
| 453 | 140:a813463b162a | Chris | QPushButton:pressed, |
| 454 | QFileDialog QPushButton:pressed, |
||
| 455 | QDialog QPushButton:pressed, |
||
| 456 | QFileDialog QPushButton:on, |
||
| 457 | QDialog QPushButton:on |
||
| 458 | 73:d86a7f8175e9 | Chris | {
|
| 459 | 140:a813463b162a | Chris | background-color: #BBCEFF; |
| 460 | 73:d86a7f8175e9 | Chris | } |
| 461 | 140:a813463b162a | Chris | |
| 462 | QPushButton::enabled:hover |
||
| 463 | {
|
||
| 464 | background-color: #666666; |
||
| 465 | } |
||
| 466 | 150:72eb8990652a | Chris | |
| 467 | QPushButton::checked |
||
| 468 | {
|
||
| 469 | background-color: #666666; |
||
| 470 | } |