diff options
Diffstat (limited to 'static/styles.css')
| -rw-r--r-- | static/styles.css | 97 |
1 files changed, 57 insertions, 40 deletions
diff --git a/static/styles.css b/static/styles.css index 8166a32..994c882 100644 --- a/static/styles.css +++ b/static/styles.css @@ -258,55 +258,72 @@ img.draggable.dragged, .button:active { justify-content: center; } -.modal-content { - background-color: white; - padding: 30px; - border-radius: 10px; - box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); - width: 90%; - max-width: 800px; - text-align: center; -} -.close { - color: #aaa; - float: right; - font-size: 28px; - font-weight: bold; - cursor: pointer; +.modal-content { + background-color: #444; + padding: 30px; + border-radius: 10px; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7); + width: 90%; + max-width: 800px; + max-height: 90vh; + text-align: center; + color: #ddd; + display: flex; + flex-direction: column; + align-items: center; + overflow-y: auto; } -.close:hover { - color: black; +#modal-img { + max-width: 100%; + max-height: 40vh; + object-fit: contain; + border-radius: 5px; + margin-bottom: 10px; } -#modal-img { - max-width: 100%; - max-height: 40vh; - border-radius: 5px; - margin-bottom: 10px; +#modal-title { + width: 80%; + padding: 8px 15px; + margin: 10px auto; + border: 1px solid #666; + border-radius: 5px; + font-size: 16px; + background-color: #333; + color: #ddd; + text-align: center; } #modal-description { - width: 100%; - height: 25vh; - padding: 10px; - margin-top: 10px; - border: 1px solid #ccc; - border-radius: 5px; - font-size: 14px; + width: 80%; + height: 25vh; + padding: 12px 15px; + margin: 10px auto; + border: 1px solid #666; + border-radius: 5px; + font-size: 14px; + background-color: #333; + color: #ddd; + resize: vertical; } -#modal-save { - background: #4CAF50; - color: white; - border: none; - padding: 10px 20px; - cursor: pointer; - margin-top: 10px; - border-radius: 5px; +#modal-title:focus { + outline: none; + border-color: #4a4a4a; + background-color: #3a3a3a; } -#modal-save:hover { - background: #45a049; -} +#modal-save { + background: #2c662f; + color: #ddd; + border: none; + padding: 12px 25px; + cursor: pointer; + margin-top: 15px; + border-radius: 5px; + font-size: 16px; + transition: background-color 0.2s ease; + align-self: center; + min-width: 120px; +}
\ No newline at end of file |
