Skip to content

Commit 5266f50

Browse files
committed
Fixed toolbar icon opacity when disabled.
Signed-off-by: ubi de feo <[email protected]>
1 parent 954010b commit 5266f50

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

ui/arduino/main.css

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,14 @@ button.inverted {
6363
background: rgba(0, 129, 132, 1) !important;
6464
}
6565

66-
button[disabled] {
67-
background: rgba(255, 255, 255, 0.2);
66+
button[disabled], button[disabled]:hover {
6867
cursor: default;
68+
opacity: 0.5;
6969
}
70-
button[disabled]:hover {
71-
background: rgba(255, 255, 255, 0.2);
72-
}
73-
button:hover, button.active {
70+
71+
button:not([disabled]):hover {
7472
background: rgba(255, 255, 255, 1);
7573
}
76-
/* button.inactive:hover {
77-
background: rgba(255, 255, 255, 0.2);
78-
} */
7974

8075
button .icon {
8176
width: 63%;
@@ -101,7 +96,6 @@ button.small .icon {
10196
}
10297
.button .label {
10398
text-align: center;
104-
/* color: #eee; */
10599
color: rgba(255, 255, 255, 0.2);
106100
font-family: "OpenSans", sans-serif;
107101
}

0 commit comments

Comments
 (0)