mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
Make disabled iconbuttons more distinct (#289)
Increases the idle opacity for enabled buttons in the header slightly and decreases opacity for disabled buttons. Also sets a default cursor when the button is disabled: Forward button enabled and idle, back button disabled:  Forward button enabled and hovered, back button disabled: 
This commit is contained in:
parent
afcbb35341
commit
56a930c1dc
1 changed files with 3 additions and 6 deletions
|
|
@ -121,7 +121,7 @@
|
|||
|
||||
.iconbutton {
|
||||
cursor: pointer;
|
||||
opacity: 0.5;
|
||||
opacity: 0.7;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
|
|
@ -129,11 +129,8 @@
|
|||
}
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.5;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.5;
|
||||
}
|
||||
cursor: default;
|
||||
opacity: 0.45 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue