summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css6
-rw-r--r--themes/openwrt/luasrc/view/themes/openwrt.org/header.htm2
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 5278723136..dc1c30b2e3 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 7cc43f81ef..51752d6217 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>
<%