Simon Hunt

GUI - adjust styling of ONOS instances.

Change-Id: I02c6136eb7f34e27b501f662774eb017aab1cdd0
1 { 1 {
2 "event": "addInstance", 2 "event": "addInstance",
3 "payload": { 3 "payload": {
4 - "id": "local", 4 + "id": "192.168.56.101",
5 "online": true, 5 "online": true,
6 "labels": [ 6 "labels": [
7 - "local", 7 + "192.168.56.101",
8 "127.0.0.1" 8 "127.0.0.1"
9 ] 9 ]
10 } 10 }
......
...@@ -236,33 +236,36 @@ svg .node.host circle { ...@@ -236,33 +236,36 @@ svg .node.host circle {
236 /* ONOS instance stuff */ 236 /* ONOS instance stuff */
237 237
238 #topo-oibox { 238 #topo-oibox {
239 - width: 80px; 239 + width: 120px;
240 } 240 }
241 241
242 #topo-oibox .onosInst { 242 #topo-oibox .onosInst {
243 position: relative; 243 position: relative;
244 - width: 80%; 244 + width: 88%;
245 - left: 10%; 245 + left: 4%;
246 height: 80px; 246 height: 80px;
247 - margin: 4px 0; 247 + margin: 8px 0;
248 cursor: pointer; 248 cursor: pointer;
249 249
250 + -moz-border-radius: 12px;
251 + border-radius: 12px;
252 +
250 /* theme-related */ 253 /* theme-related */
251 color: #444; 254 color: #444;
252 background-color: #ccc; 255 background-color: #ccc;
253 - border: 2px solid #aaa; 256 + border: 4px solid #aaa;
254 } 257 }
255 258
256 #topo-oibox .onosInst.online { 259 #topo-oibox .onosInst.online {
257 /* theme-related */ 260 /* theme-related */
258 color: #113; 261 color: #113;
259 - background-color: #bbf; 262 + background-color: #9cf;
260 - border: 2px solid #555; 263 + border: 4px solid #357;
261 } 264 }
262 265
263 #topo-oibox .onosInst .onosTitle { 266 #topo-oibox .onosInst .onosTitle {
264 text-align: center; 267 text-align: center;
265 - font-size: 11pt; 268 + font-size: 10pt;
266 margin-top: 6px; 269 margin-top: 6px;
267 color: #888; 270 color: #888;
268 } 271 }
......