-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
20 changed files
with
552 additions
and
480 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/pages/QSpaceDetail/components/DetailsHeader/DetailsHead.styles.ts
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,30 @@ | ||
import theme from '@/styles/theme'; | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
align-items: center; | ||
gap: 0.75rem; | ||
padding: 1rem; | ||
`; | ||
|
||
export const TextContent = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.25rem; | ||
`; | ||
|
||
export const Title = styled.h2` | ||
font-family: ${theme.typography.fontFamily.korean}; | ||
font-size: ${theme.typography.body1.size}; | ||
font-weight: ${theme.typography.weights.semiBold}; | ||
color: ${theme.colors.black}; | ||
margin: 0; | ||
`; | ||
|
||
export const CreatorInfo = styled.p` | ||
font-family: ${theme.typography.fontFamily.korean}; | ||
font-size: ${theme.typography.body3.size}; | ||
color: ${theme.colors.gray[400]}; | ||
margin: 0; | ||
`; |
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
56 changes: 56 additions & 0 deletions
56
src/pages/QSpaceDetail/components/KebabMenu/KebabMenu.styles.ts
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,56 @@ | ||
import theme from '@/styles/theme'; | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled.div` | ||
position: relative; | ||
display: inline-block; | ||
`; | ||
|
||
export const IconButton = styled.button` | ||
background: none; | ||
border: none; | ||
padding: 0.5rem; | ||
cursor: pointer; | ||
color: ${theme.colors.gray[400]}; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
transition: color 0.2s ease-in-out; | ||
&:hover { | ||
color: ${theme.colors.gray[600]}; | ||
} | ||
`; | ||
|
||
export const MenuPopup = styled.div` | ||
position: absolute; | ||
top: 100%; | ||
right: 0; | ||
min-width: 160px; | ||
background-color: ${theme.colors.white}; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | ||
overflow: hidden; | ||
z-index: 1000; | ||
`; | ||
|
||
export const MenuItem = styled.button` | ||
width: 100%; | ||
padding: 0.75rem 1rem; | ||
border: none; | ||
background: none; | ||
text-align: left; | ||
font-family: ${theme.typography.fontFamily.korean}; | ||
font-size: ${theme.typography.body2.size}; | ||
color: ${theme.colors.gray[600]}; | ||
cursor: pointer; | ||
transition: background-color 0.2s ease-in-out; | ||
&:hover { | ||
background-color: ${theme.colors.sub}; | ||
} | ||
&:not(:last-child) { | ||
border-bottom: 1px solid ${theme.colors.gray[100]}; | ||
} | ||
`; |
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
59 changes: 59 additions & 0 deletions
59
src/pages/QSpaceDetail/components/MemberContainer/MemberContainer.styles.ts
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,59 @@ | ||
import styled from '@emotion/styled'; | ||
import theme from '@/styles/theme'; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
padding: 1rem; | ||
width: 100%; | ||
gap: 1rem; | ||
border-top: 1px solid ${theme.colors.gray[200]}; | ||
background-color: ${theme.colors.background}; | ||
`; | ||
|
||
export const TopSection = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const BottomSection = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const IconsWrapper = styled.div` | ||
display: flex; | ||
align-items: center; | ||
`; | ||
|
||
export const IconContainer = styled.div<{ size: number; isStacked: boolean }>` | ||
width: ${(props) => props.size}px; | ||
height: ${(props) => props.size}px; | ||
background-color: ${theme.colors.gray[200]}; | ||
border-radius: 50%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin-left: ${(props) => (props.isStacked ? '-8px' : '0')}; | ||
border: 2px solid ${theme.colors.white}; | ||
color: ${theme.colors.gray[100]}; | ||
`; | ||
|
||
export const Count = styled.div` | ||
display: flex; | ||
align-items: center; | ||
gap: 0.25rem; | ||
color: ${theme.colors.gray[400]}; | ||
font-family: ${theme.typography.fontFamily.korean}; | ||
font-size: ${theme.typography.body2.size}; | ||
svg { | ||
color: ${theme.colors.gray[400]}; | ||
} | ||
`; | ||
|
||
export const LastChatTime = styled.span` | ||
color: ${theme.colors.blue}; | ||
font-size: ${theme.typography.body3.size}; | ||
font-family: ${theme.typography.fontFamily.korean}; | ||
`; |
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
23 changes: 23 additions & 0 deletions
23
src/pages/QSpaceDetail/components/MemberListButton/MemberListButton.styles.ts
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,23 @@ | ||
import styled from '@emotion/styled'; | ||
import theme from '@/styles/theme'; | ||
|
||
export const Button = styled.button` | ||
background-color: ${theme.colors.sub}; | ||
color: ${theme.colors.gray[500]}; | ||
border: none; | ||
border-radius: 6rem; | ||
padding: 0.5rem 0.75rem; | ||
font-family: ${theme.typography.fontFamily.korean}; | ||
font-size: ${theme.typography.body2.size}; | ||
font-weight: ${theme.typography.weights.medium}; | ||
cursor: pointer; | ||
transition: all 0.2s ease-in-out; | ||
&:hover { | ||
background-color: ${theme.colors.gray[100]}; | ||
} | ||
&:active { | ||
transform: scale(0.98); | ||
} | ||
`; |
Oops, something went wrong.