Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 1 | @import './../../../style/vars.scss'; |
| 2 | @import '../../../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables'; |
| 3 | |
| 4 | xos-fine-grained-tenancy-graph { |
| 5 | display: block; |
Matteo Scandolo | 6d3e80e | 2017-03-10 11:34:43 -0800 | [diff] [blame] | 6 | height: 100%; |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 7 | // background: $color-accent; |
| 8 | |
| 9 | svg { |
Matteo Scandolo | 520a8a1 | 2017-03-10 17:31:37 -0800 | [diff] [blame] | 10 | height: 90%; |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 11 | width: 100%; |
| 12 | background-color: $panel-filled-bg; |
| 13 | border-radius: 3px; |
| 14 | } |
| 15 | |
| 16 | .node-group { |
| 17 | |
| 18 | .node { |
| 19 | cursor: pointer; |
| 20 | } |
| 21 | |
Simon Hunt | c8f2314 | 2017-03-14 14:11:13 -0700 | [diff] [blame] | 22 | .node .symbol { |
| 23 | fill-rule: evenodd; |
| 24 | stroke: #bbddff; |
| 25 | stroke-width: 4.0px; |
| 26 | fill: none; |
| 27 | } |
| 28 | .node .symbol-bg { |
| 29 | fill-rule: evenodd; |
| 30 | stroke: none; |
| 31 | fill: $background-color; |
| 32 | } |
| 33 | |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 34 | .node { |
| 35 | rect, circle { |
| 36 | stroke: $color-accent; |
| 37 | fill: $background-color; |
| 38 | } |
| 39 | |
| 40 | &.network > circle{ |
| 41 | stroke: blue; |
| 42 | } |
| 43 | |
| 44 | &.tenant > rect{ |
| 45 | stroke: green; |
| 46 | } |
| 47 | |
| 48 | &.subscriber > rect{ |
| 49 | stroke: red; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | .node > text { |
| 54 | fill: #fff; |
| 55 | font-size: 20px; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | .link-group { |
| 60 | line { |
| 61 | stroke: $color-accent; |
| 62 | } |
| 63 | } |
| 64 | .arrow-marker { |
| 65 | stroke: $color-accent; |
| 66 | fill: $color-accent; |
| 67 | } |
| 68 | } |