[FIX][document_url] Consistent styling.

Without this patch, when you hover on the menu item, its background color does not change, and its cursor is a text one.

With this patch, the menu item styling matches those available in all surrounding menus.
This commit is contained in:
Jairo Llopis 2016-09-29 15:31:17 +02:00
parent dce22e6fb5
commit 2a79b53ca3
3 changed files with 3 additions and 5 deletions

View File

@ -1,3 +0,0 @@
.oe_url_attachment{
padding: 3px 20px;
}

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve"> <templates id="template" xml:space="preserve">
<t t-name="AddUrlDocumentItem"> <t t-name="AddUrlDocumentItem">
<li class="oe_sidebar_add_url"><span class="oe_url_attachment">Add URL...</span></li> <li class="oe_sidebar_add_url">
<a class="oe_file_attachment">Add URL...</a>
</li>
</t> </t>
</templates> </templates>

View File

@ -4,7 +4,6 @@
<template id="assets_backend" name="google_drive assets" inherit_id="web.assets_backend"> <template id="assets_backend" name="google_drive assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<link rel="stylesheet" href="/document_url/static/src/css/url.css" type="text/css"/>
<script type="text/javascript" src="/document_url/static/src/js/url.js"></script> <script type="text/javascript" src="/document_url/static/src/js/url.js"></script>
</xpath> </xpath>
</template> </template>