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 5278723..dc1c30b 100644 (file)
@@ -13,7 +13,7 @@ body {
        background-position: bottom center;
        background-repeat: repeat-x;
        font-family: Verdana, Arial, sans-serif;
        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;
 }
        line-height: 100%;
        padding-bottom: 1.5em;
 }
@@ -97,6 +97,10 @@ ul.l1 li a {
        border-color: #444444;
 }
 
        border-color: #444444;
 }
 
+ul.l1 li.tabmenu-item-logout a {
+       margin-left: 30px;
+}
+
 abbr,
 acronym {
        font-style: normal;
 abbr,
 acronym {
        font-style: normal;
index 7cc43f8..51752d6 100644 (file)
@@ -81,7 +81,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
                                                selected_name = v.name
                                        end
                %>
                                                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>
                <%
                                <a href="<%=nodeurl(prefix, v.name, nnode.query)%>"><%=striptags(nnode.title)%></a>
                        </li>
                <%