[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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user