Vidhin Mehta (OpenERP) has proposed merging lp:~openerp-dev/openerp-web/trunk-placeholder-fix into lp:openerp-web.
Requested reviews: OpenERP R&D Web Team (openerp-dev-web) For more details, see: https://code.launchpad.net/~openerp-dev/openerp-web/trunk-placeholder-fix/+merge/114578 In firefox hard to differentiate placeholder and enter text. Apply global css for placeholder. -- https://code.launchpad.net/~openerp-dev/openerp-web/trunk-placeholder-fix/+merge/114578 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openerp-web/trunk-placeholder-fix.
=== modified file 'addons/web/static/src/css/base.css' --- addons/web/static/src/css/base.css 2012-07-10 10:13:18 +0000 +++ addons/web/static/src/css/base.css 2012-07-12 07:27:20 +0000 @@ -34,7 +34,15 @@ background: white; /* http://www.quirksmode.org/dom/inputfile.html * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image - */ */ + */ +} +.openerp :-moz-placeholder { + color: #afafaf !important; + font-style: italic !important; +} +.openerp ::-webkit-input-placeholder { + color: #afafaf !important; + font-style: italic !important; } .openerp a { text-decoration: none; === modified file 'addons/web/static/src/css/base.sass' --- addons/web/static/src/css/base.sass 2012-07-10 10:13:18 +0000 +++ addons/web/static/src/css/base.sass 2012-07-12 07:27:20 +0000 @@ -112,6 +112,14 @@ font-size: 13px background: white // }}} + //Placeholder style{{{ + \:-moz-placeholder + color: #AFAFAF !important + font-style: italic !important + \::-webkit-input-placeholder + color: #AFAFAF !important + font-style: italic !important + //}}} // Tag reset {{{ a text-decoration: none
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

