Browse Source

Some HTML tweaking

dev-bank
Bryan Miller 5 years ago
parent
commit
4c7c8839ec
3 changed files with 40 additions and 1 deletions
  1. +35
    -0
      sass/input.scss
  2. +1
    -0
      sass/style.scss
  3. +4
    -1
      views/ctrlpainter.html

+ 35
- 0
sass/input.scss View File




.input-u-1-2,
.input-u-2-4,
.input-u-3-6{
width: 50%;
}

.input-u-1-4{
width: 25%;
}

.input-u-3-4{
width: 75%;
}

.input-u-1-3,
.input-u-2-6{
width: 33%;
}

.input-u-2-3,
.input-u-4-6{
width: 66%;
}

.input-u-1-6{
width: 16%;
}

.input-u-5-6{
width: 83%;
}


+ 1
- 0
sass/style.scss View File

// Site components // Site components
@import 'core'; @import 'core';
@import 'header'; @import 'header';
@import 'input';
@import 'canvas'; @import 'canvas';
@import 'nespalette'; @import 'nespalette';
@import 'modal'; @import 'modal';

+ 4
- 1
views/ctrlpainter.html View File

<div class="pure-g"> <div class="pure-g">
<div class="pure-u-1-3 simple-padding"> <div class="pure-u-1-3 simple-padding">
<label for="painter_scale">Scale : </label><input id="painter_scale" type="number" min="0.5" max="1000" step="0.1" value ="1"/>
<label for="painter_scale">
Scale :
</label>
<input id="painter_scale" class="input-u-1-6" type="number" min="0.5" max="1000" step="0.1" value ="1"/>
</div> </div>


<div class="pure-u-1-3 simple-padding"> <div class="pure-u-1-3 simple-padding">

Loading…
Cancel
Save