-
-
-
-
-
+ left: (tickWidth + 20) + 'px'
+ }">
+
+
+
+
Position
{{ config.legend.get('position') }}
+
+ Hide when plot small
+ {{ config.legend.get('hideLegendWhenSmall') ? "Yes" : "No" }}
+
Expand by Default
diff --git a/src/plugins/plot/res/templates/plot-options-edit.html b/src/plugins/plot/res/templates/plot-options-edit.html
index be3fa00eaf..bdfd39ef0c 100644
--- a/src/plugins/plot/res/templates/plot-options-edit.html
+++ b/src/plugins/plot/res/templates/plot-options-edit.html
@@ -174,7 +174,6 @@
title="The position of the legend relative to the plot display area.">Position
- Hidden
Top
Right
Bottom
@@ -182,6 +181,11 @@
+
+ Hide when plot small
+
+
Expand by default
diff --git a/src/plugins/plot/src/configuration/LegendModel.js b/src/plugins/plot/src/configuration/LegendModel.js
index fd13073292..bbf8d45db1 100644
--- a/src/plugins/plot/src/configuration/LegendModel.js
+++ b/src/plugins/plot/src/configuration/LegendModel.js
@@ -48,6 +48,7 @@ define([
return {
position: 'top',
expandByDefault: false,
+ hideLegendWhenSmall: false,
valueToShowWhenCollapsed: 'nearestValue',
showTimestampWhenExpanded: true,
showValueWhenExpanded: true,
diff --git a/src/plugins/plot/src/inspector/PlotLegendFormController.js b/src/plugins/plot/src/inspector/PlotLegendFormController.js
index adb8b86c4f..06e9eda0a8 100644
--- a/src/plugins/plot/src/inspector/PlotLegendFormController.js
+++ b/src/plugins/plot/src/inspector/PlotLegendFormController.js
@@ -32,6 +32,11 @@ define([
modelProp: 'position',
objectPath: 'configuration.legend.position'
},
+ {
+ modelProp: 'hideLegendWhenSmall',
+ coerce: Boolean,
+ objectPath: 'configuration.legend.hideLegendWhenSmall'
+ },
{
modelProp: 'expandByDefault',
coerce: Boolean,
diff --git a/src/plugins/telemetryTable/components/table.scss b/src/plugins/telemetryTable/components/table.scss
index 60ddb0a670..3ae1ffda89 100644
--- a/src/plugins/telemetryTable/components/table.scss
+++ b/src/plugins/telemetryTable/components/table.scss
@@ -54,6 +54,16 @@
width: 100%;
}
}
+
+ &__filter {
+ .c-table__search {
+ padding-top: 0;
+ padding-bottom: 0;
+ }
+ .is-in-small-container & {
+ display: none;
+ }
+ }
}
&__headers__label {
@@ -86,6 +96,10 @@
height: 0; // Fixes Chrome 73 overflow bug
overflow-x: auto;
overflow-y: scroll;
+
+ .is-editing & {
+ pointer-events: none;
+ }
}
/******************************* TABLES */
@@ -138,7 +152,7 @@
}
}
-/******************************* EDITING */
+/******************************* SPECIFIC CASE WRAPPERS */
.is-editing {
.c-telemetry-table__headers__labels {
th[draggable],
@@ -158,8 +172,10 @@
}
}
-.paused {
- border: 1px solid #ff9900;
+.is-paused {
+ .c-table__body-w {
+ border: 1px solid rgba($colorPausedBg, 0.8);
+ }
}
/******************************* LEGACY */
diff --git a/src/plugins/telemetryTable/components/table.vue b/src/plugins/telemetryTable/components/table.vue
index a52f07d419..81aabf458e 100644
--- a/src/plugins/telemetryTable/components/table.vue
+++ b/src/plugins/telemetryTable/components/table.vue
@@ -20,13 +20,16 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
-
+
diff --git a/src/styles/_constants-espresso.scss b/src/styles/_constants-espresso.scss
index d8d5253562..20c22775b5 100644
--- a/src/styles/_constants-espresso.scss
+++ b/src/styles/_constants-espresso.scss
@@ -84,6 +84,10 @@ $filterHov: brightness(1.3); // Tree, location items
$colorSelectedBg: pushBack($colorKey, 10%);
$colorSelectedFg: pullForward($colorBodyFg, 20%);
+// Object labels
+$objectLabelTypeIconOpacity: 0.7;
+$objectLabelNameFilter: brightness(1.3);
+
// Layout
$shellMainPad: 4px 0;
$shellPanePad: $interiorMargin, 7px;
@@ -94,7 +98,7 @@ $sideBarHeaderBg: rgba($colorBodyFg, 0.2);
$sideBarHeaderFg: rgba($colorBodyFg, 0.7);
// Status colors, mainly used for messaging and item ancillary symbols
-$colorStatusFg: #999;
+$colorStatusFg: #888;
$colorStatusDefault: #ccc;
$colorStatusInfo: #60ba7b;
$colorStatusInfoFilter: invert(58%) sepia(44%) saturate(405%) hue-rotate(85deg) brightness(102%) contrast(92%);
@@ -205,9 +209,9 @@ $colorBtnMajorBg: $colorKey;
$colorBtnMajorBgHov: $colorKeyHov;
$colorBtnMajorFg: $colorKeyFg;
$colorBtnMajorFgHov: pushBack($colorBtnMajorFg, 10%);
-$colorBtnCautionBg: #f16f6f;
+$colorBtnCautionBg: $colorStatusAlert;
$colorBtnCautionBgHov: #f1504e;
-$colorBtnCautionFg: $colorBtnFg;
+$colorBtnCautionFg: $colorBtnBg;
$colorBtnActiveBg: $colorOk;
$colorBtnActiveFg: $colorOkFg;
$colorBtnSelectedBg: $colorSelectedBg;
@@ -335,7 +339,7 @@ $shdwItemText: none;
$colorTabBorder: pullForward($colorBodyBg, 10%);
$colorTabBodyBg: $colorBodyBg;
$colorTabBodyFg: pullForward($colorBodyFg, 20%);
-$colorTabHeaderBg: rgba($colorBodyFg, 0.2);
+$colorTabHeaderBg: rgba($colorBodyFg, 0.15);
$colorTabHeaderFg: $colorBodyFg;
$colorTabHeaderBorder: $colorBodyBg;
$colorTabGroupHeaderBg: pullForward($colorBodyBg, 5%);
@@ -353,7 +357,7 @@ $stylePlotHash: dashed;
$colorPlotAreaBorder: $colorInteriorBorder;
$colorPlotLabelFg: pushBack($colorPlotFg, 20%);
$legendHoverValueBg: rgba($colorBodyFg, 0.2);
-$legendTableHeadBg: rgba($colorBodyFg, 0.15);
+$legendTableHeadBg: $colorTabHeaderBg;
// Tree
$colorTreeBg: transparent;
diff --git a/src/styles/_constants-maelstrom.scss b/src/styles/_constants-maelstrom.scss
index 6604c0b987..9c6593acc3 100644
--- a/src/styles/_constants-maelstrom.scss
+++ b/src/styles/_constants-maelstrom.scss
@@ -88,6 +88,10 @@ $filterHov: brightness(1.3); // Tree, location items
$colorSelectedBg: pushBack($colorKey, 10%);
$colorSelectedFg: pullForward($colorBodyFg, 20%);
+// Object labels
+$objectLabelTypeIconOpacity: 0.7;
+$objectLabelNameFilter: brightness(1.3);
+
// Layout
$shellMainPad: 4px 0;
$shellPanePad: $interiorMargin, 7px;
@@ -209,9 +213,9 @@ $colorBtnMajorBg: $colorKey;
$colorBtnMajorBgHov: $colorKeyHov;
$colorBtnMajorFg: $colorKeyFg;
$colorBtnMajorFgHov: pushBack($colorBtnMajorFg, 10%);
-$colorBtnCautionBg: #f16f6f;
+$colorBtnCautionBg: $colorStatusAlert;
$colorBtnCautionBgHov: #f1504e;
-$colorBtnCautionFg: $colorBtnFg;
+$colorBtnCautionFg: $colorBtnBg;
$colorBtnActiveBg: $colorOk;
$colorBtnActiveFg: $colorOkFg;
$colorBtnSelectedBg: $colorSelectedBg;
@@ -339,7 +343,7 @@ $shdwItemText: none;
$colorTabBorder: pullForward($colorBodyBg, 10%);
$colorTabBodyBg: $colorBodyBg;
$colorTabBodyFg: pullForward($colorBodyFg, 20%);
-$colorTabHeaderBg: rgba($colorBodyFg, 0.2);
+$colorTabHeaderBg: rgba($colorBodyFg, 0.15);
$colorTabHeaderFg: $colorBodyFg;
$colorTabHeaderBorder: $colorBodyBg;
$colorTabGroupHeaderBg: pullForward($colorBodyBg, 5%);
diff --git a/src/styles/_constants-snow.scss b/src/styles/_constants-snow.scss
index df0078b317..c6aec4ceb6 100644
--- a/src/styles/_constants-snow.scss
+++ b/src/styles/_constants-snow.scss
@@ -80,10 +80,14 @@ $uiColor: #289fec; // Resize bars, splitter bars, etc.
$colorInteriorBorder: rgba($colorBodyFg, 0.2);
$colorA: #999;
$colorAHov: $colorKey;
-$filterHov: brightness(1.3); // Tree, location items
+$filterHov: brightness(0.8) contrast(2); // Tree, location items
$colorSelectedBg: pushBack($colorKey, 40%);
$colorSelectedFg: pullForward($colorBodyFg, 10%);
+// Object labels
+$objectLabelTypeIconOpacity: 0.5;
+$objectLabelNameFilter: brightness(0.5);
+
// Layout
$shellMainPad: 4px 0;
$shellPanePad: $interiorMargin, 7px;
@@ -224,7 +228,7 @@ $colorDisclosureCtrlHov: rgba($colorBodyFg, 0.7);
$btnStdH: 24px;
$colorCursorGuide: rgba(black, 0.6);
$shdwCursorGuide: rgba(white, 0.4) 0 0 2px;
-$colorLocalControlOvrBg: rgba($colorBodyFg, 0.8);
+$colorLocalControlOvrBg: rgba($colorBodyBg, 0.8);
$colorSelectBg: $colorBtnBg; // This must be a solid color, not a gradient, due to usage of SVG bg in selects
$colorSelectFg: $colorBtnFg;
$colorSelectArw: lighten($colorBtnBg, 20%);
diff --git a/src/styles/_constants.scss b/src/styles/_constants.scss
index 98b4e517e9..ce5954741b 100755
--- a/src/styles/_constants.scss
+++ b/src/styles/_constants.scss
@@ -40,11 +40,10 @@ $inputTextP: $inputTextPTopBtm $inputTextPLeftRight;
$menuLineH: 1.5rem;
$treeItemIndent: 16px;
$treeTypeIconW: 18px;
-$overlayOuterMarginLg: 5%;
$overlayOuterMarginFullscreen: 0%;
$overlayOuterMarginDialog: 20%;
$overlayInnerMargin: 25px;
-$mainViewPad: 2px;
+$mainViewPad: 0px;
/*************** Items */
$itemPadLR: 5px;
$gridItemDesk: 175px;
@@ -57,7 +56,7 @@ $tabularTdPadTB: 2px;
$plotYBarW: 60px;
$plotYLabelMinH: 20px;
$plotYLabelW: 10px;
-$plotXBarH: 35px;
+$plotXBarH: 32px;
$plotLegendH: 20px;
$plotLegendWidthCollapsed: 20%;
$plotLegendWidthExpanded: 50%;
@@ -90,6 +89,8 @@ $messageIconD: 80px;
$messageListIconD: 32px;
/*************** Tables */
$tableResizeColHitareaD: 6px;
+/*************** Misc */
+$drawingObjBorderW: 3px;
/************************** MOBILE */
$mobileMenuIconD: 24px; // Used
diff --git a/src/styles/_controls.scss b/src/styles/_controls.scss
index 5dc8bfa673..e52290b5d5 100644
--- a/src/styles/_controls.scss
+++ b/src/styles/_controls.scss
@@ -57,11 +57,6 @@ button {
line-height: 90%;
padding: 3px 10px;
- @include hover() {
- background: $colorBtnBgHov;
- color: $colorBtnFgHov;
- }
-
@include desktop() {
font-size: 6px;
}
diff --git a/src/styles/_global.scss b/src/styles/_global.scss
index c8c7e9f33a..72fbb53d53 100644
--- a/src/styles/_global.scss
+++ b/src/styles/_global.scss
@@ -206,10 +206,6 @@ body.desktop .has-local-controls {
&:hover {
box-shadow: $browseSelectableShdwHov;
}
-
- &[s-selected] {
- border: $browseSelectedBorder;
- }
}
/**************************** EDITING */
diff --git a/src/styles/_legacy-plots.scss b/src/styles/_legacy-plots.scss
index bd8c12710d..8b28ec8bcb 100644
--- a/src/styles/_legacy-plots.scss
+++ b/src/styles/_legacy-plots.scss
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Open MCT, Copyright (c) 2014-2018, United States Government
+ * Open MCT, Copyright (c) 2014-2020, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
@@ -29,16 +29,19 @@ mct-plot {
.gl-plot.child-frame {
&:hover {
background: rgba($editUIColorBg, 0.1);
- box-shadow: inset rgba($editUIColorBg, 0.8) 0 0 0 1px;
+ box-shadow: inset rgba($editUIColorBg, 0.3) 0 0 0 1px;
}
&[s-selected] {
- border: 1px solid $editUIColorFg !important;
- color: $editUIColorFg !important;
- box-shadow: $editFrameSelectedShdw;
+ background: rgba($editUIColorBg, 0.2);
+ box-shadow: inset rgba($editUIColorBg, 0.8) 0 0 0 1px;
z-index: 2;
}
}
+
+ .plot-wrapper-axis-and-display-area {
+ pointer-events: none;
+ }
}
.c-plot,
@@ -67,20 +70,14 @@ mct-plot {
}
.c-plot {
- //$p: $mainViewPad;
@include abs($mainViewPad);
- //position: absolute;
- //top: $p; right: $p; bottom: $p; left: $p;
display: flex;
flex-direction: column;
- > * + * {
- margin-top: $interiorMargin;
- }
-
- .l-control-bar {
+ .c-control-bar {
flex: 0 0 auto;
+ margin-bottom: $interiorMargin;
}
.l-view-section {
@@ -114,6 +111,12 @@ mct-plot {
}
}
}
+
+ .is-in-small-container & {
+ .c-control-bar {
+ display: none;
+ }
+ }
}
.gl-plot {
@@ -205,7 +208,6 @@ mct-plot {
&.gl-plot-y-label {
display: block;
left: 0; top: 0; right: auto; bottom: 0;
- padding-left: 5px;
text-orientation: mixed;
writing-mode: vertical-lr;
&:before {
@@ -271,7 +273,7 @@ mct-plot {
align-items: center;
position: absolute;
top: $m;
- right: $m;
+ left: $m;
z-index: 9;
&__reset {
@@ -284,15 +286,18 @@ mct-plot {
top: $m;
right: $m;
}
+
+ .c-button {
+ box-shadow: $colorLocalControlOvrBg 0 0 0 2px;
+ }
}
.l-state-indicators {
color: $colorPausedBg;
position: absolute;
- display: block;
- font-size: 1.5em;
- pointer-events: none;
- top: $interiorMarginSm;
+ cursor: help;
+ font-size: 1.2em;
+ bottom: $interiorMarginSm;
left: $interiorMarginSm;
z-index: 2;
@@ -351,11 +356,11 @@ mct-plot {
.gl-plot-tick {
&.gl-plot-x-tick-label {
- top: $interiorMargin;
+ top: $interiorMarginSm;
}
&.gl-plot-y-tick-label {
- right: $interiorMargin;
- left: $interiorMargin;
+ right: $interiorMarginSm;
+ left: auto;
}
}
@@ -452,8 +457,22 @@ mct-plot {
@include propertiesHeader();
margin-bottom: $interiorMarginSm;
}
+
+ .is-in-small-container & {
+ &.is-legend-hidden {
+ display: none;
+ }
+ }
}
+.c-plot--stacked {
+ .is-legend-hidden {
+ // Always show the legend in a stacked plot
+ display: flex !important;
+ }
+}
+
+
.gl-plot-legend {
display: flex;
align-items: flex-start;
@@ -525,10 +544,19 @@ mct-plot {
flex: 1 1 auto;
}
-.gl-plot {
+.plot-legend-top .gl-plot-legend { margin-bottom: $interiorMargin; }
+.plot-legend-bottom .gl-plot-legend { margin-top: $interiorMargin; }
+.plot-legend-left .gl-plot-legend { margin-right: $interiorMargin; }
+.plot-legend-right .gl-plot-legend { margin-left: $interiorMargin; }
+
+.gl-plot,
+.c-plot {
&.plot-legend-collapsed .plot-wrapper-expanded-legend { display: none; }
&.plot-legend-expanded .plot-wrapper-collapsed-legend { display: none; }
+ &.plot-legend-collapsed .icon-cursor-lock::before { padding-right: 5px; }
+ &.plot-legend-expanded .icon-cursor-lock::before { padding-right: 5px; }
+
&.plot-legend-top .gl-plot-legend { margin-bottom: $interiorMargin; }
&.plot-legend-bottom .gl-plot-legend { margin-top: $interiorMargin; }
&.plot-legend-right .gl-plot-legend { margin-left: $interiorMargin; }
@@ -540,7 +568,6 @@ mct-plot {
.plot-legend-item {
display: flex;
- align-items: center;
justify-content: stretch;
.plot-series-swatch-and-name,
@@ -569,8 +596,10 @@ mct-plot {
/***************** TOP OR BOTTOM */
&.plot-legend-top,
- &.plot-legend-bottom {
+ &.plot-legend-bottom,
+ &.plot-legend-hidden {
// General styles when legend is on the top or bottom
+ // -hidden included for legacy plots
flex-direction: column;
&.plot-legend-collapsed {
@@ -592,6 +621,7 @@ mct-plot {
&.plot-legend-left,
&.plot-legend-right {
// General styles when legend is on left or right
+
.gl-plot-legend {
max-height: inherit;
}
@@ -622,6 +652,7 @@ mct-plot {
}
}
.plot-legend-item {
+ margin-bottom: $interiorMarginSm;
margin-left: 0;
flex-wrap: nowrap;
.plot-series-swatch-and-name {
@@ -649,6 +680,31 @@ mct-plot {
}
}
+/***************** STACKED PLOT LEGEND OVERRIDES */
+.c-plot--stacked {
+ // Always show the legend on top, ignore any position setting
+ .c-plot,
+ .gl-plot {
+ flex-direction: column !important;
+
+ .c-plot-legend,
+ .gl-plot-legend {
+ margin: 0;
+ margin-bottom: $interiorMargin;
+ order: 1 !important;
+ width: 100% !important;
+
+ .plot-wrapper-collapsed-legend {
+ flex-direction: row !important;
+ }
+ }
+ .plot-wrapper-axis-and-display-area {
+ order: 2 !important;
+ }
+ }
+
+}
+
/***************** CURSOR GUIDES */
[class*='c-cursor-guide'] {
box-shadow: $shdwCursorGuide;
diff --git a/src/styles/_mixins.scss b/src/styles/_mixins.scss
index d765105dbb..7b3842790e 100644
--- a/src/styles/_mixins.scss
+++ b/src/styles/_mixins.scss
@@ -443,28 +443,18 @@
}
@include hover() {
- background: $colorBtnBgHov;
- color: $colorBtnFgHov;
+ filter: $filterHov;
}
&[class*="--major"],
&[class*='is-active']{
background: $colorBtnMajorBg;
color: $colorBtnMajorFg;
-
- @include hover() {
- background: $colorBtnMajorBgHov;
- color: $colorBtnMajorFgHov;
- }
}
&[class*='--caution'] {
- background: $colorBtnCautionBg;
- color: $colorBtnCautionFg;
-
- &:hover {
- background: $colorBtnCautionBgHov;
- }
+ background: $colorBtnCautionBg !important;
+ color: $colorBtnCautionFg !important;
}
}
diff --git a/src/styles/_table.scss b/src/styles/_table.scss
index 10724e6ff9..c370c581f5 100644
--- a/src/styles/_table.scss
+++ b/src/styles/_table.scss
@@ -90,14 +90,28 @@ div.c-table {
flex: 1 1 auto;
}
- > * + * {
- margin-top: $interiorMarginSm;
+ .is-in-small-container & {
+ &:not(.is-paused) {
+ .c-table-control-bar {
+ display: none;
+ }
+ }
+ .c-table-control-bar {
+ .c-click-icon,
+ .c-button {
+ &__label {
+ display: none;
+ }
+ }
+ }
}
}
.c-table-control-bar {
display: flex;
flex: 0 0 auto;
+ //margin-bottom: $interiorMarginSm; // This approach to allow margin to go away when control bar is hidden
+ padding: $interiorMarginSm 0;
> * + * {
margin-left: $interiorMarginSm;
diff --git a/src/styles/vue-styles.scss b/src/styles/vue-styles.scss
index ded07743cf..3d9e24960d 100644
--- a/src/styles/vue-styles.scss
+++ b/src/styles/vue-styles.scss
@@ -3,7 +3,7 @@
@import "../plugins/condition/components/conditionals.scss";
@import "../plugins/conditionWidget/components/condition-widget.scss";
@import "../plugins/condition/components/inspector/conditional-styles.scss";
-@import "../plugins/displayLayout/components/box-view.scss";
+@import "../plugins/displayLayout/components/box-and-line-views";
@import "../plugins/displayLayout/components/display-layout.scss";
@import "../plugins/displayLayout/components/edit-marquee.scss";
@import "../plugins/displayLayout/components/image-view.scss";
diff --git a/src/ui/components/ObjectFrame.vue b/src/ui/components/ObjectFrame.vue
index 7a58c00eb0..837dbb0b05 100644
--- a/src/ui/components/ObjectFrame.vue
+++ b/src/ui/components/ObjectFrame.vue
@@ -142,8 +142,11 @@ export default {
getOverlayElement(childElement) {
const fragment = new DocumentFragment();
const header = this.getPreviewHeader();
+ const wrapper = document.createElement('div');
+ wrapper.classList.add('l-preview-window__object-view');
+ wrapper.append(childElement);
fragment.append(header);
- fragment.append(childElement);
+ fragment.append(wrapper);
return fragment;
},
diff --git a/src/ui/components/object-frame.scss b/src/ui/components/object-frame.scss
index f36eb6e678..5a65067ed3 100644
--- a/src/ui/components/object-frame.scss
+++ b/src/ui/components/object-frame.scss
@@ -10,25 +10,21 @@
&__header {
flex: 0 0 auto;
display: flex;
+ font-size: 1.05em;
align-items: center;
- margin-bottom: $interiorMargin;
+ margin-bottom: $interiorMarginSm;
+ padding: 1px 2px;
- &__icon {
- flex: 0 0 auto;
- margin-right: $interiorMarginSm;
- opacity: 0.5;
- }
-
- &__name {
- @include headerFont(1em);
- @include ellipsize();
- flex: 0 1 auto;
+ .c-object-label {
+ &__name {
+ filter: $objectLabelNameFilter;
+ }
}
}
&:not(.c-so-view--no-frame) {
border: $browseFrameBorder;
- padding: $interiorMargin;
+ padding: 0 $interiorMarginSm;
.is-editing & {
background: rgba($colorBodyBg, 0.8);
@@ -40,9 +36,9 @@
display: none;
}
- > .c-so-view__local-controls {
- top: $interiorMarginSm; right: $interiorMarginSm;
- }
+ //> .c-so-view__local-controls {
+ // top: $interiorMarginSm; right: $interiorMarginSm;
+ //}
&.is-missing {
@include isMissing($absPos: true);
@@ -55,9 +51,19 @@
}
&__local-controls {
+ // View Large button
+ box-shadow: $colorLocalControlOvrBg 0 0 0 2px;
position: absolute;
top: $interiorMargin; right: $interiorMargin;
- z-index: 2;
+ z-index: 10;
+ }
+
+ .c-click-icon,
+ .c-button {
+ // Shrink buttons a bit when they appear in a frame
+ border-radius: $smallCr !important;
+ font-size: 0.9em;
+ padding: 3px 5px;
}
&__view-large {
@@ -68,7 +74,6 @@
> .c-so-view__view-large { display: block; }
}
- /*************************** OBJECT VIEW */
&__object-view {
flex: 1 1 auto;
height: 0; // Chrome 73 overflow bug fix
@@ -79,13 +84,6 @@
@include abs();
}
}
-
- .c-click-icon,
- .c-button {
- // Shrink buttons a bit when they appear in a frame
- font-size: 0.9em;
- padding: 3px 5px;
- }
}
.u-angular-object-view-wrapper {
diff --git a/src/ui/components/object-label.scss b/src/ui/components/object-label.scss
index 395c223086..d4c1a6f6f1 100644
--- a/src/ui/components/object-label.scss
+++ b/src/ui/components/object-label.scss
@@ -19,6 +19,7 @@
display: block;
flex: 0 0 auto;
font-size: 1.1em;
+ opacity: $objectLabelTypeIconOpacity;
}
&.is-missing {
diff --git a/src/ui/inspector/ObjectName.vue b/src/ui/inspector/ObjectName.vue
index c10b6492bc..c3543ec9b1 100644
--- a/src/ui/inspector/ObjectName.vue
+++ b/src/ui/inspector/ObjectName.vue
@@ -1,7 +1,7 @@