Skip to content

Commit

Permalink
Add transition to toggle.
Browse files Browse the repository at this point in the history
  • Loading branch information
chayev committed Jun 24, 2023
1 parent bdbe3b8 commit e62f47e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webapp/static/css/main_v2.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,11 @@ form {

#submit-button {
width: 100%;
background-color: black;
background-color: #333333;
color: white;
padding: 8px;
border-radius: 10px;
cursor: pointer;
}

footer {
Expand Down Expand Up @@ -176,6 +177,7 @@ input[type='checkbox'] {
height: 26px;
align-items: center;
justify-content: center;
transition: 0.3s;
}

input:checked + .toggle {
Expand All @@ -185,6 +187,7 @@ input:checked + .toggle {
#switch:checked + .toggle .toggle-icon:before {
content: url(../img/droidIcon.svg);
margin-left: 45px;
transition: 0.3s;
}

#toggle-container {
Expand Down

0 comments on commit e62f47e

Please sign in to comment.