2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

fixes #5605: style as disabled all form controls & btns under a disabled fieldset

this is a resubmission of #5875, but now against branch 3.0.0-wip
does not exclude elements under a fieldset's legend
issue #6058 is a duplicate of #5605
This commit is contained in:
Chris Rebert
2012-12-09 23:42:05 -08:00
parent bc0b94a3fd
commit 3b5d4f52a3
4 changed files with 60 additions and 33 deletions
+1 -1
View File
@@ -416,7 +416,7 @@
.reset-filter();
// in these cases the gradient won't cover the background, so we override
&:hover, &:active, &.active, &.disabled, &[disabled] {
&:hover, &:active, &.active, &.disabled, &[disabled], fieldset[disabled] & {
color: @text-color;
background-color: @endColor;
}