Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-07-02 04:32:07 +0400
committerMark Otto <otto@github.com>2013-07-02 04:32:07 +0400
commita27ecfccf301f8996d7ddf6bd6f7f46f358a5a31 (patch)
tree7e5a7ac7bddc034a800f79646d022b775aa79f19 /less/close.less
parent2d2828d36ccaca2f6db42352d59ab4906a7439f6 (diff)
Make more components mixin-friendly
Diffstat (limited to 'less/close.less')
-rw-r--r--less/close.less20
1 files changed, 10 insertions, 10 deletions
diff --git a/less/close.less b/less/close.less
index e879da4d62..5fe23b3dc8 100644
--- a/less/close.less
+++ b/less/close.less
@@ -19,15 +19,15 @@
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="#"`.
-button.close {
- 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="#"`.
+ button& {
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+ }
}