Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
7983 Widoki

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.


Awatar
Odrzuć
Autor

Nobody?

Which version of Odoo does your question relate to?

Autor

We are on odoo 8!

Autor Najlepsza odpowiedź

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)
}
Awatar
Odrzuć

solved then?

Autor

yes mister. This code works well.

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 24
1903
1
lip 24
1922
1
gru 22
2683
2
mar 18
20092
1
mar 15
4042