Permalink
Browse files

Factor out styles from layout.styl

* More scoped to individual components.
* No longer using !important to override.
  • Loading branch information...
domenic committed Jun 11, 2012
1 parent 43444ae commit 2b537823141660fad04849f2e8a3313ec02bdd4a
Showing with 15 additions and 18 deletions.
  1. +13 −0 lib/components/App/todo-app.styl
  2. +2 −0 lib/components/ListView/todo-list.styl
  3. +0 −18 styles/layout.styl
@@ -0,0 +1,13 @@
+#todo-app
+ margin: auto
+ margin-top: 200px
+ padding: 30px
+ width: 600px
+ background: black
+ border: 1px #111 solid
+ border-radius: 20px
+ box-shadow: 0 8px 8px -3px #666
+ color: white
+
+ > *
+ font-size: 1.8em
@@ -0,0 +1,2 @@
+#todo-list .list-item
+ width: 500px
View
@@ -10,21 +10,3 @@ body
@media screen and (-ms-view-state: fullscreen-portrait)
background: green
-
-#todo-app
- margin: auto
- margin-top: 200px
- padding: 30px
- width: 600px
- background: black
- border: 1px #111 solid
- border-radius: 20px
- box-shadow: 0 8px 8px -3px #666
- color: white
-
- > *
- font-size: 1.8em
-
- .win-surface
- .win-container
- width: 90% !important

0 comments on commit 2b53782

Please sign in to comment.