mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
[Front-end] Menu tweaks
Fixes #1729 Mini super-menu and related description text
This commit is contained in:
parent
78f49784a0
commit
bc7d92ee0d
@ -72,17 +72,12 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.s-menu {
|
||||
.menu {
|
||||
border-radius: $basicCr;
|
||||
@include containerSubtle($colorMenuBg, $colorMenuFg);
|
||||
@include boxShdw($shdwMenu);
|
||||
@include txtShdw($shdwMenuText);
|
||||
padding: $interiorMarginSm 0;
|
||||
}
|
||||
|
||||
.menu {
|
||||
// TODO: reduce size of icons
|
||||
@extend .s-menu;
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
@ -92,7 +87,6 @@
|
||||
box-sizing: border-box;
|
||||
border-top: 1px solid pullForward($colorMenuBg, 10%);
|
||||
color: $colorMenuFg;
|
||||
//color: pullForward($colorMenuBg, 60%);
|
||||
line-height: $menuLineH;
|
||||
padding: $interiorMarginSm $interiorMargin * 2 $interiorMarginSm ($interiorMargin * 2) + $treeTypeIconW;
|
||||
position: relative;
|
||||
@ -203,7 +197,6 @@
|
||||
}
|
||||
}
|
||||
&.menu-item-description {
|
||||
@include test(blue);
|
||||
overflow-y: hidden;
|
||||
padding: $interiorMargin * 5;
|
||||
width: $prw;
|
||||
@ -232,7 +225,7 @@
|
||||
&.mini {
|
||||
width: 400px;
|
||||
.col {
|
||||
height: 350px;
|
||||
height: 320px;
|
||||
max-height: 50vh;
|
||||
&.menu-items {
|
||||
font-size: 0.8em;
|
||||
|
@ -201,7 +201,7 @@ define(
|
||||
var options = [{
|
||||
key: 'fixed',
|
||||
name: 'Fixed Timespan Mode',
|
||||
description: 'Query and explore data that falls between two fixed datetimes',
|
||||
description: 'Query and explore data that falls between two fixed datetimes.',
|
||||
cssClass: 'icon-calendar'
|
||||
}];
|
||||
var clocks = {};
|
||||
|
@ -37,8 +37,7 @@ define(['EventEmitter'], function (EventEmitter) {
|
||||
this.key = 'local';
|
||||
this.cssClass = 'icon-clock';
|
||||
this.name = 'Local Clock';
|
||||
this.description = "Updates every second, providing UTC timestamps from " +
|
||||
"user's local computer.";
|
||||
this.description = "Provides UTC timestamps every second from the local system clock.";
|
||||
|
||||
this.period = period;
|
||||
this.timeoutHandle = undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user