Skip to content

Commit e8711d3

Browse files
committed
Yata: hide tools if not enabled. refs #24
1 parent 57ac80f commit e8711d3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

css/kunai/yata.css

+12-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ body.kunai {
1818
position: relative;
1919
z-index: 5;
2020

21+
$cl-tool-active: #ffff1d;
22+
2123
&.hidden {
2224
display: none;
2325
}
@@ -37,8 +39,15 @@ body.kunai {
3739
}
3840
}
3941

40-
&:not(.enabled) .play button {
41-
background: none;
42+
&:not(.enabled) {
43+
.tool:not(.play) {
44+
display: none;
45+
}
46+
47+
.tool.play button {
48+
background: none;
49+
color: $cl-tool-active;
50+
}
4251
}
4352

4453
&.enabled .play button {
@@ -155,7 +164,7 @@ body.kunai {
155164
}
156165

157166
button {
158-
color: #ffff1d;
167+
color: $cl-tool-active;
159168

160169
&:hover, &:disabled {
161170
background-color: inherit;

0 commit comments

Comments
 (0)