0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #8583 from liuyl/disabled

set cursor to not-allowed for disabled elements
This commit is contained in:
Mark Otto 2013-07-24 16:32:25 -07:00
commit a36f444c25
6 changed files with 9 additions and 9 deletions

View File

@ -2219,7 +2219,7 @@ input[type="button"].btn-block {
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
text-decoration: none;
cursor: default;
cursor: not-allowed;
background-color: transparent;
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
@ -2540,7 +2540,7 @@ button.close {
.nav > li.disabled > a:focus {
color: #999999;
text-decoration: none;
cursor: default;
cursor: not-allowed;
background-color: transparent;
}
@ -3301,7 +3301,7 @@ button.close {
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
color: #999999;
cursor: default;
cursor: not-allowed;
background-color: #ffffff;
}
@ -3402,7 +3402,7 @@ button.close {
.pager .disabled > a:focus,
.pager .disabled > span {
color: #999999;
cursor: default;
cursor: not-allowed;
background-color: #ffffff;
}

File diff suppressed because one or more lines are too long

View File

@ -102,7 +102,7 @@
background-color: transparent;
background-image: none; // Remove CSS gradient
.reset-filter();
cursor: default;
cursor: not-allowed;
}
}

View File

@ -36,7 +36,7 @@
color: @gray-light;
text-decoration: none;
background-color: transparent;
cursor: default;
cursor: not-allowed;
}
}

View File

@ -48,7 +48,7 @@
> span {
color: @gray-light;
background-color: @pagination-bg;
cursor: default;
cursor: not-allowed;
}
}

View File

@ -53,7 +53,7 @@
> a:focus {
color: @gray-light;
background-color: @pagination-bg;
cursor: default;
cursor: not-allowed;
}
}
}