-
Notifications
You must be signed in to change notification settings - Fork 0
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
Junsbae todo, 개포동 배달음식, cabi 웹 사이트 만들기 제출, react 로그인 페이지, react cabi 페이지 구현 #16
Open
wet6123
wants to merge
5
commits into
junsbae
Choose a base branch
from
junsbae-work
base: junsbae
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
5 commits
Select commit
Hold shift + click to select a range
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 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,41 @@ | ||
<!DOCTYPE html> | ||
<html lang="ko"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="reset.css" /> | ||
<link rel="stylesheet" href="style.css" /> | ||
<title>cabi todo</title> | ||
</head> | ||
<body> | ||
<div> | ||
<header>Todo List</header> | ||
<nav> | ||
<div> | ||
<button id="cat-btn-all" class="cat-btn">모두</button> | ||
<button id="cat-btn-incomplete" class="cat-btn">미완료</button> | ||
<button id="cat-btn-complete" class="cat-btn">완료</button> | ||
</div> | ||
<form id="search-form"> | ||
<input | ||
id="search-form__input" | ||
type="text" | ||
placeholder="Search todo" | ||
/> | ||
</form> | ||
</nav> | ||
<main> | ||
<ul id="todo-list"></ul> | ||
<form id="todo-form"> | ||
<input | ||
id="todo-form__input" | ||
type="text" | ||
placeholder="Write todo here" | ||
/> | ||
<input id="todo-form__btn" type="submit" value="추가" /> | ||
</form> | ||
</main> | ||
</div> | ||
</body> | ||
<script src="todo.js"></script> | ||
</html> |
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,129 @@ | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v2.0 | 20110126 | ||
License: none (public domain) | ||
*/ | ||
|
||
html, | ||
body, | ||
div, | ||
span, | ||
applet, | ||
object, | ||
iframe, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
p, | ||
blockquote, | ||
pre, | ||
a, | ||
abbr, | ||
acronym, | ||
address, | ||
big, | ||
cite, | ||
code, | ||
del, | ||
dfn, | ||
em, | ||
img, | ||
ins, | ||
kbd, | ||
q, | ||
s, | ||
samp, | ||
small, | ||
strike, | ||
strong, | ||
sub, | ||
sup, | ||
tt, | ||
var, | ||
b, | ||
u, | ||
i, | ||
center, | ||
dl, | ||
dt, | ||
dd, | ||
ol, | ||
ul, | ||
li, | ||
fieldset, | ||
form, | ||
label, | ||
legend, | ||
table, | ||
caption, | ||
tbody, | ||
tfoot, | ||
thead, | ||
tr, | ||
th, | ||
td, | ||
article, | ||
aside, | ||
canvas, | ||
details, | ||
embed, | ||
figure, | ||
figcaption, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
output, | ||
ruby, | ||
section, | ||
summary, | ||
time, | ||
mark, | ||
audio, | ||
video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
/* HTML5 display-role reset for older browsers */ | ||
article, | ||
aside, | ||
details, | ||
figcaption, | ||
figure, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, | ||
ul { | ||
list-style: none; | ||
} | ||
blockquote, | ||
q { | ||
quotes: none; | ||
} | ||
blockquote:before, | ||
blockquote:after, | ||
q:before, | ||
q:after { | ||
content: ""; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,213 @@ | ||
html { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. reset.css랑 style.css랑 나눠서 사용하는 이유가 궁금합니당 |
||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
font-family: "Noto Sans KR", sans-serif; | ||
|
||
/* colors */ | ||
--sys-default-main-color: rgb(151, 71, 255); | ||
--sys-default-bg-color: rgb(225, 211, 255); | ||
--sys-sub-color: rgb(177, 140, 255); | ||
--default-text-color: rgb(64, 31, 107); | ||
--theme-text-color: white; | ||
--disabled-text-color: rgb(170, 170, 170); | ||
/* checkbox color */ | ||
--checkbox-bg-color: rgb(150, 150, 150); | ||
} | ||
|
||
/* colors */ | ||
|
||
.sys-default-main-color { | ||
color: var(--sys-default-main-color); | ||
} | ||
.sys-sub-color { | ||
color: var(--sys-sub-color); | ||
} | ||
.normal-text-color { | ||
color: var(--normal-text-color); | ||
} | ||
.theme-text-color { | ||
color: var(--theme-text-color); | ||
} | ||
|
||
/* layout */ | ||
body { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
body > div { | ||
width: 1024px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
header { | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
box-sizing: border-box; | ||
padding: 1rem; | ||
font-size: 32px; | ||
background-color: var(--sys-default-main-color); | ||
color: var(--theme-text-color); | ||
} | ||
|
||
nav { | ||
width: 100%; | ||
height: 40px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
box-sizing: border-box; | ||
padding: 0 1rem; | ||
background-color: var(--sys-default-main-color); | ||
} | ||
|
||
main { | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
background-color: var(--sys-sub-color); | ||
} | ||
|
||
/* nav */ | ||
.cat-btn { | ||
width: 72px; | ||
height: 24px; | ||
border: none; | ||
border-radius: 5px; | ||
background-color: var(--sys-sub-color); | ||
color: var(--default-text-color); | ||
} | ||
|
||
#search-form__input { | ||
height: 24px; | ||
font-size: 12px; | ||
border: none; | ||
border-radius: 5px; | ||
background-color: var(--sys-default-bg-color); | ||
color: var(--default-text-color); | ||
box-sizing: border-box; | ||
padding: 0 1rem; | ||
} | ||
|
||
/* todo-list */ | ||
|
||
#todo-list { | ||
width: 100%; | ||
height: calc(100vh - 64px - 72px - 40px); | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
box-sizing: border-box; | ||
padding: 1rem; | ||
overflow-y: auto; | ||
} | ||
|
||
.todo-list__item { | ||
width: 100%; | ||
height: 80px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
box-sizing: border-box; | ||
padding: 1rem; | ||
border-radius: 10px; | ||
background-color: var(--sys-default-bg-color); | ||
} | ||
|
||
.todo-list__item > div { | ||
height: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.todo-list__item + .todo-list__item { | ||
margin-top: 1rem; | ||
} | ||
|
||
.todo-list__item-text-checked { | ||
font-size: 20px; | ||
color: var(--disabled-text-color); | ||
text-decoration: line-through; | ||
} | ||
|
||
.todo-list__item-text-unchecked { | ||
font-size: 20px; | ||
color: var(--default-text-color); | ||
text-decoration: none; | ||
} | ||
|
||
.todo-list__item-btn { | ||
width: 44px; | ||
height: 28px; | ||
font-size: 14px; | ||
border: none; | ||
border-radius: 5px; | ||
background-color: var(--sys-sub-color); | ||
color: var(--default-text-color); | ||
margin-right: 15px; | ||
} | ||
|
||
.todo-list__item-checkbox { | ||
} | ||
|
||
/* todo-form */ | ||
|
||
#todo-form { | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
box-sizing: border-box; | ||
padding: 1rem; | ||
background-color: var(--sys-sub-color); | ||
} | ||
|
||
#todo-form__input { | ||
width: 80%; | ||
height: 40px; | ||
font-size: 20px; | ||
border: none; | ||
border-radius: 8px 0 0 8px; | ||
background-color: var(--sys-default-bg-color); | ||
color: var(--default-text-color); | ||
box-sizing: border-box; | ||
padding: 0 1rem; | ||
} | ||
|
||
#todo-form__btn { | ||
width: 80px; | ||
height: 40px; | ||
font-size: 20px; | ||
border: none; | ||
border-radius: 0 8px 8px 0; | ||
background-color: var(--sys-default-main-color); | ||
color: var(--theme-text-color); | ||
} | ||
|
||
/* checkbox */ | ||
input[type="checkbox"] { | ||
width: 24px; | ||
height: 24px; | ||
appearance: none; | ||
border-radius: 20px; | ||
background-color: var(--checkbox-bg-color); | ||
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
input:checked[type="checkbox"] { | ||
background-color: var(--sys-default-main-color); | ||
background-image: url(check_white.png); | ||
background-size: 60%; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
} |
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.
applet, h1 과 같이 사용하지 않는 코드는 삭제하는게 깔끔할것같습니당
코멘트 남기는 사이 outdated 돼서 여기도 남깁니다