| 1 |
.rickshaw_legend { |
| 2 |
font-family: Arial; |
| 3 |
font-size: 12px; |
| 4 |
color: white; |
| 5 |
background: #404040; |
| 6 |
display: inline-block; |
| 7 |
padding: 12px 5px; |
| 8 |
border-radius: 2px; |
| 9 |
position: relative; |
| 10 |
} |
| 11 |
.rickshaw_legend:hover { |
| 12 |
z-index: 10; |
| 13 |
} |
| 14 |
.rickshaw_legend .swatch { |
| 15 |
width: 10px; |
| 16 |
height: 10px; |
| 17 |
border: 1px solid rgba(0, 0, 0, 0.2); |
| 18 |
} |
| 19 |
.rickshaw_legend .line { |
| 20 |
clear: both; |
| 21 |
line-height: 140%; |
| 22 |
padding-right: 15px; |
| 23 |
} |
| 24 |
.rickshaw_legend .line .swatch { |
| 25 |
display: inline-block; |
| 26 |
margin-right: 3px; |
| 27 |
border-radius: 2px; |
| 28 |
} |
| 29 |
.rickshaw_legend .label { |
| 30 |
margin: 0; |
| 31 |
white-space: nowrap; |
| 32 |
display: inline; |
| 33 |
font-size: inherit; |
| 34 |
background-color: transparent; |
| 35 |
color: inherit; |
| 36 |
font-weight: normal; |
| 37 |
line-height: normal; |
| 38 |
padding: 0px; |
| 39 |
text-shadow: none; |
| 40 |
} |
| 41 |
.rickshaw_legend .action:hover { |
| 42 |
opacity: 0.6; |
| 43 |
} |
| 44 |
.rickshaw_legend .action { |
| 45 |
margin-right: 0.2em; |
| 46 |
font-size: 10px; |
| 47 |
opacity: 0.2; |
| 48 |
cursor: pointer; |
| 49 |
font-size: 14px; |
| 50 |
} |
| 51 |
.rickshaw_legend .line.disabled { |
| 52 |
opacity: 0.4; |
| 53 |
} |
| 54 |
.rickshaw_legend ul { |
| 55 |
list-style-type: none; |
| 56 |
margin: 0; |
| 57 |
padding: 0; |
| 58 |
margin: 2px; |
| 59 |
cursor: pointer; |
| 60 |
} |
| 61 |
.rickshaw_legend li { |
| 62 |
padding: 0 0 0 2px; |
| 63 |
min-width: 80px; |
| 64 |
white-space: nowrap; |
| 65 |
} |
| 66 |
.rickshaw_legend li:hover { |
| 67 |
background: rgba(255, 255, 255, 0.08); |
| 68 |
border-radius: 3px; |
| 69 |
} |
| 70 |
.rickshaw_legend li:active { |
| 71 |
background: rgba(255, 255, 255, 0.2); |
| 72 |
border-radius: 3px; |
| 73 |
} |