home · contact · privacy
Template layout and code improvements.
[plomtask] / templates / _base.html
index 0b441719c32916e2bf0d408fdf967319b98f7a7d..182a1c635439103ad21c5f8845a08ded66185e82 100644 (file)
@@ -6,10 +6,17 @@ body {
   font-family: monospace;
   text-align: left;
   padding: 0;
+  background-color: white;
 }
 input[type="text"] {
   width: 100em;
 }
+input.timestamp {
+  width: 11em;
+}
+input.date {
+  width: 6em;
+}
 input.btn-harmless {
   color: green;
 }
@@ -21,7 +28,6 @@ div.btn-to-right {
   text-align: right;
 }
 td, th, tr, table {
-  vertical-align: top;
   margin-top: 1em;
   padding: 0;
   border-collapse: collapse;
@@ -32,11 +38,27 @@ th, td {
 a {
   color: black;
 }
-table.edit_table > tbody > tr > td, table.main > tbody > tr > th {
+table.edit_table > tbody > tr > td,
+table.edit_table > tbody > tr > th {
   border-bottom: 0.1em solid #bbbbbb;
   padding-top: 0.5em;
   padding-bottom: 0.5em;
 }
+td.number, input[type="number"] {
+  text-align: right;
+}
+input[name="effort"] {
+  width: 3.5em;
+}
+textarea {
+  width: 100%;
+}
+table.alternating > tbody > tr:nth-child(odd) {
+  background-color: #dfdfdf;
+}
+div.edit_buttons {
+  margin-top: 1em;
+}
 {% block css %}
 {% endblock %}
 </style>