2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00

disable shadows on buttons for now

This commit is contained in:
Mark Otto
2014-11-25 17:47:32 -08:00
parent 6a810551d0
commit 15d98dc6b7
10 changed files with 9 additions and 32 deletions
-12
View File
@@ -2119,8 +2119,6 @@ fieldset[disabled] .btn {
color: #fff;
background-color: #0275d8;
border-color: #0267bf;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-primary:hover,
.btn-primary:focus,
@@ -2168,8 +2166,6 @@ fieldset[disabled] .btn-primary.active {
color: #373a3c;
background-color: #fff;
border-color: #eceeef;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-secondary:hover,
.btn-secondary:focus,
@@ -2217,8 +2213,6 @@ fieldset[disabled] .btn-secondary.active {
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-info:hover,
.btn-info:focus,
@@ -2266,8 +2260,6 @@ fieldset[disabled] .btn-info.active {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-success:hover,
.btn-success:focus,
@@ -2315,8 +2307,6 @@ fieldset[disabled] .btn-success.active {
color: #fff;
background-color: #f0ad4e;
border-color: #eea236;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-warning:hover,
.btn-warning:focus,
@@ -2364,8 +2354,6 @@ fieldset[disabled] .btn-warning.active {
color: #fff;
background-color: #d9534f;
border-color: #d43f3a;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-danger:hover,
.btn-danger:focus,
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -593,6 +593,7 @@ body {
top: 0;
bottom: 0;
left: 0;
z-index: 100; // Ensure scrolling always works in Safari
width: 240px;
overflow-x: hidden;
overflow-y: auto;
-12
View File
@@ -2119,8 +2119,6 @@ fieldset[disabled] .btn {
color: #fff;
background-color: #0275d8;
border-color: #0267bf;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-primary:hover,
.btn-primary:focus,
@@ -2168,8 +2166,6 @@ fieldset[disabled] .btn-primary.active {
color: #373a3c;
background-color: #fff;
border-color: #eceeef;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-secondary:hover,
.btn-secondary:focus,
@@ -2217,8 +2213,6 @@ fieldset[disabled] .btn-secondary.active {
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-info:hover,
.btn-info:focus,
@@ -2266,8 +2260,6 @@ fieldset[disabled] .btn-info.active {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-success:hover,
.btn-success:focus,
@@ -2315,8 +2307,6 @@ fieldset[disabled] .btn-success.active {
color: #fff;
background-color: #f0ad4e;
border-color: #eea236;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-warning:hover,
.btn-warning:focus,
@@ -2364,8 +2354,6 @@ fieldset[disabled] .btn-warning.active {
color: #fff;
background-color: #d9534f;
border-color: #d43f3a;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-danger:hover,
.btn-danger:focus,
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -7,8 +7,8 @@
color: @color;
background-color: @background;
border-color: @border;
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
.box-shadow(@shadow);
// @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
// .box-shadow(@shadow);
&:hover,
&:focus,