kiwix-desktop/resources/css/_contentManager.css
Veloman Yunkan aa256d6e1e Text remains readable on selected library entry
Before this change a library entry having keyboard focus (selected with
tab and up/down keys) was not readable since the text was displayed in
white colour on light blue background.
2024-05-22 10:56:48 +04:00

81 lines
1.4 KiB
CSS

#contentmanagerside {
background-color: red;
}
QTreeView::branch:open:has-children {
image: url(:/icons/caret-down-solid.svg);
padding: 6px;
}
QTreeView::branch:closed:has-children {
image: url(:/icons/caret-right-solid.svg);
padding: 7px;
}
QTreeView::branch:has-children {
border-bottom: 1px solid #cccccc;
}
QTreeView::branch:has-children:hover {
background-color: #eaecf0;
}
QTreeView::item:has-children {
border-bottom: 1px solid #cccccc;
}
QTreeView {
font-family: 'Selawik';
padding: 4px;
border: none;
selection-color: black;
qproperty-iconSize: 30px;
}
QTreeView::item:hover {
background-color: #eaecf0;
}
QHeaderView::section {
color: #666666;
background-color: #fff;
border-width: 0px 0px 2px;
border-color: black;
border-style: plain;
font-size: 16px;
font-family: 'Selawik';
padding: 4px;
margin-left: 10px;
}
QHeaderView::down-arrow {
image: url(:/icons/caret-down-solid.svg);
height: 12px;
width: 12px;
padding-bottom: 6px;
subcontrol-position: left;
}
QHeaderView::up-arrow {
image: url(:/icons/caret-up-solid.svg);
height: 12px;
width: 12px;
padding-bottom: 6px;
subcontrol-position: left;
}
QMenu {
background-color: white;
margin: 2px;
font-family: 'Selawik';
}
QMenu::item {
padding: 2px 25px 2px 20px;
border-bottom: 1px solid #cccccc;
}
QMenu::item:selected {
background-color: #cccccc;
}