mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Dashboard icons - send to back and fixing position when scaled up (#1915)
* Dashboard icons - send to back and fixing position when scaled up Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -329,6 +329,17 @@
|
||||
.box,
|
||||
.small-box {
|
||||
border-radius: 10px;
|
||||
z-index: 0; /* fix the small-box z-index (related to '.small-box .icon') */
|
||||
}
|
||||
|
||||
.small-box .icon {
|
||||
z-index: -1; /* sends the icon behind the text */
|
||||
}
|
||||
|
||||
/*** Icons grow on hover, but remain centered ***/
|
||||
.small-box:hover .icon {
|
||||
font-size: 90px; /* keep the same font-size, to avoid shifting the position */
|
||||
transform: scale(106%);
|
||||
}
|
||||
|
||||
.list-status-0 {
|
||||
|
||||
Reference in New Issue
Block a user