Matteo Scandolo | fb46ae6 | 2017-08-08 09:10:50 -0700 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 19 | @import './../../../style/vars.scss'; |
| 20 | @import '../../../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables'; |
| 21 | |
| 22 | xos-fine-grained-tenancy-graph { |
| 23 | display: block; |
Matteo Scandolo | 6d3e80e | 2017-03-10 11:34:43 -0800 | [diff] [blame] | 24 | height: 100%; |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 25 | // background: $color-accent; |
| 26 | |
| 27 | svg { |
Matteo Scandolo | 520a8a1 | 2017-03-10 17:31:37 -0800 | [diff] [blame] | 28 | height: 90%; |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 29 | width: 100%; |
| 30 | background-color: $panel-filled-bg; |
| 31 | border-radius: 3px; |
| 32 | } |
| 33 | |
| 34 | .node-group { |
| 35 | |
| 36 | .node { |
| 37 | cursor: pointer; |
| 38 | } |
| 39 | |
Simon Hunt | c8f2314 | 2017-03-14 14:11:13 -0700 | [diff] [blame] | 40 | .node .symbol { |
| 41 | fill-rule: evenodd; |
| 42 | stroke: #bbddff; |
| 43 | stroke-width: 4.0px; |
| 44 | fill: none; |
| 45 | } |
| 46 | .node .symbol-bg { |
| 47 | fill-rule: evenodd; |
| 48 | stroke: none; |
| 49 | fill: $background-color; |
| 50 | } |
| 51 | |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 52 | .node { |
| 53 | rect, circle { |
| 54 | stroke: $color-accent; |
| 55 | fill: $background-color; |
| 56 | } |
| 57 | |
| 58 | &.network > circle{ |
| 59 | stroke: blue; |
| 60 | } |
| 61 | |
Matteo Scandolo | 7218159 | 2017-07-25 14:49:40 -0700 | [diff] [blame] | 62 | &.tenant, &.serviceinstance > rect{ |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 63 | stroke: green; |
| 64 | } |
| 65 | |
Matteo Scandolo | 0e8a842 | 2017-03-25 14:55:40 -0700 | [diff] [blame] | 66 | &.subscriber > rect, |
| 67 | &.tenantroot > rect{ |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 68 | stroke: red; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | .node > text { |
| 73 | fill: #fff; |
| 74 | font-size: 20px; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | .link-group { |
| 79 | line { |
| 80 | stroke: $color-accent; |
Matteo Scandolo | 7218159 | 2017-07-25 14:49:40 -0700 | [diff] [blame] | 81 | |
| 82 | &.ext-service-instance { |
| 83 | stroke: green; |
| 84 | } |
| 85 | |
| 86 | &.ext-owner { |
| 87 | stroke: green; |
| 88 | stroke-dasharray: 5; |
| 89 | } |
Matteo Scandolo | 7517178 | 2017-03-08 14:17:01 -0800 | [diff] [blame] | 90 | } |
| 91 | } |
| 92 | .arrow-marker { |
| 93 | stroke: $color-accent; |
| 94 | fill: $color-accent; |
| 95 | } |
| 96 | } |