mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Change opacity on hover
This commit is contained in:
parent
4bcef8e725
commit
370d1252f5
@ -18,6 +18,15 @@
|
||||
background-color: #55585a;
|
||||
}
|
||||
|
||||
pointer-events: all;
|
||||
|
||||
&:hover {
|
||||
opacity: 10%;
|
||||
.buildingImage {
|
||||
opacity: 0%;
|
||||
}
|
||||
}
|
||||
|
||||
.buildingLabel {
|
||||
@include PlainText;
|
||||
@include S(margin-bottom, 2px);
|
||||
|
@ -29,6 +29,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
pointer-events: all;
|
||||
|
||||
&:hover {
|
||||
opacity: 10%;
|
||||
.buildingImage {
|
||||
opacity: 0%;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #fff;
|
||||
opacity: 0.5;
|
||||
|
Loading…
Reference in New Issue
Block a user