mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 23:12:23 +00:00
e8e7067993
* Fix legacy message styling - Code cleanup; - Enable constants-mobile; - Add _legacy-messages.scss; - Add status color fg colors to theme constants; * CSS refactoring, significant migration for messages classes - Many messages classes migrated; - c-click-icon > c-icon-button; - c-click-icon rewritten; - __close-btn refined in dialogs; * About and splash screen styling - Fixed splash in About screen; * Update _mixins.scss * Convert c-overlay__close-button to button - <a> -> <button>; - Set color of button; - Normalized naming from close-btn to close-button; * Fixed brightness filter issue on elements in overlays in VISTA; * Fix dismiss button
21 lines
1.1 KiB
HTML
21 lines
1.1 KiB
HTML
<div ng-controller="BannerController" ng-show="active.notification"
|
|
class="c-message-banner {{active.notification.model.severity}}" ng-class="{
|
|
'minimized': active.notification.model.minimized,
|
|
'new': !active.notification.model.minimized}"
|
|
ng-click="maximize(active.notification)">
|
|
<span class="c-message-banner__message">
|
|
{{active.notification.model.title}}
|
|
</span>
|
|
<span ng-show="active.notification.model.progress !== undefined || active.notification.model.unknownProgress">
|
|
<mct-include key="'progress-bar'" class="c-message-banner__progress-bar"
|
|
ng-model="active.notification.model">
|
|
</mct-include>
|
|
</span>
|
|
<a ng-hide="active.notification.model.primaryOption === undefined"
|
|
class="banner-elem l-action s-action"
|
|
ng-click="action(active.notification.model.primaryOption.callback, $event)">
|
|
{{active.notification.model.primaryOption.label}}
|
|
</a>
|
|
<button class="c-message-banner__close-button c-click-icon icon-x-in-circle" ng-click="dismiss(active.notification, $event)"></button>
|
|
</div>
|