style: optimize the custom style sheet when enabled system dark mode

This commit is contained in:
Xiao YiFang 2022-08-31 22:11:19 +08:00
parent 306c435ae0
commit 57d5f845c5
3 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,7 @@
MainWindow #translateLine, ScanPopup #translateLine, MainWindow #searchPane #wordList, MainWindow #dictsPane #dictsList, MainWindow #translateLine, ScanPopup #translateLine, MainWindow #searchPane #wordList, MainWindow #dictsPane #dictsList,
MainWindow #historyPane #historyList, MainWindow #favoritesPane #favoritesTree MainWindow #historyPane #historyList, MainWindow #favoritesPane #favoritesTree
{ {
background: white;
} }
MainWindow #searchPane #translateLine MainWindow #searchPane #translateLine

View file

@ -1,7 +1,7 @@
MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList, MainWindow #dictsPane #dictsList, MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList, MainWindow #dictsPane #dictsList,
MainWindow #historyPane #historyList, MainWindow #favoritesPane #favoritesTree MainWindow #historyPane #historyList, MainWindow #favoritesPane #favoritesTree
{ {
background: white;
} }
/* WARNING: hides all separators! */ /* WARNING: hides all separators! */

View file

@ -3,9 +3,8 @@ MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList, MainW
} }
MainWindow #translateLine[noResults="true"], MainWindow #translateLine[noResults="true"],
ScanPopup #translateLine[noResults="true"] ScanPopup #translateLine[noResults="true"] {
{ background: #febb7d;
background: #febb7d;
} }
#navToolbar #menuButton::menu-indicator { #navToolbar #menuButton::menu-indicator {