Merge pull request #898 from danielkman/fix-checkbox-border-width-variable-use

Fix #860 - Use mdb-checkbox-border-size variable for checkbox border width
This commit is contained in:
Kevin Ross 2016-02-29 10:27:06 -05:00
commit f68a43b80c
2 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,8 @@
display: inline-block; display: inline-block;
width: @mdb-checkbox-size; width: @mdb-checkbox-size;
height: @mdb-checkbox-size; height: @mdb-checkbox-size;
border: @border-radius-base solid @mdb-checkbox-border-color; border: @mdb-checkbox-border-size solid @mdb-checkbox-border-color;
border-radius: @border-radius-base;
overflow: hidden; overflow: hidden;
z-index: 1; z-index: 1;
} }

View File

@ -126,6 +126,7 @@
@mdb-checkbox-animation-check: 0.3s; @mdb-checkbox-animation-check: 0.3s;
@mdb-checkbox-checked-color: @brand-primary; @mdb-checkbox-checked-color: @brand-primary;
@mdb-checkbox-border-size: 2px;
@mdb-checkbox-label-color: @mdb-label-color; @mdb-checkbox-label-color: @mdb-label-color;
@mdb-checkbox-border-color: @mdb-label-color-toggle-focus; @mdb-checkbox-border-color: @mdb-label-color-toggle-focus;