From 7d40a7db38cd11ebb1b6cb3e1dc1a6f2f5cae255 Mon Sep 17 00:00:00 2001 From: ddm Date: Thu, 22 Aug 2013 10:58:25 +0200 Subject: Mobile preview (initial commit) bzr revid: ddm@openerp.com-20130822085825-7mpsoi0nyujekg5f --- addons/website/static/src/css/editor.sass | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'addons/website/static/src/css/editor.sass') diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index f7ce999257e..4b3a8e98a91 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -128,4 +128,26 @@ &.oe_hover:before border-top: dashed 2px rgba(116, 255, 161, 0.72) +.oe_stop_scrolling + height: 100% + overflow: hidden + +#mobile-preview.modal + height: 617px + margin: auto + position: absolute + top: 0 + left: 0 + bottom: 0 + right: 0 + max-width: 325px + width: 325px + +#mobile-preview .modal-body + max-height: 600px + padding: 0 + margin: 0 +.oe_mobile_viewport + width: 320px + height: 568px \ No newline at end of file -- cgit v1.2.3