Last change
on this file since f457265 was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
3.1 KB
|
Rev | Line | |
---|
[0924b6c] | 1 | /*-- Chart --*/
|
---|
| 2 | .c3 svg {
|
---|
| 3 | font: 10px sans-serif;
|
---|
| 4 | -webkit-tap-highlight-color: transparent;
|
---|
| 5 | font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | .c3 path,
|
---|
| 9 | .c3 line {
|
---|
| 10 | fill: none;
|
---|
| 11 | stroke: rgba(0, 40, 100, 0.12);
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | .c3 text {
|
---|
| 15 | -webkit-user-select: none;
|
---|
| 16 | -moz-user-select: none;
|
---|
| 17 | -ms-user-select: none;
|
---|
| 18 | user-select: none;
|
---|
| 19 | font-size: px2rem(12px);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | .c3-legend-item-tile,
|
---|
| 23 | .c3-xgrid-focus,
|
---|
| 24 | .c3-ygrid,
|
---|
| 25 | .c3-event-rect,
|
---|
| 26 | .c3-bars path {
|
---|
| 27 | shape-rendering: crispEdges;
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | .c3-chart-arc path {
|
---|
| 31 | stroke: #fff;
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | .c3-chart-arc text {
|
---|
| 35 | fill: #fff;
|
---|
| 36 | font-size: 13px;
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | /*-- Axis --*/
|
---|
| 40 | /*-- Grid --*/
|
---|
| 41 | .c3-grid line {
|
---|
| 42 | stroke: #f0f0f0;
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 | .c3-grid text {
|
---|
| 46 | fill: #aaa;
|
---|
| 47 | }
|
---|
| 48 |
|
---|
| 49 | .c3-xgrid,
|
---|
| 50 | .c3-ygrid {
|
---|
| 51 | stroke: #e6e6e6;
|
---|
| 52 | stroke-dasharray: 2 4;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | /*-- Text on Chart --*/
|
---|
| 56 | .c3-text {
|
---|
| 57 | font-size: 12px;
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | .c3-text.c3-empty {
|
---|
| 61 | fill: #808080;
|
---|
| 62 | font-size: 2em;
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | /*-- Line --*/
|
---|
| 66 | .c3-line {
|
---|
| 67 | stroke-width: 2px;
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | /*-- Point --*/
|
---|
| 71 | .c3-circle._expanded_ {
|
---|
| 72 | stroke-width: 2px;
|
---|
| 73 | stroke: white;
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | .c3-selected-circle {
|
---|
| 77 | fill: white;
|
---|
| 78 | stroke-width: 1.5px;
|
---|
| 79 | }
|
---|
| 80 |
|
---|
| 81 | /*-- Bar --*/
|
---|
| 82 | .c3-bar {
|
---|
| 83 | stroke-width: 0;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | .c3-bar._expanded_ {
|
---|
| 87 | fill-opacity: 1;
|
---|
| 88 | fill-opacity: 0.75;
|
---|
| 89 | }
|
---|
| 90 |
|
---|
| 91 | /*-- Focus --*/
|
---|
| 92 | .c3-target.c3-focused {
|
---|
| 93 | opacity: 1;
|
---|
| 94 | }
|
---|
| 95 |
|
---|
| 96 | .c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
|
---|
| 97 | stroke-width: 2px;
|
---|
| 98 | }
|
---|
| 99 |
|
---|
| 100 | .c3-target.c3-defocused {
|
---|
| 101 | opacity: 0.3 !important;
|
---|
| 102 | }
|
---|
| 103 |
|
---|
| 104 | /*-- Region --*/
|
---|
| 105 | .c3-region {
|
---|
| 106 | fill: steelblue;
|
---|
| 107 | fill-opacity: .1;
|
---|
| 108 | }
|
---|
| 109 |
|
---|
| 110 | /*-- Brush --*/
|
---|
| 111 | .c3-brush .extent {
|
---|
| 112 | fill-opacity: .1;
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | /*-- Select - Drag --*/
|
---|
| 116 | /*-- Legend --*/
|
---|
| 117 | .c3-legend-item text {
|
---|
| 118 | fill: #545454;
|
---|
| 119 | font-size: 14px;
|
---|
| 120 | }
|
---|
| 121 |
|
---|
| 122 | .c3-legend-item-hidden {
|
---|
| 123 | opacity: 0.15;
|
---|
| 124 | }
|
---|
| 125 |
|
---|
| 126 | .c3-legend-background {
|
---|
| 127 | fill: transparent;
|
---|
| 128 | stroke: lightgray;
|
---|
| 129 | stroke-width: 0;
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | /*-- Title --*/
|
---|
| 133 | .c3-title {
|
---|
| 134 | font: 14px sans-serif;
|
---|
| 135 | }
|
---|
| 136 |
|
---|
| 137 | /*-- Tooltip --*/
|
---|
| 138 | .c3-tooltip-container {
|
---|
| 139 | z-index: 10;
|
---|
| 140 | }
|
---|
| 141 |
|
---|
| 142 | .c3-tooltip {
|
---|
| 143 | border-collapse: collapse;
|
---|
| 144 | border-spacing: 0;
|
---|
| 145 | empty-cells: show;
|
---|
| 146 | font-size: 11px;
|
---|
| 147 | line-height: 1;
|
---|
| 148 | font-weight: 700;
|
---|
| 149 | color: #fff;
|
---|
| 150 | border-radius: 3px;
|
---|
| 151 | background: #212529;
|
---|
| 152 | white-space: nowrap;
|
---|
| 153 | }
|
---|
| 154 |
|
---|
| 155 | .c3-tooltip th {
|
---|
| 156 | padding: 6px 6px;
|
---|
| 157 | text-align: left;
|
---|
| 158 | }
|
---|
| 159 |
|
---|
| 160 | .c3-tooltip td {
|
---|
| 161 | padding: 4px 6px;
|
---|
| 162 | font-weight: 400;
|
---|
| 163 | }
|
---|
| 164 |
|
---|
| 165 | .c3-tooltip td > span {
|
---|
| 166 | display: inline-block;
|
---|
| 167 | width: 8px;
|
---|
| 168 | height: 8px;
|
---|
| 169 | margin-right: 8px;
|
---|
| 170 | border-radius: 50%;
|
---|
| 171 | vertical-align: baseline;
|
---|
| 172 | }
|
---|
| 173 |
|
---|
| 174 | .c3-tooltip td.value {
|
---|
| 175 | text-align: right;
|
---|
| 176 | }
|
---|
| 177 |
|
---|
| 178 | /*-- Area --*/
|
---|
| 179 | .c3-area {
|
---|
| 180 | stroke-width: 0;
|
---|
| 181 | opacity: 0.1;
|
---|
| 182 | }
|
---|
| 183 |
|
---|
| 184 | .c3-target-filled .c3-area {
|
---|
| 185 | opacity: 1 !important;
|
---|
| 186 | }
|
---|
| 187 |
|
---|
| 188 | /*-- Arc --*/
|
---|
| 189 | .c3-chart-arcs-title {
|
---|
| 190 | dominant-baseline: middle;
|
---|
| 191 | font-size: 1.3em;
|
---|
| 192 | }
|
---|
| 193 |
|
---|
| 194 | .c3-chart-arcs .c3-chart-arcs-background {
|
---|
| 195 | fill: #e0e0e0;
|
---|
| 196 | stroke: none;
|
---|
| 197 | }
|
---|
| 198 |
|
---|
| 199 | .c3-chart-arcs .c3-chart-arcs-gauge-unit {
|
---|
| 200 | fill: #000;
|
---|
| 201 | font-size: 16px;
|
---|
| 202 | }
|
---|
| 203 |
|
---|
| 204 | .c3-chart-arcs .c3-chart-arcs-gauge-max {
|
---|
| 205 | fill: #777;
|
---|
| 206 | }
|
---|
| 207 |
|
---|
| 208 | .c3-chart-arcs .c3-chart-arcs-gauge-min {
|
---|
| 209 | fill: #777;
|
---|
| 210 | }
|
---|
| 211 |
|
---|
| 212 | .c3-chart-arc .c3-gauge-value {
|
---|
| 213 | fill: #000;
|
---|
| 214 | /* font-size: 28px !important;*/
|
---|
| 215 | }
|
---|
| 216 |
|
---|
| 217 | .c3-chart-arc.c3-target g path {
|
---|
| 218 | opacity: 1;
|
---|
| 219 | }
|
---|
| 220 |
|
---|
| 221 | .c3-chart-arc.c3-target.c3-focused g path {
|
---|
| 222 | opacity: 1;
|
---|
| 223 | }
|
---|
| 224 |
|
---|
| 225 | .c3-axis {
|
---|
| 226 | fill: #9aa0ac;
|
---|
| 227 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.