summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Williams <mistik1@sourceforge.net>2010-12-28 11:42:43 +0000
committerAndrew Williams <mistik1@sourceforge.net>2010-12-28 11:42:43 +0000
commit3f54ea6abce85287b564996520d38388f009dca1 (patch)
treed6ec5ddae006f3f7ea912de1b7143b0be392fa3f
parentcad5278e0da866c305db17683918d42d0c10717c (diff)
fixed stylesheet. it somehow was not submitted in the last commit
-rw-r--r--muse2/muse/style.qss349
1 files changed, 347 insertions, 2 deletions
diff --git a/muse2/muse/style.qss b/muse2/muse/style.qss
index d3eb889d..4ec5bea8 100644
--- a/muse2/muse/style.qss
+++ b/muse2/muse/style.qss
@@ -1,12 +1,357 @@
/*
* this is the MusE application style sheet
*/
+/*PopupMenu { font-size: 8pt }*/
-/* TODO */
+
+QPushButton
+{
+ color: #e2e5e5; border-radius: 3px; padding: 8px;
+ /*background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);*/
+ background-color:red;
+}
+QPushButton:hover
+{
+ color: #30828d
+}
+
+QLabel
+{
+ color: #e2e5e5; border: 0px;
+}
+QLabel::disabled
+{
+ color: #393941;
+}
+
+QSplitter::handle{
+background-color: #696977;
+}
+
+QFrame {
+border: 1px solid #595966;
+}
+
+QAction::separator { color:red}
+QMainWindow { background-color: #595966 }
+/*QMainWindow::toolBarBreak { color: green }*/
+QPushButton { background-color: #595966 }
+
+QToolBar { background-color: #595966; color: #e2e5e5; border: 0px solid #393941;}
+QToolBar::item {
+ spacing: 6px; /* spacing between menu bar items */
+ padding: 1px 4px;
+ background: transparent;
+ border-radius: 3px;
+ }
+
+QToolBar::item:selected { /* when selected using mouse or keyboard */
+ background: #a8a8a8;
+}
+
+QToolBar::item:pressed
+{
+ background: #888888;
+ image: url(:/images/down_arrow_disabled.png) 1;
+}
+QToolBar::handle, QToolBar::addToolBarBreak
+{
+ image: url(:/images/toolbar_handle.png) 1;
+}
+
+
+QMenuBar { background-color: #595966; color: #e2e5e5; border: 0px; font-size: 12pt; font-family: 'Arial';}
+QMenuBar::item {
+ spacing: 6px; /* spacing between menu bar items */
+ padding: 1px 4px;
+ background: transparent;
+ border-radius: 3px;
+ }
+
+ QMenuBar::item:selected { /* when selected using mouse or keyboard */
+ background: #a8a8a8;
+ }
+
+ QMenuBar::item:pressed {
+ background: #888888;
+ }
+
+
+ QScrollBar:horizontal {
+ border: 1px solid #393941;
+ background: #858599;
+ height: 15px;
+ margin: 0px 15px 0 15px;
+ }
+ QScrollBar::handle:horizontal {
+ /*border: 1px solid #393941;*/
+ border: 1px solid #5c5c5c;
+ /*background: #545463;*/
+ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
+ min-width: 15px;
+ }
+ QScrollBar::add-line:horizontal {
+ border: 1px solid #393941;
+ background: #585867;
+ width: 15px;
+ subcontrol-position: right;
+ subcontrol-origin: margin;
+ }
+
+ QScrollBar::sub-line:horizontal {
+ border: 1px solid #393941;
+ background: #585867;
+ width: 15px;
+ subcontrol-position: left;
+ subcontrol-origin: margin;
+ }
+QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
+ border: 1px solid #393941;
+ width: 3px;
+ height: 3px;
+ background: #dedede;
+ }
+
+ QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
+ background: none;
+ }
+ QScrollBar:vertical {
+ border: 1px solid #393941;
+ background: #858599;
+ width: 15px;
+ margin: 15px 0 15px 0px;
+ }
+ QScrollBar::handle:vertical {
+ /*border: 1px solid #393941;*/
+ border: 1px solid #5c5c5c;
+ /*background: #545463;*/
+ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
+ min-height: 15px;
+ }
+ QScrollBar::add-line:vertical {
+ border: 1px solid #393941;
+ background: #585867;
+ height: 15px;
+ subcontrol-position: bottom;
+ subcontrol-origin: margin;
+ }
+
+ QScrollBar::sub-line:vertical {
+ border: 1px solid #393941;
+ background: #585867;
+ height: 15px;
+ subcontrol-position: top;
+ subcontrol-origin: margin;
+ }
+QScrollBar:up-arrow:vertical, QScrollBar::down-arrow:vertical {
+ border: 1px solid #393941;
+ width: 3px;
+ height: 3px;
+ background: #dedede;
+ }
+
+ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
+ background: none;
+ }
+
+QSlider::groove:horizontal
+{
+ border: 1px solid #393941;
+ height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
+ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #858599, stop:1 #6d6d7e);
+ margin: 2px 0;
+}
+QSlider::handle:horizontal
+{
+ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
+ border: 1px solid #5c5c5c;
+ width: 8px;
+ margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
+ border-radius: 3px;
+}
+QSlider::groove:vertical
+{
+ border: 1px solid #393941;
+ width: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
+ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #858599, stop:1 #6d6d7e);
+ margin: 0 2px;
+}
+QSlider::handle:vertical
+{
+ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
+ border: 1px solid #5c5c5c;
+ width: 8px;
+ height: 8px;
+ margin: 0 -2px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
+ border-radius: 3px;
+}
+
+
+ QComboBox {
+ border: 1px solid #393941;
+ border-radius: 3px;
+ padding: 3px 18px 3px 6px;
+ min-width: 6em;
+ color: #e2e5e5;
+ }
+
+ QComboBox:editable {
+ background: #93a7b2;
+ }
+
+ QComboBox:over {
+ }
+
+ QComboBox:!editable, QComboBox::drop-down:editable {
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
+ stop: 0 #626272, stop:0.1 #5b5b6b, stop: 1.0 #4d4d5b);
+ }
+
+ /* QComboBox gets the "on" state when the popup is open */
+ QComboBox:!editable:on, QComboBox::drop-down:editable:on {
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
+ stop: 0 #9cadb6, stop:0.2 #5b5b6b, stop: 0.8 #4d4d5b, stop: 1.0 #9cadb6);
+ }
+
+ QComboBox:on { /* shift the text when the popup opens */
+ padding-top: 3px;
+ padding-left: 6px;
+ }
+
+ QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 15px;
+
+ border-left-width: 1px;
+ border-left-color: #393941;
+ border-left-style: solid; /* just a single line */
+ border-top-right-radius: 3px; /* same radius as the QComboBox */
+ border-bottom-right-radius: 3px;
+ }
+
+ QComboBox::down-arrow {
+ image: url(:/images/down_arrow_disabled.png) 1;
+ }
+
+ QComboBox::down-arrow:on { /* shift the arrow when popup is open */
+ top: 1px;
+ left: 1px;
+ }
+ QComboBox QAbstractItemView {
+ border: 1px solid #e2e5e5;
+ selection-background-color: #93a7b2;
+ background-color: #d0d0d0;
+ }
+
+QSpinBox {
+ padding-right: 15px; /* make room for the arrows */
+ border-image: url(:/images/frame.png) 4;
+ border-width: 3;
+ }
+
+ QSpinBox::up-button {
+ subcontrol-origin: border;
+ subcontrol-position: top right; /* position at the top right corner */
+
+ width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */
+ border-image: url(:/images/spinup.png) 1;
+ border-width: 1px;
+ }
+
+ QSpinBox::up-button:hover {
+ border-image: url(:/images/spinup_hover.png) 1;
+ }
+
+ QSpinBox::up-button:pressed {
+ border-image: url(:/images/spinup_pressed.png) 1;
+ }
+
+ QSpinBox::up-arrow {
+ image: url(:/images/up_arrow.png);
+ width: 7px;
+ height: 7px;
+ }
+
+ QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off { /* off state when value is max */
+ image: url(:/images/up_arrow_disabled.png);
+ }
+
+ QSpinBox::down-button {
+ subcontrol-origin: border;
+ subcontrol-position: bottom right; /* position at bottom right corner */
+
+ width: 16px;
+ border-image: url(:/images/spindown.png) 1;
+ border-width: 1px;
+ border-top-width: 0;
+ }
+
+ QSpinBox::down-button:hover {
+ border-image: url(:/images/spindown_hover.png) 1;
+ }
+
+ QSpinBox::down-button:pressed {
+ border-image: url(:/images/spindown_pressed.png) 1;
+ }
+
+ QSpinBox::down-arrow {
+ image: url(:/images/down_arrow.png);
+ width: 7px;
+ height: 7px;
+ }
+
+ QSpinBox::down-arrow:disabled,
+ QSpinBox::down-arrow:off { /* off state when value in min */
+ image: url(:/images/down_arrow_disabled.png);
+ }
/*
+ QScrollBar:vertical {
+ border: 1px solid #393941;
+ background: #858599;
+ height: 15px;
+ margin: 0px 20px 0 20px;
+ }
+ QScrollBar::handle:vertical {
+ border: 1px solid #393941;
+ background: #545463;
+ min-width: 20px;
+ }
+ QScrollBar::add-line:vertical {
+ border: 1px solid #393941;
+ background: #585867;
+ width: 20px;
+ subcontrol-position: right;
+ subcontrol-origin: margin;
+ }
+
+ QScrollBar::sub-line:vertical {
+ border: 1px solid #393941;
+ background: #585867;
+ width: 20px;
+ subcontrol-position: left;
+ subcontrol-origin: margin;
+ }
+QScrollBar:left-arrow:vertical, QScrollBar::right-arrow:vertical {
+ border: 1px solid #393941;
+ width: 3px;
+ height: 3px;
+ background: white;
+ }
+ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
+ background: none;
+ }
+
+
+*/
+
+
+/*progRecordButton { background-color: #595966 }*/
+/* TODO */
+/*
QLabel#midiChannelLabel { font-size: 6pt }
MidiRack, EffectRack { font-size: 8pt }
QLabel#trackLabel { font-size: 6pt }
@@ -70,4 +415,4 @@ QLabel#M-Synth {
background-color: gray;
}
-*/ \ No newline at end of file
+*/