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 { |
Sean Condon | 50855cf | 2018-12-23 15:37:42 +0000 | [diff] [blame] | 22 | fill: #f0f0f070; |
Sean Condon | 0c577f6 | 2018-11-18 22:40:05 +0000 | [diff] [blame] | 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 { |
Sean Condon | 50855cf | 2018-12-23 15:37:42 +0000 | [diff] [blame] | 33 | fill: #fafafad0; |
Sean Condon | 0c577f6 | 2018-11-18 22:40:05 +0000 | [diff] [blame] | 34 | } |
| 35 | g.node.device.online text { |
| 36 | fill: #3c3a3a; |
| 37 | } |
| 38 | g.node.device.online use { |
| 39 | /* NOTE: this gets overridden programatically */ |
Sean Condon | 1ae1580 | 2019-03-02 09:07:18 +0000 | [diff] [blame] | 40 | fill: #ffffff; |
Sean Condon | 0c577f6 | 2018-11-18 22:40:05 +0000 | [diff] [blame] | 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; |
Sean Condon | 590b34b | 2019-12-04 18:44:37 +0000 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | path.bracket { |
| 54 | stroke: white; |
| 55 | stroke-width: 1; |
| 56 | fill: none |
| 57 | } |