mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Change opacity on hover (#621)
* Change opacity on hover * Modify Tutorial
This commit is contained in:
parent
4b45cce74d
commit
87f79a6c25
@ -18,6 +18,15 @@
|
|||||||
background-color: #55585a;
|
background-color: #55585a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pointer-events: all;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 10%;
|
||||||
|
.buildingImage {
|
||||||
|
opacity: 0%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.buildingLabel {
|
.buildingLabel {
|
||||||
@include PlainText;
|
@include PlainText;
|
||||||
@include S(margin-bottom, 2px);
|
@include S(margin-bottom, 2px);
|
||||||
|
@ -29,6 +29,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pointer-events: all;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 10%;
|
||||||
|
.helperGif {
|
||||||
|
opacity: 0%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
Loading…
Reference in New Issue
Block a user