.list-container{ | |||||
width: 100%; | |||||
height: 300px; | |||||
overflow-y: auto; | |||||
overflow-x: hidden; | |||||
} | |||||
.list-item-container{ | |||||
background-color: $list-item-bg; | |||||
border-radius: 8px; | |||||
.item-selected{ | |||||
background-color: $list-item-selected-bg; | |||||
} | |||||
} |
@import 'nespalette'; | @import 'nespalette'; | ||||
@import 'modal'; | @import 'modal'; | ||||
@import 'tabs'; | @import 'tabs'; | ||||
@import 'lists'; | |||||
$tabnav-text: #000; | $tabnav-text: #000; | ||||
$tabnav-content-bg: #EFEFEF; | $tabnav-content-bg: #EFEFEF; | ||||
$tabnav-content-text: #000; | $tabnav-content-text: #000; | ||||
$list-item-bg: $menu-bg-color; | |||||
$list-item-selected-bg: lighten($menu-bg-color, 25%); |
</ul> | </ul> | ||||
<% tabs.forEach(function(item){ %> | <% tabs.forEach(function(item){ %> | ||||
<div class="tab-content" fortabs="<%= tabsetname %>" tabid="<%= item.id %>"> | <div class="tab-content" fortabs="<%= tabsetname %>" tabid="<%= item.id %>"> | ||||
<div class="list-container"></div> | |||||
<div class="list-container"> | |||||
<% if(item.hasOwnProperty("tmpl")){ %> | |||||
<%- include(item.tmpl) %> | |||||
<% } %> | |||||
</div> | |||||
</div> | </div> | ||||
<% }); %> | <% }); %> | ||||
</div> | </div> |
<%- include('docks.html', { | <%- include('docks.html', { | ||||
tabsetname:"assetlists", | tabsetname:"assetlists", | ||||
tabs:[ | tabs:[ | ||||
{name:"Palettes", id:"palettes", selected:true}, | |||||
{name:"Palettes", id:"palettes", tmpl:"paletteListItem.html", selected:true}, | |||||
{name:"Banks", id:"banks", selected:false}, | {name:"Banks", id:"banks", selected:false}, | ||||
{name:"Attrib. Tables", id:"attrtbls", selected:false} | {name:"Attrib. Tables", id:"attrtbls", selected:false} | ||||
] | ] |
<div class="list-item-container palette-list-item-template hidden"> | |||||
<div class=pure-g"> | |||||
<div class=pure-u-1"> | |||||
<span class="title">Title here</span> | |||||
</div> | |||||
</div> | |||||
<div class="pure-g"> | |||||
</div> | |||||
</div> |