Quantcast
Viewing all articles
Browse latest Browse all 82150

TableTools Button: text color bug for disabled button ?

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:
button.DTTT_disabled,
div.DTTT_disabled,
a.DTTT_disabled {
color: #999;
/*...*/

Sadly the grey gets overwritten because the standard enabled button has text color black defined as being "!important":
button.DTTT_button,
div.DTTT_button,
a.DTTT_button {
/*...*/
color: black !important;

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

Viewing all articles
Browse latest Browse all 82150

Trending Articles