Files
aowow/static/css/Mapper.css
Sarjuuk fec0daac9a moving template around
(is now a lot closer to the original, shouldn't require updating new
scripts as the structure should fit)
also some minor bugfixes
2014-03-16 01:29:29 +01:00

155 lines
3.3 KiB
CSS

.mapper {
position: relative;
margin-top: 10px;
border: 3px solid #404040;
background-color: black;
}
.mapper .pin {
position: absolute;
width: 1px;
height: 1px;
font-size: 1px;
z-index: 5; /* Put pins on top of lines */
}
.mapper .pin a {
position: relative;
width: 11px;
height: 11px;
left: -5px;
top: -5px;
background: url(../images/Mapper/pin-yellow.png) no-repeat;
display: block;
}
.mapper .pin-start a {
background-image: url(../images/Mapper/quest-start.png);
width: 9px;
height: 17px;
left: -4px;
top: -8px;
z-index: 5;
}
.mapper .pin-end a {
background-image: url(../images/Mapper/quest-end.png);
width: 12px;
height: 18px;
left: -6px;
top: -9px;
z-index: 5;
}
.mapper .pin-startend a {
background-image: url(../images/Mapper/quest-startend.png);
width: 19px;
height: 18px;
left: -9px;
top: -9px;
z-index: 5;
}
.mapper-pin, .mapper-pin-1, .mapper-pin-2, .mapper-pin-3, .mapper-pin-4 {
padding-left: 13px;
background-image: url(../images/Mapper/pin-yellow.png);
background-repeat: no-repeat;
background-position: 0 50%;
}
.mapper-pin-1, .mapper .pin-1 a { background-image: url(../images/Mapper/pin-green.png); }
.mapper-pin-2, .mapper .pin-2 a { background-image: url(../images/Mapper/pin-red.png); }
.mapper-pin-3, .mapper .pin-3 a { background-image: url(../images/Mapper/pin-blue.png); }
.mapper-pin-4, .mapper .pin-4 a { background-image: url(../images/Mapper/pin-purple.png); }
.mapper .glow {
margin: 0 2px;
font-size: 12px;
font-weight: bold;
color: white;
cursor: default;
white-space: nowrap;
}
.mapper .glow a {
text-decoration: none;
}
.mapper .glow a:hover {
text-decoration: underline;
}
.mapper-som-button {
margin: 0 !important;
float: left !important;
}
.mapper-legend {
float: left;
display: block;
background-color: #141414;
border: 1px solid #101010;
font-size: 11px;
margin: -4px 0 0 15px;
white-space: nowrap;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.mapper-legend-container {
padding: 4px 8px;
}
.mapper-legend-pin {
margin: 0 5px;
}
.mapper .line var { background: #C8B94C; }
.mapper .line-1 var { background: #73B85B; }
.mapper .line-2 var { background: #D7563C; }
.mapper .line-3 var { background: #47ACCD; }
.mapper .line-4 var { background: #C844D0; }
html.ie678 .line var {
margin-left: 0;
}
.line {
position: absolute;
display: block;
cursor: default;
}
.line var {
width: 100%;
height: 2px;
margin: -2px 0 0 2px;
display: block;
background: #FFFFFF;
border: 1px solid #181818;
border-left: none;
border-right: none;
-o-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
-o-box-shadow: 0px 0px 3px black;
/*-moz-box-shadow: 0px 0px 3px black;*/
-webkit-box-shadow: 0px 0px 3px black;
}
.line.flipped {
-o-transform: scaleY(-1);
-moz-transform: scaleY(-1);
-webkit-transform: scaleY(-1);
-ms-filter: "FlipV";
filter: FlipV;
}
.mapper .line var { background: #C8B94C; }
.mapper .line-1 var { background: #73B85B; }
.mapper .line-2 var { background: #D7563C; }
.mapper .line-3 var { background: #47ACCD; }
.mapper .line-4 var { background: #C844D0; }