[Front-end] Integrate Hyperlink related changes from #1685 work

Fixes #1685
(cherry picked from commit 4dff369)
This commit is contained in:
Charles Hacskaylo
2017-08-14 11:57:49 -07:00
parent a58c484d71
commit 7c9a6bd817
3 changed files with 53 additions and 25 deletions

View File

@@ -73,6 +73,45 @@
display: none;
}
}
&.no-frame {
background: transparent !important;
border: none !important;
&.t-frame-outer > .t-rep-frame {
&.contents {
$m: 2px;
top: $m;
right: $m;
bottom: $m;
left: $m;
}
> .t-frame-inner {
> .object-browse-bar {
display: none;
}
> .object-holder.abs {
top: 0 !important;
}
}
}
}
/********************************************************** OBJECT TYPES */
.t-object-type-hyperlink {
.s-hyperlink.s-button {
// When a hyperlink is a button in a frame, make it expand to fill out to the object-holder
@extend .abs;
.label {
@include ellipsize();
@include transform(translateY(-50%));
padding: 0 $interiorMargin;
position: absolute;
min-width: 0;
left: 0; right: 0;
text-align: center;
top: 50%;
}
}
}
}
body.desktop .frame {