Skip to content
Snippets Groups Projects
Commit 3629b3b2 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

nav

parent 4ea6a851
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,9 @@ body, body[data-theme=dark]
background-size: 400%
.sidebar-brand
padding: 90px 80px 120px
.disabled
opacity: 0.6
pointer-events: none
#topbar
padding-left: 2.5rem
......
......@@ -17,7 +17,7 @@ class Appstack::SimpleNavigationRenderer < SimpleNavigation::Renderer::Base
end
def make_item(item)
li = "<li class=\"sidebar-item #{ item.html_options[:class] }\">"
li = "<li class=\"sidebar-item #{ item.html_options[:class] } #{ ' disabled' unless item.url }\">"
li += make_a(item)
li += make_subnavigation(item) if consider_sub_navigation?(item)
li += '</li>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment