jquery.jqplot.css 5.5 KB

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