Merge lp:~openerp-dev/openerp-web/7.0-opw-601145-msh into lp:openerp-web/7.0

Proposed by Mohammed Shekha(Open ERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openerp-web/7.0-opw-601145-msh
Merge into: lp:openerp-web/7.0
Diff against target: 35 lines (+7/-3)
2 files modified
addons/web/static/src/css/base.css (+4/-2)
addons/web/static/src/css/base.sass (+3/-1)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/7.0-opw-601145-msh
Reviewer Review Type Date Requested Status
Xavier (Open ERP) Pending
Martin Trigaux (OpenERP) Pending
Review via email: mp+199389@code.launchpad.net

Description of the change

Hello,

Fixed the issue of IE10, hide text in alternative way, as it works in all browser and with all versions.

Demo:- Use IE10 and go to List view and just select any record, you will see sidebar does not shows button's text(Add, More etc.)

IE10 has issue with text-indent + with negative value so used alternate way as it is supported in all browser.

Thanks.

To post a comment you must log in.

Unmerged revisions

4087. By Mohammed Shekha(OpenERP)<email address hidden>

[FIX]Web: Fixed the issue of IE10, hide text in alternative way, as it works in all browser and with all versions.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/css/base.css'
2--- addons/web/static/src/css/base.css 2013-12-10 11:24:44 +0000
3+++ addons/web/static/src/css/base.css 2013-12-18 05:50:45 +0000
4@@ -1,4 +1,4 @@
5-@charset "utf-8";
6+@charset "UTF-8";
7 @font-face {
8 font-family: "mnmliconsRegular";
9 src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");
10@@ -731,7 +731,9 @@
11 height: 0;
12 display: inline-block;
13 content: "&darr";
14- text-indent: -99999px;
15+ text-indent: 100%;
16+ overflow: hidden;
17+ white-space: nowrap;
18 vertical-align: top;
19 margin-top: 8px;
20 margin-left: 3px;
21
22=== modified file 'addons/web/static/src/css/base.sass'
23--- addons/web/static/src/css/base.sass 2013-12-10 11:24:44 +0000
24+++ addons/web/static/src/css/base.sass 2013-12-18 05:50:45 +0000
25@@ -621,7 +621,9 @@
26 height: 0
27 display: inline-block
28 content: "&darr"
29- text-indent: -99999px
30+ text-indent: 100%
31+ overflow: hidden
32+ white-space: nowrap
33 vertical-align: top
34 margin-top: 8px
35 //margin-left set at 3px to avoid a strange overflow