Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4297 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Try refer the following.

https://ibb.co/WDyTs4w

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3434
2
thg 7 25
880
1
thg 11 24
1009
1
thg 9 24
1477
0
thg 10 23
1733