|
@@ -7,6 +7,7 @@ body {
|
|
|
font-size: 1.125em;
|
|
|
color: #333;
|
|
|
line-height: 1.5em;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
|
|
|
h1, h2, h3 {
|
|
@@ -33,6 +34,12 @@ a:hover {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
+#main-table {
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+}
|
|
|
+
|
|
|
table {
|
|
|
border-collapse: collapse;
|
|
|
}
|
|
@@ -66,6 +73,69 @@ td input:not(:focus) {
|
|
|
}
|
|
|
|
|
|
|
|
|
+#controls {
|
|
|
+ --controls-width: 75px;
|
|
|
+ --controls-padding: 5px;
|
|
|
+ --controls-opener-width: 15px;
|
|
|
+}
|
|
|
+#controls > div, #controls > button {
|
|
|
+ position: fixed;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+/* TODO: design square logo for microtables */
|
|
|
+#main-logo {
|
|
|
+ background-color: lightblue;
|
|
|
+ z-index: 999;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ padding: var(--controls-padding);
|
|
|
+ height: var(--controls-width);
|
|
|
+ width: var(--controls-width);
|
|
|
+ font-size: xxx-large;
|
|
|
+ font-weight: bold;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+#left-controls-button {
|
|
|
+ left: 0;
|
|
|
+ width: calc(var(--controls-width) + 2 * var(--controls-padding));
|
|
|
+ height: var(--controls-opener-width);
|
|
|
+ z-index: 999;
|
|
|
+ bottom: calc(var(--controls-width) + 2 * var(--controls-padding));
|
|
|
+}
|
|
|
+#bottom-controls-button {
|
|
|
+ bottom: 0;
|
|
|
+ height: calc(var(--controls-width) + 2 * var(--controls-padding));
|
|
|
+ width: var(--controls-opener-width);
|
|
|
+ z-index: 999;
|
|
|
+ left: calc(var(--controls-width) + 2 * var(--controls-padding));
|
|
|
+}
|
|
|
+#controls-left {
|
|
|
+ background-color: pink;
|
|
|
+ z-index: 998;
|
|
|
+ top: 0;
|
|
|
+ left: calc(-1 * var(--controls-width) - 2 * var(--controls-padding));
|
|
|
+ padding: 5px;
|
|
|
+ height: calc(100vh - var(--controls-padding));
|
|
|
+ width: var(--controls-width);
|
|
|
+}
|
|
|
+/*TODO: link left controls with position of the whole table*/
|
|
|
+#controls-left.open {
|
|
|
+ left: 0;
|
|
|
+}
|
|
|
+#controls-bottom {
|
|
|
+ background-color: lightblue;
|
|
|
+ z-index: 998;
|
|
|
+ left: 0;
|
|
|
+ bottom: calc(-1 * var(--controls-width) - 2 * var(--controls-padding));
|
|
|
+ height: var(--controls-width);
|
|
|
+ padding: var(--controls-padding);
|
|
|
+ padding-left: calc(var(--controls-width) + 3 * var(--controls-padding) + var(--controls-opener-width));
|
|
|
+ width: calc(100vw - var(--controls-width) - 4 * var(--controls-padding) - var(--controls-opener-width));
|
|
|
+}
|
|
|
+#controls-bottom.open {
|
|
|
+ bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
.smartborder {
|
|
|
width: calc(100% + 2px);
|
|
|
height: calc(100% + 2px);
|