-
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.
- Loading branch information
1 parent
3d5f52c
commit a16d359
Showing
16 changed files
with
158 additions
and
39 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import styled, { keyframes } from "styled-components"; | ||
|
||
export const ModalName = styled.p` | ||
font-size: ${(p) => p.theme.fonts.bigSize}; | ||
line-height: 30px; | ||
font-weight: ${(p) => p.theme.fonts.bold}; | ||
margin-bottom: 10px; | ||
`; | ||
|
||
export const ModalLocationAndRating = styled.div` | ||
display: flex; | ||
gap: 16px; | ||
margin-bottom: 16px; | ||
`; | ||
|
||
export const ModalPrice = styled.p` | ||
font-size: ${(p) => p.theme.fonts.bigSize}; | ||
line-height: 30px; | ||
font-weight: ${(p) => p.theme.fonts.bold}; | ||
margin-bottom: 24px; | ||
`; | ||
|
||
export const ImagesList = styled.div` | ||
display: flex; | ||
gap: 16px; | ||
margin-bottom: 24px; | ||
`; | ||
|
||
export const ModalDescription = styled.p` | ||
color: ${(p) => p.theme.colors.grey}; | ||
`; | ||
|
||
export const PopUpsBtnContainer = styled.div` | ||
display: flex; | ||
gap: 40px; | ||
margin-top: 44px; | ||
border-bottom: 1px solid ${(p) => p.theme.colors.borderColor}; | ||
`; | ||
|
||
const expandAnimation = keyframes` | ||
0% { | ||
transform: scaleX(0); | ||
} | ||
100% { | ||
transform: scaleX(1); | ||
} | ||
`; | ||
|
||
export const PopupsBtns = styled.button` | ||
position: relative; | ||
font-size: ${(p) => p.theme.fonts.mdSize}; | ||
font-weight: ${(p) => p.theme.fonts.bold}; | ||
border: none; | ||
background-color: transparent; | ||
padding-bottom: 24px; | ||
&.isOpen { | ||
&::after { | ||
content: ""; | ||
position: absolute; | ||
display: block; | ||
bottom: -3px; | ||
width: 85px; | ||
height: 5px; | ||
background-color: ${(p) => p.theme.colors.red}; | ||
animation: ${expandAnimation} 0.3s ease-out forwards; | ||
} | ||
} | ||
`; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export const FeaturesPopUp = () => { | ||
return <div>FeaturesPopUp</div>; | ||
}; |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export const FormPopUp = () => { | ||
return <div>FormPopUp</div>; | ||
}; |
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 @@ | ||
|
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,3 @@ | ||
export const ReviewsPopUp = () => { | ||
return <div>ReviewsPopUp</div>; | ||
}; |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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