redo gridftp navbar
[qcg-portal.git] / qcg / static / qcg / main.css
index 4edc075..1ff595a 100644 (file)
@@ -17,38 +17,133 @@ footer.navbar-fixed-bottom {
     margin-top: 0;
 }
 
+
+/* jobs list view */
+
+.treegrid-expander {
+    opacity: 0.5;
+}
+
+.treegrid-expander:hover {
+    opacity: 1;
+}
+
+
+/* new job view */
+
 textarea {
     resize: vertical;
+    min-height: 34px;
 }
 
+.modal-body > *:first-child {
+    margin-top: 0;
+}
 
 .modal-body > *:last-child {
     margin-bottom: 0;
 }
 
-
 #env-controls .form-group {
     display: inline-block;
     margin: 0;
     vertical-align: middle;
 }
 
-
 #env-controls > div {
     margin-bottom: 7px;
 }
 
-
 #env-controls > div:last-of-type {
     margin: 0;
 }
 
-
 #env-controls input[type="text"] {
     width: 160px;
 }
 
-
 #add-env-form {
     padding-top: 7px;
 }
+
+.timerange input {
+    display: inline-block;
+    width: 67%;
+    margin-right: 5px;
+}
+
+.timerange select {
+    display: inline-block;
+    width: 30%;
+    float: right;
+}
+
+
+/* GridFTP view */
+
+#filex {
+    /* needed for positioning spinner */
+    position: relative;
+}
+
+#filex input[type=checkbox] {
+    margin: 0;
+}
+
+.path.breadcrumb > li + li::before {
+    content: "› ";
+}
+
+#spinner-overlay {
+    background: url('/static/filex/spinner.gif') white center 100px no-repeat;
+    opacity: 0.5;
+    position: absolute;
+    top: 0;
+    left: 0;
+    height: 100%;
+    width: 100%;
+    display: none;
+}
+
+.busy #spinner-overlay {
+    display: initial;
+}
+
+#filex nav {
+    display: flex;
+    flex-flow: row wrap;
+}
+
+#host {
+    flex: 1 auto;
+    margin-right: 10px;
+}
+
+#controls {
+    flex: 0 auto;
+    white-space: nowrap;
+}
+
+#path {
+    flex: 1 100%;
+}
+
+@media (min-width: 768px) {
+    #host {
+        order: 1;
+        flex: 1 auto;
+        margin-right: 10px;
+    }
+
+    #path {
+        order: 2;
+        flex: 10 auto;
+        margin-top: -1px;
+        margin-right: 10px;
+    }
+
+    #controls {
+        order: 3;
+        flex: 0 auto;
+    }
+}