diff --git a/static/style.css b/static/style.css index dcb970e..793cbad 100644 --- a/static/style.css +++ b/static/style.css @@ -1,37 +1,3 @@ -body { - font-family: Arial, sans-serif; - margin: 10px; -} - -h1 { - color: #333; -} - -form { - margin-top: 20px; -} - -label { - font-weight: bold; -} - -input[type="number"] { - padding: 5px; - margin-right: 10px; -} - -button { - padding: 8px 12px; - background-color: #007bff; - color: #fff; - border: none; - cursor: pointer; -} - -button:hover { - background-color: #0056b3; -} - /* The Modal (background) */ .modal { display: none; /* Hidden by default */ @@ -100,4 +66,4 @@ button:hover { padding: 2px 16px; background-color: #5cb85c; color: white; -} \ No newline at end of file +} diff --git a/templates/base.html b/templates/base.html index f9eb69f..e506e1b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -20,6 +20,19 @@ th { table { } +#data { + width: 100%; + border-collapse: collapse; +} + +#data th:nth-child(3), +#data td:nth-child(3) { + max-width: 300px; /* Adjust as needed */ + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + .center-table { } @@ -136,6 +149,32 @@ td img{ height: 100%; background-color: rgba(0,0,0,0.5); } +.lightbox-wrapper { + position: relative; + width: 100%; + height: 100%; +} + +.lightbox-content { + max-width: 90%; + max-height: 90%; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +#lightbox-text { + position: absolute; + bottom: 20px; /* Adjust as needed */ + left: 50%; + transform: translateX(-50%); + padding: 10px; + background-color: rgba(0, 0, 0, 0.5); /* Adjust background color and opacity */ + color: white; + text-align: center; +} + #lightbox-modal .close { position: absolute; @@ -153,12 +192,14 @@ td img{ max-height: 90%; } +
+@@ -123,16 +123,25 @@ |
---|