2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Implement the new border-radius guard: only round things if global @enable-rounded == true

This commit is contained in:
Mark Otto
2014-07-08 16:25:01 -07:00
parent 86099bfb33
commit f6367bc0e4
36 changed files with 55 additions and 489 deletions
+3 -3
View File
@@ -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;