diff options
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 46 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 59 |
2 files changed, 105 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 64b782835f2..3c1022c6e46 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2927,3 +2927,49 @@ div.ui-widget-overlay { -webkit-border-radius: 3px; border-radius: 3px; } + + + +.openerp .oe_fileuploader { + display: inline-block; + clear: both; +} +.openerp .oe_fileuploader .oe_add { + float: left; + width: 24px; + height: 24px; + position: relative; + left: +2px; + top: +7px; + overflow: hidden; +} +.openerp .oe_fileuploader .oe_add button { + position: absolute; + bottom: +0px; + left: +0px; + height: 24px; + width: 24px; + margin: 0px; + padding: 0px; +} +.openerp .oe_fileuploader .oe_add .oe_hidden_input_file input.oe_form_binary_file { + width: 300px; + left: -100px; + top: 1px; + height: 24px; + width: 300px; + background: transparent; + border: 0; + margin: 0px; + padding: 0px; + color: transparent; +} +.openerp .oe_fileuploader .oe_add button span { + position: relative; + bottom: +4px; + font-size: 30px; +} + +.openerp .oe_fileuploader { + clear: both; +} diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index f84d30a93ea..1096dd7564d 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2273,6 +2273,65 @@ $sheet-max-width: 860px float: right color: #333 // }}} + +.openerp .oe_fileuploader .oe_add .oe_hidden_input_file input.oe_form_binary_file { + width: 300px; + left: -100px; + top: 1px; + height: 24px; + width: 300px; + background: transparent; + border: 0; + margin: 0px; + padding: 0px; + color: transparent; +} +.openerp .oe_fileuploader .oe_add button span { + position: relative; + bottom: +4px; + font-size: 30px; +} + +.openerp .oe_fileuploader { + clear: both; +} + + .oe_fileuploader + display: inline-block + clear: both + .oe_add + float: left + width: 24px + height: 24px + position: relative + z-index: 10 + left: +2px + top: +7px + overflow: hidden + button + position: absolute + bottom: +0px + left: +0px + height: 24px + width: 24px + margin: 0px + padding: 0px + input.oe_form_binary_file + width: 300px + left: -100px + top: 1px + height: 24px + width: 300px + background: transparent + border: 0 + margin: 0px + padding: 0px + color: transparent + button span + position: relative + bottom: +4px + font-size: 30px + // Kitten Mode {{{ .kitten-mode-activated background-image: url(http://placekitten.com/g/1365/769) |
