소스 검색

Fix colors in .layout

Javi Jimenez Villar 13 년 전
부모
커밋
44152fc6d2
3개의 변경된 파일8개의 추가작업 그리고 16개의 파일을 삭제
  1. 2 2
      example/app/app.js
  2. 6 6
      example/app/articles/grid.html
  3. 0 8
      src/stylesheets/theme.lungo.styl

+ 2 - 2
example/app/app.js

@@ -149,8 +149,8 @@ Lungo.Events.init({
 });
 
 Lungo.ready(function() {
-    Lungo.Aside.show();
-    // App.environment();
+
+    // Lungo.Aside.show();
     // Lungo.Router.section("notification");
 
     // Lungo.Notification.show();

+ 6 - 6
example/app/articles/grid.html

@@ -1,14 +1,14 @@
 <article id="grid" class="indented">
     <div class="layout">
-        <div>&nbsp;</div>
-        <div data-layout="secondary" class="bck accept">&nbsp;</div>
-        <div data-layout="primary" class="bck cancel">&nbsp;</div>
+        <div style="background: #ddd;">&nbsp;</div>
+        <div data-layout="secondary" style="background: #bbb;">&nbsp;</div>
+        <div data-layout="primary" style="background: #999;">&nbsp;</div>
         <br/>
         <div>
             <div class="layout horizontal">
-                <div>&nbsp;</div>
-                <div data-layout="secondary" class="bck accept">&nbsp;</div>
-                <div data-layout="primary" class="bck cancel">&nbsp;</div>
+                <div style="background: #ddd;">&nbsp;</div>
+                <div data-layout="secondary" style="background: #bbb;">&nbsp;</div>
+                <div data-layout="primary" style="background: #999;">&nbsp;</div>
             </div>
         </div>
     </div>

+ 0 - 8
src/stylesheets/theme.lungo.styl

@@ -32,14 +32,6 @@ THEME           = #0093D5
 THEME_light     = lighten(THEME, 15%)
 THEME_dark      = darken(THEME, 15%)
 
-.bck
-  &.theme
-    background-color: THEME
-  &.cancel
-    background-color: COLOR_cancel
-  &.accept
-    background-color: COLOR_accept
-
 /* -------------------------- DEFAULTS -------------------------- */
 body
   background-color: #000