175 lines
4.0 KiB
Plaintext
175 lines
4.0 KiB
Plaintext
QMenu {
|
|
border: none;
|
|
background-color: transparent;
|
|
qproperty-windowOpacity: 0.2;
|
|
}
|
|
QtGui--TrayWidget {
|
|
color: #fff;
|
|
background-color: rgba(255,0,0,50%);
|
|
qproperty-windowOpacity: 0.2;
|
|
}
|
|
QtGui--TrayWidget * {
|
|
color: #fff;
|
|
background-color: transparent;
|
|
}
|
|
|
|
QTreeView::branch {
|
|
color: #fff;
|
|
}
|
|
|
|
QFrame, QLabel, QToolTip {
|
|
border: none;
|
|
}
|
|
|
|
QtGui--TrayWidget > QFrame {
|
|
border-bottom: 1px solid #555;
|
|
border-radius: 0px;
|
|
padding: 2px;
|
|
}
|
|
|
|
/*
|
|
QPushButton {
|
|
border: 2px solid #8f8f91;
|
|
border-radius: 6px;
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
|
min-width: 80px;
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
|
}
|
|
|
|
QPushButton:flat {
|
|
border: none;
|
|
}
|
|
|
|
QPushButton:default {
|
|
border-color: navy;
|
|
}*/
|
|
|
|
QScrollBar:horizontal {
|
|
border: 2px solid green;
|
|
background: cyan;
|
|
height: 15px;
|
|
margin: 0px 40px 0 0px;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal {
|
|
background: gray;
|
|
min-width: 20px;
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal {
|
|
background: blue;
|
|
width: 16px;
|
|
subcontrol-position: right;
|
|
subcontrol-origin: margin;
|
|
border: 2px solid black;
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal {
|
|
background: magenta;
|
|
width: 16px;
|
|
subcontrol-position: top right;
|
|
subcontrol-origin: margin;
|
|
border: 2px solid black;
|
|
position: absolute;
|
|
right: 20px;
|
|
}
|
|
|
|
QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
|
|
width: 3px;
|
|
height: 3px;
|
|
background: pink;
|
|
}
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
background: none;
|
|
}
|
|
|
|
|
|
|
|
QTabWidget::pane { /* The tab widget frame */
|
|
border-top: 2px solid #C2C7CB;
|
|
}
|
|
|
|
QTabWidget::tab-bar {
|
|
left: 5px; /* move to the right by 5px */
|
|
}
|
|
|
|
/* Style the tab using the tab sub-control. Note that
|
|
it reads QTabBar _not_ QTabWidget */
|
|
QTabBar::tab {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
|
|
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
|
|
border: 2px solid #C4C4C3;
|
|
border-bottom-color: #C2C7CB; /* same as the pane color */
|
|
border-top-left-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
min-width: 8ex;
|
|
padding: 2px;
|
|
}
|
|
|
|
QTabBar::tab:selected, QTabBar::tab:hover {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
|
|
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
|
|
}
|
|
|
|
QTabBar::tab:selected {
|
|
border-color: #9B9B9B;
|
|
border-bottom-color: #C2C7CB; /* same as pane color */
|
|
}
|
|
|
|
QTabBar::tab:!selected {
|
|
margin-top: 2px; /* make non-selected tabs look smaller */
|
|
}
|
|
|
|
/* make use of negative margins for overlapping tabs */
|
|
QTabBar::tab:selected {
|
|
/* expand/overlap to the left and right by 4px */
|
|
margin-left: -4px;
|
|
margin-right: -4px;
|
|
}
|
|
|
|
QTabBar::tab:first:selected {
|
|
margin-left: 0; /* the first selected tab has nothing to overlap with on the left */
|
|
}
|
|
|
|
QTabBar::tab:last:selected {
|
|
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
|
|
}
|
|
|
|
QTabBar::tab:only-one {
|
|
margin: 0; /* if there is only one tab, we don't want overlapping margins */
|
|
}
|
|
|
|
QTreeView {
|
|
show-decoration-selected: 1;
|
|
}
|
|
|
|
QTreeView::item {
|
|
border: 1px solid #d9d9d9;
|
|
border-top-color: transparent;
|
|
border-bottom-color: transparent;
|
|
}
|
|
|
|
QTreeView::item:hover {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
|
|
border: 1px solid #bfcde4;
|
|
}
|
|
|
|
QTreeView::item:selected {
|
|
border: 1px solid #567dbc;
|
|
}
|
|
|
|
QTreeView::item:selected:active{
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
|
|
}
|
|
|
|
QTreeView::item:selected:!active {
|
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
|
|
} |