[Frontend] Minor tweaks to sizing of controls

open #95b
View switcher and plot control buttons now made small
when object is in a frame context in a Layout;
This commit is contained in:
Charles Hacskaylo
2015-09-21 14:24:19 -07:00
parent 9a7f435b61
commit c9b2f5804d
7 changed files with 97 additions and 48 deletions

View File

@@ -20,7 +20,7 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
.frame {
$ohH: 16px;
$ohH: $btnFrameH;
$bc: $colorInteriorBorder;
&.child-frame.panel {
background: $colorBodyBg;
@@ -46,14 +46,23 @@
left: $myM;
}
&.frame-template {
.view-switcher {
.s-btn,
.s-menu {
height: $ohH;
line-height: $ohH;
z-index: 10;
padding: 0 $interiorMargin;
> span {
font-size: 0.7rem;
font-size: 0.65rem;
}
}
.s-menu:after {
font-size: 8px;
}
.view-switcher {
z-index: 10;
}
// 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
@include desktop {