Merge pull request #153 from CartoDB/10137-form-input-styles
forms: input styles
This commit is contained in:
commit
40b08fbef5
@ -30,6 +30,13 @@
|
|||||||
&.is-empty {
|
&.is-empty {
|
||||||
color: $cHintText;
|
color: $cHintText;
|
||||||
}
|
}
|
||||||
|
&.is-number {
|
||||||
|
color: darken($cHighlight, 16%);
|
||||||
|
}
|
||||||
|
&.is-null {
|
||||||
|
color: $cHintText;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid $cHoverLine;
|
border: 1px solid $cHoverLine;
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,10 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<div class="CDB-InputText CDB-Text is-cursor is-empty">DejaVu Sans</div>
|
<div class="CDB-InputText CDB-Text is-cursor is-empty">DejaVu Sans</div>
|
||||||
<br/>
|
<br/>
|
||||||
|
<div class="CDB-InputText CDB-Text is-cursor is-null">null</div>
|
||||||
|
<br/>
|
||||||
|
<div class="CDB-InputText CDB-Text is-cursor is-number">46,594</div>
|
||||||
|
<br/>
|
||||||
<select name="select" class="CDB-SelectFake CDB-Text">
|
<select name="select" class="CDB-SelectFake CDB-Text">
|
||||||
<option value="value1" selected>Choose an option</option>
|
<option value="value1" selected>Choose an option</option>
|
||||||
<option value="value2">Hide</option>
|
<option value="value2">Hide</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user