diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-08 20:22:10 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-08 20:22:10 +0000 |
commit | 411e79ada3d5bf315000ff5bb598235118d50b51 (patch) | |
tree | 74d8738bbd2dd2315c2ac17de50d3d761b43e136 /alphabetlearning/static | |
parent | c563c092c34dacef2a9bffd7b89a89f025b726e9 (diff) |
Adds spinner after submission
Diffstat (limited to 'alphabetlearning/static')
-rw-r--r-- | alphabetlearning/static/css/project.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/alphabetlearning/static/css/project.css b/alphabetlearning/static/css/project.css index e0b1a1d..b90dade 100644 --- a/alphabetlearning/static/css/project.css +++ b/alphabetlearning/static/css/project.css @@ -226,3 +226,36 @@ header { /* border-bottom: 10px solid #E4E5E7;*/ /* overflow: auto;*/ /*}*/ + +/* Spinner overlay styles */ +.spinner-overlay { + display: none; /* Initially hidden */ + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ + z-index: 1000; /* On top of other content */ + justify-content: center; + align-items: center; +} + +/* Spinner animation */ +.spinner { + border: 6px solid #f3f3f3; /* Light gray */ + border-top: 6px solid #3498db; /* Blue */ + border-radius: 50%; + width: 50px; + height: 50px; + animation: spin 1s linear infinite; +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} |