[IMP] website: snippet editor, move resize button

bzr revid: chm@openerp.com-20140407112330-6cj02vlmcs9gwxst
This commit is contained in:
chm@openerp.com 2014-04-07 13:23:30 +02:00
parent ad93089bc2
commit d65b2cff23
4 changed files with 17 additions and 11 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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
.auto_size
width: 100px
margin-left: 52px
padding: 0 5px
top: 1px
margin-left: 36px
.auto_size
position: absolute
width: 100px
top: 9px
cursor: pointer
&.readonly
cursor: auto !important

View File

@ -39,8 +39,8 @@
<div class='oe_handle e readonly'><div></div></div>
<div class='oe_handle w readonly'><div></div></div>
<div class='oe_handle size readonly'>
<div class="oe_handle_button size">Resize</div>
<div class="oe_handle_button auto_size">Auto Resize</div>
<div class="oe_handle_button size">Resize</div>
</div>
<div class='oe_handle s readonly'><div></div></div>
</div>