diff options
Diffstat (limited to 'srs-anywhere.css')
| -rw-r--r-- | srs-anywhere.css | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/srs-anywhere.css b/srs-anywhere.css new file mode 100644 index 0000000..bcef4fb --- /dev/null +++ b/srs-anywhere.css @@ -0,0 +1,157 @@ +body { + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; + background: #f0f0f0; + font-family: Arial, sans-serif; +} + +#button-container { + display: none; + justify-content: center; + gap: 1rem; + padding: 1rem; + background-color: #f5f5f5; + position: fixed; + bottom: 0; + width: 100%; + box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); +} + +.rating-button { + padding: 0.6rem 1.2rem; + font-size: 1rem; + border: none; + border-radius: 6px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +.rating-button:hover { + background-color: #e0e0e0; +} + +.status-section { + position: fixed; + top: 0; + right: 0; + background-color: #f0f8ff; /* Light blue for subtle color coding */ + padding: 10px 16px; + font-size: 14px; + color: #000; + border-bottom-left-radius: 8px; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); + z-index: 1000; +} + +.status-section div { + margin: 2px 0; +} + +/* Basic styling for the toast */ +#toast { + position: fixed; + top: 20px; + left: 20px; + background-color: #333; + color: white; + padding: 12px 24px; + border-radius: 6px; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); + opacity: 0; + visibility: hidden; + transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; + z-index: 1000; +} + +#toast.show { + opacity: 1; + visibility: visible; +} + +#flashcard { + display: none; + padding: 16px; + background: #fff; + border-radius: 4px; + filter: drop-shadow(2px 2px 5px gray); + box-shadow: 2px 2px 5px gray; +} + +/* Modal Background (Overlay) */ +.modal { + display: none; /* Hidden by default */ + position: fixed; /* Stay in place */ + z-index: 1000; /* Sit on top */ + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */ +} + +/* Modal Content Box */ +.modal-content { + background-color: #fff; + margin: 2rem auto; + padding: 20px; + border: 1px solid #888; + width: 50%; + text-align: center; + border-radius: 8px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); +} + +/* OK Button Style */ +.ok-button { + margin-top: 10px; + padding: 10px 20px; + font-size: 16px; + cursor: pointer; + border: none; + border-radius: 5px; + background-color: #007bff; + color: white; + transition: background-color 0.3s ease; +} + +.ok-button:hover { + background-color: #0056b3; +} + +table { + width: 100%; + border-collapse: collapse; + font-family: Arial, sans-serif; +} +th, td { + border: 1px solid #ccc; + padding: 10px; + text-align: left; +} +th { + background-color: #f4f4f4; +} + +.hidden { + display: none; +} + +button .delete { + background: #e74c3c; + color: white; + border: none; + padding: 4px 6px; + cursor: pointer; +} + +textarea { + width: 100%; + resize: vertical; +} + +#flashcard img { + width: 100%; +} |