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 | |
Matteo Scandolo | 0e8a842 | 2017-03-25 14:55:40 -0700 | [diff] [blame] | 48 | &.subscriber > rect, |
| 49 | &.tenantroot > rect{ |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 50 | stroke: red; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | .node > text { |
| 55 | fill: #fff; |
| 56 | font-size: 20px; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | .link-group { |
| 61 | line { |
| 62 | stroke: $color-accent; |
| 63 | } |
| 64 | } |
| 65 | .arrow-marker { |
| 66 | stroke: $color-accent; |
| 67 | fill: $color-accent; |
| 68 | } |
| 69 | } |