2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Drop: all vendor prefix mixins because autoprefixer

This commit is contained in:
Mark Otto
2014-07-08 02:04:48 -07:00
parent 6fda409853
commit d7b38d8c4a
28 changed files with 83 additions and 330 deletions
+10 -14
View File
@@ -20,13 +20,12 @@
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
.box-shadow(@shadow);
box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
// Reset the shadow
&:active,
&.active {
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
}
@@ -81,7 +80,7 @@
.thumbnail,
.img-thumbnail {
.box-shadow(0 1px 2px rgba(0,0,0,.075));
box-shadow: 0 1px 2px rgba(0,0,0,.075);
}
@@ -113,12 +112,11 @@
#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;
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
.box-shadow(@shadow);
box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
.navbar-nav > .active > a {
#gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));
.box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
box-shadow: inset 0 3px 9px rgba(0,0,0,.075);
}
}
.navbar-brand,
@@ -133,7 +131,7 @@
.navbar-nav > .active > a {
#gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));
.box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
box-shadow: inset 0 3px 9px rgba(0,0,0,.25);
}
.navbar-brand,
@@ -158,8 +156,7 @@
// Common styles
.alert {
text-shadow: 0 1px 0 rgba(255,255,255,.2);
@shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
}
// Mixin for generating new styles
@@ -210,7 +207,7 @@
.list-group {
border-radius: @border-radius-base;
.box-shadow(0 1px 2px rgba(0,0,0,.075));
box-shadow: 0 1px 2px rgba(0,0,0,.075);
}
.list-group-item.active,
.list-group-item.active:hover,
@@ -228,7 +225,7 @@
// Common styles
.panel {
.box-shadow(0 1px 2px rgba(0,0,0,.05));
box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
// Mixin for generating new styles
@@ -253,6 +250,5 @@
.well {
#gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);
border-color: darken(@well-bg, 10%);
@shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
.box-shadow(@shadow);
box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
}