diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-11-23 11:27:55 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-11-23 11:27:55 +0100 |
| commit | e76f5fca1f4874dc729386ac76d3b350188160ed (patch) | |
| tree | fc926646754795801eb9fea00e0b327b2efe19d9 /addons/web/static/src/css | |
| parent | c52341ad58baef7e142ff6f29e1ddf314dc7ddfc (diff) | |
[FIX] broke the pager in form views
bzr revid: nicolas.vanhoren@openerp.com-20121123102755-ad57atu9zcl010c5
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 18 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 62 |
2 files changed, 40 insertions, 40 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 45cd8ef70aa..a79bd414003 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1438,15 +1438,15 @@ .openerp .oe_list_pager { line-height: 26px; } -.openerp .oe_list_pager .oe_pager_value { +.openerp .oe_pager_value { float: left; margin-right: 8px; } -.openerp .oe_list_pager ul.oe_pager_group { +.openerp ul.oe_pager_group { padding: 0; margin: 0; } -.openerp .oe_list_pager .oe_pager_group { +.openerp .oe_pager_group { float: left; height: 24px; line-height: 24px; @@ -1457,7 +1457,7 @@ -webkit-border-radius: 5px; border-radius: 5px; } -.openerp .oe_list_pager .oe_pager_group li { +.openerp .oe_pager_group li { height: 24px; line-height: 24px; padding: 0; @@ -1466,23 +1466,23 @@ float: left; border-right: 1px solid #ababab; } -.openerp .oe_list_pager .oe_pager_group li:last-child { +.openerp .oe_pager_group li:last-child { border: none; } -.openerp .oe_list_pager .oe_pager_group a { +.openerp .oe_pager_group a { color: #4c4c4c; padding: 0 8px; } -.openerp .oe_list_pager .oe_pager_group a:hover { +.openerp .oe_pager_group a:hover { text-decoration: none; } -.openerp .oe_list_pager .oe_pager_group .active { +.openerp .oe_pager_group .active { background: #999999; -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) inset; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) inset; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) inset; } -.openerp .oe_list_pager .oe_pager_group .active a { +.openerp .oe_pager_group .active a { color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 442c9d5e026..47adb2a8eca 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1164,41 +1164,41 @@ $sheet-padding: 16px // List pager {{{ .oe_list_pager line-height: 26px - .oe_pager_value - float: left - margin-right: 8px - ul.oe_pager_group + .oe_pager_value + float: left + margin-right: 8px + ul.oe_pager_group + padding: 0 + margin: 0 + .oe_pager_group + float: left + height: 24px + line-height: 24px + display: inline-block + border: 1px solid #ababab + cursor: pointer + @include radius(5px) + li + height: 24px + line-height: 24px padding: 0 margin: 0 - .oe_pager_group + list-style-type: none float: left - height: 24px - line-height: 24px - display: inline-block - border: 1px solid #ababab - cursor: pointer - @include radius(5px) - li - height: 24px - line-height: 24px - padding: 0 - margin: 0 - list-style-type: none - float: left - border-right: 1px solid #ababab - &:last-child - border: none + border-right: 1px solid #ababab + &:last-child + border: none + a + color: #4c4c4c + padding: 0 8px + &:hover + text-decoration: none + .active + background: #999 + @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset) a - color: #4c4c4c - padding: 0 8px - &:hover - text-decoration: none - .active - background: #999 - @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset) - a - color: #fff - text-shadow: 0 1px 2px rgba(0,0,0,0.4) + color: #fff + text-shadow: 0 1px 2px rgba(0,0,0,0.4) .oe_list_pager.oe_list_pager_single_page .oe_pager_group display: none // }}} |
