Skip to content

Commit

Permalink
update head style.
Browse files Browse the repository at this point in the history
  • Loading branch information
favrio committed Feb 1, 2015
1 parent eceded4 commit e77df51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Binary file added images/ripple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Avalon todo</h1>
<input type="text" id="new" class="inp" placeholder="type some thing u wanna to do..." autofocus ms-keypress="newOne" />

<ul class="todo-list">
<li ms-repeat="things" class="todo-item" ms-class-editable="editIndex === $index" ms-dblclick="edit($index)">
<li ms-repeat="things" class="todo-item" ms-class-done="el.done" ms-class-editable="editIndex === $index" ms-dblclick="edit($index)">
<div class="normal">
<input type="checkbox" ms-duplex-checked="el.done" data-duplex-changed="update" />
<span>{{el.content}}</span>
Expand Down
12 changes: 8 additions & 4 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ li {
#todo {
width: 520px;
background: #FFF;
position: absolute;
left: 50%;
top: 50%;
margin: -150px 0 100px -260px;
margin: 200px auto 100px auto;
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
border-radius: 5px;
overflow: hidden;
Expand All @@ -32,13 +29,16 @@ li {
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}
.head h1 {
background: #E09F9F;
color: #FFF;
font-size: 36px;
font-weight: 400;
text-align: center;
padding: 10px;
}
.content {
padding: 20px;
background: url(images/ripple.png) repeat-x;
}
.todo-list {
margin-top: 10px;
Expand Down Expand Up @@ -77,4 +77,8 @@ li {
}
.editable .edit {
display: block;
}
.done .normal {
color: #e3e3e3;
text-decoration: line-through;
}

0 comments on commit e77df51

Please sign in to comment.