From 1c1575cc86b24e8fbbf2b5a4894863a8203647b9 Mon Sep 17 00:00:00 2001 From: DigArtRoks <69391149+DigArtRoks@users.noreply.github.com> Date: Thu, 13 Aug 2020 17:18:21 +0200 Subject: [PATCH] Change the background color of the selected text in a text box. (#5628) * Change the background color of the selected text in a text box. The new background color matches the green background of selected items in a tree view. * Add selection-background-color for QLineEdit widgets in the classic theme, but keep the color as it was. --- data/themes/classic/style.css | 1 + data/themes/default/style.css | 1 + 2 files changed, 2 insertions(+) diff --git a/data/themes/classic/style.css b/data/themes/classic/style.css index 3e64c9da5..65b496617 100644 --- a/data/themes/classic/style.css +++ b/data/themes/classic/style.css @@ -35,6 +35,7 @@ QLineEdit { border: 2px inset rgba(91,101,113,128); background: #49515b; color: #e0e0e0; + selection-background-color: #202020; } diff --git a/data/themes/default/style.css b/data/themes/default/style.css index 4dee86788..832da176f 100644 --- a/data/themes/default/style.css +++ b/data/themes/default/style.css @@ -62,6 +62,7 @@ QLineEdit { border: 1px; background: #101213; color: #d1d8e4; + selection-background-color: #17793b; } QLineEdit:read-only {