From 64ddb777a698301c0407e781da07119b6fc9a5f3 Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Wed, 27 Nov 2019 00:01:30 +0300 Subject: [PATCH] Improve default style view on mojave dark theme appearance --- profiler_gui/themes/default.css | 6 ++++++ profiler_gui/themes/default.scss | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/profiler_gui/themes/default.css b/profiler_gui/themes/default.css index dc5c132..06f490d 100644 --- a/profiler_gui/themes/default.css +++ b/profiler_gui/themes/default.css @@ -27,6 +27,7 @@ ***************************************************************************/ * { font-family: "DejaVu Sans"; + /*{osx}font-family: "Menlo";*/ font-size: 10pt; color: #504040; } @@ -243,6 +244,7 @@ QListView { QListView, QTableView, QTreeView { alternate-background-color: #e4e4ec; + background: white; selection-background-color: #B4D5FE; selection-color: #504040; } @@ -516,8 +518,12 @@ WindowHeader[left=true] { BookmarkEditor { background-color: white; border: 1px solid #c4c4c4; } +QTextEdit { + background: white; +} BookmarkEditor QWidget#BookmarkEditor_ColorBox { margin: 0; + background: white; padding: 0; } BookmarkEditor QWidget#BookmarkEditor_ColorBox QPushButton#BookmarkEditor_ColorButton { min-width: 15ex; diff --git a/profiler_gui/themes/default.scss b/profiler_gui/themes/default.scss index 28c9123..a5b0beb 100644 --- a/profiler_gui/themes/default.scss +++ b/profiler_gui/themes/default.scss @@ -191,6 +191,7 @@ QLabel#BookmarkPopup { QGraphicsView { border: 1px solid $BorderColor; + background: white; } QSplitter::handle:hover { @@ -245,6 +246,10 @@ QComboBox::drop-down { width: 10ex; } +QTextEdit { + background: white; +} + QComboBox::down-arrow { image: url(":/images/default/arrow-down"); width: 5ex; @@ -343,6 +348,8 @@ QListView { QListView, QTableView, QTreeView { alternate-background-color: #e4e4ec; + background: white +; selection-background-color: $TreeViewSelectionColor; selection-color: $TreeViewSelectionTextColor; }