dygraph.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /**
  2. * Default styles for the dygraphs charting library.
  3. */
  4. .dygraph-legend {
  5. position: absolute;
  6. font-size: 14px;
  7. z-index: 10;
  8. width: 250px;
  9. /* labelsDivWidth */
  10. /*
  11. dygraphs determines these based on the presence of chart labels.
  12. It might make more sense to create a wrapper div around the chart proper.
  13. top: 0px;
  14. right: 2px;
  15. */
  16. background: white;
  17. line-height: normal;
  18. text-align: left;
  19. overflow: hidden; }
  20. /* styles for a solid line in the legend */
  21. .dygraph-legend-line {
  22. display: inline-block;
  23. position: relative;
  24. bottom: .5ex;
  25. padding-left: 1em;
  26. height: 1px;
  27. border-bottom-width: 2px;
  28. border-bottom-style: solid;
  29. /* border-bottom-color is set based on the series color */ }
  30. /* styles for a dashed line in the legend, e.g. when strokePattern is set */
  31. .dygraph-legend-dash {
  32. display: inline-block;
  33. position: relative;
  34. bottom: .5ex;
  35. height: 1px;
  36. border-bottom-width: 2px;
  37. border-bottom-style: solid;
  38. /* border-bottom-color is set based on the series color */
  39. /* margin-right is set based on the stroke pattern */
  40. /* padding-left is set based on the stroke pattern */ }
  41. .dygraph-roller {
  42. position: absolute;
  43. z-index: 10; }
  44. /* This class is shared by all annotations, including those with icons */
  45. .dygraph-annotation {
  46. position: absolute;
  47. z-index: 10;
  48. overflow: hidden; }
  49. /* This class only applies to annotations without icons */
  50. /* Old class name: .dygraphDefaultAnnotation */
  51. .dygraph-default-annotation {
  52. border: 1px solid black;
  53. background-color: white;
  54. text-align: center; }
  55. .dygraph-axis-label {
  56. /* position: absolute; */
  57. /* font-size: 14px; */
  58. z-index: 10;
  59. line-height: normal;
  60. overflow: hidden;
  61. color: black;
  62. /* replaces old axisLabelColor option */ }
  63. .dygraph-title {
  64. font-weight: bold;
  65. z-index: 10;
  66. text-align: center;
  67. /* font-size: based on titleHeight option */ }
  68. .dygraph-xlabel {
  69. text-align: center;
  70. /* font-size: based on xLabelHeight option */ }
  71. /* For y-axis label */
  72. .dygraph-label-rotate-left {
  73. text-align: center;
  74. /* See http://caniuse.com/#feat=transforms2d */
  75. transform: rotate(90deg);
  76. -webkit-transform: rotate(90deg);
  77. -moz-transform: rotate(90deg);
  78. -o-transform: rotate(90deg);
  79. -ms-transform: rotate(90deg); }
  80. /* For y2-axis label */
  81. .dygraph-label-rotate-right {
  82. text-align: center;
  83. /* See http://caniuse.com/#feat=transforms2d */
  84. transform: rotate(-90deg);
  85. -webkit-transform: rotate(-90deg);
  86. -moz-transform: rotate(-90deg);
  87. -o-transform: rotate(-90deg);
  88. -ms-transform: rotate(-90deg); }
  89. /*# sourceMappingURL=dygraph.css.map */