Skip to content
Snippets Groups Projects
Commit 97adadce authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

[m.selection_border] Highlight only text input widgets on focus ()

Merging branch 'm.selection_border'  into 'main'.

See merge request !2140
parents d4ed49a9 1efbc083
No related branches found
No related tags found
1 merge request!2140Highlight only text input widgets on focus
Pipeline #120258 passed
...@@ -10,12 +10,6 @@ ...@@ -10,12 +10,6 @@
background-color: palette(base); background-color: palette(base);
} }
/* Highlight border of focused controls with system highlight color. */
::focus
{
border: 2px solid palette(highlight);
}
/* ------------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------------- */
QWidget#GroupBoxToggler QWidget#GroupBoxToggler
{ {
...@@ -504,6 +498,16 @@ QComboBox ...@@ -504,6 +498,16 @@ QComboBox
border-color: rgba(100, 100, 100, 25%); border-color: rgba(100, 100, 100, 25%);
} }
/* Highlight border of focused controls with system highlight color. */
QLineEdit::focus,
QTextEdit::focus,
QSpinBox::focus,
QDoubleSpinBox::focus,
ScientificSpinBox::focus
{
border: 2px solid palette(highlight);
}
/* ------------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------------- */
QComboBox::drop-down QComboBox::drop-down
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment