-
Notifications
You must be signed in to change notification settings - Fork 21
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
[이수지] sprint2 #27
Merged
GANGYIKIM
merged 9 commits into
codeit-bootcamp-frontend:Basic-이수지
from
mulddang2:Basic-이수지-sprint2
Aug 19, 2024
The head ref may contain hidden characters: "Basic-\uC774\uC218\uC9C0-sprint2"
Merged
[이수지] sprint2 #27
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
631e663
chore: settings.json 파일 삭제
25a0eb0
chore: .gitignore 파일 추가
90dc378
refactor: 사용하지 않는 폰트파일, 폰트정의 삭제
bff9da9
refactor: image 파일명 규칙 통일 및 수정
ac89790
refactor: css 변수명 수정, 불필요한 속성 삭제
cc9ae26
style: 공통 적용되는 속성 common.css 파일로 분리, 전체선택자에 리셋속성 추가
955346a
feat: 로그인 페이지 추가
c886cea
feat: 회원가입 페이지 추가
98a4de6
style: 간편로그인 버튼 스타일 수정
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
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 @@ | ||
.vscode/settings.json |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css'); | ||
@import url('fonts.css'); | ||
|
||
:root { | ||
--Primary-100: #3692ff; | ||
--Primary-200: #1967d6; | ||
--Primary-300: #1251aa; | ||
--Gray-50: #f9fafb; | ||
--Gray-100: #f3f4f6; | ||
--Gray-200: #e5e7eb; | ||
--Gray-400: #9ca3af; | ||
--Gray-500: #6b7280; | ||
--Gray-600: #4b5563; | ||
--Gray-700: #374151; | ||
--Gray-800: #1f2937; | ||
--Gray-900: #111827; | ||
--Error-red: #f74747; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
list-style: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
font-size: 62.5%; | ||
} | ||
|
||
body { | ||
font-family: 'Pretendard', sans-serif; | ||
word-break: keep-all; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
cursor: pointer; | ||
white-space: nowrap; | ||
} |
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,135 @@ | ||
main { | ||
width: 64rem; | ||
margin: 23.1rem auto; | ||
} | ||
|
||
.login__header { | ||
text-align: center; | ||
margin-bottom: 4rem; | ||
} | ||
|
||
.login__label { | ||
font-size: 1.8rem; | ||
font-weight: 700; | ||
margin-bottom: 1.6rem; | ||
display: block; | ||
color: var(--Gray-800); | ||
} | ||
|
||
.login__input { | ||
width: 100%; | ||
height: 100%; | ||
padding: 1.6rem 2.4rem; | ||
font-size: 1.6rem; | ||
color: var(--Gray-800); | ||
background-color: var(--Gray-100); | ||
border: none; | ||
border-radius: 1.2rem; | ||
} | ||
|
||
.login__input::placeholder { | ||
color: var(--Gray-400); | ||
} | ||
|
||
.login__input:focus { | ||
outline: 1px solid #3692ff; | ||
} | ||
|
||
.login__field--password { | ||
position: relative; | ||
height: 5.6rem; | ||
margin-bottom: 2.4rem; | ||
} | ||
|
||
.login__field--id { | ||
margin-bottom: 2.4rem; | ||
height: 5.6rem; | ||
} | ||
|
||
.login__field--password button { | ||
position: absolute; | ||
top: 50%; | ||
right: 2.4rem; | ||
transform: translateY(-50%); | ||
border: none; | ||
display: flex; | ||
align-items: center; | ||
cursor: pointer; | ||
background: none; | ||
} | ||
|
||
.login__password-toggle-icon--active { | ||
display: none; | ||
} | ||
|
||
.login__submit { | ||
width: 100%; | ||
height: 5.6rem; | ||
padding: 1.6rem 0; | ||
border: none; | ||
border-radius: 4rem; | ||
background-color: var(--Gray-400); | ||
color: var(--Gray-100); | ||
font-size: 2rem; | ||
font-weight: 600; | ||
cursor: pointer; | ||
transition: background-color 0.2s; | ||
} | ||
|
||
.login__submit:hover { | ||
background-color: var(--Primary-100); | ||
} | ||
|
||
.social-login { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 1.6rem 2.3rem; | ||
margin: 2.4rem 0; | ||
background-color: #e6f2ff; | ||
border-radius: 0.8rem; | ||
color: var(--Gray-800); | ||
} | ||
|
||
.social-login__header { | ||
font-size: 1.6rem; | ||
font-weight: 500; | ||
} | ||
|
||
.social-login ul { | ||
display: flex; | ||
gap: 1.6rem; | ||
} | ||
|
||
.social-button { | ||
width: 4.2rem; | ||
height: 4.2rem; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
border-radius: 50%; | ||
} | ||
|
||
.social-button--kakao { | ||
background-color: #f5e14b; | ||
} | ||
|
||
.social-button--google { | ||
background-color: #fff; | ||
} | ||
|
||
.signup-link { | ||
text-align: center; | ||
} | ||
|
||
.signup-link__text { | ||
font-size: 1.4rem; | ||
font-weight: 500; | ||
color: var(--Gray-800); | ||
} | ||
|
||
.signup-link__text a { | ||
margin-left: 0.4rem; | ||
color: var(--Primary-100); | ||
border-bottom: 1px solid var(--Primary-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
Oops, something went wrong.
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.
P3:
중앙 정렬을 위해 이렇게 처리하신거 좋습니다 👍
아시겠지만 혹시나 해서 설명을 드리자면, 상대요소의 상단(top) 기준으로 50% 되는 곳에 위치시키게 되면
input height: 60px, icon height: 30px 일경우 60 * 0.5 = 30px 에 아이콘이 위치하게 됩니다.
시각적으로 중앙에 위치하기 위해서는 30px가 아닌 30 - (30 / 2) = 15px에 위치해야 합니다.
이를 고정값(15px)처럼 입력하게 되면 icon의 height가 변경되었을 시 같이 변경되야 하기 때문에 위와같이 작성합니다.