-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10.05.2024|2:08 (reworked goods with descriptions)
- Loading branch information
Showing
18 changed files
with
995 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
@import url("../css/fonts.css"); | ||
.modal { | ||
display: none; | ||
position: fixed; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 1000; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
overflow: hidden; | ||
} | ||
.modal.show { | ||
animation: fadeIn 0.3s ease; | ||
} | ||
.modal.hide { | ||
animation: fadeOut 0.3s ease; | ||
display: none; | ||
} | ||
.modal .modal-content { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: space-evenly; | ||
background-color: #fefefe; | ||
padding: 20px; | ||
border: 1px solid #888; | ||
border-radius: 20px 5px 5px 20px; | ||
width: 60%; | ||
height: 80%; | ||
margin-right: calc(-1.5 * (100vw - 100%)); | ||
position: relative; | ||
overflow: auto; | ||
scrollbar-width: 0; | ||
opacity: 0; | ||
animation: fadeIn 0.3s ease forwards; | ||
font-family: "Source Sans 3"; | ||
} | ||
.modal .modal-content img { | ||
width: 30%; | ||
max-height: 80%; | ||
display: block; | ||
filter: drop-shadow(2px 2px 7px black); | ||
} | ||
.modal .modal-content h2, | ||
.modal .modal-content .product_price { | ||
font-size: 2.6vw; | ||
} | ||
.modal .modal-content .product_desc { | ||
text-align: center; | ||
} | ||
.modal .modal-content #confirm_btn { | ||
width: 65%; | ||
height: 50px; | ||
border-radius: 25px; | ||
border: none; | ||
outline: none; | ||
color: black; | ||
background-color: transparent; | ||
font-size: 20px; | ||
font-weight: bold; | ||
padding: 10px 0; | ||
cursor: pointer; | ||
transition: all 0.3s; | ||
} | ||
.modal .modal-content #confirm_btn:hover { | ||
background-color: rgb(0, 0, 0); | ||
color: white; | ||
transition: 0.4s; | ||
} | ||
|
||
.scroll-lock { | ||
overflow: hidden; | ||
} | ||
|
||
@keyframes fadeIn { | ||
from { | ||
opacity: 0; | ||
} | ||
to { | ||
opacity: 1; | ||
} | ||
} | ||
@keyframes fadeOut { | ||
from { | ||
opacity: 1; | ||
} | ||
to { | ||
opacity: 0; | ||
} | ||
} | ||
@media screen and (max-width: 1024px) { | ||
.modal .modal-content h2, | ||
.modal .modal-content .product_price { | ||
font-size: 5vw; | ||
} | ||
.modal .modal-content img { | ||
width: 80%; | ||
height: auto; | ||
} | ||
.modal .modal-content #confirm_btn { | ||
font-size: 2.5vw; | ||
} | ||
} | ||
@media screen and (max-width: 450px) { | ||
.modal .modal-content { | ||
width: 85%; | ||
height: 60%; | ||
} | ||
.modal .modal-content h2, | ||
.modal .modal-content .product_price { | ||
font-size: 7vw; | ||
} | ||
.modal .modal-content img { | ||
width: 90%; | ||
height: auto; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.