Newer
Older
Import / environment / NewEnv / styles.qss
QTreeView, QListView {
	background-color: #fafafa;
	border: none;
}

QMessageBox, QDialog {
	background-color: #f0f0f0;
	min-width: 40em;
	border: none;
}

QInputDialog QLineEdit {
	min-width: 40em;
	padding: 0.5ex;
}

QInputDialog > * {
	margin: 0.5ex;
}

QTreeView QHeaderView, QTreeView QHeaderView::section {
	background: #f5f5f5;
}

QTreeView QHeaderView::section {
	color: #111;
	border: none;
	padding: 1.2ex;
}

QTreeView::item {
	color: #111;
	padding-top: 1px;
	padding-bottom: 1px;
	/*
	 * This definition should actually not be required as the bg color is set
	 * on QTreeView. However, setting the bg color on `item` results in an
	 * increased indent of the first column. Since item:focus below sets the bg
	 * color as well, this leads to an ugly "shifting" effect. So we set bg
	 * color here as well so the items are always shifted.
	 */
	background-color: transparent;
}

QTreeView::item:first {
	color: black;
	padding-left: 0.25em;
}

QTreeView::item:focus:active {
	background-color: #DDE1F6;
}

QTreeView::item:selected {
	color: #EE823A;
}

QLabel {
	color: #111;
}

QMessageBox QLabel {
	font-weight: normal;
}

QLineEdit {
	color: black;
	background-color: #fafafa;
	border: none;
}

Quicksearch {
	background-color: #f0f0f0;
	height: 70vw;
}

Quicksearch #query-container {
	/*
	 * The sole purpose of this Div is to draw an extra border at the bottom.
	 */
	background: #eaeaea;
	padding: 0.5ex;
	margin: 0;
	border: none;
}

Quicksearch #query-container > Div {
	padding: 1ex;
	border: none;
}

Quicksearch QLineEdit {
	color: #444;
	background-color: #f0f0f0;
	border: none;
}

Quicksearch #items-container {
	margin-bottom: 0;
}

Quicksearch QListView {
	min-width: 40em;
	background-color: #f0f0f0;
}

Quicksearch QListView::item:selected {
	background-color: #CACEE1;
}

QuicksearchItem {
	border: none;
	padding: 1em;
}

QuicksearchItem #title {
	color: #111;
}

QuicksearchItem #hint {
	color: #2F8CAA;
}

QLineEdit:read-only {
	color: #555;
}

PathView {
	background: #e5e5e5;
	color: #111;
	border: none;
	padding: 1.3ex;
}

QStatusBar {
	background: #f0f0f0;
	border: none;
}

QStatusBar, QStatusBar QLabel {
	color: #111;
}

QStatusBar QLabel {
	padding: 1ex;
}

QPushButton {
	background-color: #f8f8f8;
	color: #111;
	border: 1px solid #eaeaea;
    min-width: 10ex;
	min-height: 4ex;
}

Quicksearch QScrollBar:vertical {
	min-height: 70ex;
}

QScrollBar, QAbstractScrollArea::corner {
    border: none;
    background: rgba(0, 0, 0, 0.05);
}
QScrollBar::handle {
	border: none;
    background: #f5f5f5;
}

QScrollBar::add-line,
QScrollBar::sub-line,
QScrollBar::add-page,
QScrollBar::sub-page,
QScrollBar::left-arrow,
QScrollBar::right-arrow,
QScrollBar::down-arrow,
QScrollBar::up-arrow {
    border: none;
    background: transparent;
}

QSplitter {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e5e5e5, stop: 0.002 #e5e5e5, stop: 1.0 #f0f0f0);
}