Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3779 Zobrazení

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
4050
0
pro 24
9379
3
zář 24
21462
5
pro 24
52764
4
čvc 24
10440