From 843ac33ad97835551b7be4318202b00a214c7c17 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sat, 22 Mar 2014 19:56:41 +0100 Subject: [IMP] clean css bzr revid: fp@tinyerp.com-20140322185641-qy57fotd1uvztffy --- addons/website/static/src/css/website.css | 4 ---- addons/website/static/src/css/website.sass | 2 -- 2 files changed, 6 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index e9df2841347..7e377196030 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -284,10 +284,6 @@ ul.nav-stacked > li > a { background-size: 100%; } -section, .carousel, .parallax, .row, .hr, .blockquote { - min-height: 30px; -} - .carousel, .parallax, .blockquote { overflow: hidden; } diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 2c8d5d2fdda..fc3bdb6da39 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -234,8 +234,6 @@ ul.nav-stacked > li > a .oe_img_bg background-size: 100% -section, .carousel, .parallax, .row, .hr, .blockquote - min-height: 30px .carousel, .parallax, .blockquote overflow: hidden -- cgit v1.2.3 From aa63c564629e6f3ecb72f1d8039e353158a1754d Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Wed, 26 Mar 2014 15:16:29 +0100 Subject: [IMP] website editor: add style button on image bzr revid: chm@openerp.com-20140326141629-diz4rk0789no7yyl --- addons/website/static/src/css/editor.css | 5 +++-- addons/website/static/src/css/editor.sass | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index da0fad43caf..8192a6e1111 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -296,11 +296,12 @@ ul.oe_menu_editor .disclose { background-color: #ffd9dd !important; } -.hover-edition-button { +.hover-edition { + display: inline-block; position: absolute; top: 0; left: 0; - z-index: 1000; + z-index: 1001; } .cke_editable .fa { diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 4571dcd257e..c0f946e0f6f 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -259,7 +259,8 @@ $attachment-border-color: #848490 outline: 1px solid red !important background-color: #ffd9dd !important -.hover-edition-button +.hover-edition + display: inline-block position: absolute top: 0 left: 0 -- cgit v1.2.3 From c15e5b5163de3310b4ffe9f486df79ecbe80e445 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Thu, 27 Mar 2014 11:51:03 +0100 Subject: [WIP] website media editor bzr revid: chm@openerp.com-20140327105103-r4laze34bf0z62o2 --- addons/website/static/src/css/editor.css | 11 ++++++++++- addons/website/static/src/css/editor.sass | 6 ++++++ 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 8192a6e1111..1256af59369 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -301,7 +301,16 @@ ul.oe_menu_editor .disclose { position: absolute; top: 0; left: 0; - z-index: 1001; + z-index: 1000; +} + +.preview-container { + height: 100px; +} +.preview-container > * { + max-height: 100px; + margin: 0 auto; + display: block; } .cke_editable .fa { diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index c0f946e0f6f..4543fce4500 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -266,6 +266,12 @@ $attachment-border-color: #848490 left: 0 // This z-index is due to .navbar of bootstrap z-index: 1000 +.preview-container + height: 100px + > * + max-height: 100px + margin: 0 auto + display: block // fontawesome .cke_editable .fa -- cgit v1.2.3 From c8d0175e61df8cc4abaf359b84a3453b4142cc10 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Thu, 27 Mar 2014 17:03:24 +0100 Subject: [IMP] website media editor: change template bzr revid: chm@openerp.com-20140327160324-yb1cwpsgqymxsf83 --- addons/website/static/src/css/editor.css | 13 ++++++++++--- addons/website/static/src/css/editor.sass | 15 +++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 1256af59369..1f4e0aecfdb 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -180,7 +180,7 @@ ul.oe_menu_editor .disclose { cursor: text !important; } -.modal-dialog.select-image { +.modal-dialog.select-media { width: 80%; } @@ -271,6 +271,10 @@ ul.oe_menu_editor .disclose { -webkit-border-bottom-right-radius: 8px; border-bottom-right-radius: 8px; } +.existing-attachments .existing-attachment-cell.media_selected > i, .existing-attachments .existing-attachment-cell.media_selected > img { + border-width: 5px; + border-color: #00f8f8; +} .cke_widget_wrapper { position: static !important; @@ -301,16 +305,19 @@ ul.oe_menu_editor .disclose { position: absolute; top: 0; left: 0; - z-index: 1000; + z-index: 1001; } .preview-container { + text-align: center; + line-height: 100px; height: 100px; } .preview-container > * { max-height: 100px; + line-height: 100px; margin: 0 auto; - display: block; + display: inline-block; } .cke_editable .fa { diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 4543fce4500..50f9b3e815e 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -150,7 +150,7 @@ ul.oe_menu_editor +user-select(auto) cursor: text !important -.modal-dialog.select-image +.modal-dialog.select-media width: 80% .modal .existing-attachments @@ -232,6 +232,10 @@ $attachment-border-color: #848490 border-top: none border-left: none +border-bottom-right-radius(8px) + &.media_selected + > i, > img + border-width: 5px + border-color: rgb(0, 248, 248) // wrapper positioned relatively for drag&drop widget which is disabled below. // Breaks completely horribly crazy products listing page, so take it out. @@ -264,14 +268,17 @@ $attachment-border-color: #848490 position: absolute top: 0 left: 0 - // This z-index is due to .navbar of bootstrap - z-index: 1000 + // This z-index is due to .navbar of bootstrap & jQuery-transfo + z-index: 1001 .preview-container + text-align: center + line-height: 100px height: 100px > * max-height: 100px + line-height: 100px margin: 0 auto - display: block + display: inline-block // fontawesome .cke_editable .fa -- cgit v1.2.3 From e289e23298fc91e675f0a7686d3a769ff53663fb Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Thu, 27 Mar 2014 18:14:17 +0100 Subject: [WIP] website media editor bzr revid: chm@openerp.com-20140327171417-nz2cd8tn2dmmljge --- addons/website/static/src/css/editor.css | 4 ++++ addons/website/static/src/css/editor.sass | 3 +++ 2 files changed, 7 insertions(+) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 1f4e0aecfdb..208cde08b45 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -324,6 +324,10 @@ ul.oe_menu_editor .disclose { cursor: pointer; } +.img-responsive { + text-align: center; +} + /* ---- MOBILE PREVIEW ---- {{{ */ .oe_mobile_preview.modal .modal-content { height: 660px; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 50f9b3e815e..f3aeb492883 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -284,6 +284,9 @@ $attachment-border-color: #848490 .cke_editable .fa cursor: pointer +.img-responsive + text-align: center + // }}} /* ---- MOBILE PREVIEW ---- {{{ */ -- cgit v1.2.3 From b0625b1191eaf24a191b8937327809bc0ca0e7d4 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Fri, 28 Mar 2014 11:44:53 +0100 Subject: [IMP] website: add video media editor bzr revid: chm@openerp.com-20140328104453-2faynhhc1wi5598l --- addons/website/static/src/css/website.css | 16 ++++++++++++---- addons/website/static/src/css/website.sass | 10 ++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index e734525ee08..29d4e06eaff 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -1,3 +1,4 @@ +@charset "utf-8"; /* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY * * css for editor buttons, openerp widget included in the website and other @@ -531,8 +532,15 @@ span[data-oe-type="monetary"] { margin: 40px auto; } -.oe_website_overflow_ellipsis{ - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; +div.media_iframe_video { + height: 0; + margin: 0 auto; + text-align: center; + position: relative; + overflow: hidden; + padding-bottom: 66.5%; +} +div.media_iframe_video iframe { + width: 100%; + height: 100%; } diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 3bdda2cb720..0d545e4362d 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -435,3 +435,13 @@ span[data-oe-type="monetary"] overflow:hidden text-overflow:ellipsis +div.media_iframe_video + height: 0 + margin: 0 auto + text-align: center + position: relative + overflow: hidden + padding-bottom: 66.5% + iframe + width: 100% + height: 100% \ No newline at end of file -- cgit v1.2.3 From 31269ba52fafb2238b027b3c42e81acbaacfd9d4 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Fri, 28 Mar 2014 15:16:19 +0100 Subject: [IMP] website: media editor doubleclick for video and begin to use snippet builder bzr revid: chm@openerp.com-20140328141619-x9okgixai2v5dekr --- addons/website/static/src/css/editor.css | 4 ++++ addons/website/static/src/css/editor.sass | 3 +++ addons/website/static/src/css/website.css | 6 ++++++ addons/website/static/src/css/website.sass | 7 ++++++- 4 files changed, 19 insertions(+), 1 deletion(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 208cde08b45..36de51db096 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -94,6 +94,10 @@ display: none; } +.cke_editable .css_editable_mode_display { + display: block !important; +} + .oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child { background-image: url("/website/static/src/img/edit_here.png") !important; } diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index f3aeb492883..7a9c59d8167 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -77,6 +77,9 @@ .cke_editable .css_editable_mode_hidden display: none +.cke_editable .css_editable_mode_display + display: block !important + .oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child background-image: url('/website/static/src/img/edit_here.png') !important diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 29d4e06eaff..90dddb9caf3 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -544,3 +544,9 @@ div.media_iframe_video iframe { width: 100%; height: 100%; } +div.media_iframe_video div { + position: absolute; + width: 100%; + height: 100%; + display: none; +} diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 0d545e4362d..5923f619d86 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -444,4 +444,9 @@ div.media_iframe_video padding-bottom: 66.5% iframe width: 100% - height: 100% \ No newline at end of file + height: 100% + div + position: absolute + width: 100% + height: 100% + display: none \ No newline at end of file -- cgit v1.2.3 From e94c9eea4e61f3cfdfde0197eea7835cf64db347 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Mon, 31 Mar 2014 10:10:27 +0200 Subject: [WIP] website: media editor bzr revid: chm@openerp.com-20140331081027-v1eikz3ei78xjjqz --- addons/website/static/src/css/snippets.css | 1 + addons/website/static/src/css/snippets.sass | 1 + 2 files changed, 2 insertions(+) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/snippets.css b/addons/website/static/src/css/snippets.css index 726855f311b..f5217660e29 100644 --- a/addons/website/static/src/css/snippets.css +++ b/addons/website/static/src/css/snippets.css @@ -201,6 +201,7 @@ height: 0; position: absolute; background: transparent; + z-index: 1001; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; diff --git a/addons/website/static/src/css/snippets.sass b/addons/website/static/src/css/snippets.sass index 9b12e9df246..69afbb14f2d 100644 --- a/addons/website/static/src/css/snippets.sass +++ b/addons/website/static/src/css/snippets.sass @@ -151,6 +151,7 @@ height: 0 position: absolute background: transparent + z-index: 1001 //@include background-image( repeating-linear-gradient(45deg, rgba(255,255,255,.02) ,rgba(255,255,255,.02) 35px, rgba(0,0,0,.02) 35px, rgba(0,0,0,.02) 75px)) +border-radius(3px) @include transition(opacity 100ms linear) -- cgit v1.2.3 From 4281a3f89ff0a2710e63f60b5b702d958844500f Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Mon, 31 Mar 2014 12:10:43 +0200 Subject: [FIX] website: snippet typo of resize button bzr revid: chm@openerp.com-20140331101043-0mf3c6pndz133huy --- addons/website/static/src/css/snippets.css | 3 ++- addons/website/static/src/css/snippets.sass | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/snippets.css b/addons/website/static/src/css/snippets.css index f5217660e29..5d93edce80e 100644 --- a/addons/website/static/src/css/snippets.css +++ b/addons/website/static/src/css/snippets.css @@ -326,6 +326,7 @@ top: auto; left: 50%; bottom: -6px; + margin-left: -50px; } .oe_overlay .oe_handle.size .oe_handle_button { z-index: 3; @@ -347,7 +348,7 @@ top: 9px; } .oe_overlay .oe_handle.size .auto_size { - width: 20px; + width: 100px; padding: 0 5px; top: 1px; margin-left: 36px; diff --git a/addons/website/static/src/css/snippets.sass b/addons/website/static/src/css/snippets.sass index 69afbb14f2d..3f57ca4464d 100644 --- a/addons/website/static/src/css/snippets.sass +++ b/addons/website/static/src/css/snippets.sass @@ -239,6 +239,7 @@ top: auto left: 50% bottom: -6px + margin-left: -50px .oe_handle_button z-index: 3 text-align: center @@ -254,7 +255,7 @@ cursor: row-resize top: 9px .auto_size - width: 20px + width: 100px padding: 0 5px top: 1px margin-left: 36px -- cgit v1.2.3 From e81c205b188c8223b42250f4bba4b6da880021e0 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Mon, 31 Mar 2014 15:03:04 +0200 Subject: [FIX] website: snippet: link carousel-control bzr revid: chm@openerp.com-20140331130304-v1winnhp41agb030 --- addons/website/static/src/css/website.css | 20 ++++++++++++++++---- addons/website/static/src/css/website.sass | 18 ++++++++++++++---- 2 files changed, 30 insertions(+), 8 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 73bd1b0d55f..853afc26362 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -377,11 +377,23 @@ section, .carousel, .parallax, .row, .hr, .blockquote { position: absolute; margin-top: -8px; } -.carousel .carousel-control.left span { - left: 10px; +.carousel .carousel-control.left { + left: -10px; } -.carousel .carousel-control.right span { - right: 10px; +.carousel .carousel-control.left * { + position: absolute; + top: 50%; + z-index: 5; + right: 50%; +} +.carousel .carousel-control.right { + right: -10px; +} +.carousel .carousel-control.right * { + position: absolute; + top: 50%; + z-index: 5; + left: 50%; } .quotecarousel { diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index c8eed32b15e..f19472c99da 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -308,10 +308,20 @@ section, .carousel, .parallax, .row, .hr, .blockquote top: 50% position: absolute margin-top: -8px - &.left span - left: 10px - &.right span - right: 10px + &.left + left: -10px + * + position: absolute + top: 50% + z-index: 5 + right: 50% + &.right + right: -10px + * + position: absolute + top: 50% + z-index: 5 + left: 50% .quotecarousel padding-bottom: 16px -- cgit v1.2.3 From cdf4636dcefc3e2fd659774b43f72c5a3c75fa61 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Mon, 7 Apr 2014 10:17:51 +0200 Subject: [IMP] website: media editor: remove previous and next button for picto bzr revid: chm@openerp.com-20140407081751-upxilacnt4szk4s6 --- addons/website/static/src/css/editor.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 7a9c59d8167..fb80fa47277 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -182,7 +182,7 @@ ul.oe_menu_editor .modal .font-icons-icons font-size: 2em - max-height: 6em + max-height: 9em overflow: auto .font-icons-icon -- cgit v1.2.3 From d65b2cff231ecc426946d576b9ee10dbbbf7f98c Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Mon, 7 Apr 2014 13:23:30 +0200 Subject: [IMP] website: snippet editor, move resize button bzr revid: chm@openerp.com-20140407112330-6cj02vlmcs9gwxst --- addons/website/static/src/css/editor.css | 2 +- addons/website/static/src/css/snippets.css | 11 +++++++---- addons/website/static/src/css/snippets.sass | 11 +++++++---- 3 files changed, 15 insertions(+), 9 deletions(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 36de51db096..eb4c5b2851c 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -216,7 +216,7 @@ ul.oe_menu_editor .disclose { .modal .font-icons-icons { font-size: 2em; - max-height: 6em; + max-height: 9em; overflow: auto; } .modal .font-icons-icons .font-icons-icon { diff --git a/addons/website/static/src/css/snippets.css b/addons/website/static/src/css/snippets.css index 5d93edce80e..cbfca8be131 100644 --- a/addons/website/static/src/css/snippets.css +++ b/addons/website/static/src/css/snippets.css @@ -329,9 +329,10 @@ margin-left: -50px; } .oe_overlay .oe_handle.size .oe_handle_button { + position: relative; z-index: 3; text-align: center; - margin-left: -32px; + margin-left: -52px; margin-top: -10px; left: 0px; } @@ -343,15 +344,17 @@ box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7); } .oe_overlay .oe_handle.size .size { + position: absolute; width: 64px; cursor: row-resize; top: 9px; + margin-left: 52px; + padding: 0 5px; } .oe_overlay .oe_handle.size .auto_size { + position: absolute; width: 100px; - padding: 0 5px; - top: 1px; - margin-left: 36px; + top: 9px; cursor: pointer; } .oe_overlay .oe_handle.readonly { diff --git a/addons/website/static/src/css/snippets.sass b/addons/website/static/src/css/snippets.sass index 3f57ca4464d..40467897e26 100644 --- a/addons/website/static/src/css/snippets.sass +++ b/addons/website/static/src/css/snippets.sass @@ -241,9 +241,10 @@ bottom: -6px margin-left: -50px .oe_handle_button + position: relative z-index: 3 text-align: center - margin-left: -32px + margin-left: -52px margin-top: -10px left: 0px &:hover @@ -251,14 +252,16 @@ color: #fff +box-shadow(0 0 5px 3px rgba(255,255,255,.7)) .size + position: absolute width: 64px cursor: row-resize top: 9px + margin-left: 52px + padding: 0 5px .auto_size + position: absolute width: 100px - padding: 0 5px - top: 1px - margin-left: 36px + top: 9px cursor: pointer &.readonly cursor: auto !important -- cgit v1.2.3 From 88eaa5f26fb7a44250eefa3abeb5d14b23559289 Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Wed, 9 Apr 2014 14:43:21 +0200 Subject: [IMP] website: remove transform in modile view and change order menu bzr revid: chm@openerp.com-20140409124321-cwu86whebzuwtz1e --- addons/website/static/src/css/website.css | 11 +++++++++++ addons/website/static/src/css/website.sass | 12 +++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 853afc26362..ad414f9e017 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -559,3 +559,14 @@ div.media_iframe_video div { height: 100%; display: none; } + +/* Mobile view */ +@media (max-width: 768px) { + img:not(.cke_iframe), .media_iframe_video, span.fa, i.fa { + -webkit-transform: none !important; + -moz-transform: none !important; + -ms-transform: none !important; + -o-transform: none !important; + transform: none !important; + } +} diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index f19472c99da..43e21f1d20f 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -458,4 +458,14 @@ div.media_iframe_video position: absolute width: 100% height: 100% - display: none \ No newline at end of file + display: none + +/* Mobile view */ + +@media (max-width: 768px) + img:not(.cke_iframe), .media_iframe_video, span.fa, i.fa + -webkit-transform: none !important + -moz-transform: none !important + -ms-transform: none !important + -o-transform: none !important + transform: none !important -- cgit v1.2.3 From f090689984bcb46f47eab3fdfc5e9a10a21722ab Mon Sep 17 00:00:00 2001 From: "chm@openerp.com" <> Date: Wed, 9 Apr 2014 16:07:33 +0200 Subject: [FIX] website: The separator block is not working (no drop zone) bzr revid: chm@openerp.com-20140409140733-ne0frg4o7b3c1lr0 --- addons/website/static/src/css/website.css | 5 +++++ addons/website/static/src/css/website.sass | 3 +++ 2 files changed, 8 insertions(+) (limited to 'addons/website/static/src/css') diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 87079d270e2..d0177570447 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -1,3 +1,4 @@ +@charset "utf-8"; /* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY * * css for editor buttons, openerp widget included in the website and other @@ -383,6 +384,10 @@ ul.nav-stacked > li > a { padding-bottom: 16px; } +.hr { + padding: 4px 0; +} + /* Parallax Theme */ div.carousel .carousel-indicators li { border: 1px solid grey; diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 73aa4f77737..e1b6975c3bf 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -314,6 +314,9 @@ ul.nav-stacked > li > a .quotecarousel padding-bottom: 16px +.hr + padding: 4px 0 + /* Parallax Theme */ div.carousel -- cgit v1.2.3