jqplot.css.php 5.9 KB

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