GUI -- Added global key bindings mechanism
- 'T' now toggles theme (light/dark) -- mast CSS done, other CSS to do
- 'ESC' now closes alerts box if it is open
- Minor cleanup to topo2.js
Change-Id: I506a6add4299a6c03dcb717c33394ad94be26997
diff --git a/web/gui/src/main/webapp/onos2.css b/web/gui/src/main/webapp/onos2.css
index 748cc97..2073acf 100644
--- a/web/gui/src/main/webapp/onos2.css
+++ b/web/gui/src/main/webapp/onos2.css
@@ -32,7 +32,7 @@
display: block;
}
-div#alerts {
+#alerts {
display: none;
position: absolute;
z-index: 2000;
@@ -45,21 +45,28 @@
box-shadow: 4px 6px 12px #777;
}
-div#alerts pre {
+#alerts pre {
margin: 0.2em 6px;
}
-div#alerts span.close {
+#alerts span.close {
color: #6af;
float: right;
right: 2px;
cursor: pointer;
}
-div#alerts span.close:hover {
+#alerts span.close:hover {
color: #fff;
}
+#alerts p.footnote {
+ text-align: right;
+ font-size: 8pt;
+ margin: 8px 0 0 0;
+ color: #66d;
+}
+
/*
* ==============================================================
* END OF NEW ONOS.JS file