mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 01:42:20 +00:00
robustify input stuff. Still NEED to rip out existing bootstrap classes so mine take hold
This commit is contained in:
parent
68ca52f125
commit
eceae48b2b
3 changed files with 12 additions and 11 deletions
|
|
@ -264,7 +264,7 @@ for $stage in $stages
|
|||
|
||||
// task editing
|
||||
// ------------
|
||||
.task-options
|
||||
[class$="-options"]
|
||||
padding: 0 0.5em
|
||||
margin-top: 1.25em
|
||||
color: #333
|
||||
|
|
@ -307,12 +307,13 @@ for $stage in $stages
|
|||
resize: none
|
||||
margin-bottom: 0
|
||||
|
||||
.option-pricer
|
||||
.option-short
|
||||
.option-content
|
||||
width: 20%
|
||||
width: 3em
|
||||
display: inline-block
|
||||
.money [class^="shop_"]
|
||||
vertical-align: 0
|
||||
.input-suffix
|
||||
vertical-align: 20%
|
||||
padding-left: 0.25em
|
||||
|
||||
// button-group
|
||||
.task-controls.tile-group
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="settings-settings">
|
||||
<div class="tab-pane active personal-options" id="settings-settings">
|
||||
<h4>Custom Day Start</h4>
|
||||
<div class="input-append">
|
||||
<input class="span2" type="number" min=0 max=24 value={_user.preferences.dayStart} />
|
||||
<span class="add-on">:00 (24h)</span>
|
||||
<div class="option-group option-short">
|
||||
<input class="option-content option-time" type="number" min=0 max=24 value={_user.preferences.dayStart}>
|
||||
<span class="input-suffix">:00 (24h clock)</span>
|
||||
</div>
|
||||
<div>
|
||||
<small>Habit defaults to check and reset your dailies at midnight each day. You can customize that here (Enter number between 0 and 24).</small>
|
||||
|
|
|
|||
|
|
@ -237,10 +237,10 @@
|
|||
|
||||
<!-- if Reward, pricing -->
|
||||
{else if equal(:task.type, 'reward')}
|
||||
<fieldset class="option-group option-pricer">
|
||||
<fieldset class="option-group option-short">
|
||||
<legend class="option-title">Price</legend>
|
||||
<input class="option-content" size="16" type="number" min="0" value={:task.value}>
|
||||
<div class="money"><span class='shop_gold'></span></div>
|
||||
<div class="money input-suffix"><span class='shop_gold'></span></div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue