Merge pull request #144 from CartoDB/toggle-disabled

add disabled style for toggle
This commit is contained in:
piensaenpixel 2016-07-14 12:45:03 +02:00 committed by GitHub
commit c83ce9ecff
2 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,15 @@
<span class="u-iBlock CDB-ToggleFace"></span>
<label class="u-iBlock">SQL</label>
</div>
<br/>
<div class="CDB-Text CDB-Size-small is-semibold is-disabled u-rSpace--xl">
<label class="u-iBlock">TOOLS</label>
<input class="CDB-Toggle u-iBlock" type="checkbox" name="analysis" disabled >
<span class="u-iBlock CDB-ToggleFace"></span>
<label class="u-iBlock">SQL</label>
</div>
```
*/

View File

@ -32,6 +32,9 @@
&.is-light {
font-weight: $sFontWeight-lighter;
}
&.is-disabled {
opacity: 0.24;
}
}
.is-underlined {