TableTools Button: text color bug for disabled button ?
TableTools Button: text color bug for disabled button ?
![stwi](https://secure.gravatar.com/avatar/e0ffa953eec6e29f867509643ae36574/?default=https%3A%2F%2Fvanillicon.com%2Fe0ffa953eec6e29f867509643ae36574_200.png&rating=g&size=120)
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.