mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 04:54:12 +03:00
Resolves #771 checkbox color inconsistent
This commit is contained in:
parent
bb4d60ef10
commit
c27c3b9ebf
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user