Update PAP for policy DB response changes
[policy/pap.git] / client / client-common / src / main / resources / css / papChartLib.css
1 /*
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20 path { //
21     stroke: #5fbadd;
22     stroke-width: 2;
23     fill: none;
24 }
25
26 .axis path, .axis line {
27     fill: none;
28     stroke: grey;
29     stroke-width: 1;
30     shape-rendering: crispEdges;
31 }
32
33 .tooltip {
34     position: absolute;
35     text-align: center;
36     width: 90px;
37     height: 42px;
38     padding: 2px;
39     font: 12px sans-serif;
40     background: white;
41     border: 2px solid grey;
42     border-radius: 8px;
43     pointer-events: none;
44 }
45
46 .papChart, .papChart_inline {
47     display: inline-block;
48     position: relative;
49     width: 45%;
50     padding-bottom: 21%;
51     vertical-align: top;
52     overflow: hidden;
53 }
54
55 .papChart:nth-child(even) {
56     margin-left: 50px;
57 }
58
59 .svg-content-responsive {
60     display: inline-block;
61     position: absolute;
62     top: 10px;
63     left: 0;
64 }