diff --git a/GUI/styles/Base.stylesheet b/GUI/styles/Base.stylesheet index 4f2c6b478da98073424617dd372ff18916e58d98..2f84414a1493a1c5c17ac2635e6f1473de806d3b 100644 --- a/GUI/styles/Base.stylesheet +++ b/GUI/styles/Base.stylesheet @@ -10,12 +10,6 @@ background-color: palette(base); } -/* Highlight border of focused controls with system highlight color. */ -::focus -{ - border: 2px solid palette(highlight); -} - /* ------------------------------------------------------------------------------- */ QWidget#GroupBoxToggler { @@ -504,6 +498,16 @@ QComboBox 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 {