106
Views
4
Comments
[OutSystems UI Web] Please fix the text color of colored link buttons
Question
Forge component by OutSystems R&D
61
Published on 28 Dec 2020

Hi!


Please fix this nuisance.


Every new project I create on O11 I have to fix the CSS for link buttons with the Is_Default class, because the text seems to "disappear" when hovered.


(The button on the bottom is being hovered)


This happens due to some unfortunate precedence in the stylesheet that colors links with the primary color of the theme, which is the same used for the background color of buttons marked as default.

Rank: #128

Hi Caio,


a workaround would be to create your own improved base theme, and add it as a dependency in all your projects.  I know this is same amount of work initially as going in and changing the css in all projects, but more maintainable, especially if you would find other stuff in the base theme later on that you are not happy with.


Just out of curiosity, I tried to recreate this problem and it only happens when I use a link and style it as a button, not when I use a button widget.  Is there a reason why you don't just use a button widget with method : navigate ?  Does a link have behaviour or properties that a button lacks ?


Dorine

Rank: #19323
I'm having the same issue, what was your workaround to fix it? Thanks
Staff
Rank: #319

Hi, can you share a simple OML reproducing the issue, and which OutSystems UI Web version are you using?

I've tried on my side but wasn't able.

My regards