Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4317 Vistas

How can the color of the smart buttons/mandatory field in the community edition be edited?

As it seems this is not part of the primary_variables.scss.  This also seems to be the case on the 'mandatory' fields like name and email in the contacts.  The background color is in a light purple, but I can't seem to get it changed.


I have been looking in the primary variables for the specific color, but can't to find anything.


Can someone please point me in the right direction?

Avatar
Descartar
Mejor respuesta

Here is a CSS where you need to change the color for mandatory fields:
https://github.com/odoo/odoo/blob/14.0/addons/web/static/src/scss/fields_extra.scss#L7

Avatar
Descartar
Mejor respuesta

Hi,

Try refer the following.

https://ibb.co/WDyTs4w

Regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
3441
2
jul 25
882
1
nov 24
1015
1
sept 24
1479
0
oct 23
1734