styling for input, toggle, color, select and button.

This commit is contained in:
Keegan
2016-01-18 15:47:36 -08:00
parent 08bff3ac4b
commit 04273ed8d5
34 changed files with 711 additions and 485 deletions
+7 -5
View File
@@ -2,12 +2,14 @@
<span class="label">{{{label}}}</span>
<input
data-manipulator-target
type="text"
type="hidden"
/>
<div class="picker">
<span class="value"></span>
<div class="color-box-wrap">
<div class="color-box-container"></div>
<span class="value"></span>
<div class="picker-wrap">
<div class="picker">
<div class="color-box-wrap">
<div class="color-box-container"></div>
</div>
</div>
</div>
</label>
+2 -2
View File
@@ -1,3 +1,3 @@
<div class="item-container-header">
<h1 data-manipulator-target {{each key: attributes}}{{key}}="{{this}}"{{/each}}></h1>
<div class="item item-heading">
<h{{size}} data-manipulator-target {{each key: attributes}}{{key}}="{{this}}"{{/each}}></h{{size}}>
</div>
+1 -2
View File
@@ -1,9 +1,8 @@
<label class="item">
<label class="item item-input">
<span class="label">{{{label}}}</span>
<span class="input">
<input
data-manipulator-target
type="text"
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
/>
</span>
+4 -3
View File
@@ -1,8 +1,9 @@
<label class="item">
<label class="item item-select">
<span class="label">{{{label}}}</span>
<select data-manipulator-target class="item-select">
<span class="value"></span>
<select data-manipulator-target>
{{each options}}
<option value="{{value}}" class="item-select-option">{{{label}}}</option>
<option value="{{this.value}}" class="item-select-option">{{this.label}}</option>
{{/each}}
</select>
</label>
-3
View File
@@ -1,3 +0,0 @@
<div class="item-container-header">
<h2 data-manipulator-target {{each key: attributes}}{{key}}="{{this}}"{{/each}}></h2>
</div>
+4 -4
View File
@@ -1,9 +1,9 @@
<div class="button-container">
<input
<div class="item item-button">
<button
data-manipulator-target
type="submit"
class="item-button"
value="{{label}}"
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
>
{{{label}}}
</button>
</div>
+3
View File
@@ -0,0 +1,3 @@
<div class="item item-text">
<p data-manipulator-target {{each key: attributes}}{{key}}="{{this}}"{{/each}}></p>
</div>
+5 -1
View File
@@ -1,4 +1,4 @@
<label class="item">
<label class="item item-toggle">
<span class="label">{{{label}}}</span>
<span class="input">
<input
@@ -6,5 +6,9 @@
type="checkbox"
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
/>
<span class="graphic">
<span class="slide"></span>
<span class="marker"></span>
</span>
</span>
</label>