Add new styles for upcoming QToolBar support

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1189 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-06-28 15:32:39 +00:00
parent 22adcdf61e
commit e863a5ab1b
2 changed files with 42 additions and 12 deletions

View File

@@ -8,6 +8,9 @@
* acinclude.m4:
Search $QTDIR before any other directories
* data/themes/default/style.css:
Update CSS for new QToolBar support
2008-06-28 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/core/song.cpp:

View File

@@ -7,15 +7,7 @@ QMdiArea {
automationEditor {
background-color: rgb(0, 0, 0);
}
/*
captionMenu::item:disabled {
color: white;
background-color: rgb(0, 0, 192);
font-size:14px;
font-weight:bold;
margin:0px;
padding: 4px 32px 4px 20px;
}*/
QMenu {
border:1px solid black;
background-color: rgb( 192, 192, 192 );
@@ -94,10 +86,42 @@ QWidget#mainToolbar {
background-image: url(resources:main_toolbar_bg.png);
}
QToolBar {
background: url(resources:toolbar_bg.png);
}
QToolButton, toolButton {
padding: 2px 1px 1px 2px;
border-radius: 2px;
border: none;
}
QToolButton:hover {
background: rgba(255,255,255,96);
border-radius: 3px;
border: 1px solid rgba(255,255,255,64);
}
QToolButton:pressed {
background: rgba(192,192,192,96);
padding: 3px 0px 0px 3px;
border-radius: 3px;
border: 1px solid rgba(255,255,255,64);
}
QToolButton:checked {
background: rgba(192,192,192,96);
border-radius: 3px;
border: 1px solid black;
padding: 3px 0px 0px 3px;
}
fxMixerView QPushButton {
font-size: 9px;
}
/* Plugins */
tripleOscillatorView knob {
color: rgb(1, 114, 216);
qproperty-outerColor: rgb(0, 0, 0);
@@ -161,6 +185,9 @@ sf2InstrumentView knob {
qproperty-lineWidth: 2;
}
QToolButton {
padding: 1;
}
/* Notes:
lcd-spinbox colors: (12, 250, 150), (37, 57, 42)
*/