1
0
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:
Matthew Bonsall 2020-09-12 23:44:15 -07:00 committed by GitHub
parent 4b45cce74d
commit 87f79a6c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -18,6 +18,15 @@
background-color: #55585a;
}
pointer-events: all;
&:hover {
opacity: 10%;
.buildingImage {
opacity: 0%;
}
}
.buildingLabel {
@include PlainText;
@include S(margin-bottom, 2px);

View File

@ -29,6 +29,15 @@
}
}
pointer-events: all;
&:hover {
opacity: 10%;
.helperGif {
opacity: 0%;
}
}
.title {
color: #fff;
opacity: 0.5;