summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-01-21 14:11:52 +0100
committerChristophe Matthieu <chm@odoo.com>2015-01-23 12:14:15 +0100
commite53019ec7b2e1cde9510e77baa3183ea07d62052 (patch)
treee4a2eb8b1319cca967286b0b513125aa7aed21c9 /addons/website/static/src/css
parent2d75b1471a8dd107a3847e3cd624a969a156ad2c (diff)
[IMP] website editor: by default apply img-responsive and pull-left on insert images and option resize apply width in percent
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css10
-rw-r--r--addons/website/static/src/css/website.sass7
2 files changed, 0 insertions, 17 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index eee82c1aae2..f01a5fce09c 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -79,16 +79,6 @@
margin-bottom: 0px !important;
}
-img.img-responsive, .img.img-responsive, span.fa.img-responsive, iframe.img-responsive, div.media_iframe_video.img-responsive {
- max-width: 100%;
-}
-img.img-responsive-50, .img.img-responsive-50, span.fa.img-responsive-50, iframe.img-responsive-50, div.media_iframe_video.img-responsive-50 {
- max-width: 50%;
-}
-img.img-responsive-25, .img.img-responsive-25, span.fa.img-responsive-25, iframe.img-responsive-25, div.media_iframe_video.img-responsive-25 {
- max-width: 25%;
-}
-
img.padding-small, .img.padding-small, span.fa.padding-small, iframe.padding-small {
padding: 4px;
}
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index d2173b7df15..ce880e0139b 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -51,13 +51,6 @@
.mb0
margin-bottom: 0px !important
-img, .img, span.fa, iframe, div.media_iframe_video
- &.img-responsive
- max-width: 100%
- &.img-responsive-50
- max-width: 50%
- &.img-responsive-25
- max-width: 25%
img, .img, span.fa, iframe
&.padding-small
padding: 4px