Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4327 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3446
2
ก.ค. 25
887
Change the button color Cancel แก้ไขแล้ว
1
พ.ย. 24
1033
1
ก.ย. 24
1485
0
ต.ค. 23
1736