diff options
| -rw-r--r-- | _includes/nav-customize.html | 1 | ||||
| -rw-r--r-- | customize.html | 9 | ||||
| -rw-r--r-- | less/close.less | 2 | ||||
| -rw-r--r-- | less/variables.less | 3 |
4 files changed, 11 insertions, 4 deletions
diff --git a/_includes/nav-customize.html b/_includes/nav-customize.html index c299badc5..3099d6c71 100644 --- a/_includes/nav-customize.html +++ b/_includes/nav-customize.html @@ -28,6 +28,7 @@ <li><a href="#variables-pagination">Pagination</a></li> <li><a href="#variables-labels">Labels</a></li> <li><a href="#variables-tooltips-popovers">Tooltips and popovers</a></li> + <li><a href="#variables-close">Close button</a></li> <li><a href="#variables-other">Other</a></li> </ul> </li> diff --git a/customize.html b/customize.html index 2ba72ba78..d08fad737 100644 --- a/customize.html +++ b/customize.html @@ -1191,9 +1191,16 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge <p class="help-block">Popover outer arrow color</p> </div> </div> + + <h2 id="variables-close">Close button</h2> + <label>@close-color</label> + <input type="text" placeholder="#000"> + <label>@close-text-shadow</label> + <input type="text" placeholder="0 1px 0 #fff"> + <h2 id="variables-other">Other</h2> <div class="row"> - <div class="col-lg-6"> + <div class="col-lg-6"> <label>@hr-border</label> <input type="text" placeholder="@gray-lighter"> <p class="help-block">Horizontal line color</p> diff --git a/less/close.less b/less/close.less index 454a73fdc..f915667e5 100644 --- a/less/close.less +++ b/less/close.less @@ -14,7 +14,7 @@ &:hover, &:focus { - color: @close-hover-color; + color: @close-color; text-decoration: none; cursor: pointer; .opacity(.5); diff --git a/less/variables.less b/less/variables.less index 885ea1d40..f4084ac03 100644 --- a/less/variables.less +++ b/less/variables.less @@ -422,8 +422,7 @@ // Close // ------------------------ @close-color: #000; -@close-hover-color: #000; -@close-text-shadow: 0 1px 0 rgba(255,255,255,1); +@close-text-shadow: 0 1px 0 #fff; // Code |
