diff website/issues/html/style.css @ 6454:83b67f65b8ff

Implement file upload by drag and drop and paste. Table formatting Move file description from below the file upload into the table on same line as file upload. Implement https://wiki.roundup-tracker.org/FileUploadViaDragDropAndPaste for table structure. Added creation of description field along with file input field. On tables align header fields that do not span rows (i.e. column headers) on the left. Table titles/grouping span multiple columns. Also do not align column headers left on the index page which uses the .list class. Also add some padding to th to increase space and improve readability. For message and files tables make them 95% of the width of their container. It makes the headers for messages and files more readable by adding space.
author John Rouillard <rouilj@ieee.org>
date Mon, 05 Jul 2021 01:24:37 -0400
parents d7f2dfad17c1
children 10a8a6bc4667
line wrap: on
line diff
--- a/website/issues/html/style.css	Sat Jul 03 13:04:46 2021 -0400
+++ b/website/issues/html/style.css	Mon Jul 05 01:24:37 2021 -0400
@@ -151,11 +151,23 @@
   background-color: #fafafa;
 }
 
+table:not(.list) th {
+    text-align: left;
+}
+
+table th[colspan] {
+    text-align: center;
+}
 /* Need some space between content of Issue List columns */
-td { padding-left: 1em; }
+td, th { padding-left: 1em; }
 
 tr.odd { background-color:#f5f5f5; }
 
+/* widen tables since headers have a lot of info and are squished
+   and difficult to read */
+table.messages, table.files {
+    width: 95%;
+}
 /* Make sure that user name starts at the top of the change list
 and not in the middle Issue2550809: History display misalignment */
 table.history td {
@@ -175,4 +187,4 @@
     font-weight: bold;
 }
 
-/* SHA: 01691a9346b3bc6a29a505a2dfa389ee3edc950f */
+/* SHA: 2a5330c3d1ee6bf31e672e1c8a9317d11b7eb436 */

Roundup Issue Tracker: http://roundup-tracker.org/