mirror of
https://github.com/nasa/openmct.git
synced 2025-06-02 15:40:49 +00:00
* Separate Vue component styles out from SFCs. * Added 'MCT.prototype.getAssetPath' and using 'openmct.setAssetPath' to get relative path for assets. * Re-implements `openmct.plugins.Snow()`, and `openmct.plugins.Espresso()` (as well as a new theme `openmct.plugins.Maelstron()`)
29 lines
725 B
SCSS
29 lines
725 B
SCSS
.c-object-label {
|
|
// <a> tag and draggable element that holds type icon and name.
|
|
// Used mostly in trees and lists
|
|
border-radius: $controlCr;
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
padding: $interiorMarginSm 1px;
|
|
white-space: nowrap;
|
|
|
|
&__name {
|
|
@include ellipsize();
|
|
display: inline;
|
|
color: $colorItemTreeFg;
|
|
width: 100%;
|
|
}
|
|
|
|
&__type-icon {
|
|
// Type icon. Must be an HTML entity to allow inclusion of alias indicator.
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
font-size: 1.3em;
|
|
margin-right: $interiorMarginSm;
|
|
color: $colorItemTreeIcon;
|
|
width: $treeTypeIconW;
|
|
}
|
|
}
|