summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorggh-openerp <ggh@tinyerp.com>2012-10-29 10:44:36 +0530
committerggh-openerp <ggh@tinyerp.com>2012-10-29 10:44:36 +0530
commitd31003fc4c96df3104b2e414d29870bda60d39fa (patch)
treecc1855465308a6553a010affaa925bb251b7c7dc /addons/web/static/src/css
parent1def54dceeb1af5f27ec4dc156ac6eaa90aadd12 (diff)
[IMP]Improved code for image set in old password and new password field
bzr revid: ggh@tinyerp.com-20121029051436-r2j03sdzwg155beb
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css12
-rw-r--r--addons/web/static/src/css/base.sass7
2 files changed, 17 insertions, 2 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index cbbd8e37f6c..5311a844f2f 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -25,7 +25,6 @@
display: none !important;
}
}
-
.openerp.openerp_webclient_container {
height: 100%;
}
@@ -45,7 +44,7 @@
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
/* http://www.quirksmode.org/dom/inputfile.html
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
- */ */
+ */
}
.openerp :-moz-placeholder {
color: #afafb6 !important;
@@ -527,6 +526,15 @@
.openerp .oe_grey {
color: #aaaaaa;
}
+.openerp .oe_placeImage_old input {
+ background: url(/web/static/src/img/old_key.png) no-repeat 4px;
+}
+.openerp .oe_placeImage_new input {
+ background: url(/web/static/src/img/new_key.png) no-repeat 4px;
+}
+.openerp .oe_padding_left input {
+ padding-left: 22px;
+}
.openerp .oe_tag {
border: 1px solid #afafb6;
font-size: 11px;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 2ef9a8a451d..3b91693ba8c 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -462,6 +462,13 @@ $sheet-max-width: 860px
// }}}
+ .oe_placeImage_old input
+ background: url(/web/static/src/img/old_key.png) no-repeat 4px
+ .oe_placeImage_new input
+ background: url(/web/static/src/img/new_key.png) no-repeat 4px
+ .oe_padding_left input
+ padding-left: 22px
+
// Tags (for many2many tags, among others) {{{
.oe_tag
border: 1px solid $tag-border