[Frontend] Added top right resize corner

WTD-1404
WTD-1376
This commit is contained in:
Charles Hacskaylo
2015-06-30 09:27:56 -07:00
parent 8ee28c3918
commit af2ca49b23
4 changed files with 37 additions and 21 deletions

View File

@@ -32,11 +32,19 @@
.edit-corner {
width: $handleD;
height: $handleD;
&:hover {
z-index: 11;
}
&.edit-resize-nw {
@include border-bottom-right-radius($cr);
cursor: nw-resize;
top: 0; left: 0;
}
&.edit-resize-ne {
@include border-bottom-left-radius($cr);
cursor: ne-resize;
top: 0; right: 0;
}
&.edit-resize-se {
@include border-top-left-radius($cr);
cursor: se-resize;

View File

@@ -50,9 +50,7 @@
&.frame-template {
// Hide the view switcher by default when it's in an element that's in a frame context
// Frame template is used because we need to target the lowest nested frame
// This has the effect of hiding the view switcher in nested frames in edit mode, which is desirable currently (as it's non-functional)
.view-switcher {
//display: none;
opacity: 0;
z-index: 10;
}