From ca87adfec57bd3af700185201edf7a22673b08b1 Mon Sep 17 00:00:00 2001 From: tarteo Date: Thu, 23 Feb 2017 16:19:45 +0100 Subject: [PATCH] [REM] Replaced image with fa icon --- web_shortcut/static/src/css/web_shortcut.css | 80 +++---------------- web_shortcut/static/src/img/add-shortcut.png | Bin 337 -> 0 bytes web_shortcut/static/src/js/web_shortcut.js | 31 ++++--- web_shortcut/static/src/xml/web_shortcut.xml | 9 +-- 4 files changed, 32 insertions(+), 88 deletions(-) delete mode 100644 web_shortcut/static/src/img/add-shortcut.png diff --git a/web_shortcut/static/src/css/web_shortcut.css b/web_shortcut/static/src/css/web_shortcut.css index fbf93d2c..bd9cedf8 100644 --- a/web_shortcut/static/src/css/web_shortcut.css +++ b/web_shortcut/static/src/css/web_shortcut.css @@ -1,82 +1,26 @@ -/* Shortcuts*/ -.oe_systray_shortcuts .oe_star_off { - color: #eee; -} .oe_shortcut_toggle { height: 20px; margin-top: 9px; - padding: 0; width: 24px; cursor: pointer; display: block; - background: url(/web/static/src/img/add-shortcut.png) no-repeat center center; + font-size: 20px; 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; + color: #a8a8a8; } -.oe_shortcuts li:hover { - background-color: #666; -} -.oe_shortcuts li:first-child { - border-left: none; - padding-left: 0; +.oe_shortcut_toggle:focus { + color: #a8a8a8; } - -.openerp .oe_topbar .oe_topbar_item { - display: block; - padding: 5px 10px 7px; - line-height: 20px; - height: 20px; - text-decoration: none; - color: #eeeeee; - vertical-align: top; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); - -webkit-transition: all 0.2s ease-out; - -moz-transition: all 0.2s ease-out; - -ms-transition: all 0.2s ease-out; - -o-transition: all 0.2s ease-out; - transition: all 0.2s ease-out; +.oe_shortcut_toggle:hover { + color: #ffd700; } -.openerp .oe_topbar .oe_topbar_item:hover { - background: rgba(0, 0, 0, 0.2); - text-shadow: black 0px 0px 3px; - color: white; - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset; + +.oe_shortcut_remove { + color: #ffd700; } +.oe_shortcut_remove:focus { + color: #ffd700; +} diff --git a/web_shortcut/static/src/img/add-shortcut.png b/web_shortcut/static/src/img/add-shortcut.png deleted file mode 100644 index 07b8ed40207def8233cb873e8233e6b19ec3e0b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 337 zcmV-X0j~auP)6t8(LDsc#nGl)9+!M5z8 zVg=9k@E2l5X3Uasr`|<3E1Jz$o7P^6)DdveWEXtNc_i*d%{%yVP5}g4z#Q0c(vx9N z<-z^~u%$L=QuJF6j|rEn{seJ{u6u0iDS8ltQ}fOM!R`-%2OWLZu^stz=rYE%3Eswt jeJ|o @@ -20,10 +18,7 @@ - - console.log(ctx); - -