-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feat/#482] 반응형 헤더 구현
- Loading branch information
Showing
14 changed files
with
534 additions
and
231 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,88 @@ | ||
import styled from '@emotion/styled'; | ||
import { css } from '@emotion/react'; | ||
|
||
const basicCSS = css` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 4rem; | ||
padding: 1rem 1.6rem; | ||
white-space: nowrap; | ||
cursor: pointer; | ||
border-radius: 0.8rem; | ||
transition: | ||
transform 0.5s, | ||
background-color 0.5s, | ||
color 0.5s; | ||
`; | ||
|
||
// 글모임 만들기 버튼 | ||
export const CreateGroupBtnWrapper = styled.div` | ||
${basicCSS}; | ||
gap: 0.6rem; | ||
width: 100%; | ||
color: ${({ theme }) => theme.colors.white}; | ||
background-color: ${({ theme }) => theme.colors.black}; | ||
${({ theme }) => theme.fonts.button3}; | ||
:hover { | ||
color: ${({ theme }) => theme.colors.mainViolet}; | ||
background-color: ${({ theme }) => theme.colors.white}; | ||
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 16%); | ||
transform: scale(0.95); | ||
} | ||
:active { | ||
transform: scale(1.1); | ||
} | ||
`; | ||
|
||
// 로그인/로그아웃 버튼 | ||
export const LogInOutBtn = styled.button` | ||
${basicCSS}; | ||
width: 100%; | ||
color: ${({ theme }) => theme.colors.gray70}; | ||
${({ theme }) => theme.fonts.button3}; | ||
:hover { | ||
color: ${({ theme }) => theme.colors.mainViolet}; | ||
background-color: ${({ theme }) => theme.colors.gray10}; | ||
transform: scale(0.95); | ||
} | ||
:active { | ||
transform: scale(1.1); | ||
} | ||
`; | ||
|
||
// 내 글 모임 버튼 | ||
export const MyGroupBtn = styled.button` | ||
${basicCSS}; | ||
width: 9.5rem; | ||
color: ${({ theme }) => theme.colors.gray70}; | ||
${({ theme }) => theme.fonts.subtitle6}; | ||
:hover { | ||
color: ${({ theme }) => theme.colors.mainViolet}; | ||
background-color: ${({ theme }) => theme.colors.gray10}; | ||
transform: scale(0.95); | ||
border-radius: 0.8rem; | ||
} | ||
:active { | ||
transform: scale(1.1); | ||
} | ||
`; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.