Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b15b79c

Browse files
feat: modal style update
1 parent 73de064 commit b15b79c

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

‎src/components/shared/Modal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Modal: FC = () => {
3030
</div>
3131
<div className='modal__content__content'>
3232
<p>The application shows flashing colors.</p>
33-
<p>Please, keep the color mode &quot;off&quot;, if you are affected by it.</p>
33+
<p>Please, keep the color mode option <strong>&quot;off&quot;</strong> if you are affected by it.</p>
3434
</div>
3535
<div className='modal__content__footer'>
3636
<button type="button" onClick={handleModalClose}>Close</button>

‎src/styles/common/modal.scss‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,18 @@
4141
margin-top: 2rem;
4242
padding: 0.5rem 1rem;
4343
color: white;
44-
background-color: orange;
45-
cursor: pointer;
44+
background-color: rgb(215, 98, 98);
45+
border: 1px solid rgb(195, 87, 87);
46+
border-radius: 0.5rem;
47+
cursor: pointer;
48+
49+
&:hover{
50+
opacity: 0.9;
51+
}
52+
53+
&:active {
54+
opacity: 0.7;
55+
}
4656
}
4757
}
4858
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /