瀏覽代碼

Fixing typo

soyjavi 13 年之前
父節點
當前提交
0483f1a3d5

+ 0 - 1
GruntFile.coffee

@@ -32,7 +32,6 @@ module.exports = (grunt) ->
         'src/modules/Lungo.Resource.coffee',
         'src/modules/Lungo.Scroll.coffee',
         'src/modules/Lungo.Service.coffee',
-        # 'src/modules/Lungo.Router.coffee',
         'src/modules/Lungo.Router.Phone.coffee',
         'src/modules/Lungo.Router.Tablet.coffee',
         'src/modules/Lungo.Aside.coffee',

+ 2 - 2
src/boot/Lungo.Boot.Events.coffee

@@ -79,13 +79,13 @@ Lungo.Boot.Events = do (lng = Lungo) ->
   _onMenu = (event) ->
     event.preventDefault()
     id = lng.dom(@).data("view-menu")
-    lng.Element.menu.show id
+    lng.Element.Menu.show id
 
   _closeMenu = (event) ->
     event.preventDefault()
     el = lng.dom(@)
     id = el.parent(C.CONTROL.MENU).attr C.ATTRIBUTE.ID
-    lng.Element.menu.hide id
+    lng.Element.Menu.hide id
     lng.dom("[data-view-menu=#{id}] > .icon").attr "class", "icon " + el.data("icon")
 
   _transitionEnd = (event) ->

+ 0 - 1
src/modules/Lungo.Router.Tablet.coffee

@@ -133,7 +133,6 @@ Lungo.RouterTablet = do (lng = Lungo) ->
     _fromCallback = false
 
   _showFuture = (future) ->
-    lng.Element.Cache.dump()
     current = lng.Element.Cache.section
     lng.Section.show(undefined, future)
     currentHasAside = lng.Element.Cache.section?.data("aside")?

+ 1 - 1
src/stylesheets/__init.styl

@@ -2,7 +2,7 @@
 
 /* CONSTANTS */
 HEADER_HEIGHT           = 46px
-HEADER_GROUPBAR_HEIGHT  = 34px
+HEADER_GROUPBAR_HEIGHT  = 36px
 
 ASIDE_WIDTH             = 256px
 ASIDE_PADDING           = 6px

+ 4 - 4
src/stylesheets/theme/theme.layout.nav.styl

@@ -43,20 +43,20 @@ nav
     box-shadow 0 2px 0 SHADOW
     &.icons
       & > a
+        &, > abbr
+          color: NAV_LINK
         & > .icon
           color: NAV_LINK_ACTIVE
-        & > abbr
-          color: NAV_LINK
         &:active, &:hover
           & > .icon
             text-shadow: 0 0 2em NAV_LINK_ACTIVE
 
     &:not(.icons)
       & > a
+        &, > abbr
+          color: NAV_LINK_ACTIVE
         & > .icon
           color: NAV_LINK
-        & > abbr
-          color: NAV_LINK_ACTIVE
         &:active, &:hover
           background-color: rgba(255,255,255,0.2)
           & > .icon