Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 1 | /* |
Simon Hunt | 8ead3a2 | 2015-01-06 11:00:15 -0800 | [diff] [blame] | 2 | * Copyright 2014,2015 Open Networking Laboratory |
Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 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 |
Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 21 | /* --- Topo Map --- */ |
| 22 | |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 23 | .light #ov-topo svg { |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 24 | background-color: #fff; |
Simon Hunt | 0541fb8 | 2015-01-14 18:59:57 -0800 | [diff] [blame] | 25 | /* For Debugging the placement of the SVG layer... */ |
| 26 | /*border: 1px solid red;*/ |
Simon Hunt | 6cc5369 | 2015-01-07 11:33:45 -0800 | [diff] [blame] | 27 | } |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 28 | .dark #ov-topo svg { |
| 29 | background-color: #2b2b2b; |
| 30 | } |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 31 | |
| 32 | #ov-topo svg #topo-map { |
| 33 | stroke-width: 2px; |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 34 | fill: transparent; |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | .light #ov-topo svg #topo-map { |
Simon Hunt | 584122a | 2015-01-21 15:32:40 -0800 | [diff] [blame] | 38 | /*stroke: #eee;*/ |
| 39 | stroke: #88b; |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 40 | } |
| 41 | .dark #ov-topo svg #topo-map { |
| 42 | stroke: #444; |
| 43 | } |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 44 | |
| 45 | |
| 46 | /* --- Topo Panels --- */ |
| 47 | |
| 48 | #topo-p-summary { |
| 49 | /* Base css from panel.css */ |
| 50 | |
| 51 | } |
| 52 | |
| 53 | #topo-p-summary svg { |
| 54 | display: inline-block; |
| 55 | width: 42px; |
| 56 | height: 42px; |
| 57 | } |
| 58 | |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 59 | #topo-p-summary h2 { |
| 60 | position: absolute; |
| 61 | margin: 0 4px; |
| 62 | top: 20px; |
| 63 | left: 50px; |
| 64 | } |
| 65 | .light #topo-p-summary h2 { |
| 66 | color: black; |
| 67 | } |
| 68 | .dark #topo-p-summary h2 { |
| 69 | color: #ddd; |
| 70 | } |
| 71 | |
| 72 | #topo-p-summary h3 { |
| 73 | margin: 0 4px; |
| 74 | top: 20px; |
| 75 | left: 50px; |
| 76 | } |
| 77 | .light #topo-p-summary h3 { |
| 78 | color: black; |
| 79 | } |
| 80 | .dark #topo-p-summary h3 { |
| 81 | color: #ddd; |
| 82 | } |
| 83 | |
| 84 | #topo-p-summary p, table { |
| 85 | margin: 4px 4px; |
| 86 | } |
| 87 | |
| 88 | #topo-p-summary td.label { |
| 89 | font-style: italic; |
| 90 | padding-right: 12px; |
| 91 | /* works for both light and dark themes ... */ |
| 92 | color: #777; |
| 93 | } |
| 94 | |
| 95 | #topo-p-summary td.value { |
| 96 | } |
| 97 | |
| 98 | #topo-p-summary hr { |
| 99 | height: 1px; |
| 100 | border: 0; |
| 101 | } |
| 102 | .light #topo-p-summary hr { |
| 103 | background-color: #ccc; |
| 104 | color: #ccc; |
| 105 | } |
| 106 | .dark #topo-p-summary hr { |
| 107 | background-color: #888; |
| 108 | color: #888; |
| 109 | } |