From 8b132cc0334dab5c6e19663442f45fc41b79aecc Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 14 Apr 2011 14:32:28 +0200 Subject: [PATCH] Almost finished --- site/css/main.css | 69 +++++++++++++++++++++++++++++++++------------- site/index.html | 28 ++++++++++++++++--- site/src/main.scss | 36 ++++++++++++++++++------ 3 files changed, 102 insertions(+), 31 deletions(-) diff --git a/site/css/main.css b/site/css/main.css index 6d89fde..e6b0cb6 100644 --- a/site/css/main.css +++ b/site/css/main.css @@ -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; +} diff --git a/site/index.html b/site/index.html index 55f07b6..5d8f9d0 100644 --- a/site/index.html +++ b/site/index.html @@ -50,16 +50,36 @@
-
- - +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
diff --git a/site/src/main.scss b/site/src/main.scss index 4573bfe..69097b1 100644 --- a/site/src/main.scss +++ b/site/src/main.scss @@ -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; +}