| background-color: $main-bg-color; | background-color: $main-bg-color; | ||||
| font-family: $sys-font; | font-family: $sys-font; | ||||
| color: $main-text-color; | color: $main-text-color; | ||||
| } | |||||
| .content-wrapper{ | |||||
| width:100%; | |||||
| height:100%; | |||||
| overflow:hidden; | |||||
| overflow: hidden; | |||||
| } | } | ||||
| .simple-padding{ | .simple-padding{ | ||||
| text-align: right; | text-align: right; | ||||
| } | } | ||||
| // Overriding some purecss settings. WHY have the grid do anything | |||||
| // other than GRID related stuff! Leave text/font alone! | |||||
| .pure-g { | |||||
| font-family: inherit; | |||||
| } | |||||
| .pure-g [class *= "pure-u"] { | |||||
| font-family: inherit; | |||||
| } | |||||
| // Allow for the disabling of the flex-flow: wrap. | |||||
| // This allows me to use overflow:hidden without pure-g wrapping on | |||||
| // me! ... but only for those pure-g elements I want. | |||||
| .pure-g-nw{ | |||||
| flex-flow: row; | |||||
| } | |||||
| @import 'canvas'; | @import 'canvas'; | ||||
| @import 'nespalette'; | @import 'nespalette'; | ||||
| @import 'modal'; | @import 'modal'; | ||||
| @import 'tabs'; | |||||
| .tabnav { | |||||
| background-color: $tabnav-bg; | |||||
| color: $tabnav-text; | |||||
| li { | |||||
| display: inline; | |||||
| } | |||||
| a { | |||||
| padding: 0 10px; | |||||
| text-decoration: none; | |||||
| } | |||||
| div.tab-content { | |||||
| background-color: $tabnav-content-bg; | |||||
| color: $tabnav-content-text; | |||||
| } | |||||
| } | |||||
| .tab-selected { | |||||
| background-color: $tabnav-content-bg; | |||||
| color: $tabnav-content-text; | |||||
| } |
| $menu-text-color: #FFFFFF; | $menu-text-color: #FFFFFF; | ||||
| $canvas-bg-color: #212121; | $canvas-bg-color: #212121; | ||||
| $tabnav-bg: #878787; | |||||
| $tabnav-text: #000; | |||||
| $tabnav-content-bg: #EFEFEF; | |||||
| $tabnav-content-text: #000; |
| <div class="tabnav"> | |||||
| <ul tabname="assetlists"> | |||||
| <li class="tab-selected" tabid="palettes"><a href="#">Palettes</a></li> | |||||
| <li tabid="Banks"><a href="#">Banks</a></li> | |||||
| <li tabid="AttrTables"><a href="#">Attib. Tables</a></li> | |||||
| </ul> | |||||
| <div class="tab-content" contentfor="assetlists" tabid="palettes"> | |||||
| Stuff to go here! | |||||
| </div> | |||||
| </div> |
| <%- include('modal.html'); %> | <%- include('modal.html'); %> | ||||
| <%- include('header.html'); %> | <%- include('header.html'); %> | ||||
| <div class="content-wrapper"> | |||||
| <div class="pure-g"> | |||||
| <div class="pure-g pure-g-nw"> | |||||
| <div class="pure-u-2-24 simple-padding"> | |||||
| <%- include('tools.html', { | <%- include('tools.html', { | ||||
| toolbtns:[ | toolbtns:[ | ||||
| {emitargs:'{"id":"Welcome"}', faicon:"fa-brush"}, | {emitargs:'{"id":"Welcome"}', faicon:"fa-brush"}, | ||||
| {emitargs:'{"id":"Welcome"}', faicon:"fa-eye-dropper"} | {emitargs:'{"id":"Welcome"}', faicon:"fa-eye-dropper"} | ||||
| ] | ] | ||||
| }); %> | }); %> | ||||
| </div> | |||||
| <div class="pure-u-16-24"> | |||||
| <%- include('workspace.html'); %> | <%- include('workspace.html'); %> | ||||
| </div> | </div> | ||||
| <%- include('footer.html', {version:version, author:author}); %> | |||||
| <div class="pure-u-6-24 simple-padding"> | |||||
| <%- include('docks.html'); %> | |||||
| </div> | |||||
| </div> | </div> | ||||
| <%- include('footer.html', {version:version, author:author}); %> | |||||
| <%- include('tail.html'); %> | <%- include('tail.html'); %> |
| <div class="pure-u-1-8 simple-padding"> | |||||
| <div class="pure-button-group" role="group" aria-label="..."> | <div class="pure-button-group" role="group" aria-label="..."> | ||||
| <% toolbtns.forEach((btn) => { %> | <% toolbtns.forEach((btn) => { %> | ||||
| <button emit="modal-open" emit-args="<%= btn.emitargs %>" class="pure-button"> | <button emit="modal-open" emit-args="<%= btn.emitargs %>" class="pure-button"> | ||||
| </button> | </button> | ||||
| <% }); %> | <% }); %> | ||||
| </div> | </div> | ||||
| </div> |
| <div class="pure-u-2-3"> | |||||
| <%- include('canvas.html'); %> | <%- include('canvas.html'); %> | ||||
| <%- include('ctrlpainter.html'); %> | <%- include('ctrlpainter.html'); %> | ||||
| <%- include('palettectrl.html'); %> | <%- include('palettectrl.html'); %> | ||||
| </div> |