tarteo
8 years ago
4 changed files with 32 additions and 88 deletions
-
80web_shortcut/static/src/css/web_shortcut.css
-
BINweb_shortcut/static/src/img/add-shortcut.png
-
31web_shortcut/static/src/js/web_shortcut.js
-
9web_shortcut/static/src/xml/web_shortcut.xml
@ -1,82 +1,26 @@ |
|||||
/* Shortcuts*/ |
|
||||
.oe_systray_shortcuts .oe_star_off { |
|
||||
color: #eee; |
|
||||
} |
|
||||
.oe_shortcut_toggle { |
.oe_shortcut_toggle { |
||||
height: 20px; |
height: 20px; |
||||
margin-top: 9px; |
margin-top: 9px; |
||||
padding: 0; |
|
||||
width: 24px; |
width: 24px; |
||||
cursor: pointer; |
cursor: pointer; |
||||
display: block; |
display: block; |
||||
background: url(/web/static/src/img/add-shortcut.png) no-repeat center center; |
|
||||
|
font-size: 20px; |
||||
float: left; |
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; |
||||
|
} |
Before Width: 16 | Height: 16 | Size: 337 B |
Write
Preview
Loading…
Cancel
Save
Reference in new issue