Resolves #771 checkbox color inconsistent

This commit is contained in:
Kevin Ross 2015-12-09 11:00:06 -06:00
parent cce05f20dc
commit 25b3dcc0e4
3 changed files with 5 additions and 5 deletions

View File

@ -226,12 +226,12 @@
<p class="help-block">Auto-update apps over wifi only</p>
</div>
<h2>Horizontal form <small>with column label variations and <code>checkbox-primary</code> color</small></h2>
<h2>Horizontal form with column label variations</h2>
<form class="form-horizontal">
<div class="form-group">
<label class="col-sm-2" for="ch1">Touch sounds</label>
<div class="col-sm-10">
<div class="checkbox checkbox-primary">
<div class="checkbox">
<label>
<input id="ch1" type="checkbox" checked>
</label>
@ -242,7 +242,7 @@
<div class="form-group">
<label class="col-sm-2 control-label" for="ch3">Vibrate on touch</label>
<div class="col-sm-10">
<div class="checkbox checkbox-primary">
<div class="checkbox">
<label>
<input id="ch3" type="checkbox">
</label>

View File

@ -118,7 +118,7 @@
@mdb-checkbox-size: 20px;
@mdb-checkbox-animation-ripple: 500ms;
@mdb-checkbox-animation-check: 0.3s;
@mdb-checkbox-checked-color: #4caf50;
@mdb-checkbox-checked-color: @brand-primary;
@mdb-checkbox-label-color: rgba(0, 0, 0, .54);
@mdb-checkbox-border-color: @mdb-checkbox-label-color;

View File

@ -120,7 +120,7 @@ $background-disabled: #eaeaea !default;
$mdb-checkbox-size: 20px !default;
$mdb-checkbox-animation-ripple: 500ms !default;
$mdb-checkbox-animation-check: 0.3s !default;
$mdb-checkbox-checked-color: #4caf50 !default;
$mdb-checkbox-checked-color: $brand-primary !default;
$mdb-checkbox-label-color: rgba(0, 0, 0, .54) !default;
$mdb-checkbox-border-color: $mdb-checkbox-label-color !default;