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

Hello guys,

I don't find the CSS to change this blue shadowed border around all the odoo input box.

What is the CSS? Where is it?

Thanks.


อวตาร
ละทิ้ง
ผู้เขียน

Nobody?

Which version of Odoo does your question relate to?

ผู้เขียน

We are on odoo 8!

ผู้เขียน คำตอบที่ดีที่สุด

We will use this css code in our custom CSS :

.form-control:focus{
border-color:red;
outline:0;
-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6);
box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6)
}
อวตาร
ละทิ้ง

solved then?

ผู้เขียน

yes mister. This code works well.

คำตอบที่ดีที่สุด

It's a bootstrap css class: .form-control:focus specifically the property border-color

You could not add the class form-control to that input or change the property value for all the inputs with form-control class or create another css class specifically to that input

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 24
1988
1
ก.ค. 24
2005
1
ธ.ค. 22
2757
How to add css file in module? [SOLVED] แก้ไขแล้ว
2
มี.ค. 18
20162
1
มี.ค. 15
4098