From 00099db4f3436b38adb9e58ed52eac62ae962227 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 10 Apr 2015 13:44:11 +0200 Subject: [PATCH] [FIX] css: move ie9 targetted rules to ie.css Moving existing rules targetting IE9 or less to addons/web/static/src/css/ie.css --- addons/web/static/src/css/base.css | 3 +-- addons/web/static/src/css/base.sass | 2 -- addons/web/static/src/css/ie.css | 18 ++++++++++++++++++ .../lib/fullcalendar/css/fullcalendar.css | 5 ----- addons/web_kanban/static/src/css/kanban.css | 3 --- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 3aa95ac57de..f3a7d4651cf 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -903,7 +903,6 @@ } .openerp .oe_leftbar > div > div > div > div.oe_secondary_menus_container { position: absolute; - position: static\9; top: 0; bottom: 0; left: 0; @@ -1064,7 +1063,6 @@ } .openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body { position: absolute; - position: static\9; top: 0; bottom: 0; left: 0; @@ -2794,6 +2792,7 @@ opacity: 0.5; } .openerp .oe_list_content > tbody > tr > td.oe_list_field_boolean input:-moz-read-only { + filter: alpha(opacity=100); opacity: 1; } .openerp .oe_list_content > tbody > tr:nth-child(odd) { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 959be8071a1..71336944863 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -785,7 +785,6 @@ $sheet-padding: 16px height: 100% > div.oe_secondary_menus_container position: absolute - position: static\9 top: 0 bottom: 0 left: 0 @@ -918,7 +917,6 @@ $sheet-padding: 16px height: 100% > .oe_view_manager_body position: absolute - position: static\9 top: 0 bottom: 0 left: 0 diff --git a/addons/web/static/src/css/ie.css b/addons/web/static/src/css/ie.css index 4f5b2c85db7..f628ed1213d 100644 --- a/addons/web/static/src/css/ie.css +++ b/addons/web/static/src/css/ie.css @@ -2,13 +2,31 @@ .openerp .oe_form label + .oe_form_field.oe_form_field_one2many { display: block; } +.openerp .oe_leftbar > div > div > div > div.oe_secondary_menus_container { + position: static; +} +.openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body { + position: static; +} + +/** web_calendar */ +.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */ +.fc-select-helper .fc-event-bg { + display: none; /* for IE6/7/8. nested opacity filters while dragging don't work */ +} /** web_graph */ +.openerp svg:not(:root) { /* width and height are not take in consideration */ + overflow: visible; +} .graph_main_content.graph_chart_mode > div > svg { min-height: 521px; } /** web_kanban */ +:root .openerp .oe_kanban_view .oe_kanban_group_title_vertical { + writing-mode: lr-tb; +} .openerp .oe_kanban_column_cards { min-height: 80px; } diff --git a/addons/web_calendar/static/lib/fullcalendar/css/fullcalendar.css b/addons/web_calendar/static/lib/fullcalendar/css/fullcalendar.css index 1c219b910cb..0edca795fbb 100644 --- a/addons/web_calendar/static/lib/fullcalendar/css/fullcalendar.css +++ b/addons/web_calendar/static/lib/fullcalendar/css/fullcalendar.css @@ -563,11 +563,6 @@ table.fc-border-separate { filter: alpha(opacity=25); } -.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */ -.fc-select-helper .fc-event-bg { - display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */ - } - /* resizable */ .fc-event-vert .ui-resizable-s { diff --git a/addons/web_kanban/static/src/css/kanban.css b/addons/web_kanban/static/src/css/kanban.css index 664fb8ef55f..fbda6d3e4c5 100644 --- a/addons/web_kanban/static/src/css/kanban.css +++ b/addons/web_kanban/static/src/css/kanban.css @@ -204,9 +204,6 @@ opacity: 0.75; top: 26px; } -:root .openerp .oe_kanban_view .oe_kanban_group_title_vertical { - writing-mode: lr-tb\9; -} .openerp .oe_kanban_view .oe_kanban_add, .openerp .oe_kanban_view .oe_kanban_header .oe_dropdown_toggle { margin-left: 4px; cursor: pointer;