Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present 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 (theme) -- CSS file |
| 19 | */ |
| 20 | |
| 21 | /* --- Base SVG Layer --- */ |
| 22 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 23 | #ov-topo svg { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 24 | background-color: #f4f4f4; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | /* --- "No Devices" Layer --- */ |
| 28 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 29 | #ov-topo svg .noDevsBird { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 30 | fill: #db7773; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 31 | } |
| 32 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 33 | #ov-topo svg #topo-noDevsLayer text { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 34 | fill: #7e9aa8; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | /* --- Topo Map --- */ |
| 38 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 39 | #ov-topo svg #topo-map { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 40 | stroke-width: 2px; |
| 41 | stroke: #f4f4f4; |
| 42 | fill: #e5e5e6; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | /* --- general topo-panel styling --- */ |
| 46 | |
Simon Hunt | 8f907cc | 2016-06-15 18:04:01 -0700 | [diff] [blame] | 47 | .topo-p svg { |
| 48 | background: #c0242b; |
| 49 | } |
| 50 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 51 | .topo-p svg .glyph { |
Simon Hunt | 8f907cc | 2016-06-15 18:04:01 -0700 | [diff] [blame] | 52 | fill: #ffffff; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 53 | } |
| 54 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 55 | .topo-p hr { |
Simon Hunt | 8f907cc | 2016-06-15 18:04:01 -0700 | [diff] [blame] | 56 | background-color: #cccccc; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 57 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 58 | |
Simon Hunt | 8f907cc | 2016-06-15 18:04:01 -0700 | [diff] [blame] | 59 | #topo-p-detail svg { |
| 60 | background: none; |
| 61 | } |
| 62 | |
| 63 | #topo-p-detail .header svg .glyph { |
| 64 | fill: #c0242b; |
| 65 | } |
| 66 | |
Simon Hunt | c217cb9 | 2016-08-30 16:17:51 -0700 | [diff] [blame] | 67 | #toolbar-topo-tbar .tbar-row.right { |
| 68 | color: #aaa; |
| 69 | } |
Simon Hunt | 8f907cc | 2016-06-15 18:04:01 -0700 | [diff] [blame] | 70 | |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 71 | /* --- Topo Instance Panel --- */ |
| 72 | |
| 73 | #topo-p-instance svg rect { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 74 | stroke-width: 0; |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 75 | fill: #fbfbfb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 76 | } |
| 77 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 78 | /* body of an instance */ |
| 79 | #topo-p-instance .online svg rect { |
| 80 | opacity: 1; |
| 81 | fill: #fbfbfb; |
| 82 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 83 | |
| 84 | #topo-p-instance svg .glyph { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 85 | fill: #fff; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 86 | } |
| 87 | #topo-p-instance .online svg .glyph { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 88 | fill: #fff; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 89 | } |
| 90 | |
| 91 | |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 92 | /* offline */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 93 | #topo-p-instance svg .badgeIcon { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 94 | opacity: 0.4; |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 95 | fill: #939598; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 96 | } |
| 97 | |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 98 | /* online */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 99 | #topo-p-instance .online svg .badgeIcon { |
| 100 | opacity: 1.0; |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 101 | fill: #939598; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 102 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 103 | #topo-p-instance .online svg .badgeIcon.bird { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 104 | fill: #ffffff; |
| 105 | } |
| 106 | |
| 107 | #topo-p-instance svg .readyBadge { |
| 108 | visibility: hidden; |
| 109 | } |
| 110 | #topo-p-instance .ready svg .readyBadge { |
| 111 | visibility: visible; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | #topo-p-instance svg text { |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 115 | text-anchor: left; |
| 116 | opacity: 0.5; |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 117 | fill: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 118 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 119 | |
| 120 | #topo-p-instance .online svg text { |
| 121 | opacity: 1.0; |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 122 | fill: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 123 | } |
| 124 | |
| 125 | #topo-p-instance .onosInst.mastership { |
| 126 | opacity: 0.3; |
| 127 | } |
| 128 | #topo-p-instance .onosInst.mastership.affinity { |
| 129 | opacity: 1.0; |
| 130 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 131 | #topo-p-instance .onosInst.mastership.affinity svg rect { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 132 | filter: url(#blue-glow); |
| 133 | } |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 134 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 135 | .firefox #topo-p-instance .onosInst.mastership.affinity svg rect { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 136 | filter: url("data:image/svg+xml;utf8, <svg xmlns = \'http://www.w3.org/2000/svg\'><filter x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" id=\"blue-glow\"><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0 0 0 1 0 \"></feColorMatrix><feGaussianBlur stdDeviation=\"3\" result=\"coloredBlur\"></feGaussianBlur><feMerge><feMergeNode in=\"coloredBlur\"></feMergeNode><feMergeNode in=\"SourceGraphic\"></feMergeNode></feMerge></filter></svg>#blue-glow"); |
| 137 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 138 | |
| 139 | /* --- Topo Nodes --- */ |
| 140 | |
| 141 | #ov-topo svg .suppressed { |
| 142 | opacity: 0.5 !important; |
| 143 | } |
| 144 | |
| 145 | #ov-topo svg .suppressedmax { |
| 146 | opacity: 0.2 !important; |
| 147 | } |
| 148 | |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 149 | /* Device Nodes */ |
| 150 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 151 | /* note: device without the 'online' class is offline */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 152 | #ov-topo svg .node.device rect { |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 153 | /* TODO: theme */ |
| 154 | fill: #f0f0f0; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 155 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 156 | #ov-topo svg .node.device text { |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 157 | /*TODO: theme*/ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 158 | fill: #bbb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 159 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 160 | #ov-topo svg .node.device use { |
| 161 | /*TODO: theme*/ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 162 | fill: #777; |
| 163 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 164 | |
| 165 | |
| 166 | #ov-topo svg .node.device.online rect { |
| 167 | fill: #ffffff; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 168 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 169 | #ov-topo svg .node.device.online text { |
| 170 | fill: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 171 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 172 | #ov-topo svg .node.device.online use { |
| 173 | /* NOTE: this gets overridden programatically */ |
| 174 | fill: #454545; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 175 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 176 | |
| 177 | |
| 178 | #ov-topo svg .node.device.selected rect { |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 179 | stroke-width: 2.0; |
| 180 | stroke: #009fdb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 181 | } |
| 182 | |
| 183 | /* Badges */ |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 184 | /* (... works for bothand dark themes...) */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 185 | #ov-topo svg .node .badge circle { |
| 186 | stroke: #aaa; |
| 187 | } |
| 188 | |
| 189 | #ov-topo svg .node .badge.badgeInfo circle { |
| 190 | fill: #99d; |
| 191 | } |
| 192 | |
| 193 | #ov-topo svg .node .badge.badgeWarn circle { |
| 194 | fill: #da2; |
| 195 | } |
| 196 | |
| 197 | #ov-topo svg .node .badge.badgeError circle { |
| 198 | fill: #e44; |
| 199 | } |
| 200 | |
| 201 | #ov-topo svg .node .badge use { |
| 202 | fill: white !important; |
| 203 | } |
| 204 | |
| 205 | #ov-topo svg .node .badge.badgeInfo use { |
| 206 | fill: #448; |
| 207 | } |
| 208 | |
| 209 | #ov-topo svg .node .badge text { |
| 210 | fill: white !important; |
| 211 | } |
| 212 | |
| 213 | #ov-topo svg .node .badge.badgeInfo text { |
| 214 | fill: #448; |
| 215 | } |
| 216 | |
| 217 | /* Host Nodes */ |
| 218 | |
| 219 | #ov-topo svg .node.host { |
| 220 | } |
| 221 | |
| 222 | #ov-topo svg .node.host text { |
| 223 | stroke: none; |
| 224 | font: 9pt sans-serif; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 225 | fill: #846; |
| 226 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 227 | |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 228 | #ov-topo svg .node.host circle { |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 229 | stroke: #a3a596; |
| 230 | fill: #e0dfd6; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 231 | } |
Simon Hunt | a5487ad | 2016-06-16 13:10:41 -0700 | [diff] [blame] | 232 | #ov-topo svg .node.host.selected .hostIcon > circle { |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 233 | stroke-width: 2.0; |
| 234 | stroke: #009fdb; |
| 235 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 236 | |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 237 | #ov-topo svg .node.host use { |
| 238 | fill: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 239 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 240 | |
| 241 | /* --- Topo Links --- */ |
| 242 | |
| 243 | #ov-topo svg .link { |
| 244 | opacity: .9; |
| 245 | } |
| 246 | |
| 247 | #ov-topo svg .link.selected, |
| 248 | #ov-topo svg .link.enhanced { |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 249 | stroke-width: 3.5; |
| 250 | stroke: #009fdb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 251 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 252 | |
| 253 | #ov-topo svg .link.inactive { |
| 254 | opacity: .5; |
| 255 | stroke-dasharray: 8 4; |
| 256 | } |
Simon Hunt | a976134 | 2016-06-10 18:02:53 -0700 | [diff] [blame] | 257 | /* TODO: Review for not-permitted links */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 258 | #ov-topo svg .link.not-permitted { |
| 259 | stroke: rgb(255,0,0); |
| 260 | stroke-width: 5.0; |
| 261 | stroke-dasharray: 8 4; |
| 262 | } |
| 263 | |
| 264 | #ov-topo svg .link.secondary { |
| 265 | stroke-width: 3px; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 266 | stroke: rgba(0,153,51,0.5); |
| 267 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 268 | |
| 269 | /* Port traffic color visualization for Kbps, Mbps, and Gbps */ |
| 270 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 271 | #ov-topo svg .link.secondary.port-traffic-Kbps { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 272 | stroke: rgb(0,153,51); |
| 273 | stroke-width: 5.0; |
| 274 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 275 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 276 | #ov-topo svg .link.secondary.port-traffic-Mbps { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 277 | stroke: rgb(128,145,27); |
| 278 | stroke-width: 6.5; |
| 279 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 280 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 281 | #ov-topo svg .link.secondary.port-traffic-Gbps { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 282 | stroke: rgb(255, 137, 3); |
| 283 | stroke-width: 8.0; |
| 284 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 285 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 286 | #ov-topo svg .link.secondary.port-traffic-Gbps-choked { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 287 | stroke: rgb(183, 30, 21); |
| 288 | stroke-width: 8.0; |
| 289 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 290 | |
| 291 | |
| 292 | |
| 293 | #ov-topo svg .link.animated { |
| 294 | stroke-dasharray: 8 5; |
| 295 | animation: ants 5s infinite linear; |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 296 | /* below line could be added via Javascript, based on path, if we cared |
| 297 | * enough about the direction of ant-flow |
| 298 | */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 299 | /*animation-direction: reverse;*/ |
| 300 | } |
| 301 | @keyframes ants { |
| 302 | from { |
| 303 | stroke-dashoffset: 0; |
| 304 | } |
| 305 | to { |
| 306 | stroke-dashoffset: 400; |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | #ov-topo svg .link.primary { |
| 311 | stroke-width: 4px; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 312 | stroke: #ffA300; |
| 313 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 314 | |
| 315 | #ov-topo svg .link.secondary.optical { |
| 316 | stroke-width: 4px; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 317 | stroke: rgba(128,64,255,0.5); |
| 318 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 319 | |
| 320 | #ov-topo svg .link.primary.optical { |
| 321 | stroke-width: 6px; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 322 | stroke: #74f; |
| 323 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 324 | |
| 325 | /* Link Labels */ |
| 326 | #ov-topo svg .linkLabel rect { |
| 327 | stroke: none; |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 328 | fill: #ffffff; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 329 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 330 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 331 | #ov-topo svg .linkLabel text { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 332 | fill: #444; |
| 333 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 334 | |
| 335 | /* Port Labels */ |
| 336 | |
| 337 | #ov-topo svg .portLabel rect { |
Simon Hunt | 4766dfb | 2016-06-14 17:16:22 -0700 | [diff] [blame] | 338 | stroke: #a3a596; |
| 339 | fill: #ffffff; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 340 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 341 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 342 | #ov-topo svg .portLabel text { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 343 | fill: #444; |
| 344 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 345 | |
| 346 | /* Number of Links Labels */ |
| 347 | |
| 348 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 349 | #ov-topo text.numLinkText { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 350 | fill: #444; |
| 351 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 352 | |
| 353 | /* ------------------------------------------------- */ |
| 354 | /* Sprite Layer */ |
| 355 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 356 | #ov-topo svg #topo-sprites .gold1 use { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 357 | stroke: #fda; |
| 358 | fill: none; |
| 359 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 360 | #ov-topo svg #topo-sprites .gold1 text { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 361 | fill: #eda; |
| 362 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 363 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 364 | #ov-topo svg #topo-sprites .blue1 use { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 365 | stroke: #bbd; |
| 366 | fill: none; |
| 367 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 368 | #ov-topo svg #topo-sprites .blue1 text { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 369 | fill: #cce; |
| 370 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 371 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 372 | #ov-topo svg #topo-sprites .gray1 use { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 373 | stroke: #ccc; |
| 374 | fill: none; |
| 375 | } |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 376 | #ov-topo svg #topo-sprites .gray1 text { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 377 | fill: #ddd; |
| 378 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 379 | |
| 380 | /* fills */ |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 381 | #ov-topo svg #topo-sprites use.fill-gray2 { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 382 | fill: #eee; |
| 383 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 384 | |
Simon Hunt | f44d726 | 2016-06-14 14:46:56 -0700 | [diff] [blame] | 385 | #ov-topo svg #topo-sprites use.fill-blue2 { |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 386 | fill: #bce; |
| 387 | } |