跳至内容
菜单
此问题已终结
5 回复
7974 查看

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
7月 24
1901
1
7月 24
1916
1
12月 22
2680
2
3月 18
20091
1
3月 15
4040