Sha256: e33c789471377321fc853cf5a276cfd57d693092c804eb42edb8e8c4d7d06bb1
Contents?: true
Size: 963 Bytes
Versions: 6
Compression:
Stored size: 963 Bytes
Contents
<% path = show_path leaf.path display ||= :leaf label ||= leaf.label %> <li x-data="navLeaf" :class="{hidden}" x-init="matchers = <%= leaf.matchers.to_json %>; path = '<%= path %>'; setActive()" @popstate.window="setActive"> <a href="<%= path %>" class="pr-3 py-[5px] flex items-center w-full group transition hover:bg-gray-200 hover:bg-opacity-50" style="<%= nav_padding_style(depth) %>" :class="{'!bg-indigo-100':active}" @click.stop.prevent="navigate" > <div class="relative w-3.5 h-3.5 mr-1.5 <%= "ml-[3px]" if display == :node %> " :class="active ? 'text-gray-900' : 'text-indigo-500'"> <svg class="feather flex-none group-hover:text-indigo-800 transition w-3.5 h-3.5"> <use xlink:href="/lookbook-assets/feather-sprite.svg#<%= display == :node ? "layers" : "eye" %>" /> </svg> </div> <div class="truncate whitespace-nowrap <%= "font-bold" if display == :node %>"> <%= label %> </div> </a> </li>
Version data entries
6 entries across 6 versions & 1 rubygems