提交 7d0d10c0 编写于 作者: K Kevin Burke 提交者: tfennelly

updates to the login/sign up links

- remove the underline to make them a little less heavy
- add hover states - underline + color change.
- remove inline style from login link - is this a security risk, somehow?
上级 2e409bec
......@@ -29,5 +29,5 @@ THE SOFTWARE.
<j:arg value="${if (request.session.attribute('from')!=null) request.session.getAttribute('from'); else if (request.getParameter('from')!=null) request.getParameter('from'); else if (request.requestURI=='/loginError' || request.requestURI=='/login') '/'; else request.requestURI;}"/>
<j:arg value="UTF-8"/>
</j:invokeStatic>
<a style="color:inherit" href="${rootURL}/${app.securityRealm.loginUrl}?from=${from}"><b>${%login}</b></a>
<a href="${rootURL}/${app.securityRealm.loginUrl}?from=${from}"><b>${%login}</b></a>
</j:jelly>
......@@ -191,6 +191,12 @@ dt {
#header .login a, #header .login a:visited {
color: white;
text-decoration: none;
}
#header .login a:hover {
text-decoration: underline;
color: #ccc;
}
a:link {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册