mirror of
https://github.com/nasa/openmct.git
synced 2025-06-23 01:18:57 +00:00
R&I Misc UI 3 (#2253)
* Limits-related changes; WIP - Renamed CSS classes: `s-limit-*` > `is-limit--*`; - Removed load of legacy _status.scss and added new _status.scss file; - Minor re-org of limit/status constants in theme files; - Limit colors in theme constants all updated; * Fixes for s-selected always displaying the move cursor - Mod s-selected; - Reinstitute `.is-moveable` class; * Layout-related cleanup and refinements - LineView cleaned up; - Selection, hover, etc. classes for c-frame cleaned up; - Constant names normalized, theme files updated; * Fixes for editing plot options - Color palette now more flexible; - Styles for color palette button refined; - c-input--flex added for more flexible inputs; * Various swatch-related changes - Swatch refinements, new .c-click-swatch class; - Added .c-click-icon--major modifier style, applied in markup; * Local controls class application and behavior cleanup - Remmoved .has-local-controls from selected markup; - Refined CSS selector for better hover behavior; * Misc UI tweaks - click-icon--major in Notebook; - .test mixin improved; * Update _constants-espresso.scss * Update _constants-maelstrom.scss
This commit is contained in:
committed by
Pete Richards
parent
b0917a9866
commit
30a4888363
@ -70,17 +70,9 @@
|
||||
<div class="grid-cell label"
|
||||
title="The plot line and marker color for this series.">Color</div>
|
||||
<div class="grid-cell value">
|
||||
<!-- TODO: get this into a class -->
|
||||
<span class="color-swatch"
|
||||
<span class="c-color-swatch"
|
||||
ng-style="{
|
||||
'background': series.get('color').asHexString(),
|
||||
'display': 'inline-block',
|
||||
'border': '1px solid rgba(255, 255, 255, 0.2)',
|
||||
'height': '10px',
|
||||
'width': '10px',
|
||||
'vertical-align': 'middle',
|
||||
'margin-left': '3px',
|
||||
'margin-top': -'2px'
|
||||
'background': series.get('color').asHexString()
|
||||
}">
|
||||
</span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user