Almost finished
This commit is contained in:
parent
50dd1e834c
commit
8b132cc033
3 changed files with 102 additions and 31 deletions
|
@ -1,11 +1,11 @@
|
|||
/* line 3, ../src/main.scss */
|
||||
/* line 4, ../src/main.scss */
|
||||
body {
|
||||
background: #f6f6f6;
|
||||
background-image: url("/img/mainbackground.jpg");
|
||||
font-family: Helvetica;
|
||||
}
|
||||
|
||||
/* line 9, ../src/main.scss */
|
||||
/* line 10, ../src/main.scss */
|
||||
header {
|
||||
background-image: url("/img/topbar.jpg");
|
||||
position: absolute;
|
||||
|
@ -20,37 +20,36 @@ header {
|
|||
height: 50px;
|
||||
}
|
||||
|
||||
/* line 23, ../src/main.scss */
|
||||
/* line 24, ../src/main.scss */
|
||||
header #title {
|
||||
width: 640px;
|
||||
margin: 0 auto;
|
||||
margin-left: 10px;
|
||||
background-image: url("/img/logo.jpg");
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 25px;
|
||||
padding-left: 30px;
|
||||
color: #333;
|
||||
text-shadow: 1px 1px #666;
|
||||
font-size: 20px;
|
||||
text-shadow: 1px 1px #555, -1px -1px #111;
|
||||
line-height: 42px;
|
||||
font-weight: bold;
|
||||
font-weight: normal;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
/* line 35, ../src/main.scss */
|
||||
#main {
|
||||
/* line 36, ../src/main.scss */
|
||||
#main, footer {
|
||||
width: 640px;
|
||||
margin: 80px auto;
|
||||
}
|
||||
|
||||
/* line 39, ../src/main.scss */
|
||||
/* line 40, ../src/main.scss */
|
||||
#main h1 {
|
||||
text-align: center;
|
||||
font-size: 32px;
|
||||
color: #696969;
|
||||
text-shadow: -1px -1px #525252;
|
||||
letter-spacing: -0.2px;
|
||||
letter-spacing: -0.3px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/* line 48, ../src/main.scss */
|
||||
/* line 50, ../src/main.scss */
|
||||
#mainblock {
|
||||
border: solid 5px #CCC;
|
||||
-webkit-border-radius: 8px 8px;
|
||||
|
@ -61,14 +60,14 @@ header #title {
|
|||
border-radius: 8px / 8px;
|
||||
}
|
||||
|
||||
/* line 53, ../src/main.scss */
|
||||
/* line 55, ../src/main.scss */
|
||||
#task {
|
||||
padding: 20px;
|
||||
background: #ededed;
|
||||
background-image: url("/img/addtaskbackground.jpg");
|
||||
}
|
||||
|
||||
/* line 59, ../src/main.scss */
|
||||
/* line 61, ../src/main.scss */
|
||||
input#addtasktextfield {
|
||||
border: 1px solid #C4C4C4;
|
||||
height: 38px;
|
||||
|
@ -80,7 +79,7 @@ input#addtasktextfield {
|
|||
width: 420px;
|
||||
}
|
||||
|
||||
/* line 70, ../src/main.scss */
|
||||
/* line 72, ../src/main.scss */
|
||||
#addtaskbutton {
|
||||
background: url("/img/addtaskbuttonbackground.jpg");
|
||||
border: 1px solid #2f53cd;
|
||||
|
@ -99,12 +98,44 @@ input#addtasktextfield {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* line 82, ../src/main.scss */
|
||||
/* line 84, ../src/main.scss */
|
||||
#addtaskbutton:hover {
|
||||
background: url("/img/addtaskbuttonhoverbackground.jpg");
|
||||
}
|
||||
|
||||
/* line 85, ../src/main.scss */
|
||||
/* line 87, ../src/main.scss */
|
||||
#addtaskbutton:active {
|
||||
background: url("/img/addtaskbuttonpushedbackground.jpg");
|
||||
}
|
||||
|
||||
/* line 91, ../src/main.scss */
|
||||
.item {
|
||||
border-top: 1px solid #EEE;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
/* line 97, ../src/main.scss */
|
||||
.item.first {
|
||||
border-top: 1px solid #DDD;
|
||||
}
|
||||
|
||||
/* line 100, ../src/main.scss */
|
||||
.item label {
|
||||
margin-left: 10px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* line 101, ../src/main.scss */
|
||||
.item.done {
|
||||
opacity: 0.2;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=20);
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=20);
|
||||
}
|
||||
|
||||
/* line 104, ../src/main.scss */
|
||||
#webpageinfo {
|
||||
font-size: 10px;
|
||||
color: #CCC;
|
||||
}
|
||||
|
|
|
@ -50,16 +50,36 @@
|
|||
<input type="button" id="addtaskbutton" name="addtaskbutton" value="Add Task"></input>
|
||||
</div>
|
||||
<div id="todolist">
|
||||
<div id="todo1" class="item">
|
||||
<input type="checkbox" class="done"></input>
|
||||
<label class="text">Wash the laundry</label>
|
||||
<div id="todo1" class="item first">
|
||||
<input type="checkbox"></input>
|
||||
<label class="text">Read "Founder at Work"</label>
|
||||
</div>
|
||||
<div id="todo2" class="item">
|
||||
<input type="checkbox"></input>
|
||||
<label class="text">Eat lunch</label>
|
||||
</div>
|
||||
<div id="todo3" class="item">
|
||||
<input type="checkbox"></input>
|
||||
<label class="text">Pick up Sally from the airport</label>
|
||||
</div>
|
||||
<div id="todo4" class="item">
|
||||
<input type="checkbox"></input>
|
||||
<label class="text">Get fresh fruit from the grocery store</label>
|
||||
</div>
|
||||
<div id="todo5" class="item done">
|
||||
<input type="checkbox" checked></input>
|
||||
<label class="text">Brush your theeth</label>
|
||||
</div>
|
||||
<div id="todo6" class="item done">
|
||||
<input type="checkbox" checked></input>
|
||||
<label class="text">Wall the dog</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<div id="webpageinfo">
|
||||
{copyright_infos}
|
||||
Exercise done by Yann Esposito for Andrew Chen.
|
||||
</div>
|
||||
</footer>
|
||||
</div> <!--! end of #container -->
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@import "compass/css3/border-radius";
|
||||
@import "compass/css3/opacity";
|
||||
|
||||
body {
|
||||
background: #f6f6f6;
|
||||
|
@ -21,27 +22,28 @@ header {
|
|||
}
|
||||
|
||||
header #title {
|
||||
width: 640px;
|
||||
margin: 0 auto;
|
||||
margin-left: 10px;
|
||||
background-image: url('/img/logo.jpg');
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 25px;
|
||||
padding-left: 30px;
|
||||
color: #333;
|
||||
text-shadow: 1px 1px #666;
|
||||
font-size: 20px;
|
||||
text-shadow: 1px 1px #555, -1px -1px #111;
|
||||
line-height: 42px;
|
||||
font-weight: bold;
|
||||
font-weight: normal;
|
||||
height: 50px;
|
||||
}
|
||||
#main {
|
||||
#main, footer {
|
||||
width: 640px;
|
||||
margin: 80px auto;
|
||||
}
|
||||
#main h1 {
|
||||
text-align: center;
|
||||
font-size: 32px;
|
||||
// font-weight: 500;
|
||||
color: #696969;
|
||||
text-shadow: -1px -1px #525252;
|
||||
letter-spacing: -.2px;
|
||||
// text-shadow: -1px -1px #525252;
|
||||
letter-spacing: -.3px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
|
@ -85,3 +87,21 @@ input#addtasktextfield {
|
|||
#addtaskbutton:active {
|
||||
background: url('/img/addtaskbuttonpushedbackground.jpg');
|
||||
}
|
||||
|
||||
.item {
|
||||
border-top: 1px solid #EEE;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.item.first {
|
||||
border-top: 1px solid #DDD;
|
||||
}
|
||||
.item label { margin-left: 10px; padding-left: 0;}
|
||||
.item.done {
|
||||
@include opacity(.2);
|
||||
}
|
||||
#webpageinfo {
|
||||
font-size: 10px;
|
||||
color: #CCC;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue