70 lines
1.6 KiB
Plaintext
70 lines
1.6 KiB
Plaintext
/*
|
|
Embryonic dark mode
|
|
|
|
If you do want to use and improve it, and encounter a difficulty due to
|
|
(lack of) widget object names or whatever, please get in touch, I'll fix
|
|
what needs to be.
|
|
|
|
You can have a look at http://doc.qt.io/qt-5/stylesheet-syntax.html
|
|
for Qt style sheet information.
|
|
|
|
Select the file from the GUI with:
|
|
Preferences->GUI configuration->User interface->Style sheet->Choose
|
|
|
|
You will also need to change the HTML style which controls the
|
|
result list:
|
|
Preferences->GUI configuration->Result list->
|
|
Edit result page html header insert
|
|
For example:
|
|
|
|
<style type="text/css">
|
|
html {
|
|
background-color: #505050;
|
|
color: #D8D8D8;
|
|
selection-background-color: #424e72;
|
|
}
|
|
</style>
|
|
|
|
*/
|
|
|
|
/* Light on dark text everywhere*/
|
|
* {
|
|
/* font-size: 14pt;*/
|
|
background-color: #373737;
|
|
color: #ffffff;
|
|
selection-background-color: #424e72;
|
|
selection-color: #ffffff;
|
|
}
|
|
|
|
QToolTip {
|
|
background-color: yellow;
|
|
color: black;
|
|
}
|
|
|
|
QMenuBar::item:selected {
|
|
background: #424e72;
|
|
}
|
|
|
|
/* I have used the colour values that were in QTabWidget QTabBar::tab for
|
|
* QTabWidget QTabBar::tab:selected, and vice-versa. Also, though, I have
|
|
* brightened the whites.*/
|
|
QTabWidget QTabBar::tab {
|
|
background: #5f5f5f;
|
|
color: #ffffff;
|
|
}
|
|
|
|
QTabWidget QTabBar::tab:selected {
|
|
background: #2f4f4f;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/*
|
|
* Slightly *darker* background for text entry areas, and brighter
|
|
* (lighter) foreground.
|
|
*/
|
|
QComboBox[editable="true"], QTextEdit, QLineEdit,
|
|
QTextBrowser, QTableView, QWebView, QPlainTextEdit {
|
|
background-color: #101010; /*Changed*/
|
|
color: #ffffff; /*Changed*/
|
|
}
|