From c30f8b0d8830de4d587db30e097a5e4f81dcdc90 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 16 Aug 2011 16:08:24 +0200 Subject: [PATCH] [IMP] CSS: fix position of shortcut-toggle-star and padding on the sides of the actual shortcuts bzr revid: xmo@openerp.com-20110816140824-abeamy4qqpkoserz --- addons/base/static/src/css/base.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/addons/base/static/src/css/base.css b/addons/base/static/src/css/base.css index 11fa3015f01..d08076fcf7f 100644 --- a/addons/base/static/src/css/base.css +++ b/addons/base/static/src/css/base.css @@ -1186,9 +1186,9 @@ background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */ padding: 0; width: 24px; cursor: pointer; - display: inline; /*IE7 */ - display: inline-block; + display: block; background: url(/base/static/src/img/add-shortcut.png) no-repeat bottom; + float: left; } .oe-shortcut-remove{ background: url(/base/static/src/img/remove-shortcut.png) no-repeat bottom; @@ -1221,12 +1221,11 @@ background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */ color: #fff; text-align: center; border-left: 1px solid #909090; - padding-left: 4px; + padding: 4px; font-size: 90%; font-weight: normal; } -.oe-shortcuts li:first-child, -.oe-shortcuts li.first { +.oe-shortcuts li:first-child { border-left: none; padding-left: 0; }