Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
075e320a
Commit
075e320a
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
remove unnecessary bg declarations in buttons per #5684
parent
21957a3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+0
-7
docs/assets/css/bootstrap.css
less/buttons.less
+0
-5
less/buttons.less
with
0 additions
and
12 deletions
+0
-12
docs/assets/css/bootstrap.css
+
0
-
7
View file @
075e320a
...
@@ -3180,10 +3180,6 @@ button.close {
...
@@ -3180,10 +3180,6 @@ button.close {
.btn
:hover
{
.btn
:hover
{
color
:
#333333
;
color
:
#333333
;
text-decoration
:
none
;
text-decoration
:
none
;
background-color
:
#e6e6e6
;
*
background-color
:
#d9d9d9
;
/* Buttons in IE7 don't get borders, so darken on hover */
background-position
:
0
-15px
;
background-position
:
0
-15px
;
-webkit-transition
:
background-position
0.1s
linear
;
-webkit-transition
:
background-position
0.1s
linear
;
-moz-transition
:
background-position
0.1s
linear
;
-moz-transition
:
background-position
0.1s
linear
;
...
@@ -3199,8 +3195,6 @@ button.close {
...
@@ -3199,8 +3195,6 @@ button.close {
.btn.active
,
.btn.active
,
.btn
:active
{
.btn
:active
{
background-color
:
#e6e6e6
;
background-color
:
#d9d9d9
\
9
;
background-image
:
none
;
background-image
:
none
;
outline
:
0
;
outline
:
0
;
-webkit-box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-webkit-box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
...
@@ -3211,7 +3205,6 @@ button.close {
...
@@ -3211,7 +3205,6 @@ button.close {
.btn.disabled
,
.btn.disabled
,
.btn
[
disabled
]
{
.btn
[
disabled
]
{
cursor
:
default
;
cursor
:
default
;
background-color
:
#e6e6e6
;
background-image
:
none
;
background-image
:
none
;
opacity
:
0.65
;
opacity
:
0.65
;
filter
:
alpha
(
opacity
=
65
);
filter
:
alpha
(
opacity
=
65
);
...
...
This diff is collapsed.
Click to expand it.
less/buttons.less
+
0
-
5
View file @
075e320a
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
&:hover {
&:hover {
color: @grayDark;
color: @grayDark;
text-decoration: none;
text-decoration: none;
background-color: darken(@white, 10%);
*background-color: darken(@white, 15%); /* Buttons in IE7 don't get borders, so darken on hover */
background-position: 0 -15px;
background-position: 0 -15px;
// transition is only when going to hover, otherwise the background
// transition is only when going to hover, otherwise the background
...
@@ -47,8 +45,6 @@
...
@@ -47,8 +45,6 @@
// Active state
// Active state
&.active,
&.active,
&:active {
&:active {
background-color: darken(@white, 10%);
background-color: darken(@white, 15%) e("\9");
background-image: none;
background-image: none;
outline: 0;
outline: 0;
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
...
@@ -58,7 +54,6 @@
...
@@ -58,7 +54,6 @@
&.disabled,
&.disabled,
&[disabled] {
&[disabled] {
cursor: default;
cursor: default;
background-color: darken(@white, 10%);
background-image: none;
background-image: none;
.opacity(65);
.opacity(65);
.box-shadow(none);
.box-shadow(none);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment