Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
runas24 authored Apr 15, 2024
1 parent 6d11b62 commit a36d3b5
Showing 1 changed file with 37 additions and 44 deletions.
81 changes: 37 additions & 44 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,48 +85,41 @@ button[type="submit"].loading::after {
font-style: italic;
}

#overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}

#progressBar {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 20px;
background-color: #fff;
border-radius: 10px;
overflow: hidden;
}

#runner {
width: 20px;
height: 20px;
background-color: #ffcc00;
border-radius: 50%;
position: relative;
animation: run 2s linear infinite;
}

@keyframes run {
0% { left: 0; }
100% { left: 100%; }
}

#overlayText {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 24px;
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
}

.progress-bar-container {
position: relative;
width: 200px;
height: 50px;
}

.progress-bar {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 150px;
height: 20px;
background-color: #ffcc00;
border-radius: 10px;
}

.progress-text {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
color: white;
font-size: 14px;
}

0 comments on commit a36d3b5

Please sign in to comment.