mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
input type=color can not be empty
https://www.w3.org/TR/2012/WD-html5-20120329/states-of-the-type-attribute.html#color-state-type-color
This commit is contained in:
parent
18c5778789
commit
f41e3f5907
9 changed files with 20 additions and 19 deletions
|
|
@ -218,7 +218,7 @@
|
|||
<legend>{$lang->layout_manager[38]}</legend>
|
||||
<span class="inputall">
|
||||
<input type="text" id="border-width" size="3" title="border-width+px" />
|
||||
<input type="color" id="border-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<input type="text" id="border-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<select id="border-style" title="border-style">
|
||||
<option value="none">{$lang->layout_manager[39]}</option>
|
||||
<option value="hidden">hidden</option>
|
||||
|
|
@ -237,7 +237,7 @@
|
|||
<div>
|
||||
<label for="border-top-width">{$lang->layout_manager[34]} : </label>
|
||||
<input type="text" id="border-top-width" size="3" title="border-width+px" />
|
||||
<input type="color" id="border-top-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<input type="text" id="border-top-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<select id="border-top-style" title="border-style">
|
||||
<option value="none">{$lang->layout_manager[39]}</option>
|
||||
<option value="hidden">hidden</option>
|
||||
|
|
@ -254,7 +254,7 @@
|
|||
<div>
|
||||
<label for="border-right-width">{$lang->layout_manager[36]} : </label>
|
||||
<input type="text" id="border-right-width" size="3" title="border-width+px" />
|
||||
<input type="color" id="border-right-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<input type="text" id="border-right-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<select id="border-right-style" title="border-style">
|
||||
<option value="none">{$lang->layout_manager[39]}</option>
|
||||
<option value="hidden">hidden</option>
|
||||
|
|
@ -271,7 +271,7 @@
|
|||
<div>
|
||||
<label for="border-bottom-width">{$lang->layout_manager[37]} : </label>
|
||||
<input type="text" id="border-bottom-width" size="3" title="border-width+px" />
|
||||
<input type="color" id="border-bottom-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<input type="text" id="border-bottom-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<select id="border-bottom-style" title="border-style">
|
||||
<option value="none">{$lang->layout_manager[39]}</option>
|
||||
<option value="hidden">hidden</option>
|
||||
|
|
@ -288,7 +288,7 @@
|
|||
<div>
|
||||
<label for="border-left-width">{$lang->layout_manager[35]} : </label>
|
||||
<input type="text" id="border-left-width" size="3" title="border-width+px" />
|
||||
<input type="color" id="border-left-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<input type="text" id="border-left-color" size="7" class="rx-spectrum" title="border-color" />
|
||||
<select id="border-left-style" title="border-style">
|
||||
<option value="none">{$lang->layout_manager[39]}</option>
|
||||
<option value="hidden">hidden</option>
|
||||
|
|
@ -309,7 +309,7 @@
|
|||
<div class="visible-more">
|
||||
<div>
|
||||
<label for="background-color">{$lang->layout_manager[41]} : </label>
|
||||
<input type="color" id="background-color" size="7" class="rx-spectrum" />
|
||||
<input type="text" id="background-color" size="7" class="rx-spectrum" />
|
||||
</div>
|
||||
<div>
|
||||
<label for="background-image">{$lang->layout_manager[42]} :</label>
|
||||
|
|
@ -335,7 +335,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<label for="color">{$lang->layout_manager[54]} : </label>
|
||||
<input type="color" id="color" size="7" class="rx-spectrum" />
|
||||
<input type="text" id="color" size="7" class="rx-spectrum" />
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
</block>
|
||||
<block cond="$var->type == 'colorpicker'">
|
||||
{@ $use_colorpicker = true; }
|
||||
<input type="color" class="rx-spectrum" name="{$name}" id="{$name}" value="{$var->value}" />
|
||||
<input type="text" class="rx-spectrum" name="{$name}" id="{$name}" value="{$var->value}" />
|
||||
<p id="categoy_color_help" hidden style="margin:8px 0 0 0">{$lang->about_category_color}</p>
|
||||
</block>
|
||||
<p class="x_help-block">{$var->description}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue