blob: 8293ce48cc6247ba121f03af07bc70a7d6877bc4 [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 Hunt99c13842014-11-06 18:23:12 -080027svg .node.device {
28 stroke: none;
29 stroke-width: 1.5px;
30 cursor: pointer;
31}
32
33svg .node.device.fixed rect {
34 stroke-width: 1.5;
35 stroke: #ccc;
36}
37
38svg .node.device.switch {
39 fill: #17f;
40}
41
42svg .node.device.roadm {
Simon Huntc7ee0662014-11-05 16:44:37 -080043 fill: #03c;
Simon Hunt99c13842014-11-06 18:23:12 -080044}
45
46svg .node text {
47 stroke: none;
48 fill: white;
49 font: 10pt sans-serif;
50 pointer-events: none;
51}
52
53/* for debugging */
54svg .node circle.debug {
55 fill: white;
56 stroke: red;
57}