Input label fixes
This commit is contained in:
parent
3a9a4beb0f
commit
d00064ceac
@ -8,17 +8,14 @@
|
||||
<div class="u-iBlock">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="vehicle" value="Bike" checked>
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="CDB-CheckboxLabel"></label>
|
||||
</div>
|
||||
<div class="u-iBlock">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="vehicle" value="Bus">
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="CDB-CheckboxLabel"></label>
|
||||
</div>
|
||||
<div class="u-iBlock">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="vehicle" value="Car" disabled>
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="CDB-CheckboxLabel"></label>
|
||||
</div>
|
||||
```
|
||||
*/
|
||||
@ -31,6 +28,7 @@
|
||||
height: $baseSize * 2;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
z-index: 1;
|
||||
|
||||
~ .CDB-CheckboxFace {
|
||||
|
@ -8,12 +8,12 @@
|
||||
<div class="u-iBlock CDB-Text CDB-Size-medium u-rSpace--xl">
|
||||
<input class="CDB-Radio" type="radio" name="veritas" value="01">
|
||||
<span class="u-iBlock CDB-RadioFace"></span>
|
||||
<label class="u-iBlock">True</label>
|
||||
<label class="CDB-Label u-iBlock u-lSpace">True</label>
|
||||
</div>
|
||||
<div class="u-iBlock CDB-Text CDB-Size-medium u-rSpace--xl">
|
||||
<input class="CDB-Radio" type="radio" name="veritas" value="02" checked>
|
||||
<span class="u-iBlock CDB-RadioFace"></span>
|
||||
<label class="u-iBlock">False</label>
|
||||
<label class="CDB-Label u-iBlock u-lSpace">False</label>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
@ -23,12 +23,12 @@
|
||||
<div class="u-iblock CDB-Text CDB-Size-medium u-rSpace--xl">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="hobbies" value="Sport">
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="u-iBlock">Sport</label>
|
||||
<label class="CDB-Label u-iBlock u-lSpace">Sport</label>
|
||||
</div>
|
||||
<label class="u-iblock CDB-Text CDB-Size-medium">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="hobbies" value="Travel">
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="u-iBlock">Travel</label>
|
||||
<label class="CDB-Label u-iBlock u-lSpace">Travel</label>
|
||||
</label>
|
||||
|
||||
<br/>
|
||||
@ -42,14 +42,14 @@
|
||||
<div class="u-iblock CDB-Text CDB-Size-medium u-rSpace--xl">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="hobbies" value="Sport">
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="u-iBlock">Sport</label>
|
||||
<label class="CDB-Label u-iBlock u-lSpace">Sport</label>
|
||||
</div>
|
||||
</li>
|
||||
<li class="u-iblock">
|
||||
<label class="u-iblock CDB-Text CDB-Size-medium">
|
||||
<input class="CDB-Checkbox" type="checkbox" name="hobbies" value="Travel">
|
||||
<span class="u-iBlock CDB-CheckboxFace"></span>
|
||||
<label class="u-iBlock">Travel</label>
|
||||
<label class="CDB-Label u-iBlock u-lSpace">Travel</label>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@ -69,3 +69,7 @@
|
||||
.CDB-Legend {
|
||||
width: $baseSize * 12;
|
||||
}
|
||||
|
||||
.CDB-Label {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
@ -29,6 +29,7 @@
|
||||
height: $baseSize * 2;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
z-index: 1;
|
||||
|
||||
~ .CDB-RadioFace {
|
||||
|
Loading…
Reference in New Issue
Block a user