master
xaoxuu 4 years ago
parent bab70e3e19
commit bd28460e49
  1. 2
      layout/_cover/index.ejs
  2. 2
      source/css/_layout/cover.styl

@ -33,7 +33,7 @@
target="<%- value.target %>" target="<%- value.target %>"
<% } %> <% } %>
id="<%= url_for(value.url).replace(/\/|%|\./g, "")?url_for(value.url).replace(/\/|%|\./g, ""):"home" %>"> id="<%= url_for(value.url).replace(/\/|%|\./g, "")?url_for(value.url).replace(/\/|%|\./g, ""):"home" %>">
<i class='<%= value.icon %> fa-fw'></i>&nbsp;<%= __('navbar.'+value.name) == ('navbar.'+value.name) ? value.name : __('navbar.'+value.name) %> <% if (value.icon) { %><i class='<%= value.icon %> fa-fw'></i><% } %><%- value.name %>
</a> </a>
</li> </li>
<%})%> <%})%>

@ -141,6 +141,8 @@
color: alpha($color-site-inner, .65) color: alpha($color-site-inner, .65)
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
border-bottom: 2px solid transparent border-bottom: 2px solid transparent
i
margin-right: 4px
&:hover, &.active, &:active &:hover, &.active, &:active
color: $color-site-inner color: $color-site-inner
border-bottom: 2px solid $color-site-inner border-bottom: 2px solid $color-site-inner

Loading…
Cancel
Save