Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
4289 Visninger

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
Kassér
Bedste svar

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
Kassér
Bedste svar

Hi,

Try refer the following.

https://ibb.co/WDyTs4w

Regards

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 15
3432
2
jul. 25
880
1
nov. 24
1009
1
sep. 24
1477
0
okt. 23
1731