콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3885 화면

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.

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
4161
0
12월 24
9577
3
9월 24
21836
5
12월 24
53148
4
7월 24
10659