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>2014-07-09 03:25:01 +0400
committerMark Otto <otto@github.com>2014-07-09 03:25:01 +0400
commitf6367bc0e4d66ab56f61d9aee3d326dcce19847f (patch)
treec7692865a22e379339b7140cd89c7c5d30c5aaf4 /less/navbar.less
parent86099bfb330ae43026e07ce7d14b67201fbb96d4 (diff)
Implement the new border-radius guard: only round things if global @enable-rounded == true
Diffstat (limited to 'less/navbar.less')
-rw-r--r--less/navbar.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/less/navbar.less b/less/navbar.less
index a9515a158a..abb4aa2911 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -18,7 +18,7 @@
&:extend(.clearfix all);
@media (min-width: @grid-float-breakpoint) {
- border-radius: @navbar-border-radius;
+ .border-radius(@navbar-border-radius);
}
}
@@ -200,7 +200,7 @@
background-color: transparent;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid transparent;
- border-radius: @border-radius-base;
+ .border-radius(@border-radius-base);
// We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`.
@@ -213,7 +213,7 @@
display: block;
width: 22px;
height: 2px;
- border-radius: 1px;
+ .border-radius(1px);
}
.icon-bar + .icon-bar {
margin-top: 4px;