graph.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. .graph-canvas-wrapper {
  2. position: relative;
  3. }
  4. .graph-legend {
  5. margin: 0 20px;
  6. text-align: left;
  7. position: relative;
  8. top: 2px;
  9. .popover-content {
  10. padding: 0;
  11. }
  12. }
  13. .graph-legend-icon {
  14. position: relative;
  15. top: 2px;
  16. }
  17. .graph-legend-series,
  18. .graph-legend-icon,
  19. .graph-legend-alias,
  20. .graph-legend-value {
  21. display: inline-block;
  22. white-space: nowrap;
  23. }
  24. .graph-legend-series {
  25. padding-left: 10px;
  26. }
  27. .graph-legend-value {
  28. padding-left: 6px;
  29. }
  30. .graph-legend-table {
  31. display: table;
  32. .graph-legend-series {
  33. display: table-row;
  34. padding-left: 0;
  35. &.pull-right {
  36. float: none;
  37. .graph-legend-alias::after {
  38. content: 'y\00B2';
  39. }
  40. }
  41. }
  42. .graph-legend-alias {
  43. display: table-cell;
  44. white-space: nowrap;
  45. }
  46. .graph-legend-icon {
  47. display: table-cell;
  48. white-space: nowrap;
  49. padding: 0 4px;
  50. }
  51. .graph-legend-value {
  52. display: table-cell;
  53. white-space: nowrap;
  54. padding-left: 15px;
  55. }
  56. }
  57. .graph-legend-rightside {
  58. &.graph-wrapper {
  59. display: table;
  60. width: 100%;
  61. }
  62. .graph-canvas-wrapper {
  63. display: table-cell;
  64. width: 100%;
  65. position: relative;
  66. }
  67. .graph-legend-wrapper {
  68. display: table-cell;
  69. vertical-align: top;
  70. position: relative;
  71. left: -4px;
  72. }
  73. .graph-legend {
  74. margin: 0;
  75. }
  76. .graph-legend-series {
  77. display: block;
  78. padding-left: 0px;
  79. }
  80. .graph-legend-table .graph-legend-series {
  81. display: table-row;
  82. }
  83. }
  84. .graph-legend-series-hidden {
  85. a {
  86. color: darken(@linkColor, 45%);
  87. }
  88. }
  89. .graph-legend-popover {
  90. width: 200px;
  91. label {
  92. display: inline-block;
  93. }
  94. .btn {
  95. padding: 1px 3px;
  96. margin-right: 0px;
  97. line-height: initial;
  98. }
  99. .close {
  100. margin-right: 5px;
  101. color: @linkColor;
  102. opacity: 0.7;
  103. text-shadow: none;
  104. }
  105. .editor-row {
  106. padding: 5px;
  107. }
  108. }
  109. .annotation-tags {
  110. color: @purple;
  111. }