From a8c09110f7513e2a97edc9a4fb51f2a8e2e0620f Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 5 Mar 2013 17:02:22 -0500 Subject: [PATCH] reverting redisign commits. @zakkain some issues here ill follow up with you on - if i forget, "add" button in responsive layout, item store issues --- styles/app/tasks.styl | 58 ++++++------------------------ views/app/index.html | 2 -- views/app/tasks.html | 83 +++++++++++++++++++++---------------------- 3 files changed, 51 insertions(+), 92 deletions(-) diff --git a/styles/app/tasks.styl b/styles/app/tasks.styl index 8c0b370fa0..70d54c189d 100644 --- a/styles/app/tasks.styl +++ b/styles/app/tasks.styl @@ -1,21 +1,21 @@ -.color-worst +.color-worst pre background-color: rgb(230, 184, 175) -.color-worse +.color-worse pre background-color: rgb(244, 204, 204) -.color-bad +.color-bad pre background-color: rgb(252, 229, 205) -.color-neutral +.color-neutral pre background-color: rgb(255, 242, 204) -.color-good +.color-good pre background-color: rgb(217, 234, 211) -.color-better +.color-better pre background-color: rgb(208, 224, 227) -.color-best +.color-best pre background-color: rgb(201, 218, 248) -.completed +.completed pre background-color: rgb(217, 217, 217) color: rgb(153, 153, 153) -.reward +.reward pre background-color: white label.checkbox.inline{ @@ -76,10 +76,7 @@ li:hover .task-meta-controls .hover-show .task-controls,.task-text display:inline - margin: 0 10px 0 0 - - input - margin-top: 0 + margin-right:10px .task-meta-controls .hover-show display: none; @@ -88,37 +85,4 @@ li:hover .task-meta-controls .hover-show text-decoration:none; .new-task-form - margin-bottom:5px; - - -// begin rewrite css 2013-03-04 - -.task-column - padding: 1.5em - background: #f5f5f5 - border: 1px solid #bbb - border-radius: 0.25em - font-family: 'Lato', sans-serif - h2 - margin: 0 0 0.5em - padding: 0 - -.task - clear: both - padding: 0.5em - margin-bottom: 0.75em - border: 1px solid rgba(0, 0, 0, 0.2) - border-radius: 0.25em - &:last-child - margin-bottom: 0 - -.addtask-form - margin-bottom: 0.75em - .addtask-field - max-width: 70% - .addtask-btn - float: right - font-family: 'Lato', sans-serif - -.todo-status-toggler - margin-top: 0.75em \ No newline at end of file + margin-bottom:5px; \ No newline at end of file diff --git a/views/app/index.html b/views/app/index.html index 69ce9f1db5..9d66e2fd2b 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -14,8 +14,6 @@ - - diff --git a/views/app/tasks.html b/views/app/tasks.html index f0ff20c787..ccdd9bf407 100644 --- a/views/app/tasks.html +++ b/views/app/tasks.html @@ -1,18 +1,18 @@ -
+

Habits

    {#each _habitList as :task}{/}
-
+

Daily

    {#each _dailyList as :task}{/}
-
+

Todos

@@ -32,14 +32,14 @@ -
-
+
@@ -123,52 +123,49 @@
-
- - + + +
-
  • - -
    -
    - - - {#if :task.history} - - - - {/} -
    +
    +    
    - {#if :task.notes} - - {/} -
    +
    + + + {#if :task.history} + + + + {/} +
    - -
    - - {#if equal(:task.type, 'habit')} - {#if :task.up}{/} - {#if :task.down}{/} - - {else if equal(:task.type, 'reward')} - {:task.value} - - {else} - - {/} -
    + {#if :task.notes} + + {/} +
    - -
    {:task.text}
    +
    + + {#if equal(:task.type, 'habit')} + {#if :task.up}{/} + {#if :task.down}{/} + + {else if equal(:task.type, 'reward')} + {:task.value} + + {else} + + {/} +
    +
    {:task.text}
    - - -
  • + + +