vinayakb | 60c6a8e | 2011-11-08 18:12:15 +0000 | [diff] [blame] | 1 | /*rules for the plot target div. These will be cascaded down to all plot elements according to css rules*/ |
| 2 | .jqplot-target { |
| 3 | position: relative; |
| 4 | color: #666666; |
| 5 | font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; |
| 6 | font-size: 1em; |
| 7 | /* height: 300px; |
| 8 | width: 400px;*/ |
| 9 | } |
| 10 | |
| 11 | /*rules applied to all axes*/ |
| 12 | .jqplot-axis { |
| 13 | font-size: 0.75em; |
| 14 | } |
| 15 | |
| 16 | .jqplot-xaxis { |
| 17 | margin-top: 10px; |
| 18 | } |
| 19 | |
| 20 | .jqplot-x2axis { |
| 21 | margin-bottom: 10px; |
| 22 | } |
| 23 | |
| 24 | .jqplot-yaxis { |
| 25 | margin-right: 10px; |
| 26 | } |
| 27 | |
| 28 | .jqplot-y2axis, .jqplot-y3axis, .jqplot-y4axis, .jqplot-y5axis, .jqplot-y6axis, .jqplot-y7axis, .jqplot-y8axis, .jqplot-y9axis, .jqplot-yMidAxis { |
| 29 | margin-left: 10px; |
| 30 | margin-right: 10px; |
| 31 | } |
| 32 | |
| 33 | /*rules applied to all axis tick divs*/ |
| 34 | .jqplot-axis-tick, .jqplot-xaxis-tick, .jqplot-yaxis-tick, .jqplot-x2axis-tick, .jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick, .jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick, .jqplot-yMidAxis-tick { |
| 35 | position: absolute; |
| 36 | } |
| 37 | |
| 38 | |
| 39 | .jqplot-xaxis-tick { |
| 40 | top: 0px; |
| 41 | /* initial position untill tick is drawn in proper place */ |
| 42 | left: 15px; |
| 43 | /* padding-top: 10px;*/ |
| 44 | vertical-align: top; |
| 45 | } |
| 46 | |
| 47 | .jqplot-x2axis-tick { |
| 48 | bottom: 0px; |
| 49 | /* initial position untill tick is drawn in proper place */ |
| 50 | left: 15px; |
| 51 | /* padding-bottom: 10px;*/ |
| 52 | vertical-align: bottom; |
| 53 | } |
| 54 | |
| 55 | .jqplot-yaxis-tick { |
| 56 | right: 0px; |
| 57 | /* initial position untill tick is drawn in proper place */ |
| 58 | top: 15px; |
| 59 | /* padding-right: 10px;*/ |
| 60 | text-align: right; |
| 61 | } |
| 62 | |
| 63 | .jqplot-yaxis-tick.jqplot-breakTick { |
| 64 | right: -20px; |
| 65 | margin-right: 0px; |
| 66 | padding:1px 5px 1px 5px; |
| 67 | /* background-color: white;*/ |
| 68 | z-index: 2; |
| 69 | font-size: 1.5em; |
| 70 | } |
| 71 | |
| 72 | .jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick, .jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick { |
| 73 | left: 0px; |
| 74 | /* initial position untill tick is drawn in proper place */ |
| 75 | top: 15px; |
| 76 | /* padding-left: 10px;*/ |
| 77 | /* padding-right: 15px;*/ |
| 78 | text-align: left; |
| 79 | } |
| 80 | |
| 81 | .jqplot-yMidAxis-tick { |
| 82 | text-align: center; |
| 83 | white-space: nowrap; |
| 84 | } |
| 85 | |
| 86 | .jqplot-xaxis-label { |
| 87 | margin-top: 10px; |
| 88 | font-size: 11pt; |
| 89 | position: absolute; |
| 90 | } |
| 91 | |
| 92 | .jqplot-x2axis-label { |
| 93 | margin-bottom: 10px; |
| 94 | font-size: 11pt; |
| 95 | position: absolute; |
| 96 | } |
| 97 | |
| 98 | .jqplot-yaxis-label { |
| 99 | margin-right: 10px; |
| 100 | /* text-align: center;*/ |
| 101 | font-size: 11pt; |
| 102 | position: absolute; |
| 103 | } |
| 104 | |
| 105 | .jqplot-yMidAxis-label { |
| 106 | font-size: 11pt; |
| 107 | position: absolute; |
| 108 | } |
| 109 | |
| 110 | .jqplot-y2axis-label, .jqplot-y3axis-label, .jqplot-y4axis-label, .jqplot-y5axis-label, .jqplot-y6axis-label, .jqplot-y7axis-label, .jqplot-y8axis-label, .jqplot-y9axis-label { |
| 111 | /* text-align: center;*/ |
| 112 | font-size: 11pt; |
| 113 | margin-left: 10px; |
| 114 | position: absolute; |
| 115 | } |
| 116 | |
| 117 | .jqplot-meterGauge-tick { |
| 118 | font-size: 0.75em; |
| 119 | color: #999999; |
| 120 | } |
| 121 | |
| 122 | .jqplot-meterGauge-label { |
| 123 | font-size: 1em; |
| 124 | color: #999999; |
| 125 | } |
| 126 | |
| 127 | table.jqplot-table-legend { |
| 128 | margin-top: 12px; |
| 129 | margin-bottom: 12px; |
| 130 | margin-left: 12px; |
| 131 | margin-right: 12px; |
| 132 | } |
| 133 | |
| 134 | table.jqplot-table-legend, table.jqplot-cursor-legend { |
| 135 | background-color: rgba(255,255,255,0.6); |
| 136 | border: 1px solid #cccccc; |
| 137 | position: absolute; |
| 138 | font-size: 0.75em; |
| 139 | } |
| 140 | |
| 141 | td.jqplot-table-legend { |
| 142 | vertical-align:middle; |
| 143 | } |
| 144 | |
| 145 | /* |
| 146 | These rules could be used instead of assigning |
| 147 | element styles and relying on js object properties. |
| 148 | */ |
| 149 | |
| 150 | /* |
| 151 | td.jqplot-table-legend-swatch { |
| 152 | padding-top: 0.5em; |
| 153 | text-align: center; |
| 154 | } |
| 155 | |
| 156 | tr.jqplot-table-legend:first td.jqplot-table-legend-swatch { |
| 157 | padding-top: 0px; |
| 158 | } |
| 159 | */ |
| 160 | |
| 161 | td.jqplot-seriesToggle:hover, td.jqplot-seriesToggle:active { |
| 162 | cursor: pointer; |
| 163 | } |
| 164 | |
| 165 | .jqplot-table-legend .jqplot-series-hidden { |
| 166 | text-decoration: line-through; |
| 167 | } |
| 168 | |
| 169 | div.jqplot-table-legend-swatch-outline { |
| 170 | border: 1px solid #cccccc; |
| 171 | padding:1px; |
| 172 | } |
| 173 | |
| 174 | div.jqplot-table-legend-swatch { |
| 175 | width:0px; |
| 176 | height:0px; |
| 177 | border-top-width: 5px; |
| 178 | border-bottom-width: 5px; |
| 179 | border-left-width: 6px; |
| 180 | border-right-width: 6px; |
| 181 | border-top-style: solid; |
| 182 | border-bottom-style: solid; |
| 183 | border-left-style: solid; |
| 184 | border-right-style: solid; |
| 185 | } |
| 186 | |
| 187 | .jqplot-title { |
| 188 | top: 0px; |
| 189 | left: 0px; |
| 190 | padding-bottom: 0.5em; |
| 191 | font-size: 1.2em; |
| 192 | } |
| 193 | |
| 194 | table.jqplot-cursor-tooltip { |
| 195 | border: 1px solid #cccccc; |
| 196 | font-size: 0.75em; |
| 197 | } |
| 198 | |
| 199 | |
| 200 | .jqplot-cursor-tooltip { |
| 201 | border: 1px solid #cccccc; |
| 202 | font-size: 0.75em; |
| 203 | white-space: nowrap; |
| 204 | background: rgba(208,208,208,0.5); |
| 205 | padding: 1px; |
| 206 | } |
| 207 | |
| 208 | .jqplot-highlighter-tooltip, .jqplot-canvasOverlay-tooltip { |
| 209 | border: 1px solid #cccccc; |
| 210 | font-size: 0.75em; |
| 211 | white-space: nowrap; |
| 212 | background: rgba(208,208,208,0.5); |
| 213 | padding: 1px; |
| 214 | } |
| 215 | |
| 216 | .jqplot-point-label { |
| 217 | font-size: 0.75em; |
| 218 | z-index: 2; |
| 219 | } |
| 220 | |
| 221 | td.jqplot-cursor-legend-swatch { |
| 222 | vertical-align: middle; |
| 223 | text-align: center; |
| 224 | } |
| 225 | |
| 226 | div.jqplot-cursor-legend-swatch { |
| 227 | width: 1.2em; |
| 228 | height: 0.7em; |
| 229 | } |
| 230 | |
| 231 | .jqplot-error { |
| 232 | /* Styles added to the plot target container when there is an error go here.*/ |
| 233 | text-align: center; |
| 234 | } |
| 235 | |
| 236 | .jqplot-error-message { |
| 237 | /* Styling of the custom error message div goes here.*/ |
| 238 | position: relative; |
| 239 | top: 46%; |
| 240 | display: inline-block; |
| 241 | } |
| 242 | |
| 243 | div.jqplot-bubble-label { |
| 244 | font-size: 0.8em; |
| 245 | /* background: rgba(90%, 90%, 90%, 0.15);*/ |
| 246 | padding-left: 2px; |
| 247 | padding-right: 2px; |
| 248 | color: rgb(20%, 20%, 20%); |
| 249 | } |
| 250 | |
| 251 | div.jqplot-bubble-label.jqplot-bubble-label-highlight { |
| 252 | background: rgba(90%, 90%, 90%, 0.7); |
| 253 | } |
| 254 | |
| 255 | div.jqplot-noData-container { |
| 256 | text-align: center; |
| 257 | background-color: rgba(96%, 96%, 96%, 0.3); |
| 258 | } |