refine themes

This commit is contained in:
Le Tan 2022-01-24 20:44:06 +08:00
parent 5da6a81d4b
commit 8b0210eb5d
7 changed files with 25 additions and 52 deletions

View File

@ -119,7 +119,4 @@ QString MainConfig::getVersion(const QJsonObject &p_jobj)
void MainConfig::doVersionSpecificOverride() void MainConfig::doVersionSpecificOverride()
{ {
// In a new version, we may want to change one value by force. // In a new version, we may want to change one value by force.
// For 3.12.0.
m_editorConfig->getTextEditorConfig().m_highlightWhitespace = false;
m_editorConfig->getMarkdownEditorConfig().m_imageAlignCenterEnabled = false;
} }

View File

@ -113,15 +113,6 @@ QDockWidget::float-button {
top: 0px; right: 18px; bottom: 0px; top: 0px; right: 18px; bottom: 0px;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
vnotex--NotebookSelector QAbstractItemView::item {
padding: 5px, 2px, 5px, 2px;
}
QToolTip QToolTip
{ {
border: none; border: none;
@ -424,6 +415,11 @@ QComboBox QAbstractItemView::item:hover {
background-color: @widgets#qcombobox#item#hover#bg; background-color: @widgets#qcombobox#item#hover#bg;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
/* QLabel */ /* QLabel */
QLabel { QLabel {
border: none; border: none;

View File

@ -63,10 +63,6 @@ vnotex--NotebookSelector {
icon-size: 20px; icon-size: 20px;
} }
vnotex--NotebookSelector QAbstractItemView::item {
padding: 5px, 2px, 5px, 2px;
}
/* QMainWindow */ /* QMainWindow */
QMainWindow::separator { QMainWindow::separator {
/* For vertical */ /* For vertical */

View File

@ -113,15 +113,6 @@ QDockWidget::float-button {
top: 0px; right: 18px; bottom: 0px; top: 0px; right: 18px; bottom: 0px;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
vnotex--NotebookSelector QAbstractItemView::item {
padding: 5px, 2px, 5px, 2px;
}
QToolTip QToolTip
{ {
border: none; border: none;
@ -424,6 +415,11 @@ QComboBox QAbstractItemView::item:hover {
background-color: @widgets#qcombobox#item#hover#bg; background-color: @widgets#qcombobox#item#hover#bg;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
/* QLabel */ /* QLabel */
QLabel { QLabel {
border: none; border: none;

View File

@ -109,15 +109,6 @@ QDockWidget::float-button {
top: 0px; right: 18px; bottom: 0px; top: 0px; right: 18px; bottom: 0px;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
vnotex--NotebookSelector QAbstractItemView::item {
padding: 5px, 2px, 5px, 2px;
}
QToolTip QToolTip
{ {
border: none; border: none;
@ -420,6 +411,11 @@ QComboBox QAbstractItemView::item:hover {
background-color: @widgets#qcombobox#item#hover#bg; background-color: @widgets#qcombobox#item#hover#bg;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
/* QLabel */ /* QLabel */
QLabel { QLabel {
border: none; border: none;

View File

@ -109,15 +109,6 @@ QDockWidget::float-button {
top: 0px; right: 18px; bottom: 0px; top: 0px; right: 18px; bottom: 0px;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
vnotex--NotebookSelector QAbstractItemView::item {
padding: 5px, 2px, 5px, 2px;
}
QToolTip QToolTip
{ {
border: none; border: none;
@ -420,6 +411,11 @@ QComboBox QAbstractItemView::item:hover {
background-color: @widgets#qcombobox#item#hover#bg; background-color: @widgets#qcombobox#item#hover#bg;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
/* QLabel */ /* QLabel */
QLabel { QLabel {
border: none; border: none;

View File

@ -109,15 +109,6 @@ QDockWidget::float-button {
top: 0px; right: 18px; bottom: 0px; top: 0px; right: 18px; bottom: 0px;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
vnotex--NotebookSelector QAbstractItemView::item {
padding: 5px, 2px, 5px, 2px;
}
QToolTip QToolTip
{ {
border: none; border: none;
@ -420,6 +411,11 @@ QComboBox QAbstractItemView::item:hover {
background-color: @widgets#qcombobox#item#hover#bg; background-color: @widgets#qcombobox#item#hover#bg;
} }
/* NotebookSelector */
vnotex--NotebookSelector {
icon-size: 20px;
}
/* QLabel */ /* QLabel */
QLabel { QLabel {
border: none; border: none;