summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-07-10 17:42:05 +0200
committerAaron Bohy <aab@odoo.com>2015-07-15 13:32:56 +0200
commit27df65c8782f998319374cddeead77ce8e994352 (patch)
treea4e5d975210801387838fd4442644b3c781ddfd7 /addons/web/static/src/css
parent45373eb1fcb8dc092ce75fffaf1baa7d476de2ab (diff)
[IMP] board,google_spreadsheet,web,web_calendar: Favorites menu
Adapt the Favorites menu so that addons appending stuff in it are compliant with the enterprise edition. Mainly, creation of dashboard.less from of dashboard.sass so that we can use mixins defined in the web addon. Some changes as well in the dashboard view to make it compliant with the enterprise edition. Use correct naming convention: classnames with underscores, less mixins with hyphens.
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css15
-rw-r--r--addons/web/static/src/css/base.sass17
2 files changed, 5 insertions, 27 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 37e68889f01..7852f764c19 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1289,13 +1289,6 @@
top: 3px;
content: "";
}
-.openerp .oe-search-options .open-menu a:before {
- font-family: FontAwesome;
- position: absolute;
- left: 9px;
- top: 3px;
- content: "";
-}
.openerp .oe-search-options .oe-select-group {
margin: 3px 25px;
}
@@ -1506,16 +1499,16 @@
.openerp .oe_pivot .dropdown-menu .pivot-dropdown-submenu:hover > .dropdown-menu {
display: block;
}
-.openerp .o-dashboard .oe_pivot th {
+.openerp .o_dashboard .oe_pivot th {
border-top: 1px solid #bfbfb6;
}
-.openerp .o-dashboard .oe_pivot th, .openerp .o-dashboard .oe_pivot .oe-closed, .openerp .o-dashboard .oe_pivot .oe-opened {
+.openerp .o_dashboard .oe_pivot th, .openerp .o_dashboard .oe_pivot .oe-closed, .openerp .o_dashboard .oe_pivot .oe-opened {
border-left: 1px solid #bfbfb6;
}
-.openerp .o-dashboard .oe_graph svg {
+.openerp .o_dashboard .oe_graph svg {
min-height: 250px;
}
-.openerp .o-dashboard .oe_graph .nv-pieLabels {
+.openerp .o_dashboard .oe_graph .nv-pieLabels {
display: none;
}
.openerp .oe_graph {
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index fa4ea1c1ab6..d8248feb9ad 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1095,21 +1095,6 @@ $sheet-padding: 16px
.filters-menu
.divider
display: list-item
- .closed-menu
- a:before
- font-family: FontAwesome
- position: absolute
- left: 12px
- top: 3px
- content: "\f0da"
- .open-menu
- a:before
- font-family: FontAwesome
- position: absolute
- left: 9px
- top: 3px
- content: "\f0d7"
-
.oe-select-group
margin: 3px 25px
.oe-add-group
@@ -1283,7 +1268,7 @@ $sheet-padding: 16px
.pivot-dropdown-submenu:hover
> .dropdown-menu
display: block
- .o-dashboard
+ .o_dashboard
.oe_pivot
th
border-top: 1px solid #bfbfb6