|
@@ -1,5 +1,96 @@
|
|
|
+body, html {
|
|
|
+ height: 100%;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+
|
|
|
+.header {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ min-height: 50px;
|
|
|
+ color: white;
|
|
|
+ background: #03a9f4;
|
|
|
+ border-bottom: 1px solid #d8d8d8;
|
|
|
+ font-size: 1.4em;
|
|
|
+}
|
|
|
+.header-brand {
|
|
|
+ order: -1;
|
|
|
+ flex: 0 0 300px;
|
|
|
+ text-align: center;
|
|
|
+ font-style: bold;
|
|
|
+ line-height: 50px;
|
|
|
+ color: white;
|
|
|
+ background-color: #03a9f4;
|
|
|
+ border-right: 1px solid rgba(95,95,95, 0.1);
|
|
|
+}
|
|
|
+.header > nav {
|
|
|
+ flex: 1 0 auto;
|
|
|
+}
|
|
|
+.header nav ul {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: flex-end;
|
|
|
+ list-style: none;
|
|
|
+ font-size: 0.7em;
|
|
|
+}
|
|
|
+.header nav li {
|
|
|
+ flex: 0 1 auto;
|
|
|
+ margin: 1.25em 2em 0 0;
|
|
|
+ padding: 0;
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+.body {
|
|
|
+ flex: 1 1 auto;
|
|
|
+ display: flex;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
+.sidebar {
|
|
|
+ flex: 0 0 300px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ background: #f3f3f3;
|
|
|
+ border-right: 1px solid #d8d8d8;
|
|
|
+ /*overflow: auto;*/
|
|
|
+}
|
|
|
+
|
|
|
+#sidebar-search {
|
|
|
+ flex: 0 0 auto;
|
|
|
+ padding: 4px;
|
|
|
+ //min-height: 4em;
|
|
|
+}
|
|
|
|
|
|
-.HolyGrail {
|
|
|
+#sidebar-sensor-tree {
|
|
|
+ flex: 1 1 auto;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
+#sidebar-control {
|
|
|
+ flex: 0 0 auto;
|
|
|
+ overflow: auto;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 4px 6px;
|
|
|
+ margin: 0;
|
|
|
+ min-height: 8em;
|
|
|
+ max-height: 14em;
|
|
|
+ overflow: scroll;
|
|
|
+ border-top: 2px solid #d8d8d8;
|
|
|
+ background-color: #e8e8e8;
|
|
|
+ border-radius: 3px;
|
|
|
+}
|
|
|
+
|
|
|
+.content {
|
|
|
+ flex: 1 1 auto;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
+#sidebar-control .list-group-item {
|
|
|
+ padding: 2px 5px;
|
|
|
+}
|
|
|
+/*.HolyGrail {
|
|
|
display: flex;
|
|
|
min-height: 100vh;
|
|
|
flex-direction: column;
|
|
@@ -35,54 +126,28 @@
|
|
|
font-size: 1.4em;
|
|
|
}
|
|
|
|
|
|
-.HolyGrail-header-brand {
|
|
|
- order: -1;
|
|
|
- flex: 0 0 250px;
|
|
|
- text-align: center;
|
|
|
- font-style: bold;
|
|
|
- padding: 0.5em 0;
|
|
|
- color: white;
|
|
|
- background-color: #03a9f4;
|
|
|
- border-right: 1px solid rgba(95,95,95, 0.1);
|
|
|
-}
|
|
|
|
|
|
-.HolyGrail-header > nav {
|
|
|
- flex: 1 0 auto;
|
|
|
-}
|
|
|
-.HolyGrail-header nav ul {
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- justify-content: flex-end;
|
|
|
- list-style: none;
|
|
|
- font-size: 0.7em;
|
|
|
-}
|
|
|
-.HolyGrail-header nav li {
|
|
|
- flex: 0 1 auto;
|
|
|
- /*border-bottom: 1px solid #ccc;*/
|
|
|
- margin: 1.25em 2em 0 0;
|
|
|
- padding: 0;
|
|
|
- display: block;
|
|
|
-}
|
|
|
|
|
|
.HolyGrail-sidebar {
|
|
|
background: #f3f3f3;
|
|
|
border-right: 1px solid #d8d8d8;
|
|
|
+ overflow-y: auto;
|
|
|
}
|
|
|
|
|
|
|
|
|
-#sidebar-search {
|
|
|
+#sidebar-search-old {
|
|
|
flex: 0 0 auto;
|
|
|
order: -1;
|
|
|
padding: 6px 6px;
|
|
|
}
|
|
|
|
|
|
-#sidebar-sensor-tree {
|
|
|
+#sidebar-sensor-tree-old {
|
|
|
flex: 1 0 auto;
|
|
|
order: 1;
|
|
|
padding: 2px 6px;
|
|
|
}
|
|
|
|
|
|
-#sidebar-control {
|
|
|
+#sidebar-control-old {
|
|
|
position: relative;
|
|
|
flex: 1 0 auto;
|
|
|
order: 99;
|
|
@@ -90,15 +155,18 @@
|
|
|
padding: 4px 6px;
|
|
|
margin: 0;
|
|
|
max-height: 14em;
|
|
|
- overflow: auto;
|
|
|
+ overflow: scroll;
|
|
|
border-top: 2px solid #d8d8d8;
|
|
|
background-color: #e8e8e8;
|
|
|
- /*box-shadow: 0 -2px 2px -2px rgba(0, 0, 0, 0.6);*/
|
|
|
+ //box-shadow: 0 -2px 2px -2px rgba(0, 0, 0, 0.6);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
-body {
|
|
|
+html, body {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
margin: 0;
|
|
|
+ padding: 0;
|
|
|
background: #fff;
|
|
|
}
|
|
|
|
|
@@ -112,4 +180,4 @@ body {
|
|
|
padding: 1em;
|
|
|
width: auto;
|
|
|
overflow: hidden;
|
|
|
-}
|
|
|
+}*/
|