Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3853 Представления

I would like to overwrite some POS styles but I don't want to change it in pos.css directly so I think the best way to do it, is creating a new module.

So I have created a new module with: __init__.py empty __openerp__.py with my css link 'css': ['static/src/css/pos_changes.css'],

And the pos_changes.css where I put the POS css classes I want to change. Example:

.point-of-sale #topheader {
    position:absolute;
    left:0;
    top:0;
    width: 100%;
    height: 34px;
    margin:0;
    padding:0;
    color: gray;
    background: #393939;
    background: -moz-linear-gradient(#7b7979, #393939);
    background: -webkit-gradient(linear, left top, left bottom, from(#7b7979), to(#393939));
}

If I want to change the topheader I copy this code and change what I want.

I can install the module without problem but changes are not taking place. Maybe I am not understanding something I am not a programmer and I am learning on the go.

I'll appreciate any help. Thank you.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 15
4123
0
дек. 24
9523
3
сент. 24
21778
5
дек. 24
53066
4
июл. 24
10624