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

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 24
1915
1
يوليو 24
1942
1
ديسمبر 22
2691
2
مارس 18
20100
1
مارس 15
4047