-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
488 additions
and
491 deletions.
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,34 @@ | ||
html, | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
button { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
background: none; | ||
font-size: 100%; | ||
vertical-align: baseline; | ||
font-family: inherit; | ||
font-weight: inherit; | ||
color: inherit; | ||
-webkit-appearance: none; | ||
appearance: none; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
body { | ||
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
line-height: 1.4em; | ||
background: #f5f5f5; | ||
color: #4d4d4d; | ||
min-width: 230px; | ||
max-width: 550px; | ||
margin: 0 auto; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
font-weight: 300; | ||
} |
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,53 @@ | ||
.footer { | ||
color: #777; | ||
padding: 10px 15px; | ||
height: 20px; | ||
text-align: center; | ||
border-top: 1px solid #e6e6e6; | ||
|
||
&:before { | ||
content: ""; | ||
position: absolute; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
height: 50px; | ||
overflow: hidden; | ||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), | ||
0 8px 0 -3px #f6f6f6, | ||
0 9px 1px -3px rgba(0, 0, 0, 0.2), | ||
0 16px 0 -6px #f6f6f6, | ||
0 17px 2px -6px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
@media (max-width: 430px) { | ||
& { | ||
height: 50px; | ||
} | ||
} | ||
} | ||
|
||
.todo-count { | ||
float: left; | ||
text-align: left; | ||
|
||
& strong { | ||
font-weight: 300; | ||
} | ||
} | ||
|
||
.clear-completed { | ||
float: right; | ||
position: relative; | ||
line-height: 20px; | ||
text-decoration: none; | ||
cursor: pointer; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
&:active { | ||
text-decoration: none; | ||
} | ||
} |
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,10 @@ | ||
@import "../../utils/mixins.scss"; | ||
|
||
.new-todo { | ||
@include editTitle; | ||
|
||
padding: 16px 16px 16px 60px; | ||
border: none; | ||
background: rgba(0, 0, 0, 0.01); | ||
box-shadow: inset 0 -2px 1px rgba(0,0,0,0.03); | ||
} |
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,43 @@ | ||
.main { | ||
position: relative; | ||
z-index: 2; | ||
border-top: 1px solid #e6e6e6; | ||
} | ||
|
||
.toggle-all { | ||
width: 1px; | ||
height: 1px; | ||
border: none; | ||
opacity: 0; | ||
position: absolute; | ||
right: 100%; | ||
bottom: 100%; | ||
|
||
& + label { | ||
width: 60px; | ||
height: 34px; | ||
font-size: 0; | ||
position: absolute; | ||
top: -52px; | ||
left: -13px; | ||
-webkit-transform: rotate(90deg); | ||
transform: rotate(90deg); | ||
|
||
&:before { | ||
content: "❯"; | ||
font-size: 22px; | ||
color: #e6e6e6; | ||
padding: 10px 27px; | ||
} | ||
} | ||
|
||
&:checked + label:before { | ||
color: #737373; | ||
} | ||
|
||
@media screen and (-webkit-min-device-pixel-ratio:0) { | ||
& { | ||
background: none; | ||
} | ||
} | ||
} |
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,44 @@ | ||
.todoapp { | ||
background: #fff; | ||
margin: 130px 0 40px; | ||
position: relative; | ||
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), | ||
0 25px 50px 0 rgba(0, 0, 0, 0.1); | ||
|
||
& h1 { | ||
position: absolute; | ||
top: -155px; | ||
width: 100%; | ||
font-size: 100px; | ||
font-weight: 100; | ||
text-align: center; | ||
color: rgba(175, 47, 47, 0.15); | ||
-webkit-text-rendering: optimizeLegibility; | ||
-moz-text-rendering: optimizeLegibility; | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
& input::-webkit-input-placeholder { | ||
font-style: italic; | ||
font-weight: 300; | ||
color: #e6e6e6; | ||
|
||
&::-moz-placeholder { | ||
font-style: italic; | ||
font-weight: 300; | ||
color: #e6e6e6; | ||
} | ||
|
||
&::-ms-input-placeholder { | ||
font-style: italic; | ||
font-weight: 300; | ||
color: #e6e6e6; | ||
} | ||
|
||
&::placeholder { | ||
font-style: italic; | ||
font-weight: 300; | ||
color: #e6e6e6; | ||
} | ||
} | ||
} |
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,5 @@ | ||
@import "../../utils/mixins.scss"; | ||
|
||
.edit { | ||
@include editTitle; | ||
} |
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.