mirror of
https://github.com/nasa/openmct.git
synced 2025-03-10 22:43:55 +00:00
New Condition Widget, WIP
- Normalize usage of `c-object-label` across components;
This commit is contained in:
parent
32da19a486
commit
b7cea7b955
@ -34,9 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__object-name {
|
&__object-name {
|
||||||
flex: 0 0 auto;
|
font-size: 1em;
|
||||||
@include headerFont();
|
|
||||||
font-size: 1.2em !important;
|
|
||||||
margin: $interiorMargin 0 $interiorMarginLg 0;
|
margin: $interiorMargin 0 $interiorMarginLg 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,10 +40,10 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="currentTab"
|
v-if="currentTab"
|
||||||
class="c-tabs-view__object-name l-browse-bar__object-name--w"
|
class="c-tabs-view__object-name c-object-label l-browse-bar__object-name--w"
|
||||||
:class="currentTab.type.definition.cssClass"
|
:class="currentTab.type.definition.cssClass"
|
||||||
>
|
>
|
||||||
<div class="l-browse-bar__object-name">
|
<div class="l-browse-bar__object-name c-object-label__name">
|
||||||
{{ currentTab.domainObject.name }}
|
{{ currentTab.domainObject.name }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,12 +28,12 @@
|
|||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="c-so-view__header">
|
<div class="c-so-view__header">
|
||||||
<div
|
<div class="c-object-label"
|
||||||
class="c-so-view__header__icon"
|
:class="cssClass"
|
||||||
:class="cssClass"
|
>
|
||||||
></div>
|
<div class="c-object-label__name">
|
||||||
<div class="c-so-view__header__name">
|
{{ domainObject && domainObject.name }}
|
||||||
{{ domainObject && domainObject.name }}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<context-menu-drop-down
|
<context-menu-drop-down
|
||||||
:object-path="objectPath"
|
:object-path="objectPath"
|
||||||
@ -64,7 +64,8 @@ const SIMPLE_CONTENT_TYPES = [
|
|||||||
'clock',
|
'clock',
|
||||||
'timer',
|
'timer',
|
||||||
'summary-widget',
|
'summary-widget',
|
||||||
'hyperlink'
|
'hyperlink',
|
||||||
|
'condition-widget'
|
||||||
];
|
];
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user