2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +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
@@ -111,7 +111,7 @@
.navbar-default {
#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
border-radius: @navbar-border-radius;
.border-radius(@navbar-border-radius);
box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
.navbar-nav > .active > a {
@@ -144,7 +144,7 @@
.navbar-static-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
.border-radius(0);
}
@@ -206,7 +206,7 @@
// --------------------------------------------------
.list-group {
border-radius: @border-radius-base;
.border-radius(@border-radius-base);
box-shadow: 0 1px 2px rgba(0,0,0,.075);
}
.list-group-item.active,