feat: style taskbar active state with bottom border indicator
Add a visible bottom border to the active taskbar button for clear focus indication. Reserve border space on all buttons with a transparent border to prevent icon shifting on state changes.
This commit is contained in:
parent
d815e21b1d
commit
46ba8365db
@ -190,8 +190,8 @@ widget widget>* {
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
padding: 0 4px 0 10px;
|
||||
transition: 100ms border ease-in-out;
|
||||
padding: 3px 4px 0 10px;
|
||||
border-bottom: 3px solid transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
@ -204,7 +204,9 @@ widget widget>* {
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background-color: alpha(@theme_selected_bg_color, 0.05);
|
||||
background-color: alpha(@theme_selected_bg_color, 0.1);
|
||||
border-bottom: 3px solid @theme_selected_bg_color;
|
||||
padding-bottom: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user