summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/editor.sass
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
-rw-r--r--addons/website/static/src/css/editor.sass38
1 files changed, 27 insertions, 11 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 4b3a8e98a91..f324cabc348 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -71,7 +71,7 @@
border-radius: 3px
margin: 10px
margin-right: 0px
- cursor: move
+ cursor: move
position: relative
box-shadow: 0px 3px 10px rgba(0,0,0,0.2)
overflow: hidden
@@ -97,7 +97,7 @@
-webkit-transform-origin-x: 5px
-webkit-transform-origin-y: 10px
-webkit-transform: scale(0.095)
-
+
.oe_drop_zone
display: block
@@ -133,21 +133,37 @@
overflow: hidden
#mobile-preview.modal
- height: 617px
+ height: 660px
+ background-color: black
+ border: 2px solid
+ border-radius: 10px
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
+ max-width: 330px
+
+#mobile-preview
+ .modal-header
+ border-bottom: 0
+ border-top-left-radius: 10px
+ border-top-right-radius: 10px
+ .modal-body
+ max-height: 600px
+ padding: 0
+ margin: 0
.oe_mobile_viewport
width: 320px
- height: 568px \ No newline at end of file
+ height: 568px
+ padding: 5px
+ border: none
+
+.oe_mobile_preview_header
+ .close
+ color: lightgrey
+ opacity: 1
+ .close:hover
+ color: darkgrey