* [Frontend] Viewport metatag updated Fixes #2008 - Added shrink-to-fit=no; * [Frontend] Fix to Time Conductor for Safari Fixes #2008 - CSS mod for gradient blockers in TC * [Frontend] Remove data visualization element in TC Fixes #2008 - Note: this element holds the TOI indicator! * [Frontend] Hide TC ticks when on mobile Fixes #2008 - Added class `mobile-hide` to <conductor-axis> * [Frontend] Significant mobile fixes for panes and viewport Fixes #2008 Fixes #1770 Fixes #1928 - Left and right panes now positioning properly in mobile; - Fixed body overflow problem for #2008 "viewport" issue; * fixes multiple issues related to 2008 context menu firing too often - fixed by setting a isDragging flag Add and Remove respective classes on mobile orientation change by using mathMedia Close tree pane when navigating in mobile portrait only * [Frontend] Various Fixes #2008 - Always show Timeline zoom controls; - Prevent inline editing of object names in the main view when in mobile; * Add touch functionality to mct-drag it allows users to use the splitter in mobile and include appropriate tests * remove couchdb and reinstall localStorage * [Frontend] Mods to imagery CSS Fixes #2008 - Reduced size of image thumbnails; - Changed min-heights of image and thumbnail holders for .mobile.phone * [Frontend] Add Advanced CSS property to Display Layouts - WIP! - Add property to bundle; - Add CSS for column, row and fit-all classes; * [Frontend] Grid holder and class prefixing - WIP! - Edit grid-holder set to position: absolute - Added "fl-" prefix to fluid layout class names; * [Frontend] More CSS tweaks - WIP! * [Frontend] Added .drag-vertical - For use in Elements pool; - Applied in elements.html; * fix: check if stats is present before reseting zoom (#2029) * [Timer] Fix regression in timer visual indication and add tests * [TimeConductor] Fixes Issue #925 (#2020) * [TimeConductor] Fixes Issue #925` - Pressing enter in date field will update bounds properly in Safari * [Copyright] Update copyright year across platform code references Fixes #2034. * fixes issue #1999 - Use Object name as default export filename (#2001) * fixes issue #1999 add dynamic name(object name) to exportAsCSV filename * make requested changes * [Frontend] Add Advanced CSS property to Display Layouts - WIP! - Add property to bundle; - Add CSS for column, row and fit-all classes; * [Frontend] Grid holder and class prefixing - WIP! - Edit grid-holder set to position: absolute - Added "fl-" prefix to fluid layout class names; * [Frontend] More CSS tweaks - WIP! * [Frontend] Added .drag-vertical - For use in Elements pool; - Applied in elements.html; * [Frontend] More CSS tweaks - WIP! - Added .fl-phone-best-fit * working drag and switch, need to mutate * fix conflict * add ability to rearrange composition using drag gestures * add maxHeight and maxWidth to layout frames * [Frontend] Added fl-mobile-best-fit * [Frontend] Allow editor to set mins dimensions for fluid layout - Cleanups in CSS; - Mod to LayoutController.js to use minWidth and minHeight; * [Frontend] Styles for reordering in Elements pool - Changed class "dragging" to "reordering"; - Visual styling WIP; - TODO: style "reorder-actor" when implemented; * add reorder-actor class to draggable item in elements pool when selected and remove class when dropped * stacked plots reload on composition change * [Frontend] Tweaks to Elements pool reordering styles - "reorder-actor" added/removed from parent tree item; - Refined styling for drag in process in list; * [Frontend] Added new 12px list view glyph - Font files and CSS updates; * [Frontend] Added new 12px grippy glyph - Font files and CSS updates for Elements pool sorting styling; * fix failing test * make reviewer requested changes * remove create dialog from mobile
193 lines
5.2 KiB
SCSS
193 lines
5.2 KiB
SCSS
/*****************************************************************************
|
|
* Open MCT, Copyright (c) 2014-2018, United States Government
|
|
* as represented by the Administrator of the National Aeronautics and Space
|
|
* Administration. All rights reserved.
|
|
*
|
|
* Open MCT is licensed under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0.
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations
|
|
* under the License.
|
|
*
|
|
* Open MCT includes source code licensed under additional open source
|
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
* this source code distribution or the Licensing information page available
|
|
* at runtime from the About dialog for additional information.
|
|
*****************************************************************************/
|
|
|
|
ul.tree {
|
|
@include menuUlReset();
|
|
@include user-select(none);
|
|
> li {
|
|
display: block;
|
|
align-content: flex-end;
|
|
position: relative;
|
|
.grippy-sm {
|
|
font-size: 12px;
|
|
margin-right: $interiorMargin;
|
|
opacity: 0.5;
|
|
width: 1em;
|
|
}
|
|
}
|
|
ul.tree {
|
|
margin-left: $treeVCW + $interiorMargin;
|
|
}
|
|
}
|
|
|
|
.tree-item,
|
|
.search-result-item {
|
|
@extend .l-flex-row;
|
|
box-sizing: border-box;
|
|
border-radius: $basicCr;
|
|
@include transition(background-color, 0.25s);
|
|
font-size: 0.8rem;
|
|
height: $menuLineH;
|
|
line-height: $menuLineH;
|
|
margin-bottom: $interiorMarginSm;
|
|
padding: 0 $interiorMarginSm;
|
|
position: relative;
|
|
|
|
.flex-elem {
|
|
height: inherit !important;
|
|
line-height: inherit !important;
|
|
}
|
|
|
|
.view-control {
|
|
color: $colorItemTreeVC;
|
|
margin-right: $interiorMargin;
|
|
width: $treeVCW;
|
|
&:before { display: block; }
|
|
&.no-children {
|
|
&:before { display: none; }
|
|
}
|
|
}
|
|
|
|
.t-object-label {
|
|
line-height: $menuLineH;
|
|
.t-item-icon {
|
|
@include txtShdwSubtle($shdwItemTreeIcon);
|
|
font-size: $treeTypeIconH;
|
|
color: $colorItemTreeIcon;
|
|
width: $treeTypeIconW;
|
|
}
|
|
.t-title-label {
|
|
@include ellipsize();
|
|
}
|
|
}
|
|
|
|
&.selected {
|
|
background: $colorItemTreeSelectedBg !important;
|
|
color: $colorItemTreeSelectedFg !important;
|
|
.view-control {
|
|
color: $colorItemTreeSelectedVC;
|
|
}
|
|
.t-object-label .t-item-icon {
|
|
color: $colorItemTreeSelectedFg;
|
|
}
|
|
}
|
|
|
|
&:not(.loading) {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.context-trigger {
|
|
$h: 0.9rem;
|
|
top: -1px;
|
|
position: absolute;
|
|
right: $interiorMarginSm;
|
|
.invoke-menu {
|
|
font-size: 0.75em;
|
|
height: $h;
|
|
line-height: $h;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.desktop {
|
|
.tree-item,
|
|
.search-result-item {
|
|
.view-control {
|
|
&:hover {
|
|
color: $colorItemTreeVCHover !important;
|
|
}
|
|
}
|
|
&:not(.selected) {
|
|
&:hover {
|
|
background: $colorItemTreeHoverBg;
|
|
color: $colorItemTreeHoverFg;
|
|
.t-item-icon {
|
|
color: $colorItemTreeIconHover;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
ul.tree.reordering {
|
|
// User is drag reordering a tree item in a container that allows the action
|
|
.tree-item:not(.reorder-actor):hover {
|
|
background: rgba($colorKey, 0.2);
|
|
border: 1px dashed rgba($colorKey, 1);
|
|
> * {
|
|
opacity: 0.25;
|
|
}
|
|
}
|
|
}
|
|
|
|
mct-representation {
|
|
&.s-status-pending {
|
|
.t-object-label {
|
|
.t-item-icon {
|
|
&:before {
|
|
border-color: rgba($colorItemTreeIcon, 0.25);
|
|
border-top-color: rgba($colorItemTreeIcon, 1.0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.tree .s-status-editing,
|
|
.search-results .s-status-editing {
|
|
// Item is being edited
|
|
.tree-item,
|
|
.search-result-item {
|
|
background: $colorItemTreeEditingBg;
|
|
pointer-events: none;
|
|
&:before {
|
|
// Pencil icon
|
|
@extend .ui-symbol;
|
|
@include pulse($dur: 1s, $opacity0: 0.25);
|
|
color: $colorItemTreeEditingFg;
|
|
content: $glyph-icon-pencil;
|
|
margin-right: $interiorMarginSm;
|
|
}
|
|
.t-object-label {
|
|
.t-item-icon,
|
|
.t-title-label {
|
|
color: $colorItemTreeEditingFg;
|
|
text-shadow: none;
|
|
}
|
|
.t-title-label {
|
|
font-style: italic;
|
|
}
|
|
}
|
|
.view-control, + .tree-item-subtree {
|
|
display: none;
|
|
}
|
|
|
|
&.selected {
|
|
.t-title-label,
|
|
.t-item-icon,
|
|
&:before {
|
|
color: rgba($colorItemTreeSelectedFg, 0.5);
|
|
}
|
|
}
|
|
}
|
|
}
|