fix v_white theme

This commit is contained in:
Le Tan 2017-12-05 22:06:55 +08:00
parent d14f4697b4
commit ae48d18688
3 changed files with 13 additions and 2 deletions

View File

@ -13,7 +13,7 @@ main_fg=#000000
main_bg=#F5F5F5 main_bg=#F5F5F5
title_fg=#000000 title_fg=#000000
title_bg=#E3DEDE title_bg=#DADBDB
hover_fg=#000000 hover_fg=#000000
hover_bg=#DCDCDC hover_bg=#DCDCDC

View File

@ -17,6 +17,12 @@ QWidget[NotebookPanel="true"] {
} }
/* End QWidget */ /* End QWidget */
/* QMainWindow */
QMainWindow {
color: @base_fg;
background: @base_bg;
}
QMainWindow::separator { QMainWindow::separator {
background: @dock_separator_bg; background: @dock_separator_bg;
width: 2px; width: 2px;
@ -26,6 +32,7 @@ QMainWindow::separator {
QMainWindow::separator:hover { QMainWindow::separator:hover {
background: @dock_separator_hover_bg; background: @dock_separator_hover_bg;
} }
/* End QMainWindow */
QMenuBar { QMenuBar {
border: none; border: none;
@ -514,6 +521,8 @@ QTreeView {
show-decoration-selected: 0; show-decoration-selected: 0;
padding-top: 3px; padding-top: 3px;
border: none; border: none;
selection-background-color: transparent;
outline: none;
} }
QTreeView::item { QTreeView::item {
@ -573,6 +582,8 @@ QListView {
show-decoration-selected: 0; show-decoration-selected: 0;
padding-top: 3px; padding-top: 3px;
border: none; border: none;
selection-background-color: transparent;
outline: none;
} }
QListView::item { QListView::item {

View File

@ -552,7 +552,7 @@ QString VMdEdit::getPlainTextWithoutPreviewImage() const
*/ */
// Iterate all the block to get positions for deletion. // Iterate all the block to get positions for deletion.
QTextBlock block = document()->begin(); // QTextBlock block = document()->begin();
bool tryAgain = false; bool tryAgain = false;
/* /*
while (block.isValid()) { while (block.isValid()) {