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 11be812 commit 513f3f6
Showing 1 changed file with 16 additions and 30 deletions.
46 changes: 16 additions & 30 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,36 +66,22 @@ button[type="submit"]:hover {
background-color: #ffdb4d;
}

/* Прогресс бар и текст наложения */
.overlay {
display: none;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
text-align: center;
}

.progress-bar {
width: 300px;
height: 10px;
background-color: #ddd;
border-radius: 5px;
overflow: hidden;
}

.progress {
width: 0%;
height: 100%;
background-color: #4caf50;
transition: width 0.3s ease-in-out;
.loading-message {
display: none; /* Скрываем сообщение о загрузке и предварительном одобрении */
margin-top: 20px;
font-style: italic;
}

.status-text {
margin-top: 20px;
color: #fff;
/* Добавляем анимацию для класса "loading" */
button[type="submit"].loading::after {
content: "";
width: 20px;
height: 20px;
border: 2px solid #fff;
border-top: 2px solid #000;
border-radius: 50%;
display: inline-block;
position: relative;
top: 4px;
animation: spin 1s linear infinite;
}

0 comments on commit 513f3f6

Please sign in to comment.