jqplot.css.php 5.8 KB

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