Greetings,
I'm trying to change the style of the animated label when the widget is disabled.
The base theme doesn't have a class for that. How can I edit it?
For example we have,
.animated-label.active .animated-label-text {
color: blue;
}
To change the color of the label to blue when the input is selected.
I imagine it would be something like
.animated-label.disabled .animated-label-text {
I tried .disabled, :disabled, .inactive. And nothing works.
Thank you
Nuno Pereira
Hi Nuno,
Ok. I see.
Why don't you do everything "inside" OutSystems?
I've attached an oml with this.
Cheers,
José
José Costa wrote:
Hi José,
Thank you for your advice. It worked.
Regards,
Nuno
Please check below screen shot.You can change color of textbox for disabled in my example that way
Salman Ansari wrote:
Hello Salman,
I just want to change the color of the label when the input is disabled. Not the input itself.
If the label and the input widget are at the same level you can do something like:
input[type="text"]:disabled + <selector to the element that you want to change> { color: blue; }
Is this what you want?
Hello José,
I think that doesn't do what I want.
I've created this two inputs.
Both inputs are inside an Animated Label Widget. I've defined the second input as disabled and I would like to change the "Type Label" style.
I've managed to change the style when input is selected.
Thank you in advance,