2018-10-04 14:47:12 -07:00
|
|
|
/*****************************************************************************
|
2024-01-09 13:31:51 -08:00
|
|
|
* Open MCT, Copyright (c) 2014-2024, United States Government
|
2018-10-04 14:47:12 -07:00
|
|
|
* 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.
|
|
|
|
*****************************************************************************/
|
2018-09-26 15:34:44 -07:00
|
|
|
/******************************************************** TABLE */
|
2018-12-18 11:07:09 -08:00
|
|
|
table {
|
|
|
|
$minW: 50px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
thead {
|
2019-03-28 16:29:39 -07:00
|
|
|
th {
|
|
|
|
background: $colorTabHeaderBg;
|
|
|
|
|
|
|
|
+ th {
|
|
|
|
border-left: 1px solid $colorTabHeaderBorder;
|
2018-12-18 11:07:09 -08:00
|
|
|
}
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2018-12-18 11:07:09 -08:00
|
|
|
|
2023-05-18 14:54:46 -07:00
|
|
|
tbody {
|
2018-12-18 11:07:09 -08:00
|
|
|
tr + tr {
|
|
|
|
border-top: 1px solid $colorTabBorder;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
2018-12-18 11:07:09 -08:00
|
|
|
white-space: nowrap;
|
|
|
|
min-width: $minW;
|
|
|
|
padding: $tabularTdPadTB $tabularTdPadLR;
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2018-12-18 11:07:09 -08:00
|
|
|
vertical-align: top;
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2018-12-18 11:07:09 -08:00
|
|
|
}
|
|
|
|
|
2019-04-04 23:08:09 -07:00
|
|
|
.is-editing {
|
|
|
|
td.is-selectable {
|
|
|
|
&:hover {
|
|
|
|
background: rgba($editUIColorBg, 0.1);
|
|
|
|
box-shadow: inset rgba($editUIColorBg, 0.8) 0 0 0 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[s-selected] {
|
|
|
|
background: $editUIColorBg !important;
|
|
|
|
border: 1px solid $editUIColorFg !important;
|
|
|
|
color: $editUIColorFg !important;
|
|
|
|
box-shadow: $editFrameSelectedShdw;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2019-04-04 23:08:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************** C-TABLE */
|
2019-03-26 11:48:03 -07:00
|
|
|
div.c-table {
|
|
|
|
// When c-table is used as a wrapper element in more complex table views
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2019-07-25 13:47:40 -07:00
|
|
|
.c-table-wrapper {
|
|
|
|
// Wraps .c-control-bar and .c-table
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-03-31 15:56:06 -07:00
|
|
|
overflow: hidden;
|
2023-05-18 14:54:46 -07:00
|
|
|
|
2020-03-31 15:56:06 -07:00
|
|
|
// Using absolute here because sizing table can't calc width properly if padding is used
|
|
|
|
$p: $mainViewPad;
|
|
|
|
position: absolute;
|
|
|
|
top: $p;
|
|
|
|
right: $p;
|
|
|
|
bottom: $p;
|
|
|
|
left: $p;
|
2023-05-18 14:54:46 -07:00
|
|
|
|
2019-07-25 13:47:40 -07:00
|
|
|
> .c-table {
|
|
|
|
height: auto;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
|
[Staleness] API and Component Functionality (#6108)
* initial telemetry api updates for staleness support
* modifying staleness to a subsription style
* fixing variable name
* debuggin
* put the subscribe in the wrong place
* stale class for object views
* temp cyan border for testing
* added staleness to swg, working on stacked plot staleness
* WIP: stacked plot staleness
* reverting, going a different route
* staleness on stacked plots
* plot legend staleness
* remove debug code
* staleness for alphanumerics
* lad table and table set staleness
* overlay plot staleness
* remove debug code
* hardened lad staleness functionality fixed plots without composition bug
* adding staleness to gauges
* renaming telemetry age check functionality so it does not conflict with new staleness functionality
* couple one-off fixes here and there, and WIP for condition sets, moving to telemetry tables to facilitate styling of completed components
* small fix on lad tables, added staleness functionality to tables
* finishing up condition sets
* some cleaning up
* adding border to condition sets when an item is stale
* fixing dub sub
* addressing PR comment, moving repeated code to a function
* robustified the SWG stalenes provider, little fixes here and there as far as cleaning up listeners and... whatnot
* removing debug code
* typo fixes
* cleanin up debug code
* created a simple stalenes mixin for more basic usage in components
* more robustification, if a new staleness subscription happens, will now send the current staleness value if we have it, beefed up example stalenes swg provider
* beefed up staleness mixin a bit to give it more use
* copyright
* cleanin up ladtable code
* cleanin up ladtable code
* cleaning up lad table sets
* some minor updates
* Closes #6109
- New staleness glyph and font CSS added.
* Closes #6109
- Normalized staleness colors as theme constants.
- New mixins for staleness application to view elements.
- Applied staleness styling to all relevant view elements.
- TODO: smoke-test in Show theme.
* adding staleness utils helper, mixin and isStale functionalirty for telemtry api
* Closes #6109
- Refined style for Snow theme.
* need to have one domainObject per stalenes utility
* making sure we handle domains correctly while dealing with staleness
* couple fixes
* moving abort controller logic to a spot where it makes more sense
* added some more info for the StalenesProvider interface docs
* returning undefinded for ifStale requests with no provider
* debuggin
* debuggin
* missed "isStale" call in condtioncollections
* removing debug code and using mixin unsubscribe in gauge
* fixing tests
* more targeted tree item click
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-01-23 10:27:04 -08:00
|
|
|
&.is-stale {
|
|
|
|
@include isStaleHolder();
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
|
2022-06-03 18:24:43 -07:00
|
|
|
.--width-less-than-600 & {
|
UI enhancements (#3217)
* UI enhancements for #3176
- Large overlay now displays fullscreen;
* UI enhancements for #3176
- Adding new ".is-in-small-container" CSS - VERY WIP!
- TODO: fix table implementation;
* UI fixes for NIRVSS client #170
- Hide table header filter inputs when table is in small container;
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Add new `hideLegendWhenSmall` property;
- Remove 'hidden' from plot legend position options;
- Reduced opacity of tabular headers in Espresso theme;
- VERY, VERY WIP right now!
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Cleanups, indention, removed commented CSS;
- Tightened up spacing in plot Y axis;
* UI enhancements for #3176
- Move local controls for plots and imagery, prevent overlapping with
view large button when in a hidden frame in a layout;
- Finesse local control styling for increased legibility;
- Move l-state-indicators to avoid overlap with repositioned local
controls, finesse styling;
* UI enhancements for #3176
- Tweak large overlay close button for better visual alignment;
* UI enhancements for #3176
- Significant improvements to lines in Display Layouts;
- Increased border-width for lines and boxes;
- Code enhanced for proper handling of horizontal and
vertical lines - but still isn't working properly;
- Renamed box-view.scss to box-and-line-views.scss;
- VERY WIP!
* Fixed incorrect grid array reference
* UI enhancements for #3176
- Fixed final issue with Display Layout line drawing object, thank you
@deeptailor!;
* UI enhancements for #3176
- Contrast enhancements and markup normalization for `c-object-label`
elements in main view, Layout frames, Inspector and overlay;
- Enhanced `l-overlay-large` layout;
- Tightened up margins and spacing in plots;
- Refined `is-paused` styling in Telemetry Tables;
- Now hide Telemetry Tables 'Export Data' button if rows are selected,
which use a separate export button;
- Layout frames now hide button's text labels when small;
- Layout frames spacing tightened up and improved;
* UI enhancements for #3176
- Tweak Snow theme constants;
* UI enhancements for #3176
- Fixed ObjectFrame getOverlayElement method, added a wrapper div
around the viewed object to properly control resulting layout in the
overlay;
- Simplified preview CSS to remove background, border and padding;
- Layout tweaks to add space between scrollbar and thumbs in Imagery
view;
- Removed dev "-info" element in LineView.vue;
* UI enhancements for #3176
- Improved styling for 'edit lock' button;
* UI enhancements for #3176
- Show Display Layout frame "-move" bar on hover, rather than select, to
make it easier to select items with hidden frames, and only show -move
bar's drag grippy when that frame is selected;
- `pointer-events: none` applied to table's body and plot's plot areas
when placed in a Layout and being edited, prevents distracting
interactions (plot zoom/pan, table row selection) when selecting and
moving elements in a Layout;
- Refined hover styles for c-button to use $filterHov, simplified and
normalized hover styling;
- Converted a number of old `<a>` tags to `<buttons>` to normalize
styling and use the appropriate control;
- Edit lock button is now colored when locked;
* Fix linting issue
* Minor tweaks
- Tweaked control positioning;
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-07-21 21:01:38 -07:00
|
|
|
&:not(.is-paused) {
|
|
|
|
.c-table-control-bar {
|
|
|
|
display: none;
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
[Staleness] API and Component Functionality (#6108)
* initial telemetry api updates for staleness support
* modifying staleness to a subsription style
* fixing variable name
* debuggin
* put the subscribe in the wrong place
* stale class for object views
* temp cyan border for testing
* added staleness to swg, working on stacked plot staleness
* WIP: stacked plot staleness
* reverting, going a different route
* staleness on stacked plots
* plot legend staleness
* remove debug code
* staleness for alphanumerics
* lad table and table set staleness
* overlay plot staleness
* remove debug code
* hardened lad staleness functionality fixed plots without composition bug
* adding staleness to gauges
* renaming telemetry age check functionality so it does not conflict with new staleness functionality
* couple one-off fixes here and there, and WIP for condition sets, moving to telemetry tables to facilitate styling of completed components
* small fix on lad tables, added staleness functionality to tables
* finishing up condition sets
* some cleaning up
* adding border to condition sets when an item is stale
* fixing dub sub
* addressing PR comment, moving repeated code to a function
* robustified the SWG stalenes provider, little fixes here and there as far as cleaning up listeners and... whatnot
* removing debug code
* typo fixes
* cleanin up debug code
* created a simple stalenes mixin for more basic usage in components
* more robustification, if a new staleness subscription happens, will now send the current staleness value if we have it, beefed up example stalenes swg provider
* beefed up staleness mixin a bit to give it more use
* copyright
* cleanin up ladtable code
* cleanin up ladtable code
* cleaning up lad table sets
* some minor updates
* Closes #6109
- New staleness glyph and font CSS added.
* Closes #6109
- Normalized staleness colors as theme constants.
- New mixins for staleness application to view elements.
- Applied staleness styling to all relevant view elements.
- TODO: smoke-test in Show theme.
* adding staleness utils helper, mixin and isStale functionalirty for telemtry api
* Closes #6109
- Refined style for Snow theme.
* need to have one domainObject per stalenes utility
* making sure we handle domains correctly while dealing with staleness
* couple fixes
* moving abort controller logic to a spot where it makes more sense
* added some more info for the StalenesProvider interface docs
* returning undefinded for ifStale requests with no provider
* debuggin
* debuggin
* missed "isStale" call in condtioncollections
* removing debug code and using mixin unsubscribe in gauge
* fixing tests
* more targeted tree item click
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-01-23 10:27:04 -08:00
|
|
|
}
|
UI enhancements (#3217)
* UI enhancements for #3176
- Large overlay now displays fullscreen;
* UI enhancements for #3176
- Adding new ".is-in-small-container" CSS - VERY WIP!
- TODO: fix table implementation;
* UI fixes for NIRVSS client #170
- Hide table header filter inputs when table is in small container;
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Add new `hideLegendWhenSmall` property;
- Remove 'hidden' from plot legend position options;
- Reduced opacity of tabular headers in Espresso theme;
- VERY, VERY WIP right now!
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Cleanups, indention, removed commented CSS;
- Tightened up spacing in plot Y axis;
* UI enhancements for #3176
- Move local controls for plots and imagery, prevent overlapping with
view large button when in a hidden frame in a layout;
- Finesse local control styling for increased legibility;
- Move l-state-indicators to avoid overlap with repositioned local
controls, finesse styling;
* UI enhancements for #3176
- Tweak large overlay close button for better visual alignment;
* UI enhancements for #3176
- Significant improvements to lines in Display Layouts;
- Increased border-width for lines and boxes;
- Code enhanced for proper handling of horizontal and
vertical lines - but still isn't working properly;
- Renamed box-view.scss to box-and-line-views.scss;
- VERY WIP!
* Fixed incorrect grid array reference
* UI enhancements for #3176
- Fixed final issue with Display Layout line drawing object, thank you
@deeptailor!;
* UI enhancements for #3176
- Contrast enhancements and markup normalization for `c-object-label`
elements in main view, Layout frames, Inspector and overlay;
- Enhanced `l-overlay-large` layout;
- Tightened up margins and spacing in plots;
- Refined `is-paused` styling in Telemetry Tables;
- Now hide Telemetry Tables 'Export Data' button if rows are selected,
which use a separate export button;
- Layout frames now hide button's text labels when small;
- Layout frames spacing tightened up and improved;
* UI enhancements for #3176
- Tweak Snow theme constants;
* UI enhancements for #3176
- Fixed ObjectFrame getOverlayElement method, added a wrapper div
around the viewed object to properly control resulting layout in the
overlay;
- Simplified preview CSS to remove background, border and padding;
- Layout tweaks to add space between scrollbar and thumbs in Imagery
view;
- Removed dev "-info" element in LineView.vue;
* UI enhancements for #3176
- Improved styling for 'edit lock' button;
* UI enhancements for #3176
- Show Display Layout frame "-move" bar on hover, rather than select, to
make it easier to select items with hidden frames, and only show -move
bar's drag grippy when that frame is selected;
- `pointer-events: none` applied to table's body and plot's plot areas
when placed in a Layout and being edited, prevents distracting
interactions (plot zoom/pan, table row selection) when selecting and
moving elements in a Layout;
- Refined hover styles for c-button to use $filterHov, simplified and
normalized hover styling;
- Converted a number of old `<a>` tags to `<buttons>` to normalize
styling and use the appropriate control;
- Edit lock button is now colored when locked;
* Fix linting issue
* Minor tweaks
- Tweaked control positioning;
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-07-21 21:01:38 -07:00
|
|
|
.c-table-control-bar {
|
2020-11-19 09:53:06 -08:00
|
|
|
.c-icon-button,
|
UI enhancements (#3217)
* UI enhancements for #3176
- Large overlay now displays fullscreen;
* UI enhancements for #3176
- Adding new ".is-in-small-container" CSS - VERY WIP!
- TODO: fix table implementation;
* UI fixes for NIRVSS client #170
- Hide table header filter inputs when table is in small container;
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Add new `hideLegendWhenSmall` property;
- Remove 'hidden' from plot legend position options;
- Reduced opacity of tabular headers in Espresso theme;
- VERY, VERY WIP right now!
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Cleanups, indention, removed commented CSS;
- Tightened up spacing in plot Y axis;
* UI enhancements for #3176
- Move local controls for plots and imagery, prevent overlapping with
view large button when in a hidden frame in a layout;
- Finesse local control styling for increased legibility;
- Move l-state-indicators to avoid overlap with repositioned local
controls, finesse styling;
* UI enhancements for #3176
- Tweak large overlay close button for better visual alignment;
* UI enhancements for #3176
- Significant improvements to lines in Display Layouts;
- Increased border-width for lines and boxes;
- Code enhanced for proper handling of horizontal and
vertical lines - but still isn't working properly;
- Renamed box-view.scss to box-and-line-views.scss;
- VERY WIP!
* Fixed incorrect grid array reference
* UI enhancements for #3176
- Fixed final issue with Display Layout line drawing object, thank you
@deeptailor!;
* UI enhancements for #3176
- Contrast enhancements and markup normalization for `c-object-label`
elements in main view, Layout frames, Inspector and overlay;
- Enhanced `l-overlay-large` layout;
- Tightened up margins and spacing in plots;
- Refined `is-paused` styling in Telemetry Tables;
- Now hide Telemetry Tables 'Export Data' button if rows are selected,
which use a separate export button;
- Layout frames now hide button's text labels when small;
- Layout frames spacing tightened up and improved;
* UI enhancements for #3176
- Tweak Snow theme constants;
* UI enhancements for #3176
- Fixed ObjectFrame getOverlayElement method, added a wrapper div
around the viewed object to properly control resulting layout in the
overlay;
- Simplified preview CSS to remove background, border and padding;
- Layout tweaks to add space between scrollbar and thumbs in Imagery
view;
- Removed dev "-info" element in LineView.vue;
* UI enhancements for #3176
- Improved styling for 'edit lock' button;
* UI enhancements for #3176
- Show Display Layout frame "-move" bar on hover, rather than select, to
make it easier to select items with hidden frames, and only show -move
bar's drag grippy when that frame is selected;
- `pointer-events: none` applied to table's body and plot's plot areas
when placed in a Layout and being edited, prevents distracting
interactions (plot zoom/pan, table row selection) when selecting and
moving elements in a Layout;
- Refined hover styles for c-button to use $filterHov, simplified and
normalized hover styling;
- Converted a number of old `<a>` tags to `<buttons>` to normalize
styling and use the appropriate control;
- Edit lock button is now colored when locked;
* Fix linting issue
* Minor tweaks
- Tweaked control positioning;
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-07-21 21:01:38 -07:00
|
|
|
.c-click-icon,
|
|
|
|
.c-button {
|
|
|
|
&__label {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2019-07-25 13:47:40 -07:00
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2019-07-25 13:47:40 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-table-control-bar {
|
|
|
|
display: flex;
|
|
|
|
flex: 0 0 auto;
|
UI enhancements (#3217)
* UI enhancements for #3176
- Large overlay now displays fullscreen;
* UI enhancements for #3176
- Adding new ".is-in-small-container" CSS - VERY WIP!
- TODO: fix table implementation;
* UI fixes for NIRVSS client #170
- Hide table header filter inputs when table is in small container;
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Add new `hideLegendWhenSmall` property;
- Remove 'hidden' from plot legend position options;
- Reduced opacity of tabular headers in Espresso theme;
- VERY, VERY WIP right now!
* UI fixes for NIRVSS client #170
- Fixing legends and plot layout when small, and within a stacked plot;
- Cleanups, indention, removed commented CSS;
- Tightened up spacing in plot Y axis;
* UI enhancements for #3176
- Move local controls for plots and imagery, prevent overlapping with
view large button when in a hidden frame in a layout;
- Finesse local control styling for increased legibility;
- Move l-state-indicators to avoid overlap with repositioned local
controls, finesse styling;
* UI enhancements for #3176
- Tweak large overlay close button for better visual alignment;
* UI enhancements for #3176
- Significant improvements to lines in Display Layouts;
- Increased border-width for lines and boxes;
- Code enhanced for proper handling of horizontal and
vertical lines - but still isn't working properly;
- Renamed box-view.scss to box-and-line-views.scss;
- VERY WIP!
* Fixed incorrect grid array reference
* UI enhancements for #3176
- Fixed final issue with Display Layout line drawing object, thank you
@deeptailor!;
* UI enhancements for #3176
- Contrast enhancements and markup normalization for `c-object-label`
elements in main view, Layout frames, Inspector and overlay;
- Enhanced `l-overlay-large` layout;
- Tightened up margins and spacing in plots;
- Refined `is-paused` styling in Telemetry Tables;
- Now hide Telemetry Tables 'Export Data' button if rows are selected,
which use a separate export button;
- Layout frames now hide button's text labels when small;
- Layout frames spacing tightened up and improved;
* UI enhancements for #3176
- Tweak Snow theme constants;
* UI enhancements for #3176
- Fixed ObjectFrame getOverlayElement method, added a wrapper div
around the viewed object to properly control resulting layout in the
overlay;
- Simplified preview CSS to remove background, border and padding;
- Layout tweaks to add space between scrollbar and thumbs in Imagery
view;
- Removed dev "-info" element in LineView.vue;
* UI enhancements for #3176
- Improved styling for 'edit lock' button;
* UI enhancements for #3176
- Show Display Layout frame "-move" bar on hover, rather than select, to
make it easier to select items with hidden frames, and only show -move
bar's drag grippy when that frame is selected;
- `pointer-events: none` applied to table's body and plot's plot areas
when placed in a Layout and being edited, prevents distracting
interactions (plot zoom/pan, table row selection) when selecting and
moving elements in a Layout;
- Refined hover styles for c-button to use $filterHov, simplified and
normalized hover styling;
- Converted a number of old `<a>` tags to `<buttons>` to normalize
styling and use the appropriate control;
- Edit lock button is now colored when locked;
* Fix linting issue
* Minor tweaks
- Tweaked control positioning;
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-07-21 21:01:38 -07:00
|
|
|
//margin-bottom: $interiorMarginSm; // This approach to allow margin to go away when control bar is hidden
|
|
|
|
padding: $interiorMarginSm 0;
|
2023-05-18 14:54:46 -07:00
|
|
|
|
2019-07-25 13:47:40 -07:00
|
|
|
> * + * {
|
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-26 15:34:44 -07:00
|
|
|
.c-table {
|
|
|
|
// Can be used by any type of table, scrolling, LAD, etc.
|
2018-12-20 13:18:22 -08:00
|
|
|
$min-w: 50px;
|
|
|
|
|
|
|
|
width: 100%;
|
2018-09-26 15:34:44 -07:00
|
|
|
|
|
|
|
&__headers-w {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************* ELEMENTS */
|
2018-12-20 13:18:22 -08:00
|
|
|
thead tr,
|
2019-04-04 10:45:17 -07:00
|
|
|
&.c-table__headers {
|
2018-12-20 13:18:22 -08:00
|
|
|
background: $colorTabHeaderBg;
|
|
|
|
|
|
|
|
th {
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-left: 1px solid $colorTabHeaderBorder;
|
|
|
|
}
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2018-12-20 13:18:22 -08:00
|
|
|
|
|
|
|
tbody,
|
|
|
|
&__body {
|
|
|
|
tr:not(.c-table__group-header) + tr:not(.c-table__group-header) {
|
|
|
|
border-top: 1px solid $colorTabBorder;
|
2023-03-15 05:31:15 +04:00
|
|
|
}
|
|
|
|
transition: $transOut;
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
|
2023-03-15 05:31:15 +04:00
|
|
|
&__selectable-row {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background: $colorListItemBgHov;
|
|
|
|
filter: $filterHov;
|
|
|
|
transition: $transIn;
|
2018-12-20 13:18:22 -08:00
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2018-12-20 13:18:22 -08:00
|
|
|
|
|
|
|
&__group-header {
|
|
|
|
// tr element found in LAD Table Sets
|
|
|
|
border-top: 1px solid $colorTabHeaderBorder;
|
|
|
|
background: $colorTabGroupHeaderBg;
|
|
|
|
td {
|
|
|
|
color: $colorTabGroupHeaderFg;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
|
2018-09-26 15:34:44 -07:00
|
|
|
&--sortable {
|
|
|
|
.is-sorting {
|
|
|
|
&:after {
|
|
|
|
color: $colorIconAlias;
|
|
|
|
content: $glyph-icon-arrow-tall-up;
|
|
|
|
font-family: symbolsfont;
|
|
|
|
font-size: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
}
|
|
|
|
&.desc:after {
|
|
|
|
content: $glyph-icon-arrow-tall-down;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-sortable {
|
|
|
|
cursor: pointer;
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
}
|
2018-12-20 13:18:22 -08:00
|
|
|
}
|
|
|
|
|
2020-03-31 15:56:06 -07:00
|
|
|
.c-lad-table-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: $mainViewPad;
|
[Staleness] API and Component Functionality (#6108)
* initial telemetry api updates for staleness support
* modifying staleness to a subsription style
* fixing variable name
* debuggin
* put the subscribe in the wrong place
* stale class for object views
* temp cyan border for testing
* added staleness to swg, working on stacked plot staleness
* WIP: stacked plot staleness
* reverting, going a different route
* staleness on stacked plots
* plot legend staleness
* remove debug code
* staleness for alphanumerics
* lad table and table set staleness
* overlay plot staleness
* remove debug code
* hardened lad staleness functionality fixed plots without composition bug
* adding staleness to gauges
* renaming telemetry age check functionality so it does not conflict with new staleness functionality
* couple one-off fixes here and there, and WIP for condition sets, moving to telemetry tables to facilitate styling of completed components
* small fix on lad tables, added staleness functionality to tables
* finishing up condition sets
* some cleaning up
* adding border to condition sets when an item is stale
* fixing dub sub
* addressing PR comment, moving repeated code to a function
* robustified the SWG stalenes provider, little fixes here and there as far as cleaning up listeners and... whatnot
* removing debug code
* typo fixes
* cleanin up debug code
* created a simple stalenes mixin for more basic usage in components
* more robustification, if a new staleness subscription happens, will now send the current staleness value if we have it, beefed up example stalenes swg provider
* beefed up staleness mixin a bit to give it more use
* copyright
* cleanin up ladtable code
* cleanin up ladtable code
* cleaning up lad table sets
* some minor updates
* Closes #6109
- New staleness glyph and font CSS added.
* Closes #6109
- Normalized staleness colors as theme constants.
- New mixins for staleness application to view elements.
- Applied staleness styling to all relevant view elements.
- TODO: smoke-test in Show theme.
* adding staleness utils helper, mixin and isStale functionalirty for telemtry api
* Closes #6109
- Refined style for Snow theme.
* need to have one domainObject per stalenes utility
* making sure we handle domains correctly while dealing with staleness
* couple fixes
* moving abort controller logic to a spot where it makes more sense
* added some more info for the StalenesProvider interface docs
* returning undefinded for ifStale requests with no provider
* debuggin
* debuggin
* missed "isStale" call in condtioncollections
* removing debug code and using mixin unsubscribe in gauge
* fixing tests
* more targeted tree item click
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-01-23 10:27:04 -08:00
|
|
|
|
|
|
|
&.is-stale {
|
|
|
|
@include isStaleHolder();
|
|
|
|
}
|
2020-03-31 15:56:06 -07:00
|
|
|
}
|
|
|
|
|
2018-12-20 13:18:22 -08:00
|
|
|
.c-lad-table {
|
2023-03-17 17:30:35 -05:00
|
|
|
&.fixed-layout {
|
|
|
|
table-layout: fixed;
|
2018-12-20 13:18:22 -08:00
|
|
|
td {
|
2023-03-16 15:16:46 -05:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-12-20 13:18:22 -08:00
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
|
|
|
th,
|
|
|
|
td {
|
2018-12-20 13:18:22 -08:00
|
|
|
width: 33%; // Needed to prevent size jumping as values dynamically update
|
2023-03-17 17:30:35 -05:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
[Staleness] API and Component Functionality (#6108)
* initial telemetry api updates for staleness support
* modifying staleness to a subsription style
* fixing variable name
* debuggin
* put the subscribe in the wrong place
* stale class for object views
* temp cyan border for testing
* added staleness to swg, working on stacked plot staleness
* WIP: stacked plot staleness
* reverting, going a different route
* staleness on stacked plots
* plot legend staleness
* remove debug code
* staleness for alphanumerics
* lad table and table set staleness
* overlay plot staleness
* remove debug code
* hardened lad staleness functionality fixed plots without composition bug
* adding staleness to gauges
* renaming telemetry age check functionality so it does not conflict with new staleness functionality
* couple one-off fixes here and there, and WIP for condition sets, moving to telemetry tables to facilitate styling of completed components
* small fix on lad tables, added staleness functionality to tables
* finishing up condition sets
* some cleaning up
* adding border to condition sets when an item is stale
* fixing dub sub
* addressing PR comment, moving repeated code to a function
* robustified the SWG stalenes provider, little fixes here and there as far as cleaning up listeners and... whatnot
* removing debug code
* typo fixes
* cleanin up debug code
* created a simple stalenes mixin for more basic usage in components
* more robustification, if a new staleness subscription happens, will now send the current staleness value if we have it, beefed up example stalenes swg provider
* beefed up staleness mixin a bit to give it more use
* copyright
* cleanin up ladtable code
* cleanin up ladtable code
* cleaning up lad table sets
* some minor updates
* Closes #6109
- New staleness glyph and font CSS added.
* Closes #6109
- Normalized staleness colors as theme constants.
- New mixins for staleness application to view elements.
- Applied staleness styling to all relevant view elements.
- TODO: smoke-test in Show theme.
* adding staleness utils helper, mixin and isStale functionalirty for telemtry api
* Closes #6109
- Refined style for Snow theme.
* need to have one domainObject per stalenes utility
* making sure we handle domains correctly while dealing with staleness
* couple fixes
* moving abort controller logic to a spot where it makes more sense
* added some more info for the StalenesProvider interface docs
* returning undefinded for ifStale requests with no provider
* debuggin
* debuggin
* missed "isStale" call in condtioncollections
* removing debug code and using mixin unsubscribe in gauge
* fixing tests
* more targeted tree item click
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-01-23 10:27:04 -08:00
|
|
|
|
2023-03-28 14:38:52 -07:00
|
|
|
tbody tr {
|
|
|
|
&:hover {
|
|
|
|
background: $colorItemTreeHoverBg;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2023-03-28 14:38:52 -07:00
|
|
|
|
[Staleness] API and Component Functionality (#6108)
* initial telemetry api updates for staleness support
* modifying staleness to a subsription style
* fixing variable name
* debuggin
* put the subscribe in the wrong place
* stale class for object views
* temp cyan border for testing
* added staleness to swg, working on stacked plot staleness
* WIP: stacked plot staleness
* reverting, going a different route
* staleness on stacked plots
* plot legend staleness
* remove debug code
* staleness for alphanumerics
* lad table and table set staleness
* overlay plot staleness
* remove debug code
* hardened lad staleness functionality fixed plots without composition bug
* adding staleness to gauges
* renaming telemetry age check functionality so it does not conflict with new staleness functionality
* couple one-off fixes here and there, and WIP for condition sets, moving to telemetry tables to facilitate styling of completed components
* small fix on lad tables, added staleness functionality to tables
* finishing up condition sets
* some cleaning up
* adding border to condition sets when an item is stale
* fixing dub sub
* addressing PR comment, moving repeated code to a function
* robustified the SWG stalenes provider, little fixes here and there as far as cleaning up listeners and... whatnot
* removing debug code
* typo fixes
* cleanin up debug code
* created a simple stalenes mixin for more basic usage in components
* more robustification, if a new staleness subscription happens, will now send the current staleness value if we have it, beefed up example stalenes swg provider
* beefed up staleness mixin a bit to give it more use
* copyright
* cleanin up ladtable code
* cleanin up ladtable code
* cleaning up lad table sets
* some minor updates
* Closes #6109
- New staleness glyph and font CSS added.
* Closes #6109
- Normalized staleness colors as theme constants.
- New mixins for staleness application to view elements.
- Applied staleness styling to all relevant view elements.
- TODO: smoke-test in Show theme.
* adding staleness utils helper, mixin and isStale functionalirty for telemtry api
* Closes #6109
- Refined style for Snow theme.
* need to have one domainObject per stalenes utility
* making sure we handle domains correctly while dealing with staleness
* couple fixes
* moving abort controller logic to a spot where it makes more sense
* added some more info for the StalenesProvider interface docs
* returning undefinded for ifStale requests with no provider
* debuggin
* debuggin
* missed "isStale" call in condtioncollections
* removing debug code and using mixin unsubscribe in gauge
* fixing tests
* more targeted tree item click
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-01-23 10:27:04 -08:00
|
|
|
td {
|
2023-03-28 14:38:52 -07:00
|
|
|
user-select: none; // Table supports context-click to display Actions menu, don't allow text selection.
|
|
|
|
|
[Staleness] API and Component Functionality (#6108)
* initial telemetry api updates for staleness support
* modifying staleness to a subsription style
* fixing variable name
* debuggin
* put the subscribe in the wrong place
* stale class for object views
* temp cyan border for testing
* added staleness to swg, working on stacked plot staleness
* WIP: stacked plot staleness
* reverting, going a different route
* staleness on stacked plots
* plot legend staleness
* remove debug code
* staleness for alphanumerics
* lad table and table set staleness
* overlay plot staleness
* remove debug code
* hardened lad staleness functionality fixed plots without composition bug
* adding staleness to gauges
* renaming telemetry age check functionality so it does not conflict with new staleness functionality
* couple one-off fixes here and there, and WIP for condition sets, moving to telemetry tables to facilitate styling of completed components
* small fix on lad tables, added staleness functionality to tables
* finishing up condition sets
* some cleaning up
* adding border to condition sets when an item is stale
* fixing dub sub
* addressing PR comment, moving repeated code to a function
* robustified the SWG stalenes provider, little fixes here and there as far as cleaning up listeners and... whatnot
* removing debug code
* typo fixes
* cleanin up debug code
* created a simple stalenes mixin for more basic usage in components
* more robustification, if a new staleness subscription happens, will now send the current staleness value if we have it, beefed up example stalenes swg provider
* beefed up staleness mixin a bit to give it more use
* copyright
* cleanin up ladtable code
* cleanin up ladtable code
* cleaning up lad table sets
* some minor updates
* Closes #6109
- New staleness glyph and font CSS added.
* Closes #6109
- Normalized staleness colors as theme constants.
- New mixins for staleness application to view elements.
- Applied staleness styling to all relevant view elements.
- TODO: smoke-test in Show theme.
* adding staleness utils helper, mixin and isStale functionalirty for telemtry api
* Closes #6109
- Refined style for Snow theme.
* need to have one domainObject per stalenes utility
* making sure we handle domains correctly while dealing with staleness
* couple fixes
* moving abort controller logic to a spot where it makes more sense
* added some more info for the StalenesProvider interface docs
* returning undefinded for ifStale requests with no provider
* debuggin
* debuggin
* missed "isStale" call in condtioncollections
* removing debug code and using mixin unsubscribe in gauge
* fixing tests
* more targeted tree item click
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-01-23 10:27:04 -08:00
|
|
|
&.is-stale {
|
|
|
|
@include isStaleElement();
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2019-03-26 11:38:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/************************************** TABLE AND SUMMARY VIEWS */
|
|
|
|
// Displays summary values above a table.
|
|
|
|
|
|
|
|
.c-table-and-summary {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
> * + * {
|
|
|
|
margin-top: $interiorMargin;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__summary {
|
|
|
|
display: flex;
|
|
|
|
justify-items: stretch;
|
|
|
|
|
|
|
|
> * + * {
|
|
|
|
margin-left: 1px;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2019-03-26 11:38:38 -07:00
|
|
|
|
|
|
|
&__summary-item {
|
|
|
|
background: $colorSummaryBg;
|
|
|
|
color: $colorSummaryFg;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding: $interiorMargin $interiorMarginLg;
|
|
|
|
|
|
|
|
em {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $colorSummaryFgEm;
|
|
|
|
}
|
2023-05-18 14:54:46 -07:00
|
|
|
}
|
2019-03-26 11:38:38 -07:00
|
|
|
}
|