Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 1 | @charset "utf-8"; |
2 | @import "../util"; | ||||
3 | |||||
4 | /** | ||||
5 | * SVG tree | ||||
6 | */ | ||||
7 | path.edge { | ||||
8 | stroke: $darker-orange; | ||||
9 | stroke-width: 2px; | ||||
10 | fill: none; | ||||
11 | } | ||||
12 | |||||
Akron | 430332b | 2017-11-20 15:36:51 +0100 | [diff] [blame^] | 13 | g.arc.infocus > path.edge { |
14 | stroke: $dark-green; | ||||
15 | } | ||||
16 | |||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 17 | marker#arr { |
18 | overflow: visible; | ||||
19 | path { | ||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 20 | stroke: $darkest-orange; |
21 | fill: $darkest-orange; | ||||
Akron | 430332b | 2017-11-20 15:36:51 +0100 | [diff] [blame^] | 22 | fill-opacity:1; |
23 | stroke-width: 2; | ||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 24 | } |
25 | } | ||||
26 | |||||
27 | path.anchor { | ||||
28 | stroke: $darkest-orange; | ||||
Akron | 65d3108 | 2017-09-08 16:23:40 +0200 | [diff] [blame] | 29 | stroke-width: 3; |
30 | stroke-linecap: round; | ||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 31 | z-index: 20; |
32 | } | ||||
33 | |||||
34 | g.root rect.empty { | ||||
35 | stroke: $darker-orange; | ||||
36 | fill: $darker-orange; | ||||
37 | stroke-width: 2px; | ||||
38 | } | ||||
39 | |||||
Akron | c9f2302 | 2017-09-13 15:43:52 +0200 | [diff] [blame] | 40 | g.middle, g.label { |
Akron | 65d3108 | 2017-09-08 16:23:40 +0200 | [diff] [blame] | 41 | rect { |
42 | stroke: $darker-orange; | ||||
43 | stroke-width: 2px; | ||||
44 | fill: $middle-orange; | ||||
45 | } | ||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 46 | } |
47 | |||||
Akron | 430332b | 2017-11-20 15:36:51 +0100 | [diff] [blame^] | 48 | g.label.infocus rect { |
49 | stroke: $dark-green; | ||||
50 | fill: $lightest-green; | ||||
51 | } | ||||
52 | |||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 53 | g.middle.mark { |
54 | rect { | ||||
55 | fill: $darker-orange; | ||||
56 | } | ||||
57 | > text { | ||||
58 | fill: $light-orange; | ||||
59 | > tspan { | ||||
60 | stroke: $light-orange; | ||||
61 | } | ||||
62 | } | ||||
63 | } | ||||
64 | |||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 65 | g.leaf.mark text > tspan { |
66 | font-weight: bold; | ||||
67 | } | ||||
68 | |||||
69 | g.leaf > rect { | ||||
70 | display: none; | ||||
71 | } | ||||
72 | |||||
73 | g > text > tspan { | ||||
74 | text-anchor: middle; | ||||
75 | font-size: 9pt; | ||||
76 | } | ||||
77 | |||||
Akron | 3d20428 | 2017-09-07 18:24:18 +0200 | [diff] [blame] | 78 | g.leaf > text, |
79 | text.leaf { | ||||
80 | > tspan { | ||||
81 | font-size: 10pt; | ||||
82 | overflow: visible; | ||||
83 | } | ||||
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 84 | } |