Sean Condon | 0c577f6 | 2018-11-18 22:40:05 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2018-present Open Networking Foundation |
| 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 | /* |
| 19 | ONOS GUI -- Topology View (forces device visual) -- CSS file |
| 20 | */ |
| 21 | g.node.device rect { |
| 22 | fill: #f0f0f0; |
| 23 | } |
| 24 | g.node.device text { |
| 25 | fill: #bbb; |
| 26 | } |
| 27 | g.node.device use { |
| 28 | fill: #777; |
| 29 | } |
| 30 | |
| 31 | |
| 32 | g.node.device.online rect { |
| 33 | fill: #ffffff; |
| 34 | } |
| 35 | g.node.device.online text { |
| 36 | fill: #3c3a3a; |
| 37 | } |
| 38 | g.node.device.online use { |
| 39 | /* NOTE: this gets overridden programatically */ |
| 40 | fill: #454545; |
| 41 | } |
| 42 | |
| 43 | g.node.selected .node-container { |
| 44 | stroke-width: 2.0; |
| 45 | stroke: #009fdb; |
| 46 | } |
| 47 | |
| 48 | g.node.hovered .node-container { |
| 49 | stroke-width: 2.0; |
| 50 | stroke: #454545; |
| 51 | } |