mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
679e56d231
WTD-894 Changed image CSS from contain to cover Modded default colors for text and telemetry elements to visibility; Moved click handler position in menu-button.html for better clickability; Conflicts: platform/commonUI/general/res/css/theme-espresso.css
27 lines
968 B
HTML
27 lines
968 B
HTML
<div class="t-btn l-btn s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke"
|
|
ng-controller="ClickAwayController as toggle">
|
|
|
|
<span class="l-click-area" ng-click="toggle.toggle()">
|
|
<span class="ui-symbol icon">{{structure.glyph}}</span>
|
|
<span class="title-label" ng-if="structure.text">
|
|
{{structure.text}}
|
|
</span>
|
|
<span class='ui-symbol icon invoke-menu'
|
|
ng-if="!structure.text">
|
|
v
|
|
</span>
|
|
</span>
|
|
|
|
<div class="menu dropdown" ng-show="toggle.isActive()">
|
|
<ul>
|
|
<li ng-click="structure.click(option.key); toggle.setState(false)" ng-repeat="option in structure.options">
|
|
<a href="">
|
|
<span class="ui-symbol type-icon icon">
|
|
{{option.glyph}}
|
|
</span>
|
|
{{option.name}}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div> |