mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-05 13:24:51 -04:00
Rewrote implementation of class SideBar to use QToolBar instead of
KMultiTabBar. We can style the SideBar now easily via CSS and do not
have to ship 3rd party KDE code with LMMS. Also the QToolBar based
SideBar integrates much better into the according widget style.
Furthermore renamed SideBar related classes and files to match new
coding style.
(cherry picked from commit 822a22ca37)
218 lines
4.0 KiB
CSS
218 lines
4.0 KiB
CSS
/* LMMS style sheet */
|
|
|
|
QWhatsThat {
|
|
color: black;
|
|
}
|
|
|
|
QMdiArea {
|
|
background-image: url(resources:background_artwork.png);
|
|
}
|
|
|
|
automationEditor {
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
QMenu {
|
|
border:1px solid black;
|
|
background-color: rgb( 192, 192, 192 );
|
|
font-size:11px;
|
|
}
|
|
|
|
QMenu::separator {
|
|
height: 1px;
|
|
background: rgb(128,128,128);
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
QMenu::item {
|
|
color: black;
|
|
padding: 2px 32px 2px 20px;
|
|
margin:3px;
|
|
}
|
|
|
|
QMenu::item:selected {
|
|
color: white;
|
|
font-weight:bold;
|
|
background-color: rgb(54,57,66);
|
|
margin:3px;
|
|
}
|
|
|
|
QMenu::item:disabled {
|
|
color: white;
|
|
margin:0px;
|
|
background-color: rgba(0,0,0,192);
|
|
font-size:12px;
|
|
font-weight:bold;
|
|
padding: 4px 32px 4px 20px;
|
|
}
|
|
|
|
QMenu::indicator {
|
|
width: 16;
|
|
height: 16;
|
|
opacity: 0;
|
|
background-color: rgb( 192, 192, 192 );
|
|
}
|
|
|
|
QMenu::indicator:checked {
|
|
image: url("resources:apply.png");
|
|
}
|
|
|
|
QMenu::indicator:selected {
|
|
background-color: rgb(54,57,66);
|
|
}
|
|
|
|
pianoRoll {
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
trackOperationsWidget > QPushButton {
|
|
max-height: 26px;
|
|
max-width: 26px;
|
|
min-height: 26px;
|
|
min-width: 26px;
|
|
}
|
|
|
|
trackOperationsWidget#automationDisabled > QPushButton::menu-indicator {
|
|
image: url(resources:track_op_menu_disabled.png);
|
|
}
|
|
|
|
trackOperationsWidget#automationEnabled > QPushButton::menu-indicator {
|
|
image: url(resources:track_op_menu.png);
|
|
}
|
|
|
|
trackWidget {
|
|
/* border-bottom: 1px solid rgb(0, 0, 0);*/
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
nameLabel, effectLabel, sf2InstrumentView > QLabel {
|
|
font-size:10px;
|
|
}
|
|
|
|
|
|
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: 1px solid rgba(0,0,0,64);
|
|
background: rgba(172,176,188,32);
|
|
font-size:10px;
|
|
color: white;
|
|
}
|
|
|
|
QToolButton:hover {
|
|
background: rgba(255,255,255,96);
|
|
border-radius: 3px;
|
|
border: 1px solid rgba(0,0,0,255);
|
|
color: black;
|
|
}
|
|
|
|
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(233,239,255,96);
|
|
border-radius: 3px;
|
|
border: 1px solid black;
|
|
padding: 3px 0px 0px 3px;
|
|
}
|
|
|
|
SideBar {
|
|
background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop: 0 #66728c, stop: 1.0 #38404e);
|
|
}
|
|
|
|
SideBar QToolButton {
|
|
font-size: 12px;
|
|
}
|
|
|
|
FxMixerView QPushButton, EffectRackView QPushButton, ControllerRackView QPushButton {
|
|
font-size: 10px;
|
|
}
|
|
|
|
timeLine {
|
|
font-size: 8px;
|
|
}
|
|
|
|
/* Plugins */
|
|
|
|
TripleOscillatorView knob {
|
|
color: rgb(1, 114, 216);
|
|
qproperty-outerColor: rgb(0, 0, 0);
|
|
qproperty-innerRadius: 1;
|
|
qproperty-outerRadius: 6.5;
|
|
qproperty-centerPointX: 13.5;
|
|
qproperty-centerPointY: 13.5;
|
|
qproperty-lineWidth: 2;
|
|
}
|
|
|
|
|
|
kickerInstrumentView knob {
|
|
color: rgb(240, 147, 14);
|
|
qproperty-outerColor: rgb(30, 35, 37);
|
|
qproperty-innerRadius: 4;
|
|
qproperty-outerRadius: 11.2;
|
|
qproperty-centerPointX: 18.5;
|
|
qproperty-centerPointY: 13.5;
|
|
qproperty-lineWidth: 3;
|
|
}
|
|
|
|
|
|
AudioFileProcessorView knob {
|
|
color: rgb(240, 147, 14);
|
|
qproperty-outerColor: rgb(30, 35, 37);
|
|
qproperty-innerRadius: 4;
|
|
qproperty-outerRadius: 11.2;
|
|
qproperty-centerPointX: 18.5;
|
|
qproperty-centerPointY: 16.5;
|
|
qproperty-lineWidth: 3;
|
|
}
|
|
|
|
organicInstrumentView knob {
|
|
color: rgb(205, 16, 216);
|
|
qproperty-outerColor: rgb(23, 9, 24);
|
|
/*qproperty-outerColor: rgb(64, 21, 67);*/
|
|
qproperty-innerRadius: 2;
|
|
qproperty-outerRadius: 8.7;
|
|
qproperty-centerPointX: 10.5;
|
|
qproperty-centerPointY: 10.5;
|
|
qproperty-lineWidth: 2;
|
|
}
|
|
|
|
|
|
organicInstrumentView knob#fx1Knob,
|
|
organicInstrumentView knob#volKnob {
|
|
qproperty-innerRadius: 4;
|
|
qproperty-outerRadius: 11.2;
|
|
qproperty-centerPointX: 18.5;
|
|
qproperty-centerPointY: 13.8;
|
|
qproperty-lineWidth: 3;
|
|
}
|
|
|
|
sf2InstrumentView knob {
|
|
color: #ff0066;
|
|
qproperty-outerColor: rgb(30, 35, 37);
|
|
qproperty-innerRadius: 2;
|
|
qproperty-outerRadius: 9.2;
|
|
qproperty-centerPointX: 15.5;
|
|
qproperty-centerPointY: 15.42;
|
|
qproperty-lineWidth: 2;
|
|
}
|
|
|
|
/* Notes:
|
|
|
|
lcd-spinbox colors: (12, 250, 150), (37, 57, 42)
|
|
|
|
|
|
*/
|