2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +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; color: #fff;
background-color: #0275d8; background-color: #0275d8;
border-color: #0267bf; 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:hover,
.btn-primary:focus, .btn-primary:focus,
@@ -2168,8 +2166,6 @@ fieldset[disabled] .btn-primary.active {
color: #373a3c; color: #373a3c;
background-color: #fff; background-color: #fff;
border-color: #eceeef; 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:hover,
.btn-secondary:focus, .btn-secondary:focus,
@@ -2217,8 +2213,6 @@ fieldset[disabled] .btn-secondary.active {
color: #fff; color: #fff;
background-color: #5bc0de; background-color: #5bc0de;
border-color: #46b8da; 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:hover,
.btn-info:focus, .btn-info:focus,
@@ -2266,8 +2260,6 @@ fieldset[disabled] .btn-info.active {
color: #fff; color: #fff;
background-color: #5cb85c; background-color: #5cb85c;
border-color: #4cae4c; 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:hover,
.btn-success:focus, .btn-success:focus,
@@ -2315,8 +2307,6 @@ fieldset[disabled] .btn-success.active {
color: #fff; color: #fff;
background-color: #f0ad4e; background-color: #f0ad4e;
border-color: #eea236; 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:hover,
.btn-warning:focus, .btn-warning:focus,
@@ -2364,8 +2354,6 @@ fieldset[disabled] .btn-warning.active {
color: #fff; color: #fff;
background-color: #d9534f; background-color: #d9534f;
border-color: #d43f3a; 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:hover,
.btn-danger:focus, .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; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 100; // Ensure scrolling always works in Safari
width: 240px; width: 240px;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
-12
View File
@@ -2119,8 +2119,6 @@ fieldset[disabled] .btn {
color: #fff; color: #fff;
background-color: #0275d8; background-color: #0275d8;
border-color: #0267bf; 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:hover,
.btn-primary:focus, .btn-primary:focus,
@@ -2168,8 +2166,6 @@ fieldset[disabled] .btn-primary.active {
color: #373a3c; color: #373a3c;
background-color: #fff; background-color: #fff;
border-color: #eceeef; 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:hover,
.btn-secondary:focus, .btn-secondary:focus,
@@ -2217,8 +2213,6 @@ fieldset[disabled] .btn-secondary.active {
color: #fff; color: #fff;
background-color: #5bc0de; background-color: #5bc0de;
border-color: #46b8da; 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:hover,
.btn-info:focus, .btn-info:focus,
@@ -2266,8 +2260,6 @@ fieldset[disabled] .btn-info.active {
color: #fff; color: #fff;
background-color: #5cb85c; background-color: #5cb85c;
border-color: #4cae4c; 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:hover,
.btn-success:focus, .btn-success:focus,
@@ -2315,8 +2307,6 @@ fieldset[disabled] .btn-success.active {
color: #fff; color: #fff;
background-color: #f0ad4e; background-color: #f0ad4e;
border-color: #eea236; 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:hover,
.btn-warning:focus, .btn-warning:focus,
@@ -2364,8 +2354,6 @@ fieldset[disabled] .btn-warning.active {
color: #fff; color: #fff;
background-color: #d9534f; background-color: #d9534f;
border-color: #d43f3a; 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:hover,
.btn-danger:focus, .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; color: @color;
background-color: @background; background-color: @background;
border-color: @border; border-color: @border;
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075); // @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
.box-shadow(@shadow); // .box-shadow(@shadow);
&:hover, &:hover,
&:focus, &:focus,