| 1 |
.rickshaw_graph .detail { |
| 2 |
pointer-events: none; |
| 3 |
position: absolute; |
| 4 |
top: 0; |
| 5 |
z-index: 2; |
| 6 |
background: rgba(0, 0, 0, 0.1); |
| 7 |
bottom: 0; |
| 8 |
width: 1px; |
| 9 |
transition: opacity 0.25s linear; |
| 10 |
-moz-transition: opacity 0.25s linear; |
| 11 |
-o-transition: opacity 0.25s linear; |
| 12 |
-webkit-transition: opacity 0.25s linear; |
| 13 |
} |
| 14 |
.rickshaw_graph .detail.inactive { |
| 15 |
opacity: 0; |
| 16 |
} |
| 17 |
.rickshaw_graph .detail .item.active { |
| 18 |
opacity: 1; |
| 19 |
} |
| 20 |
.rickshaw_graph .detail .x_label { |
| 21 |
font-family: Arial, sans-serif; |
| 22 |
border-radius: 3px; |
| 23 |
padding: 6px; |
| 24 |
opacity: 0.5; |
| 25 |
border: 1px solid #e0e0e0; |
| 26 |
font-size: 12px; |
| 27 |
position: absolute; |
| 28 |
background: white; |
| 29 |
white-space: nowrap; |
| 30 |
} |
| 31 |
.rickshaw_graph .detail .x_label.left { |
| 32 |
left: 0; |
| 33 |
} |
| 34 |
.rickshaw_graph .detail .x_label.right { |
| 35 |
right: 0; |
| 36 |
} |
| 37 |
.rickshaw_graph .detail .item { |
| 38 |
position: absolute; |
| 39 |
z-index: 2; |
| 40 |
border-radius: 3px; |
| 41 |
padding: 0.25em; |
| 42 |
font-size: 12px; |
| 43 |
font-family: Arial, sans-serif; |
| 44 |
opacity: 0; |
| 45 |
background: rgba(0, 0, 0, 0.4); |
| 46 |
color: white; |
| 47 |
border: 1px solid rgba(0, 0, 0, 0.4); |
| 48 |
margin-left: 1em; |
| 49 |
margin-right: 1em; |
| 50 |
margin-top: -1em; |
| 51 |
white-space: nowrap; |
| 52 |
} |
| 53 |
.rickshaw_graph .detail .item.left { |
| 54 |
left: 0; |
| 55 |
} |
| 56 |
.rickshaw_graph .detail .item.right { |
| 57 |
right: 0; |
| 58 |
} |
| 59 |
.rickshaw_graph .detail .item.active { |
| 60 |
opacity: 1; |
| 61 |
background: rgba(0, 0, 0, 0.8); |
| 62 |
} |
| 63 |
.rickshaw_graph .detail .item:after { |
| 64 |
position: absolute; |
| 65 |
display: block; |
| 66 |
width: 0; |
| 67 |
height: 0; |
| 68 |
|
| 69 |
content: ""; |
| 70 |
|
| 71 |
border: 5px solid transparent; |
| 72 |
} |
| 73 |
.rickshaw_graph .detail .item.left:after { |
| 74 |
top: 1em; |
| 75 |
left: -5px; |
| 76 |
margin-top: -5px; |
| 77 |
border-right-color: rgba(0, 0, 0, 0.8); |
| 78 |
border-left-width: 0; |
| 79 |
} |
| 80 |
.rickshaw_graph .detail .item.right:after { |
| 81 |
top: 1em; |
| 82 |
right: -5px; |
| 83 |
margin-top: -5px; |
| 84 |
border-left-color: rgba(0, 0, 0, 0.8); |
| 85 |
border-right-width: 0; |
| 86 |
} |
| 87 |
.rickshaw_graph .detail .dot { |
| 88 |
width: 4px; |
| 89 |
height: 4px; |
| 90 |
margin-left: -3px; |
| 91 |
margin-top: -3.5px; |
| 92 |
border-radius: 5px; |
| 93 |
position: absolute; |
| 94 |
box-shadow: 0 0 2px rgba(0, 0, 0, 0.6); |
| 95 |
box-sizing: content-box; |
| 96 |
-moz-box-sizing: content-box; |
| 97 |
background: white; |
| 98 |
border-width: 2px; |
| 99 |
border-style: solid; |
| 100 |
display: none; |
| 101 |
background-clip: padding-box; |
| 102 |
} |
| 103 |
.rickshaw_graph .detail .dot.active { |
| 104 |
display: block; |
| 105 |
} |