mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-10 01:58:44 -04:00
With Qt 4.7 the alternating row color in the Sf2 patch selector dialog
somehow was messed up. Fixed this by explicitely setting the alternating
row color in the style's CSS files.
(cherry picked from commit fd40743772)
233 lines
4.3 KiB
CSS
233 lines
4.3 KiB
CSS
/* LMMS style sheet */
|
|
|
|
QWhatsThat {
|
|
color: black;
|
|
}
|
|
|
|
QMdiArea {
|
|
background-image: url(resources:background_artwork.png);
|
|
}
|
|
|
|
AutomationEditor {
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
|
|
|
|
QToolTip {
|
|
border-radius: 4px;
|
|
background: qlineargradient(spread:reflect, x1:0.5, y1:0.5, x2:0.5, y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(50, 50, 50, 220));
|
|
opacity: 175;
|
|
border: 1.5px solid rgba(0,0,0,255);
|
|
color: #00ff00;
|
|
}
|
|
|
|
|
|
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;
|
|
}
|
|
|
|
QTreeView {
|
|
alternate-background-color: rgb(108,108,108);
|
|
}
|
|
|
|
/* 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)
|
|
|
|
|
|
*/
|