Added pinning.

This commit is contained in:
FrozenCow 2011-02-18 00:07:51 +01:00
parent c67b2e5cc2
commit b860c7dd0e
3 changed files with 13 additions and 0 deletions

View File

@ -174,6 +174,19 @@ body {
transition: all 0.6s ease-in-out;
}
.dynmap .sidebar .panel > .pin {
position: absolute;
right: 4px;
top: 4px;
width: 16px;
height: 16px;
background-image: url(window_unpinned.png);
}
.dynmap .sidebar.pinned .panel > .pin {
background-image: url(window_pinned.png);
}
/* magic and metrics */
.dynmap .sidebar:hover,

BIN
web/window_pinned.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
web/window_unpinned.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B