تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4361 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Try refer the following.

https://ibb.co/WDyTs4w

Regards

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3494
2
يوليو 25
913
1
نوفمبر 24
1079
1
سبتمبر 24
1500
0
أكتوبر 23
1754