c3-rtl.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /*-- Chart --*/
  2. .c3 svg {
  3. font: 10px sans-serif;
  4. -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  5. .c3 path, .c3 line {
  6. fill: none;
  7. stroke: #000; }
  8. .c3 text {
  9. -webkit-user-select: none;
  10. -moz-user-select: none;
  11. -ms-user-select: none;
  12. user-select: none; }
  13. .c3-legend-item-tile,
  14. .c3-xgrid-focus,
  15. .c3-ygrid,
  16. .c3-event-rect,
  17. .c3-bars path {
  18. shape-rendering: crispEdges; }
  19. .c3-chart-arc path {
  20. stroke: #fff; }
  21. .c3-chart-arc rect {
  22. stroke: white;
  23. stroke-width: 1; }
  24. .c3-chart-arc text {
  25. fill: #fff;
  26. font-size: 13px; }
  27. /*-- Axis --*/
  28. /*-- Grid --*/
  29. .c3-grid line {
  30. stroke: #aaa; }
  31. .c3-grid text {
  32. fill: #aaa; }
  33. .c3-xgrid, .c3-ygrid {
  34. stroke-dasharray: 3 3; }
  35. /*-- Text on Chart --*/
  36. .c3-text.c3-empty {
  37. fill: #808080;
  38. font-size: 2em; }
  39. /*-- Line --*/
  40. .c3-line {
  41. stroke-width: 1px; }
  42. /*-- Point --*/
  43. .c3-circle {
  44. fill: currentColor; }
  45. .c3-circle._expanded_ {
  46. stroke-width: 1px;
  47. stroke: white; }
  48. .c3-selected-circle {
  49. fill: white;
  50. stroke-width: 2px; }
  51. /*-- Bar --*/
  52. .c3-bar {
  53. stroke-width: 0; }
  54. .c3-bar._expanded_ {
  55. fill-opacity: 1;
  56. fill-opacity: 0.75; }
  57. /*-- Focus --*/
  58. .c3-target.c3-focused {
  59. opacity: 1; }
  60. .c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
  61. stroke-width: 2px; }
  62. .c3-target.c3-defocused {
  63. opacity: 0.3 !important; }
  64. /*-- Region --*/
  65. .c3-region {
  66. fill: steelblue;
  67. fill-opacity: 0.1; }
  68. /*-- Brush --*/
  69. .c3-brush .extent {
  70. fill-opacity: 0.1; }
  71. /*-- Select - Drag --*/
  72. /*-- Legend --*/
  73. .c3-legend-item {
  74. font-size: 12px; }
  75. .c3-legend-item-hidden {
  76. opacity: 0.15; }
  77. .c3-legend-background {
  78. opacity: 0.75;
  79. fill: white;
  80. stroke: lightgray;
  81. stroke-width: 1; }
  82. /*-- Title --*/
  83. .c3-title {
  84. font: 14px sans-serif; }
  85. /*-- Tooltip --*/
  86. .c3-tooltip-container {
  87. z-index: 10; }
  88. .c3-tooltip {
  89. border-collapse: collapse;
  90. border-spacing: 0;
  91. background-color: #fff;
  92. empty-cells: show;
  93. -webkit-box-shadow: -7px 7px 12px -9px #777777;
  94. box-shadow: -7px 7px 12px -9px #777777;
  95. opacity: 0.9; }
  96. .c3-tooltip tr {
  97. border: 1px solid #CCC; }
  98. .c3-tooltip th {
  99. background-color: #aaa;
  100. font-size: 14px;
  101. padding: 2px 5px;
  102. text-align: right;
  103. color: #FFF; }
  104. .c3-tooltip td {
  105. font-size: 13px;
  106. padding: 3px 6px;
  107. background-color: #fff;
  108. border-right: 1px dotted #999; }
  109. .c3-tooltip td > span {
  110. display: inline-block;
  111. width: 10px;
  112. height: 10px;
  113. margin-left: 6px; }
  114. .c3-tooltip .value {
  115. text-align: left; }
  116. /*-- Area --*/
  117. .c3-area {
  118. stroke-width: 0;
  119. opacity: 0.2; }
  120. /*-- Arc --*/
  121. .c3-chart-arcs-title {
  122. dominant-baseline: middle;
  123. font-size: 1.3em; }
  124. .c3-chart-arcs .c3-chart-arcs-background {
  125. fill: #e0e0e0;
  126. stroke: #FFF; }
  127. .c3-chart-arcs .c3-chart-arcs-gauge-unit {
  128. fill: #000;
  129. font-size: 16px; }
  130. .c3-chart-arcs .c3-chart-arcs-gauge-max {
  131. fill: #777; }
  132. .c3-chart-arcs .c3-chart-arcs-gauge-min {
  133. fill: #777; }
  134. .c3-chart-arc .c3-gauge-value {
  135. fill: #000;
  136. /* font-size: 28px !important;*/ }
  137. .c3-chart-arc.c3-target g path {
  138. opacity: 1; }
  139. .c3-chart-arc.c3-target.c3-focused g path {
  140. opacity: 1; }
  141. /*-- Zoom --*/
  142. .c3-drag-zoom.enabled {
  143. pointer-events: all !important;
  144. visibility: visible; }
  145. .c3-drag-zoom.disabled {
  146. pointer-events: none !important;
  147. visibility: hidden; }
  148. .c3-drag-zoom .extent {
  149. fill-opacity: 0.1; }