-
Notifications
You must be signed in to change notification settings - Fork 1
구현 과제 - 로그인/회원가입 모달 - 시하 #22
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
Open
coo1river
wants to merge
7
commits into
main
Choose a base branch
from
11-siHa
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c849b5a
[#11] 로그인 모달 레이아웃 구현
coo1river ebef331
[#11} 이미지 파일 추가
coo1river 458d061
[#11] 이미지 파일 경로 수정
coo1river e3552ab
[#11] 코드 피드백 수정
coo1river 37c49b1
[#11] 체크박스 수정, 전체적인 간격 조정, 회원가입 다음에 오는 | 수정
coo1river 7fad197
[#11] 경고 문구 추가
coo1river 6c92423
[#11] 경고 문구 padding 조절
coo1river 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 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 |
|---|---|---|
| @@ -0,0 +1,303 @@ | ||
| @import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css); | ||
|
|
||
| h1, | ||
| h2, | ||
| p, | ||
| input, | ||
| form { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| a { | ||
| color: inherit; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| input { | ||
| background-color: none; | ||
| border: 0; | ||
| } | ||
|
|
||
| button { | ||
| border: 0; | ||
| background-color: unset; | ||
| } | ||
|
|
||
| body { | ||
| font-family: Spoqa Han Sans Neo; | ||
| background-color: #ddd; | ||
| } | ||
|
|
||
| button:hover { | ||
| cursor: pointer; | ||
| } | ||
| /* -------- */ | ||
|
|
||
| .txt-hide { | ||
| overflow: hidden; | ||
| width: 1px; | ||
| height: 1px; | ||
| clip-path: inset(50%); | ||
| } | ||
|
|
||
| .login { | ||
| width: 520px; | ||
| margin: auto; | ||
|
|
||
| border-radius: 10px; | ||
| border: 1px solid #c4c4c4; | ||
| background: #fff; | ||
| } | ||
|
|
||
| header { | ||
| padding: 18px; | ||
| border-bottom: 1px solid #c4c4c4; | ||
| } | ||
|
|
||
| header h1 { | ||
| text-align: center; | ||
| color: #000; | ||
| font-size: 16px; | ||
| font-style: normal; | ||
| font-weight: 500; | ||
| line-height: normal; | ||
| } | ||
|
|
||
| .close-btn { | ||
| display: block; | ||
| background: url(./img/close.svg) no-repeat 0 0/16px; | ||
| width: 16px; | ||
| height: 16px; | ||
|
|
||
| float: right; | ||
| position: relative; | ||
| top: -19px; | ||
| left: -5px; | ||
| } | ||
|
|
||
| .section-login h2 { | ||
| font-size: 20px; | ||
| font-style: normal; | ||
| font-weight: 500; | ||
| line-height: 24px; | ||
|
|
||
| margin: 26px 24px; | ||
| } | ||
|
|
||
| .login-input { | ||
| margin: 0 15px; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .login-input input { | ||
| width: calc(100% - 20px); | ||
| height: 50px; | ||
|
|
||
| border-radius: 5px; | ||
| border: 1px solid #c4c4c4; | ||
| background: #fff; | ||
| padding: 0 15px; | ||
| padding-top: 3px; | ||
| margin: 5px 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| .login-input input::placeholder { | ||
| color: #767676; | ||
| font-size: 16px; | ||
| font-style: normal; | ||
| font-weight: 400; | ||
| line-height: normal; | ||
| } | ||
|
|
||
| .login-input p { | ||
| text-align: justify; | ||
| margin-left: 13px; | ||
| color: #f4492e; | ||
| font-size: 14px; | ||
| display: none; | ||
| } | ||
|
|
||
| input:focus { | ||
| outline-color: #f4492e; | ||
| margin: 0; | ||
| } | ||
|
|
||
| input:focus + p { | ||
| display: block; | ||
| } | ||
|
|
||
| input:focus + .id { | ||
| padding: 6px 0 10px; | ||
| } | ||
|
|
||
| input:focus + .false { | ||
| padding: 10px 0 13px; | ||
| } | ||
|
|
||
| .lg-continue { | ||
| margin: 7px 0 0 20px; | ||
| position: relative; | ||
|
|
||
| color: #767676; | ||
| } | ||
|
|
||
| .check_svg { | ||
| position: relative; | ||
| top: 5px; | ||
| margin-right: 5px; | ||
| } | ||
|
|
||
| .txt-hide:checked + .lg-continue .circle { | ||
| fill: #2f80ed; | ||
| stroke: #2f80ed; | ||
| } | ||
|
|
||
| .txt-hide:checked + .lg-continue .path { | ||
| fill: transparent; | ||
| stroke: white; | ||
| } | ||
|
|
||
| .lg-continue:hover { | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| .txt-hide:checked + .lg-continue::after { | ||
| opacity: 1; | ||
|
|
||
| position: absolute; | ||
| top: 0; | ||
| left: 0; | ||
| } | ||
|
|
||
| .login-btn { | ||
| width: 472px; | ||
| height: 50px; | ||
|
|
||
| border-radius: 5px; | ||
| background: #2f80ed; | ||
| margin: 20px 23px; | ||
|
|
||
| color: #fff; | ||
| font-size: 18px; | ||
| font-style: normal; | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| .join { | ||
| margin: 0 20px; | ||
| display: flex; | ||
| justify-content: center; | ||
| gap: 12px; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .join span { | ||
| color: #767676; | ||
| } | ||
|
|
||
| .join a { | ||
| color: #767676; | ||
| font-size: 14px; | ||
| font-weight: 400; | ||
| } | ||
|
|
||
| .join_find > a, | ||
| .join_find > p { | ||
| color: #767676; | ||
| font-family: Spoqa Han Sans Neo; | ||
| font-size: 14px; | ||
| font-style: normal; | ||
| font-weight: 400; | ||
|
|
||
| padding: 20px 0 10px 0; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .or::before, | ||
| .or::after { | ||
| display: inline-block; | ||
| content: ""; | ||
| background-color: #c4c4c4; | ||
| width: 210px; | ||
| height: 0.5px; | ||
|
|
||
| position: relative; | ||
| top: -4px; | ||
| } | ||
|
|
||
| .or::before { | ||
| left: -10px; | ||
| } | ||
|
|
||
| .or::after { | ||
| left: 10px; | ||
| } | ||
|
|
||
| .other-login { | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| .other-login { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| gap: 10px; | ||
|
|
||
| background: #fff; | ||
| color: #767676; | ||
| } | ||
|
|
||
| .other-login a { | ||
| width: 472px; | ||
| padding: 15px 0; | ||
| border-radius: 5px; | ||
| margin: 0 24px 0 24px; | ||
| position: relative; | ||
|
|
||
| text-align: center; | ||
| } | ||
|
|
||
| [class^="bg-icon"]::before { | ||
| position: absolute; | ||
| display: block; | ||
| content: ""; | ||
| width: 28px; | ||
| height: 28px; | ||
| background-image: url(./img/css_sprites.png); | ||
| background-size: 96px 96px; | ||
| left: 10px; | ||
| } | ||
|
|
||
| .bg-icon_google::before { | ||
| background-position: -58px -12px; | ||
| } | ||
|
|
||
| .bg-icon_facebook::before { | ||
| background-position: -10px -12px; | ||
| } | ||
|
|
||
| .bg-icon_naver::before { | ||
| background-position: -58px -60px; | ||
| } | ||
|
|
||
| .bg-icon_kakao::before { | ||
| background-position: -10px -60px; | ||
| } | ||
|
|
||
| .bg-icon_google { | ||
| border: 1px solid #767676; | ||
| } | ||
|
|
||
| .bg-icon_facebook { | ||
| border: 1px solid #2d9cdb; | ||
| } | ||
|
|
||
| .bg-icon_naver { | ||
| border: 1px solid #00bf18; | ||
| } | ||
|
|
||
| .bg-icon_kakao { | ||
| border: 1px solid #f2c94c; | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <link rel="stylesheet" href="004.css"> | ||
| <title></title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="login"> | ||
| <header> | ||
| <h1>로그인 또는 회원가입</h1> | ||
| <button class="close-btn" type="button"></button> | ||
| </header> | ||
|
|
||
| <section class="section-login"> | ||
| <h2>위니브에서 여러분의 궁금증을 해결하세요! :)</h2> | ||
|
|
||
| <div class="login-input"> | ||
| <form> | ||
| <label for="user-id"></label> | ||
| <input id="user-id" type="text" placeholder="아이디"> | ||
| <p class="id">아이디를 입력해 주세요.</p> | ||
| <label for="user-pw"></label> | ||
| <input id="user-pw" type="password" placeholder="비밀번호"> | ||
| <p class="false">아이디 혹은 비밀번호가 일치하지 않습니다.</p> | ||
| </div> | ||
|
|
||
| <div> | ||
| <input class="txt-hide" id="check-btn" type="checkbox"> | ||
| <label class="lg-continue" for="check-btn"> | ||
| <svg class="check_svg" width="22" height="22" viewBox="0 0 22 22" fill="none" | ||
| xmlns="http://www.w3.org/2000/svg"> | ||
| <circle class="circle" cx="11" cy="11" r="10.5" stroke="#767676" /> | ||
| <path class="path" d="M15.5 8.5L10.5 14L7 10.5" stroke="#767676" stroke-linecap="round" | ||
| stroke-linejoin="round" /> | ||
| </svg> | ||
| 로그인 상태 유지 | ||
| </label> | ||
| </div> | ||
|
|
||
| <button class="login-btn" type="submit">로그인</button> | ||
| </form> | ||
|
|
||
| <div class="join_find"> | ||
| <div class="join"> | ||
| <a href="#">회원가입</a> | ||
| <span>|</span> | ||
| <a href="#">아이디/비밀번호 찾기</a> | ||
| </div> | ||
| <p class="or">또는</p> | ||
| </div> | ||
|
|
||
| <div class="other-login"> | ||
| <a class="bg-icon_google" href="#">구글 계정으로 로그인</a> | ||
| <a class="bg-icon_facebook" href="#">페이스북 계정으로 로그인</a> | ||
| <a class="bg-icon_naver" href="#">네이버 계정으로 로그인</a> | ||
| <a class="bg-icon_kakao" href="#">카카오톡 계정으로 로그인</a> | ||
| </div> | ||
| </section> | ||
| </div> | ||
| </body> | ||
|
|
||
| </html> | ||
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.
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.
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.
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.
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.
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.
마크업 확인이 필요해보여요!