2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

remove @shadow instances and replace with escaped values, update mixins to not use a default value at all

This commit is contained in:
Mark Otto
2012-03-31 21:06:16 -07:00
parent 56ecc6ba96
commit 2355fd224d
9 changed files with 46 additions and 61 deletions
+2 -6
View File
@@ -21,9 +21,7 @@
border: 1px solid @btnBorder;
border-bottom-color: darken(@btnBorder, 10%);
.border-radius(4px);
@shadow: inset 0 1px 0 rgba(255,255,255,.2),
0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
cursor: pointer;
// Give IE7 some love
@@ -56,9 +54,7 @@
.btn.active,
.btn:active {
background-image: none;
@shadow: inset 0 2px 4px rgba(0,0,0,.15),
0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
background-color: darken(@white, 10%);
background-color: darken(@white, 15%) e("\9");
outline: 0;