mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07: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:
@@ -121,7 +121,7 @@
|
|||||||
|
|
||||||
.iconbutton {
|
.iconbutton {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 0.5;
|
opacity: 0.7;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -129,11 +129,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
opacity: 0.5;
|
cursor: default;
|
||||||
|
opacity: 0.45 !important;
|
||||||
&:hover {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user