modified splitter style

This commit is contained in:
iLLiCiTiT 2021-10-21 12:40:42 +02:00
parent a2397f48f0
commit e545d431da

View file

@ -200,12 +200,44 @@ QComboBox::down-arrow, QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QC
}
/* Splitter */
QSplitter {
border: none;
QSplitter::handle {
border: 3px solid transparent;
}
QSplitter::handle {
border: 1px dotted {color:bg-menu-separator};
QSplitter::handle:horizontal {
background: qlineargradient(
x1:0, y1:0, x2:1, y2:0,
stop:0.3 rgba(0, 0, 0, 0),
stop:0.5 {color:bg-buttons},
stop:0.7 rgba(0, 0, 0, 0)
);
}
QSplitter::handle:vertical {
background: qlineargradient(
x1:0, y1:0, x2:0, y2:1,
stop:0.3 rgba(0, 0, 0, 0),
stop:0.5 {color:bg-buttons},
stop:0.7 rgba(0, 0, 0, 0)
);
}
QSplitter::handle:horizontal:hover {
background: qlineargradient(
x1:0, y1:0, x2:1, y2:0,
stop:0.3 rgba(0, 0, 0, 0),
stop:0.5 {color:bg-button-hover},
stop:0.7 rgba(0, 0, 0, 0)
);
}
QSplitter::handle:vertical:hover {
background: qlineargradient(
x1:0, y1:0, x2:0, y2:1,
stop:0.3 rgba(0, 0, 0, 0),
stop:0.5 {color:bg-button-hover},
stop:0.7 rgba(0, 0, 0, 0)
);
}
/* SLider */