blob: c4d9a2d014f32b69f15818301dc712c073a4745b [file] [log] [blame]
Simon Hunt195cb382014-11-03 17:50:51 -08001/*
2 * Copyright 2014 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/*
18 ONOS GUI -- Topology view -- CSS file
19
20 @author Simon Hunt
21 */
22
Simon Hunt142d0032014-11-04 20:13:09 -080023svg #topo-bg {
24 opacity: 0.5;
25}
26
Simon Hunt1a9eff92014-11-07 11:06:34 -080027/* NODES */
28
Simon Hunt99c13842014-11-06 18:23:12 -080029svg .node.device {
30 stroke: none;
31 stroke-width: 1.5px;
32 cursor: pointer;
33}
34
Simon Hunt1a9eff92014-11-07 11:06:34 -080035svg .node.device rect {
36 stroke-width: 1.5px;
37}
38
Simon Hunt99c13842014-11-06 18:23:12 -080039svg .node.device.fixed rect {
40 stroke-width: 1.5;
41 stroke: #ccc;
42}
43
44svg .node.device.switch {
45 fill: #17f;
46}
47
48svg .node.device.roadm {
Simon Huntc7ee0662014-11-05 16:44:37 -080049 fill: #03c;
Simon Hunt99c13842014-11-06 18:23:12 -080050}
51
52svg .node text {
53 stroke: none;
54 fill: white;
55 font: 10pt sans-serif;
56 pointer-events: none;
57}
58
Simon Hunt1a9eff92014-11-07 11:06:34 -080059svg .node.selected rect,
60svg .node.selected circle {
61 filter: url(#blue-glow);
62}
63
64/* LINKS */
65
66svg .link {
67 opacity: .7;
68}
69
Simon Hunt99c13842014-11-06 18:23:12 -080070/* for debugging */
71svg .node circle.debug {
72 fill: white;
73 stroke: red;
74}