All new aditions to topology
[VSoRC/.git] / styles / topology.css
1 /*
2     Copyright (c) Maen Artimy, 2018
3 */
4
5 @import "colors.css";
6
7 svg {
8   /*background-color: var(--scolor-2);*/
9   border-style: solid;
10   border-width: 2px;
11   border-color: var(--scolor-2);
12   border-radius: 5px;
13 }
14
15 .node image {
16   width: 60px;
17   height: 60px;
18 }
19
20 text.label {
21   fill: var(--scolor-4);
22   text-anchor: start;
23 }
24
25 .links line {
26   stroke: var(--scolor-3);
27   stroke-opacity: 0.6;
28 }
29
30 circle {
31   stroke: var(--scolor-3);
32   fill: white;
33 }
34
35 text.start, text.end {
36   fill: var(--scolor-3);
37   text-anchor: middle;
38   alignment-baseline: middle;
39   font-size: 0.75em;
40 }
41
42
43 .node circle {
44   fill: #fff;
45   stroke: var(--scolor-3);
46   stroke-width: 2px;
47 }
48
49 .node text { font: 12px sans-serif; }
50
51 .link {
52   fill: none;
53   stroke: var(--scolor-3);
54   stroke-width: 1px;
55 }
56
57 div.tooltip {   
58   position: absolute;                   
59   text-align: left;                             
60   padding: 5px;
61   color: white;
62   background: var(--scolor-3);                  
63   border: 0px;          
64   border-radius: 2px;                   
65   pointer-events: none;                 
66 }