From 533a9273d942e5ec49ffc0b030d6152d2007c9e2 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 3 May 2012 13:42:51 +0200 Subject: [ADD] Shortcuts as a module bzr revid: fme@openerp.com-20120503114251-p6yueoreiyu4dya0 --- .../web_shortcuts/static/src/css/web_shortcuts.css | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 addons/web_shortcuts/static/src/css/web_shortcuts.css (limited to 'addons/web_shortcuts/static/src/css') diff --git a/addons/web_shortcuts/static/src/css/web_shortcuts.css b/addons/web_shortcuts/static/src/css/web_shortcuts.css new file mode 100644 index 00000000000..e2deff8d406 --- /dev/null +++ b/addons/web_shortcuts/static/src/css/web_shortcuts.css @@ -0,0 +1,57 @@ +/* Shortcuts*/ +.oe_systray_shortcuts { + margin: 3px; +} +.oe-shortcut-toggle { + height: 20px; + margin-top: 3px; + padding: 0; + width: 24px; + cursor: pointer; + display: block; + background: url(/web/static/src/img/add-shortcut.png) no-repeat center center; + float: left; +} +.oe-shortcut-remove{ + background: url(/web/static/src/img/remove-shortcut.png) no-repeat center center; +} +.oe-shortcuts { + position: absolute; + margin: 0; + padding: 6px 15px; + top: 37px; + left: 197px; + right: 0; + height: 17px; + line-height: 1.2; +} +.oe-shortcuts ul { + display: block; + overflow: hidden; + list-style: none; + white-space: nowrap; + padding: 0; + margin: 0; +} +.oe-shortcuts li { + cursor: pointer; + display: -moz-inline-stack; + display: inline-block; + display: inline; /*IE7 */ + color: #fff; + text-align: center; + border-left: 1px solid #909090; + padding: 0 4px; + font-size: 80%; + font-weight: normal; + vertical-align: top; +} + +.oe-shortcuts li:hover { + background-color: #666; +} +.oe-shortcuts li:first-child { + border-left: none; + padding-left: 0; +} + -- cgit v1.2.3