-
Notifications
You must be signed in to change notification settings - Fork 0
레이아웃 수정 (#issue 289) #290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
레이아웃 수정 (#issue 289) #290
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
33504b1
design: main페이지 배너 크기 조정,패딩 수정
YouD0313 9d96747
design: 공고모집 패딩 수정
YouD0313 67a736d
design: 마이페이지 패딩수정, import 경로 오류 수정
YouD0313 42b337f
design: 문의하기 너비 수정
YouD0313 858bfc9
프로젝트 생성, 수정 페이지 css 수정
YouD0313 61189a7
desing: 문의하기 제출 버튼 수정
YouD0313 f1364c4
fix: skillTag 전체 삭제, 진행방식 버튼태그 타입 버튼 설정
YouD0313 e2ba5ce
design: 프로젝트 생성,수정시 submit 할때 마크다운 validation 메세지 위치 수정
YouD0313 467a688
design: 프로젝트 디테일 페이지 수정
YouD0313 f04f57e
design: 공지사항 호버시 border 사라짐 수정
YouD0313 9cf113a
fix: 스타일 코드 수정
YouD0313 58e3be9
fix: 타입변수로 수정
YouD0313 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
37 changes: 24 additions & 13 deletions
37
src/components/common/positionButton/PositionButton.styled.ts
This file contains hidden or 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 |
|---|---|---|
| @@ -1,30 +1,41 @@ | ||
| import styled from 'styled-components'; | ||
| import styled, { css } from 'styled-components'; | ||
|
|
||
| export const Container = styled.div``; | ||
|
|
||
| export const PositionButton = styled.button<{ | ||
| $isSelected: boolean; | ||
| $isHover: boolean; | ||
| $fontSize: boolean; | ||
| }>` | ||
| background-color: ${({ $isSelected, theme }) => | ||
| $isSelected ? theme.buttonScheme.primary.bg : theme.color.lightgrey}; | ||
| background-color: ${({ theme }) => theme.color.lightgrey}; | ||
| width: fit-content; | ||
| border: 1px solid | ||
| ${({ $isSelected, theme }) => | ||
| $isSelected ? theme.buttonScheme.primary.bg : theme.color.border}; | ||
| border: 1px solid ${({ theme }) => theme.color.border}; | ||
| border-radius: ${({ theme }) => theme.borderRadius.primary}; | ||
| padding: 0.3rem 0.4rem; | ||
| color: ${({ $isSelected, theme }) => $isSelected && theme.color.white}; | ||
|
|
||
| ${({ $isSelected }) => | ||
| $isSelected && | ||
| css` | ||
| background-color: ${({ theme }) => theme.color.navy}; | ||
| color: ${({ theme }) => theme.color.white}; | ||
| border: 1px solid ${({ theme }) => theme.color.navy}; | ||
| `} | ||
|
|
||
| ${({ $fontSize }) => | ||
| $fontSize && | ||
| css` | ||
| font-size: 1rem; | ||
| `} | ||
|
|
||
| cursor: pointer; | ||
| transition: all 0.2s; | ||
|
|
||
| ${({ $isHover }) => | ||
| $isHover && | ||
| ` | ||
| &:hover { | ||
| transform: scale(1.1); | ||
| transition: all 100ms ease-in-out; | ||
| } | ||
| `} | ||
| css` | ||
| &:hover { | ||
| transform: scale(1.1); | ||
| transition: all 100ms ease-in-out; | ||
| } | ||
| `} | ||
| `; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이런 방법은 생각 못했네요