[IMP] base_setup, web: oe_form_configuration rules

* Remove useless css rules
* Move useful ones in web
This commit is contained in:
qsm-odoo
2015-08-11 14:31:10 +02:00
parent 5960d3cff8
commit 09b0ced258
6 changed files with 6 additions and 39 deletions
-3
View File
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Initial Setup Tools',
'version': '1.0',
@@ -21,7 +19,6 @@ Shows you a list of applications features to install from.
'base_setup_views.xml',
'res_config_view.xml',
'res_partner_view.xml',
'views/base_setup.xml',
],
'demo': [],
'installable': True,
-1
View File
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_general_configuration" model="ir.ui.view">
<field name="name">General Settings</field>
<field name="model">base.config.settings</field>
-1
View File
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Add partner categories in partner kanban view -->
<record id="res_partner_kanban_view" model="ir.ui.view">
<field name="name">res.partner.kanban.inherit</field>
@@ -1,24 +0,0 @@
/* Remove bold from labels in config wizards */
.oe_form_configuration .oe_form_group td:last-child .oe_form_label_help,
.oe_form_configuration .oe_form_group td:last-child .oe_form_label {
font-weight: normal;
}
/* Separate .eo_link elements from the rest of the label's text */
.oe_form_configuration .oe_form_group td:last-child .oe_link,
.oe_form_configuration .oe_form_group td:last-child .oe_separate-from-text {
position: relative;
left: 2em;
}
.oe_form_configuration .oe_form_group td:last-child .oe_link:before,
.oe_form_configuration .oe_form_group td:last-child .oe_separate-from-text:before {
content:"—";
padding-right: 1em;
color: grey;
/* Prevent the pseudo element's content to behave like its parent element */
position: absolute;
right: 100%;
bottom: 0; /* Parent element's height can vary */
pointer-events: none;
}
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend" name="base_setup assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/base_setup/static/src/css/base_setup.css"/>
</xpath>
</template>
</data>
</openerp>
@@ -226,6 +226,12 @@ div.o_checkbox {
font-size: 13px;
}
.oe_form_group td:last-child {
.oe_form_label_help, .oe_form_label {
font-weight: normal;
}
}
.o_form_field_many2manytags {
.o-inline-flex-display();
.o-flex-flow(row, wrap);