1 /* 2 * Copyright 2015-2017 ARM Limited 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 .d3-tip { 18 line-height: 1; 19 padding: 12px; 20 background: rgba(0, 0, 0, 0.6); 21 color: #fff; 22 border-radius: 2px; 23 position: absolute !important; 24 z-index: 99999; 25 } 26 27 .d3-tip:after { 28 box-sizing: border-box; 29 pointer-events: none; 30 display: inline; 31 font-size: 10px; 32 width: 100%; 33 line-height: 1; 34 color: rgba(0, 0, 0, 0.6); 35 content: "\25BC"; 36 position: absolute !important; 37 z-index: 99999; 38 text-align: center; 39 } 40 41 .d3-tip.n:after { 42 margin: -1px 0 0 0; 43 top: 100%; 44 left: 0; 45 } 46 47 .contextRect { 48 fill: lightgray; 49 fill-opacity: 0.5; 50 stroke: black; 51 stroke-width: 1; 52 stroke-opacity: 1; 53 pointer-events: none; 54 shape-rendering: crispEdges; 55 } 56 57 .chart { 58 shape-rendering: crispEdges; 59 } 60 61 .mini text { 62 font: 9px sans-serif; 63 } 64 65 .main text { 66 font: 12px sans-serif; 67 } 68 69 .axis line, .axis path { 70 stroke: black; 71 } 72 73 .miniItem { 74 stroke-width: 8; 75 } 76 77 .brush .extent { 78 79 stroke: #000; 80 fill-opacity: .125; 81 shape-rendering: crispEdges; 82 } 83