theme: refine styles

This commit is contained in:
Le Tan 2018-07-23 19:55:15 +08:00
parent 2c3672d2b8
commit 794d77433f
3 changed files with 11 additions and 0 deletions

View File

@ -85,6 +85,11 @@ p, ul, ol {
line-height: 24px;
}
mark {
color: #000000;
background-color: #D8D800;
}
pre {
display: block;
overflow-y: hidden;

View File

@ -81,6 +81,11 @@ p, ul, ol {
line-height: 24px;
}
mark {
color: #000000;
background-color: #C4C400;
}
pre {
display: block;
overflow-y: hidden;

View File

@ -69,6 +69,7 @@ void VFileList::setupUI()
QPushButton *viewBtn = new QPushButton(VIconUtils::buttonIcon(":/resources/icons/view.svg"), "", this);
viewBtn->setToolTip(tr("View"));
viewBtn->setProperty("CornerBtn", true);
viewBtn->setFocusPolicy(Qt::NoFocus);
QMenu *viewMenu = new QMenu(this);
connect(viewMenu, &QMenu::aboutToShow,