Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,77 +1,157 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
.modal-close-button {
|
| 47 |
-
color: #aaa;
|
| 48 |
-
position: absolute;
|
| 49 |
-
top: 15px;
|
| 50 |
-
right: 25px;
|
| 51 |
-
font-size: 28px;
|
| 52 |
-
font-weight: bold;
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
.modal-close-button:hover,
|
| 56 |
-
.modal-close-button:focus {
|
| 57 |
-
color: black;
|
| 58 |
-
text-decoration: none;
|
| 59 |
-
cursor: pointer;
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
#modalTitle {
|
| 63 |
margin-top: 0;
|
| 64 |
-
padding-top: 0;
|
| 65 |
border-top: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
}
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
background-color: #f8f9fa;
|
| 70 |
border: 1px solid #e0e0e0;
|
| 71 |
border-radius: 5px;
|
| 72 |
-
padding: 20px;
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* General Body and Container Styles for Compact Layout */
|
| 2 |
+
body {
|
| 3 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
| 4 |
+
background-color: #f4f7f9;
|
| 5 |
+
color: #333;
|
| 6 |
+
margin: 0;
|
| 7 |
+
padding: 10px; /* Reduced padding for mobile */
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.container {
|
| 11 |
+
width: 100%;
|
| 12 |
+
max-width: 700px; /* Reduced max-width for a more compact column */
|
| 13 |
+
background-color: #fff;
|
| 14 |
+
padding: 20px; /* Reduced padding */
|
| 15 |
+
border-radius: 10px;
|
| 16 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 17 |
+
margin: 10px auto;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
header {
|
| 21 |
+
text-align: center;
|
| 22 |
+
border-bottom: 1px solid #e0e0e0;
|
| 23 |
+
padding-bottom: 15px;
|
| 24 |
+
margin-bottom: 20px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
header h1 {
|
| 28 |
+
font-size: 1.8em;
|
| 29 |
+
color: #0056b3;
|
| 30 |
+
margin: 0;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
h2 {
|
| 34 |
+
font-size: 1.4em;
|
| 35 |
+
color: #0056b3;
|
| 36 |
+
margin-top: 25px;
|
| 37 |
+
margin-bottom: 15px;
|
| 38 |
+
border-top: 1px solid #eee;
|
| 39 |
+
padding-top: 15px;
|
| 40 |
+
display: flex; /* For aligning toggle icon */
|
| 41 |
+
justify-content: space-between; /* For aligning toggle icon */
|
| 42 |
+
align-items: center; /* For aligning toggle icon */
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
h2:first-of-type {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
margin-top: 0;
|
|
|
|
| 47 |
border-top: none;
|
| 48 |
+
padding-top: 0;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
/* Form Element Styles */
|
| 52 |
+
textarea, input[type="text"] {
|
| 53 |
+
width: 100%;
|
| 54 |
+
padding: 12px; /* Reduced padding */
|
| 55 |
+
border: 1px solid #ccc;
|
| 56 |
+
border-radius: 5px;
|
| 57 |
+
font-size: 1em;
|
| 58 |
+
box-sizing: border-box;
|
| 59 |
+
margin-bottom: 10px;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
textarea#reportBody {
|
| 63 |
+
height: 150px;
|
| 64 |
+
resize: vertical;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
button {
|
| 68 |
+
display: inline-block;
|
| 69 |
+
width: auto;
|
| 70 |
+
padding: 10px 18px; /* Adjusted padding */
|
| 71 |
+
background-color: #007bff;
|
| 72 |
+
color: white;
|
| 73 |
+
border: none;
|
| 74 |
+
border-radius: 5px;
|
| 75 |
+
font-size: 1em;
|
| 76 |
+
font-weight: bold;
|
| 77 |
+
cursor: pointer;
|
| 78 |
+
margin-top: 5px;
|
| 79 |
+
transition: background-color 0.3s;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
button:hover {
|
| 83 |
+
background-color: #0056b3;
|
| 84 |
}
|
| 85 |
|
| 86 |
+
button:disabled {
|
| 87 |
+
background-color: #a0c3e6;
|
| 88 |
+
cursor: not-allowed;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
#uploadForm button {
|
| 92 |
+
width: 100%;
|
| 93 |
+
padding: 12px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
/* Container and Entry Styles */
|
| 97 |
+
.result-container, .history-container, .reports-container {
|
| 98 |
background-color: #f8f9fa;
|
| 99 |
border: 1px solid #e0e0e0;
|
| 100 |
border-radius: 5px;
|
| 101 |
+
padding: 5px 20px;
|
| 102 |
+
min-height: 40px;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.history-entry, .report-entry {
|
| 106 |
+
border-bottom: 1px solid #eee;
|
| 107 |
+
padding: 12px 0;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.history-entry:last-child, .report-entry:last-child {
|
| 111 |
+
border-bottom: none;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.report-entry {
|
| 115 |
+
display: flex;
|
| 116 |
+
justify-content: space-between;
|
| 117 |
+
align-items: center;
|
| 118 |
+
gap: 10px;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.report-entry h3 { margin: 0; font-size: 1.1em; color: #0056b3; }
|
| 122 |
+
.report-entry p { margin: 4px 0 0 0; font-size: 0.9em; }
|
| 123 |
+
|
| 124 |
+
#uploadStatus {
|
| 125 |
+
margin-top: 10px;
|
| 126 |
+
font-size: 0.9em;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
footer {
|
| 130 |
+
text-align: center;
|
| 131 |
+
margin-top: 25px;
|
| 132 |
+
padding-top: 15px;
|
| 133 |
+
border-top: 1px solid #e0e0e0;
|
| 134 |
+
font-size: 0.8em;
|
| 135 |
+
color: #777;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
/* Collapsible Section Styles */
|
| 139 |
+
.collapsible-header {
|
| 140 |
+
cursor: pointer;
|
| 141 |
+
}
|
| 142 |
+
.toggle-icon {
|
| 143 |
+
font-size: 1.2em;
|
| 144 |
+
font-weight: bold;
|
| 145 |
+
color: #007bff;
|
| 146 |
+
}
|
| 147 |
+
.reports-container.collapsed {
|
| 148 |
+
display: none;
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
/* Modal Styles */
|
| 152 |
+
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); }
|
| 153 |
+
.modal-content { background-color: #fefefe; margin: 15% auto; padding: 25px; border: 1px solid #888; width: 90%; max-width: 600px; border-radius: 10px; position: relative; }
|
| 154 |
+
.modal-close-button { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; }
|
| 155 |
+
.modal-close-button:hover, .modal-close-button:focus { color: black; text-decoration: none; cursor: pointer; }
|
| 156 |
+
#modalTitle { margin-top: 0; padding-top: 0; border-top: none; }
|
| 157 |
+
.modal-body-container { background-color: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 5px; padding: 15px; max-height: 60vh; overflow-y: auto; white-space: pre-wrap; font-family: monospace; }
|