GUI -- Added user feedback "flash" message function.
- flash hover mode when H key pressed.
- additional cleanup.
Change-Id: I14dd47c41842c3f6cb68d2c9fbe3ee96ad23ae86
diff --git a/web/gui/src/main/webapp/onos2.css b/web/gui/src/main/webapp/onos2.css
index e092da0..0920bac 100644
--- a/web/gui/src/main/webapp/onos2.css
+++ b/web/gui/src/main/webapp/onos2.css
@@ -24,6 +24,19 @@
height: 100%;
}
+/* This is to ensure that the body does not expand to account for the
+ flyout details pane, that is positioned "off screen".
+ */
+body {
+ overflow: hidden;
+}
+
+#frame {
+ width: 100%;
+ height: 100%;
+ background-color: #fff;
+}
+
div.onosView {
display: none;
}
@@ -32,6 +45,7 @@
display: block;
}
+
#alerts {
display: none;
position: absolute;
@@ -42,6 +56,8 @@
top: 80px;
left: 40px;
padding: 3px 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
box-shadow: 4px 6px 12px #777;
}
@@ -67,90 +83,6 @@
color: #66d;
}
-/*
- * ==============================================================
- * END OF NEW ONOS.JS file
- * ==============================================================
- */
-
-/*
- * === DEBUGGING ======
- */
-svg {
- /*border: 1px dashed red;*/
-}
-
-svg #bg {
- opacity: 0.5;
-}
-
-
-/*
- * Network Graph elements ======================================
- */
-
-
-svg g.portLayer rect.port {
- fill: #ccc;
-}
-
-svg g.portLayer text {
- font: 8pt sans-serif;
- pointer-events: none;
-}
-
-
-
-/* for debugging */
-svg .node circle.debug {
- fill: white;
- stroke: red;
-}
-svg .node rect.debug {
- fill: yellow;
- stroke: red;
- opacity: 0.35;
-}
-
-
-
-svg .link.inactive,
-svg .port.inactive,
-svg .portText.inactive,
-svg .node.inactive rect,
-svg .node.inactive circle,
-svg .node.inactive text,
-svg .node.inactive image {
- opacity: .1;
-}
-
-svg .node.inactive.selected rect,
-svg .node.inactive.selected text,
-svg .node.inactive.selected image {
- opacity: .6;
-}
-
-/*
- * =============================================================
- */
-
-/*
- * Specific structural elements
- */
-
-/* This is to ensure that the body does not expand to account for the
- flyout details pane, that is positioned "off screen".
- */
-body {
- overflow: hidden;
-}
-
-
-#frame {
- width: 100%;
- height: 100%;
- background-color: #fff;
-}
#flyout {
position: absolute;
@@ -200,4 +132,3 @@
background-color: #ccc;
border: 0;
}
-