themes/openwrt.org: minar style tweaks
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Nov 2010 08:51:56 +0000 (08:51 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Nov 2010 08:51:56 +0000 (08:51 +0000)
themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css
themes/openwrt/luasrc/view/themes/openwrt.org/header.htm

index 5278723136079048fecd476e04f63f3fb098aadb..dc1c30b2e32331b97d2f3aa8f8d85970f6ec8e7d 100644 (file)
@@ -13,7 +13,7 @@ body {
        background-position: bottom center;
        background-repeat: repeat-x;
        font-family: Verdana, Arial, sans-serif;
-       font-size: 101%;
+       font-size: 11pt;
        line-height: 100%;
        padding-bottom: 1.5em;
 }
@@ -97,6 +97,10 @@ ul.l1 li a {
        border-color: #444444;
 }
 
+ul.l1 li.tabmenu-item-logout a {
+       margin-left: 30px;
+}
+
 abbr,
 acronym {
        font-style: normal;
index 7cc43f81ef064f8e4a83e5d4c8ca16ff890edcd4..51752d6217e4ff19fea7f35344d70497cdb68cc0 100644 (file)
@@ -81,7 +81,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
                                                selected_name = v.name
                                        end
                %>
-                       <li<% if nnode._menu_selected or v.name == leaf then %> class="active"<% end %>>
+                       <li class="tabmenu-item-<%=v.name%><% if nnode._menu_selected or (node.leaf and v.name == leaf) then %> active<% end %>">
                                <a href="<%=nodeurl(prefix, v.name, nnode.query)%>"><%=striptags(nnode.title)%></a>
                        </li>
                <%