summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass21
1 files changed, 18 insertions, 3 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 5b48b1dc8b4..64a73b8addd 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1650,14 +1650,29 @@ $sheet-padding: 16px
border-radius: 2px
border: solid 1px rgba(124,123,173,0.14)
.oe_attachment
+ background-repeat: no-repeat
+ word-wrap: break-word
padding: 2px
padding-left: 4px
padding-right: 4px
- .fa
+ overflow: hidden
+ a
+ display: block
+ background-repeat: no-repeat
+ background-size: contain
+ word-wrap: break-word
+ width: 100px
+ height: 80px
+ > .fa
font-size: 23px
- margin-top: -5px
- .fa:hover
+ position: absolute
+ top: -5px
+ right: -8px
+ > .fa:hover
text-decoration: none
+ .fa-inverse
+ font-size: 1.15em
+ margin-top: 1px
.oe_attachment:nth-child(odd)
background: white
.oe_attachment:nth-child(even)