Refine the fligth search:
[Project_webapp.git] / styles / airpolytech.css
index a5e5ebc4062f4462d0daa2cc95f71d01f10df0f7..fbbb3cc13ade1d05ffb0a82234d366c697870eb0 100644 (file)
@@ -45,7 +45,11 @@ form#booking {
     width: 250px;
 }
 
-label, input {
+form#reservations {
+    width: 130px;
+}
+
+label, input, select {
     /* in order to define widths */
     display: inline-block;
 }
@@ -63,6 +67,13 @@ label + input {
     margin: 0 30% 0 4%;
 }
 
+label + select {
+    width: 30%;
+    /* large margin-right to force the next element to the new-line
+       and margin-left to create a gutter between the label and select */
+    margin: 0 30% 0 4%;
+}
+
 /* only the submit button is matched by this selector,
    but to be sure you could use an id or class for that button */
 input + input {
@@ -91,6 +102,18 @@ table#search tr:nth-child(odd) {
     background-color: #474343;
 }
 
+table#reservations {
+    border: none;
+}
+
+table#reservations tr:nth-child(even) {
+    background-color: #675b5b;
+}
+
+table#reservations tr:nth-child(odd) {
+    background-color: #474343;
+}
+
 #header {
     font-size: 4em;
     text-align: center;