summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-06-13 16:10:16 +0200
committerFabien Meghazi <fme@openerp.com>2012-06-13 16:10:16 +0200
commit8401b686b6bcac4cc44cf0c6790784e8316da2b9 (patch)
treede8930d059b6bc7546ce36fc7107fb1ffd981c76 /addons/web/static/src/css
parent1ce9ec0718fa6f8ce32dec753ccb5711c18da737 (diff)
[FIX] Brought back attachments
bzr revid: fme@openerp.com-20120613141016-8m2mj4b7d9zzk7a5
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css23
-rw-r--r--addons/web/static/src/css/base.sass11
2 files changed, 34 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index eaba96e771a..b65f4da557a 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1097,6 +1097,29 @@
.openerp .oe_sidebar {
white-space: nowrap;
}
+.openerp .oe_sidebar .oe_sidebar_add_attachment {
+ cursor: pointer;
+ padding-left: 6px;
+ margin-top: 6px;
+}
+.openerp .oe_sidebar .oe_sidebar_add_attachment span {
+ font-weight: bold;
+}
+.openerp .oe_sidebar .oe_sidebar_add_attachment .oe_hidden_input_file {
+ width: 200px;
+}
+.openerp .oe_sidebar .oe_sidebar_add_attachment:hover {
+ background-color: #f0f0fa;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0fa), to(#eeeef6));
+ background-image: -webkit-linear-gradient(top, #f0f0fa, #eeeef6);
+ background-image: -moz-linear-gradient(top, #f0f0fa, #eeeef6);
+ background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);
+ background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
+ background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
.openerp .oe_searchview {
cursor: text;
position: relative;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 00fbbb80c58..7208834a887 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -877,6 +877,17 @@ $colour4: #8a89ba
@include box-shadow(none)
.oe_sidebar
white-space: nowrap
+ .oe_sidebar_add_attachment
+ cursor: pointer
+ padding-left: 6px
+ margin-top: 6px
+ span
+ font-weight: bold
+ .oe_hidden_input_file
+ width: 200px
+ &:hover
+ @include vertical-gradient(#f0f0fa, #eeeef6)
+ @include box-shadow(none)
// }}}
// SearchView {{{
.oe_searchview