Implemented WebSockets for GUI2
Change-Id: I4776ce392b1e8e94ebee938cf7df22791a1e0b8f
diff --git a/web/gui2/src/main/webapp/onos.theme.css b/web/gui2/src/main/webapp/onos.theme.css
new file mode 100644
index 0000000..dc14c80
--- /dev/null
+++ b/web/gui2/src/main/webapp/onos.theme.css
@@ -0,0 +1,84 @@
+/*
+ * Copyright 2016-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ ONOS GUI -- core (theme) -- CSS file
+ */
+
+body {
+ background-color: white;
+}
+
+html {
+ font-family: 'Open Sans', sans-serif;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+ height: 100%;
+}
+
+/*
+ overflow hidden is to ensure that the body does not expand to account
+ for any flyout panes, that are positioned "off screen".
+ */
+body {
+ height: 100%;
+ margin: 0;
+ overflow: hidden;
+}
+
+#view h2 {
+ color: #3c3a3a;
+}
+
+a {
+ color: #009fdb;
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+a:visited {
+ color: #7fabdb;
+ text-decoration: none;
+}
+
+/* ========== DARK Theme ========== */
+
+body.dark {
+ background-color: #282528;
+}
+
+.dark #view h2 {
+ color: #6a6e6a;
+}
+
+.dark a {
+ color: #007ca6;
+}
+.dark a:visited {
+ color: #4f6e90;
+}
+
+.dark input {
+ color: #dddddd;
+ background-color: #222222;
+ border: 1px solid #666666;
+}
+
+.dark select {
+ color: #dddddd;
+ background-color: #222222;
+}
\ No newline at end of file