]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update close vars
authorMark Otto <otto@github.com>
Wed, 24 Jul 2013 06:09:06 +0000 (23:09 -0700)
committerMark Otto <otto@github.com>
Wed, 24 Jul 2013 06:09:06 +0000 (23:09 -0700)
* Remove dupe hover color var (again, it's not necessary to have it's
own var here since we're controlling it via `opacity`)
* Add to customizer

_includes/nav-customize.html
customize.html
less/close.less
less/variables.less

index c299badc570187e783b68f90d9c377a39bdae106..3099d6c7194ad4b6a78e00035541fb7eaa3aad6f 100644 (file)
@@ -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>
index 2ba72ba7804296c203593262bf642145eef1f85f..d08fad7374490e2cc773b7884f5443ddb5a10eb8 100644 (file)
@@ -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>
index 454a73fdcb458e25235c83d65920934a023ff522..f915667e5c48cac42c762c84d14b146c4d0e36ed 100644 (file)
@@ -14,7 +14,7 @@
 
   &:hover,
   &:focus {
-    color: @close-hover-color;
+    color: @close-color;
     text-decoration: none;
     cursor: pointer;
     .opacity(.5);
index 885ea1d4002bc4d8b251de0620fde45878275830..f4084ac03d36beb6b81410d95ac9f73563c2068f 100644 (file)
 // 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