Skip to content

Commit

Permalink
Improved layout responsiveness on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroHc committed Feb 13, 2017
1 parent 2c6d55f commit 9fc9446
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,24 @@
<label for="region_edit">{{region}}</label>
</div>

<div class="input-field col s6">
<div class="input-field col s12 m8 l8">
<i class="material-icons prefix">account_circle</i>
<input placeholder="{{username_placeholder}}" id="username_edit" type="text" class="validate">
<label for="username_edit">{{username}}</label>
</div>
<div class="input-field col s6">
<div class="input-field col s12 m4 l4">
<button id="username_submit" class="waves-effect waves-light btn">{{change_avatar}}</button>
</div>

</div>
<div class="divider"></div>
<div class="row">

<div class="input-field col s3">
<div class="input-field col s6 m3">
<input id="lovelevel_visible" type="checkbox" class="filled-in">
<label for="lovelevel_visible">{{love_level}}</label>
</div>
<div class="input-field col s9 range-field">
<div class="input-field col s6 m9 range-field">
<input id="lovelevel_edit" value="0" type="range" min="-100" max="100">
</div>

Expand Down Expand Up @@ -96,7 +96,7 @@
<div id="tab-scene" class="col s12">
<div class="row">

<div class="input-field col s12">
<div class="input-field col s12 m12">
<div class="file-field input-field">
<div class="btn">
<span>Ficheiro</span>
Expand All @@ -108,11 +108,11 @@
</div>
</div>

<div class="input-field col s6">
<div class="input-field col s12 m6">
<select id="scene_edit" data-sub="#scene_sub_edit"></select>
<label>Fundo</label>
<label for="scene_edit">Fundo</label>
</div>
<div class="input-field col s6">
<div class="input-field col s12 m6">
<select id="scene_sub_edit" data-parent="#scene_edit" data-target="#scene"></select>
</div>

Expand All @@ -123,37 +123,37 @@
<div id="tab-characters" class="col s12">
<div class="row">

<!--<div class="input-field col s12">-->
<!--<div class="input-field col s12 m12">-->
<!--Avatar:-->
<!--<input id="file_edit" type="file" onchange="load_from_file('file_edit', '#scene .player-avatar', null)">-->
<!--</div>-->
<!--<div class="input-field col s12">-->
<!--<div class="input-field col s12 m12">-->
<!--Personagem:-->
<!--<input id="file_char_edit" type="file">-->
<!--</div>-->

<div class="input-field col s12">
<div class="input-field col s12 m12">
<select id="avatar_edit"></select>
<label for="avatar_edit">{{avatar}}</label>
<!--<button class="file_submit waves-effect waves-light btn" onclick="load_from_file('file_edit', '#scene .player-avatar', null)">{{use_sucrette}}</button>-->
</div>

<div class="input-field col s6">
<div class="input-field col s12 m6">
<select id="actor1_edit" data-sub="#actor1_sub_edit"></select>
<label for="actor1_edit">{{character}} 1</label>
</div>
<div class="input-field col s6">
<div class="input-field col s12 m6">
<select id="actor1_sub_edit" data-parent="#actor1_edit" data-target="#actor1"></select>
</div>
<!--<div class="input-field col s12">-->
<!--<button class="file_submit waves-effect waves-light btn" onclick="load_from_file('file_char_edit', '#actor1', null)">{{use_sucrette}}</button>-->
<!--</div>-->

<div class="input-field col s6">
<div class="input-field col s12 m6">
<select id="actor2_edit" data-sub="#actor2_sub_edit"></select>
<label for="actor2_edit">{{character}} 2</label>
</div>
<div class="input-field col s6">
<div class="input-field col s12 m6">
<select id="actor2_sub_edit" data-parent="#actor2_edit" data-target="#actor2"></select>
</div>
<!--<div class="input-field col s12">-->
Expand Down

0 comments on commit 9fc9446

Please sign in to comment.