Update copyright date
[src/app-framework-binder.git] / test / monitoring / monitor-demo.css
index b14ac1a..e2f6500 100644 (file)
@@ -1,17 +1,34 @@
+/*
+ * Copyright (C) 2017-2019 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * 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.
+ */
 /*******************************************************************/
 /* top */
-body {
+html {
        margin: 2px;
-       background: url(content-background-car-wide.png) center/cover;
-       color: cyan;
+       background: darkslategray url(background-iot.bzh.jpeg) center/cover;
+       color: lightsteelblue;
        font-family: "Lucida Console", Monaco, monospace;
+       min-height: 100%;
 }
 
 /*******************************************************************/
 /* head */
 
 #logo {
-       background: url(iot-bzh-logo-small.png) center/contain no-repeat;
+       background: url(iot-bzh-logo-small.png) center/50% no-repeat;
        height: 60px;
        width: 200px;
 }
@@ -39,17 +56,12 @@ body {
 
 
 #params {
-       border: dashed 4px red;
-       padding: 10px;
+       border: dashed 4px #8f8;
+       padding: 30px;
        margin: 10px;
        border-radius: 0px 50px;
 }
 
-#connect {
-       float: right;
-       margin: 20px;
-}
-
 /*******************************************************************/
 /* main area */
 
@@ -187,12 +199,21 @@ body {
        height: 10;
        background-image: url(cross.png);
        background-size: contain;
+       background-repeat: no-repeat;
+       background-position: center;
 }
 
 /*******************************************************************/
 /* open / close */
 
-.opclo { width: 10; height: 10; background-size: contain; background-color: cyan; border-radius: 3px; padding: 2px; }
+.opclo {
+       width: 10px;
+       height: 10px;
+       background-size: contain;
+       background-color: lightsteelblue;
+       border-radius: 3px;
+       padding: 2px;
+}
 
 .closed > .opclo { background-image: url(down.png); } 
 .opened > .opclo { background-image: url(up.png); }
@@ -208,41 +229,58 @@ body {
        border-radius: 0px 5px 5px 5px;
 }
 
-/*
-.traceevent.request, .trace-box.request { background: #ffd: }
-.traceevent.daemon, .trace-box.daemon { background: #fdf; }
-.traceevent.service, .trace-box.service { background: #ddf; }
-.traceevent.event, .trace-box.event { background: #dfd; }
-*/
-.traceevent.request, .trace-box.request { color: #ff0; }
-.traceevent.daemon, .trace-box.daemon { color: #66f; }
+.separator {
+       margin: 25px 100px;
+       padding: 0px;
+       height: 2px;
+       background-color: #ee3;
+}
+
+.traceevent.opened {
+       background-color: rgba(0,0,0,0.6);
+}
+
+.traceevent.request, .trace-box.request { color: lightsteelblue; }
+.traceevent.daemon, .trace-box.daemon { color: #5af; }
 .traceevent.service, .trace-box.service { color: #0f0; }
-.traceevent.event, .trace-box.event { color: #f0d; }
+.traceevent.event, .trace-box.event { color: #f52; }
+.traceevent.global, .trace-box.global { color: white; }
 
 .traceevent.closed {
        max-height: 16px;
 }
 
+.traceevent .close {
+       height: 16px;
+       margin: -1px 0px 0px 0px;
+       padding: 1px;
+       background-color: grey;
+}
+
 .traceevent .time {
        height: 16px;
-       margin: -2px 8px 2px -2px;
+       margin: -1px 0px 0px 8px;
        padding: 1px 3px;
-       background: black;
-       color: white;
-       font-weight: bolder;
+       background-color: grey;
+       color: black;
 }
 
 .traceevent .tag {
+       margin-left: 10px;
        font-weight: bolder;
 }
 
+.traceevent.closed:hover {
+       cursor: pointer;
+}
+
 .traceevent.closed:hover .content {
        margin: 5px;
        padding: 5px;
-       border: solid 1px;
-       border-radius: 0px 5px 5px 5px;
+       border: solid 4px;
+       border-radius: 0px 20px 20px 20px;
        box-shadow: 10px 10px #dd8;
-       background-color: rgba(0,0,0,0.8);
+       background-color: rgba(0,0,0,0.6);
 }
 
 .traceevent table.object tr td:nth-child(1) {
@@ -252,11 +290,9 @@ body {
 }
 
 .traceevent table.object tr td:nth-child(2) {
-/*
-       border: solid 1px black;
-*/
        background-color: rgba(0,0,0,0.4);
        padding: 0px 4px;
+       overflow: auto;
 }
 
 .traceevent table {
@@ -269,6 +305,10 @@ body {
        padding: 0px;
 }
 
+a:link { color: cyan; }
+a:link:hover, a:active { color: white; }
+a:visited { color: lightgrey; }
+
 /*******************************************************************/
 /* json format */