mirror of https://github.com/twbs/bootstrap.git
Merge pull request #8583 from liuyl/disabled
set cursor to not-allowed for disabled elements
This commit is contained in:
commit
a36f444c25
|
@ -2219,7 +2219,7 @@ input[type="button"].btn-block {
|
||||||
.dropdown-menu > .disabled > a:hover,
|
.dropdown-menu > .disabled > a:hover,
|
||||||
.dropdown-menu > .disabled > a:focus {
|
.dropdown-menu > .disabled > a:focus {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||||
|
@ -2540,7 +2540,7 @@ button.close {
|
||||||
.nav > li.disabled > a:focus {
|
.nav > li.disabled > a:focus {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3301,7 +3301,7 @@ button.close {
|
||||||
.pagination > .disabled > a:hover,
|
.pagination > .disabled > a:hover,
|
||||||
.pagination > .disabled > a:focus {
|
.pagination > .disabled > a:focus {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3402,7 +3402,7 @@ button.close {
|
||||||
.pager .disabled > a:focus,
|
.pager .disabled > a:focus,
|
||||||
.pager .disabled > span {
|
.pager .disabled > span {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -102,7 +102,7 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none; // Remove CSS gradient
|
background-image: none; // Remove CSS gradient
|
||||||
.reset-filter();
|
.reset-filter();
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
> span {
|
> span {
|
||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
background-color: @pagination-bg;
|
background-color: @pagination-bg;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
> a:focus {
|
> a:focus {
|
||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
background-color: @pagination-bg;
|
background-color: @pagination-bg;
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue