Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few CSS tweaks for better accessibility #7202

Merged
merged 11 commits into from
May 23, 2024
18 changes: 12 additions & 6 deletions data/themes/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -278,33 +278,33 @@ QScrollBar::add-page:vertical:pressed, QScrollBar::sub-page:vertical:pressed {
/* scrollbar: handles (sliders) */

QScrollBar::handle:horizontal {
background: #3f4750;
background: #5d6b77;
border: none;
border-radius: 4px;
min-width: 24px;
}

QScrollBar::handle:horizontal:hover {
background: #525e69;
background: #b8c4d1;
}

QScrollBar::handle:horizontal:pressed {
background: rgba(11,213,86,100);
background: #ffffff;
}

QScrollBar::handle:vertical {
background: #3f4750;
background: #5d6b77;
border: none;
border-radius: 4px;
min-height: 24px;
}

QScrollBar::handle:vertical:hover {
background: #525e69;
background: #b8c4d1;
}

QScrollBar::handle:vertical:pressed {
background: rgba(11,213,86,100);
background: #ffffff;
}

QScrollBar::handle:horizontal:disabled, QScrollBar::handle:vertical:disabled {
Expand Down Expand Up @@ -539,6 +539,12 @@ QToolButton:hover {
background: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:1, stop:0 #7c8799, stop:1 #343840)
}

QToolButton:hover:checked {
border: 2px solid #343840;
border-radius: 2px;
background: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:1, stop:0 #292d33, stop:1 #22262c)
}

QToolButton:pressed {
border-top: 1px solid #778394;
border-bottom: 1px solid #1e2226;
Expand Down
Loading