blob: 29ea1164e3a759c4790043c71ef89358e609a47d [file] [log] [blame]
Matteo Scandolofb46ae62017-08-08 09:10:50 -07001
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 Scandolo75171782017-03-08 14:17:01 -080019@import './../../../style/vars.scss';
20@import '../../../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables';
21
22xos-fine-grained-tenancy-graph {
23 display: block;
Matteo Scandolo6d3e80e2017-03-10 11:34:43 -080024 height: 100%;
Matteo Scandolo75171782017-03-08 14:17:01 -080025 // background: $color-accent;
26
27 svg {
Matteo Scandolo520a8a12017-03-10 17:31:37 -080028 height: 90%;
Matteo Scandolo75171782017-03-08 14:17:01 -080029 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 Huntc8f23142017-03-14 14:11:13 -070040 .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 Scandolo75171782017-03-08 14:17:01 -080052 .node {
53 rect, circle {
54 stroke: $color-accent;
55 fill: $background-color;
56 }
57
58 &.network > circle{
59 stroke: blue;
60 }
61
Matteo Scandolo72181592017-07-25 14:49:40 -070062 &.tenant, &.serviceinstance > rect{
Matteo Scandolo75171782017-03-08 14:17:01 -080063 stroke: green;
64 }
65
Matteo Scandolo0e8a8422017-03-25 14:55:40 -070066 &.subscriber > rect,
67 &.tenantroot > rect{
Matteo Scandolo75171782017-03-08 14:17:01 -080068 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 Scandolo72181592017-07-25 14:49:40 -070081
82 &.ext-service-instance {
83 stroke: green;
84 }
85
86 &.ext-owner {
87 stroke: green;
88 stroke-dasharray: 5;
89 }
Matteo Scandolo75171782017-03-08 14:17:01 -080090 }
91 }
92 .arrow-marker {
93 stroke: $color-accent;
94 fill: $color-accent;
95 }
96}