A few accessibility changes in default theme (#7202)
* some css tweaks for accessibility * suggestions from review * classic theme focus * fix bug where button color disappears on focus * More scrollbar color changes on hover. * Commented the hover effect for now. * Remove handle "hover" effect. * scrollbar * revert button active state
This commit is contained in:
@@ -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 {
|
||||
@@ -551,6 +551,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;
|
||||
|
||||
Reference in New Issue
Block a user