소스 검색

Overflow and wrapping fixed. Started working on TAB navigation (unfinished)

dev-bank
Bryan Miller 6 년 전
부모
커밋
d7636c3923
8개의 변경된 파일64개의 추가작업 그리고 15개의 파일을 삭제
  1. +16
    -6
      sass/core.scss
  2. +1
    -0
      sass/style.scss
  3. +23
    -0
      sass/tabs.scss
  4. +5
    -0
      sass/variables.scss
  5. +10
    -0
      views/docks.html
  6. +9
    -5
      views/index.html
  7. +0
    -2
      views/tools.html
  8. +0
    -2
      views/workspace.html

+ 16
- 6
sass/core.scss 파일 보기

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;
}



+ 1
- 0
sass/style.scss 파일 보기

@import 'canvas'; @import 'canvas';
@import 'nespalette'; @import 'nespalette';
@import 'modal'; @import 'modal';
@import 'tabs';





+ 23
- 0
sass/tabs.scss 파일 보기


.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;
}

+ 5
- 0
sass/variables.scss 파일 보기

$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;

+ 10
- 0
views/docks.html 파일 보기

<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>

+ 9
- 5
views/index.html 파일 보기

<%- 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'); %>

+ 0
- 2
views/tools.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>

+ 0
- 2
views/workspace.html 파일 보기

<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>

Loading…
취소
저장