diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-25 08:51:56 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-25 08:51:56 +0000 |
commit | 5b67f92b6fb535fe77ee180c376c0393a3b36ecf (patch) | |
tree | fc65efa15514f1dd08e8f82f1d8a6f8d91061721 /themes | |
parent | 2d5d5a860c25d36493a18b7d8fcce81b13cfc122 (diff) |
themes/openwrt.org: minar style tweaks
Diffstat (limited to 'themes')
-rw-r--r-- | themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css | 6 | ||||
-rw-r--r-- | themes/openwrt/luasrc/view/themes/openwrt.org/header.htm | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css index 527872313..dc1c30b2e 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -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; diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index 7cc43f81e..51752d621 100644 --- a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -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> <% |