TableTools Button: text color bug for disabled button ?
TableTools Button: text color bug for disabled button ?
stwi
Posts: 10Questions: 0Answers: 0
Hi,
I think I found a text coloring bug for disabled TableTools buttons. I was wondering why a disabled TT button still shows black text color. In "TableTools.css" I found that in fact for disabled buttons it should be grey:
[quote]button.DTTT_disabled,
div.DTTT_disabled,
a.DTTT_disabled {
color: #999;
/*...*/
[/quote]
Sadly the grey gets overwritten because the standard enabled button has text color black defined as being "!important":
[quote]button.DTTT_button,
div.DTTT_button,
a.DTTT_button {
/*...*/
color: black !important;
[/quote]
Since a disabled button has the following classes assigned to it: "DTTT_button DTTT_button_text DTTT_disabled" it is the black that wins.
Regards,
Stephan
I think I found a text coloring bug for disabled TableTools buttons. I was wondering why a disabled TT button still shows black text color. In "TableTools.css" I found that in fact for disabled buttons it should be grey:
[quote]button.DTTT_disabled,
div.DTTT_disabled,
a.DTTT_disabled {
color: #999;
/*...*/
[/quote]
Sadly the grey gets overwritten because the standard enabled button has text color black defined as being "!important":
[quote]button.DTTT_button,
div.DTTT_button,
a.DTTT_button {
/*...*/
color: black !important;
[/quote]
Since a disabled button has the following classes assigned to it: "DTTT_button DTTT_button_text DTTT_disabled" it is the black that wins.
Regards,
Stephan
This discussion has been closed.