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 | |
| 13 | marker#arr { |
| 14 | overflow: visible; |
| 15 | path { |
| 16 | fill-opacity:1; |
| 17 | stroke-width: 2; |
| 18 | stroke: $darkest-orange; |
| 19 | fill: $darkest-orange; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | path.anchor { |
| 24 | stroke: $darkest-orange; |
Akron | 65d3108 | 2017-09-08 16:23:40 +0200 | [diff] [blame] | 25 | stroke-width: 3; |
| 26 | stroke-linecap: round; |
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 27 | z-index: 20; |
| 28 | } |
| 29 | |
| 30 | g.root rect.empty { |
| 31 | stroke: $darker-orange; |
| 32 | fill: $darker-orange; |
| 33 | stroke-width: 2px; |
| 34 | } |
| 35 | |
Akron | 65d3108 | 2017-09-08 16:23:40 +0200 | [diff] [blame] | 36 | g.middle, g.arc { |
| 37 | rect { |
| 38 | stroke: $darker-orange; |
| 39 | stroke-width: 2px; |
| 40 | fill: $middle-orange; |
| 41 | } |
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | g.middle.mark { |
| 45 | rect { |
| 46 | fill: $darker-orange; |
| 47 | } |
| 48 | > text { |
| 49 | fill: $light-orange; |
| 50 | > tspan { |
| 51 | stroke: $light-orange; |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | |
| 57 | g.leaf.mark text > tspan { |
| 58 | font-weight: bold; |
| 59 | } |
| 60 | |
| 61 | g.leaf > rect { |
| 62 | display: none; |
| 63 | } |
| 64 | |
| 65 | g > text > tspan { |
| 66 | text-anchor: middle; |
| 67 | font-size: 9pt; |
| 68 | } |
| 69 | |
Akron | 3d20428 | 2017-09-07 18:24:18 +0200 | [diff] [blame] | 70 | g.leaf > text, |
| 71 | text.leaf { |
| 72 | > tspan { |
| 73 | font-size: 10pt; |
| 74 | overflow: visible; |
Akron | 65d3108 | 2017-09-08 16:23:40 +0200 | [diff] [blame] | 75 | z-index: 30; |
Akron | 3d20428 | 2017-09-07 18:24:18 +0200 | [diff] [blame] | 76 | } |
Akron | 1517513 | 2017-09-07 18:12:55 +0200 | [diff] [blame] | 77 | } |