From e863a5ab1b537ddc23c749111b856ca06c7aad3b Mon Sep 17 00:00:00 2001 From: Paul Giblock Date: Sat, 28 Jun 2008 15:32:39 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ data/themes/default/style.css | 51 ++++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index b0984a5de..86dd19684 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * src/core/song.cpp: diff --git a/data/themes/default/style.css b/data/themes/default/style.css index 79e637607..2a85ed935 100644 --- a/data/themes/default/style.css +++ b/data/themes/default/style.css @@ -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) + + +*/