]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
properly reset button.close styles
authorMark Otto <markdotto@gmail.com>
Tue, 20 Jan 2015 00:11:39 +0000 (16:11 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 20 Jan 2015 00:11:39 +0000 (16:11 -0800)
scss/_close.scss

index dd9b652b256023fe353d53868240633f6e40f148..11815db27ff35e7f1f3cf7604ef4922cf0228020 100644 (file)
     cursor: pointer;
     opacity: .5;
   }
+}
 
-  // Additional properties for button version
-  // iOS requires the button element instead of an anchor tag.
-  // If you want the anchor version, it requires `href="#"`.
-  // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
-  &button {
-    padding: 0;
-    cursor: pointer;
-    background: transparent;
-    border: 0;
-    -webkit-appearance: none;
-  }
+// Additional properties for button version
+// iOS requires the button element instead of an anchor tag.
+// If you want the anchor version, it requires `href="#"`.
+// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
+button.close {
+  padding: 0;
+  cursor: pointer;
+  background: transparent;
+  border: 0;
+  -webkit-appearance: none;
 }