diff options
Diffstat (limited to 'src/styles/_legacy-plots.scss')
-rw-r--r-- | src/styles/_legacy-plots.scss | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/src/styles/_legacy-plots.scss b/src/styles/_legacy-plots.scss index a24295cc4..a5faf3ec5 100644 --- a/src/styles/_legacy-plots.scss +++ b/src/styles/_legacy-plots.scss @@ -1,5 +1,5 @@ /***************************************************************************** - * Open MCT, Copyright (c) 2014-2021, United States Government + * Open MCT, Copyright (c) 2014-2022, United States Government * as represented by the Administrator of the National Aeronautics and Space * Administration. All rights reserved. * @@ -65,7 +65,6 @@ mct-plot { .c-plot { @include abs($mainViewPad); display: flex; - flex-direction: column; overflow: hidden; min-height: $plotMinH; @@ -83,11 +82,18 @@ mct-plot { } .c-plot--stacked-container { + border: 1px solid transparent; display: flex; flex: 1 1 auto; flex-direction: column; min-height: $plotMinH; overflow: hidden; + + &[s-selected] { + .is-editing & { + border: $editMarqueeBorder; + } + } } ; @@ -118,7 +124,7 @@ mct-plot { } } - .is-in-small-container & { + .--width-less-than-600 & { .c-control-bar { display: none; } @@ -160,6 +166,10 @@ mct-plot { bottom: 0; left: 0; } + .alt-pressed { + // When alt is being pressed and user is hovering over the plot, set the cursor + @include cursorGrab(); + } .gl-plot-axis-area.gl-plot-x { top: auto; @@ -494,7 +504,7 @@ mct-plot { margin-bottom: $interiorMarginSm; } - .is-in-small-container & { + .--width-less-than-600 & { &.is-legend-hidden { display: none; } @@ -745,6 +755,12 @@ mct-plot { overflow: hidden; } +/***************** SCATTER PLOTS */ +.c-scatter-chart { + flex: 1 1 auto; + overflow: hidden; +} + /***************** CURSOR GUIDES */ [class*='c-cursor-guide'] { box-shadow: $shdwCursorGuide; |