mirror of
https://github.com/longsleep/realtimetraffic.git
synced 2024-11-18 01:30:41 +01:00
62 lines
1 KiB
CSS
62 lines
1 KiB
CSS
|
.rickshaw_legend {
|
||
|
display: inline-block;
|
||
|
padding: 12px 5px;
|
||
|
position: relative;
|
||
|
}
|
||
|
.rickshaw_legend:hover {
|
||
|
z-index: 10;
|
||
|
}
|
||
|
.rickshaw_legend .swatch {
|
||
|
width: 10px;
|
||
|
height: 10px;
|
||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||
|
}
|
||
|
.rickshaw_legend .line {
|
||
|
clear: both;
|
||
|
line-height: 140%;
|
||
|
padding-right: 15px;
|
||
|
}
|
||
|
.rickshaw_legend .line .swatch {
|
||
|
display: inline-block;
|
||
|
margin-right: 3px;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
.rickshaw_legend .label {
|
||
|
white-space: nowrap;
|
||
|
display: inline;
|
||
|
}
|
||
|
.rickshaw_legend .action:hover {
|
||
|
opacity: 0.6;
|
||
|
}
|
||
|
.rickshaw_legend .action {
|
||
|
margin-right: 0.2em;
|
||
|
font-size: 10px;
|
||
|
opacity: 0.2;
|
||
|
cursor: pointer;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
.rickshaw_legend .line.disabled {
|
||
|
opacity: 0.4;
|
||
|
}
|
||
|
.rickshaw_legend ul {
|
||
|
list-style-type: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
margin: 2px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.rickshaw_legend li {
|
||
|
padding: 0 0 0 2px;
|
||
|
min-width: 80px;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
.rickshaw_legend li:hover {
|
||
|
background: rgba(255, 255, 255, 0.08);
|
||
|
border-radius: 3px;
|
||
|
}
|
||
|
.rickshaw_legend li:active {
|
||
|
background: rgba(255, 255, 255, 0.2);
|
||
|
border-radius: 3px;
|
||
|
}
|
||
|
|