2018-12-07 10:26:54 -08:00
|
|
|
/*****************************************************************************
|
|
|
|
* Open MCT, Copyright (c) 2014-2018, United States Government
|
|
|
|
* as represented by the Administrator of the National Aeronautics and Space
|
|
|
|
* Administration. All rights reserved.
|
|
|
|
*
|
|
|
|
* Open MCT is licensed under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*
|
|
|
|
* Open MCT includes source code licensed under additional open source
|
|
|
|
* licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
|
|
* this source code distribution or the Licensing information page available
|
|
|
|
* at runtime from the About dialog for additional information.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
2018-12-20 13:18:22 -08:00
|
|
|
/************************************************** MAELSTROM THEME CONSTANTS */
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Fonts
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Chakra+Petch:400,600,700|Michroma|Teko:400,700');
|
|
|
|
|
|
|
|
$heroFont: 'Teko', sans-serif;
|
|
|
|
$headerFont: 'Michroma', sans-serif;
|
|
|
|
$bodyFont: 'Chakra Petch', sans-serif;
|
|
|
|
|
|
|
|
@mixin heroFont($size: 1em) {
|
|
|
|
font-family: $heroFont;
|
|
|
|
font-size: $size;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin headerFont($size: 1em) {
|
|
|
|
font-family: $headerFont;
|
|
|
|
font-size: $size * 0.8; // This font is comparatively large, so reduce it a bit
|
|
|
|
text-transform: uppercase;
|
|
|
|
word-spacing: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin bodyFont($size: 1em) {
|
|
|
|
font-family: $bodyFont;
|
|
|
|
font-size: $size;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Functions
|
|
|
|
@function buttonBg($c: $colorBtnBg) {
|
|
|
|
@return linear-gradient(lighten($c, 5%), $c);
|
|
|
|
}
|
|
|
|
|
2019-01-22 11:52:56 -08:00
|
|
|
@function pullForward($val, $amt) {
|
|
|
|
@return lighten($val, $amt);
|
|
|
|
}
|
|
|
|
|
|
|
|
@function pushBack($val, $amt) {
|
|
|
|
@return darken($val, $amt);
|
|
|
|
}
|
|
|
|
|
2018-12-07 10:26:54 -08:00
|
|
|
// Constants
|
|
|
|
$fontBaseSize: 12px;
|
|
|
|
$smallCr: 2px;
|
|
|
|
$controlCr: 3px;
|
|
|
|
$basicCr: 4px;
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$shdwBtns: rgba(black, 0.2) 0 1px 2px;
|
|
|
|
$shdwBtnsOverlay: rgba(black, 0.5) 0 1px 5px;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Base colors
|
|
|
|
$colorBodyBg: #393939;
|
|
|
|
$colorBodyFg: #ccc;
|
2018-12-24 14:02:37 -08:00
|
|
|
$colorBodyFgEm: #fff;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorGenBg: #222;
|
|
|
|
$colorHeadBg: #262626;
|
|
|
|
$colorHeadFg: $colorBodyFg;
|
|
|
|
$colorKey: #0099cc;
|
|
|
|
$colorKeyFg: #fff;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorKeyHov: #26d8ff;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorKeyFilter: invert(36%) sepia(76%) saturate(2514%) hue-rotate(170deg) brightness(99%) contrast(101%);
|
|
|
|
$colorKeyFilterHov: invert(63%) sepia(88%) saturate(3029%) hue-rotate(154deg) brightness(101%) contrast(100%);
|
|
|
|
$colorKeySelectedBg: $colorKey;
|
2019-01-22 11:52:56 -08:00
|
|
|
$uiColor: #00b2ff; // Resize bars, splitter bars, etc.
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorInteriorBorder: rgba($colorBodyFg, 0.2);
|
|
|
|
$colorA: #ccc;
|
|
|
|
$colorAHov: #fff;
|
2019-03-26 11:38:38 -07:00
|
|
|
$filterHov: brightness(1.3); // Tree, location items
|
|
|
|
$colorSelectedBg: pushBack($colorKey, 10%);
|
|
|
|
$colorSelectedFg: pullForward($colorBodyFg, 20%);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Layout
|
|
|
|
$shellMainPad: 4px 0;
|
|
|
|
$shellPanePad: $interiorMargin, 7px;
|
2020-03-31 12:11:11 -07:00
|
|
|
$drawerBg: lighten($colorBodyBg, 5%);
|
|
|
|
$drawerFg: lighten($colorBodyFg, 5%);
|
|
|
|
$sideBarBg: $drawerBg;
|
|
|
|
$sideBarHeaderBg: rgba($colorBodyFg, 0.2);
|
|
|
|
$sideBarHeaderFg: rgba($colorBodyFg, 0.7);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Status colors, mainly used for messaging and item ancillary symbols
|
|
|
|
$colorStatusFg: #999;
|
|
|
|
$colorStatusDefault: #ccc;
|
|
|
|
$colorStatusInfo: #60ba7b;
|
|
|
|
$colorStatusInfoFilter: invert(58%) sepia(44%) saturate(405%) hue-rotate(85deg) brightness(102%) contrast(92%);
|
|
|
|
$colorStatusAlert: #ffb66c;
|
|
|
|
$colorStatusAlertFilter: invert(78%) sepia(26%) saturate(1160%) hue-rotate(324deg) brightness(107%) contrast(101%);
|
|
|
|
$colorStatusError: #da0004;
|
|
|
|
$colorStatusErrorFilter: invert(10%) sepia(96%) saturate(4360%) hue-rotate(351deg) brightness(111%) contrast(115%);
|
|
|
|
$colorStatusBtnBg: #666; // Where is this used?
|
2019-06-25 17:02:23 -07:00
|
|
|
$colorStatusPartialBg: #3f5e8b;
|
|
|
|
$colorStatusCompleteBg: #457638;
|
2020-03-31 15:56:06 -07:00
|
|
|
$colorAlert: #ff8a0d;
|
2019-03-26 11:38:38 -07:00
|
|
|
$colorAlertFg: #fff;
|
2020-03-31 15:56:06 -07:00
|
|
|
$colorError: #ff3c00;
|
|
|
|
$colorErrorFg: #fff;
|
|
|
|
$colorWarningHi: #990000;
|
|
|
|
$colorWarningHiFg: #FF9594;
|
2019-03-26 11:38:38 -07:00
|
|
|
$colorWarningLo: #ff9900;
|
|
|
|
$colorWarningLoFg: #523400;
|
|
|
|
$colorDiagnostic: #a4b442;
|
|
|
|
$colorDiagnosticFg: #39461A;
|
|
|
|
$colorCommand: #3693bd;
|
|
|
|
$colorCommandFg: #fff;
|
|
|
|
$colorInfo: #2294a2;
|
|
|
|
$colorInfoFg: #fff;
|
|
|
|
$colorOk: #33cc33;
|
|
|
|
$colorOkFg: #fff;
|
2019-06-26 14:25:03 -07:00
|
|
|
$colorFilterBg: #44449c;
|
|
|
|
$colorFilterFg: #8984e9;
|
2019-08-16 10:16:43 -07:00
|
|
|
$colorFilter: $colorFilterFg; // Standalone against $colorBodyBg
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// States
|
|
|
|
$colorPausedBg: #ff9900;
|
2020-02-25 11:47:27 -08:00
|
|
|
$colorPausedFg: #333;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Base variations
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorBodyBgSubtle: pullForward($colorBodyBg, 5%);
|
|
|
|
$colorBodyBgSubtleHov: pushBack($colorKey, 50%);
|
|
|
|
$colorKeySubtle: pushBack($colorKey, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Time Colors
|
|
|
|
$colorTime: #618cff;
|
|
|
|
$colorTimeBg: $colorTime;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorTimeFg: pullForward($colorTimeBg, 30%);
|
|
|
|
$colorTimeHov: pullForward($colorTime, 10%);
|
|
|
|
$colorTimeSubtle: pushBack($colorTime, 20%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorTOI: $colorBodyFg; // was $timeControllerToiLineColor
|
|
|
|
$colorTOIHov: $colorTime; // was $timeControllerToiLineColorHov
|
2020-06-30 12:10:35 -07:00
|
|
|
$timeConductorAxisHoverFilter: brightness(1.2);
|
|
|
|
$timeConductorActiveBg: $colorKey;
|
|
|
|
$timeConductorActivePanBg: #226074;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
/************************************************** BROWSING */
|
2019-01-22 11:52:56 -08:00
|
|
|
$browseFrameColor: pullForward($colorBodyBg, 10%);
|
|
|
|
$browseFrameBorder: 1px solid $browseFrameColor; // Frames in Disp and Flex Layouts when frame is showing
|
|
|
|
$browseSelectableShdwHov: rgba($colorBodyFg, 0.3) 0 0 3px;
|
|
|
|
$browseSelectedBorder: 1px solid rgba($colorBodyFg, 0.4);
|
2020-07-10 15:08:14 -07:00
|
|
|
$filterItemHoverFg: brightness(1.2) contrast(1.1);
|
|
|
|
$filterItemMissing: contrast(0.2);
|
|
|
|
$opacityMissing: 0.5;
|
|
|
|
$borderMissing: 1px dashed $colorAlert !important;
|
2019-01-22 11:52:56 -08:00
|
|
|
|
|
|
|
/************************************************** EDITING */
|
|
|
|
$editUIColor: $uiColor; // Base color
|
2019-04-04 23:08:09 -07:00
|
|
|
$editUIColorBg: $editUIColor;
|
|
|
|
$editUIColorFg: #fff;
|
2019-01-22 11:52:56 -08:00
|
|
|
$editUIColorHov: pullForward(saturate($uiColor, 10%), 20%); // Hover color when $editUIColor is applied as a base color
|
|
|
|
$editUIBaseColor: #344b8d; // Base color, toolbar bg
|
|
|
|
$editUIBaseColorHov: pullForward($editUIBaseColor, 20%);
|
|
|
|
$editUIBaseColorFg: #ffffff; // Toolbar button icon colors, etc.
|
|
|
|
$editUIAreaBaseColor: pullForward(saturate($editUIBaseColor, 30%), 20%);
|
|
|
|
$editUIAreaShdw: $editUIAreaBaseColor 0 0 0 2px; // Edit area s-selected-parent
|
|
|
|
$editUIAreaShdwSelected: $editUIAreaBaseColor 0 0 0 3px; // Edit area s-selected
|
|
|
|
$editUIGridColorBg: rgba($editUIBaseColor, 0.2); // Background of layout editing area
|
|
|
|
$editUIGridColorFg: rgba(#000, 0.1); // Grid lines in layout editing area
|
|
|
|
$editFrameColor: $browseFrameColor; // Solid or dotted border applied to non-selected frames in a layout; move-bar on frame hover
|
|
|
|
$editFrameBorder: 1px dotted $editFrameColor;
|
|
|
|
$editFrameColorHov: $editUIColor; // Solid border hover on frames; hover should not be applied to selected objects
|
|
|
|
$editFrameBorderHov: 1px solid $editFrameColorHov; // Hover on selectable frames
|
|
|
|
$editFrameColorSelected: #ccc; // Border of selected frames
|
|
|
|
$editFrameColorHandleBg: $colorBodyBg; // Resize handle 'offset' color to make handle standout
|
|
|
|
$editFrameColorHandleFg: $editFrameColorSelected; // Resize handle main color
|
Implement multi selection (#2351)
* Modify Selection API to support multi-select via shift click.
* Add support for shift + click to add and remove the selection.
* Display message in Location and Properties for multi-select.
* Define applicableSelectedItems for toolbar items. Move toolbar control definitions to functions.
* Hide positioning inputs if multi-select. Show a 'non-specific' icon when a discrete setting can't be shown in a mixed setting."
* Add toolbar controls in groups per layout item type. Add nonSpecific property to toolbar items to be used by toolbar controls to show non-specific icon.
* Modify toolbar button to react to nonSpecific flag. Get form value by checking value of applicable selected items.
* Support deleting multiple selected objects.
* Do not disable controls when selected items have mixed setting.
* Revert default color to original value.
* Changes to snap-to-grid
* Remove timeout for updating toolbar after mutation. Do not copy toolbar item when iterating the structure.
* Implement move to top and move to bottom for multi-select
* Implement move up and move down for multi-select.
* Markup and CSS changes for mixed settings in toolbar
- Toggle, color-picker buttons;
- TODO: check other themes and sync;
* Mixed settings styling complete
- Refined and synced theme constants;
- Styling for all toolbar components;
- Text size menu handling;
- Inspector messaging;
* Fix selection path
* Mixed settings styling refinements
- Normalized button styling for mixed style context;
- Better theme constant naming;
- Refined swatch styling, better theme constants;
* First cut at getting the bounding rectangle working for multi-select.
* Set pointer-events to none on c-edit-frame to prevent marquee reacting to click events.
* Delete capturing before calling select.
* Remove EditMarquee from ITEM_TYPE_VIEW_MAP
* Pass selected layout items as a prop to edit marquee instead of selection so that x, y, w, h are updated.
* Multi-select c-frame-edit visual fixes
- WIP
* Add complexContent class for a single selected item whose type is subobject-view.
* Move 'c-frame-edit-move' div to layout frame.
* Saving work - multi-move WIP
* Fixes issue with selection happening at end of drag
* Styles fixed for new markup organization
- Marquee, frame styles;
- $editMarqueeBorder style added to theme constants;
* Significant functionality for .c-frame-edit__move element
- Added .is-multi-selected class to .l-layout when > 1 items selected;
- __move element now handles multi-select and complex content (CC)
objects:
-- 0 to 1 items selected, displays as hover bar with grippy on all CC
objects,
-- > 1 items selected, __move covers all of the frame of all selected CC
items and doesn't allow sub-object selection, and only displays as hover
bar on non-selected CC objects;
- Added better styling for selected objects while editing;
- Code cleanup and consolidation;
- Left translucent green style applied to __move element to temporarily
aid development;
- TODO: fix line drawing object;
* - Fix an issue where shift click did not remove the selected item from the selection after move.
- Modify telemetry and subobject views to emit move and endMove events.
- Clone selectedLayoutItems to get initial positions instead of selection so subsequent moves start from the current position.
* Fix cursor for __move, code comment refinements
* Code cleanup, line view markup changes
- line view markup brought into line with structure in LayoutFrame.vue;
* Implement multi-resize
* Simplify edit marquee code. Revert image and text views' default position to the original values.
* Fix resize for single selection when snap to grid is disabled
* Hide edit marquee if single line is selected, and show c-frame-edit in line-view instead.
* Fix for LineView handles
* Remove snap to grid toggle button and modify the migration script to convert elements with pixel coordinates to grid.
* Fix resizing single line
* Calculate width and height differently for line to position marquee correctly.
* Fix moving single selected line
* Calculate the height and width for line before comparing them with max height and width to correct the marquee position.
* Change the logic for showing frame edit for lines to check for item id.
* Allow multi-move with line in the mix.
* Implement multi-resize when grabbing SW corner.
* Removed temp green tint from __move element
* Fix object undefined error.
* Implement multi-resize for all items except line (take 2).
* Misc UI 7
- CSS selectors to properly display edit marquee, don't show in browse
mode;
* Fix multi-resize for lines.
Make sure line's height and width is minimum 1.
* Disable inspector views when multiple objects are selected.
* Restored layout grid display on sub-layout selection
* Clean up code
* Fixes
- Edit marquee display fixes;
* More code clean up
* SIGNIFICANT fixes and rewriting in LayoutFrame.vue
- Styles for .c-frame-edit__move element for selection and hovering;
- local controls;
- view large button;
- Theme constants updated;
* Get selected item's index from layoutItems.
* Address review feedback.
* Merge topic-core-refactor
* Reset keyString to empty string after setting original path when domainObject is undefined.
Add proper check for selection.
2019-04-05 14:22:10 -07:00
|
|
|
$editFrameSelectedShdw: rgba(black, 0.4) 0 1px 5px 1px;
|
|
|
|
$editFrameSelectedBorder: 1px solid $editFrameColorHov; // Selected frame element
|
2019-01-22 11:52:56 -08:00
|
|
|
$editFrameMovebarColorBg: $editFrameColor; // Movebar bg color
|
|
|
|
$editFrameMovebarColorFg: pullForward($editFrameMovebarColorBg, 20%); // Grippy lines, container size text
|
|
|
|
$editFrameHovMovebarColorBg: pullForward($editFrameMovebarColorBg, 10%); // Hover style
|
|
|
|
$editFrameHovMovebarColorFg: pullForward($editFrameMovebarColorFg, 10%);
|
|
|
|
$editFrameSelectedMovebarColorBg: pullForward($editFrameMovebarColorBg, 15%); // Selected style
|
|
|
|
$editFrameSelectedMovebarColorFg: pullForward($editFrameMovebarColorFg, 15%);
|
|
|
|
$editFrameMovebarH: 10px; // Height of move bar in layout frame
|
Implement multi selection (#2351)
* Modify Selection API to support multi-select via shift click.
* Add support for shift + click to add and remove the selection.
* Display message in Location and Properties for multi-select.
* Define applicableSelectedItems for toolbar items. Move toolbar control definitions to functions.
* Hide positioning inputs if multi-select. Show a 'non-specific' icon when a discrete setting can't be shown in a mixed setting."
* Add toolbar controls in groups per layout item type. Add nonSpecific property to toolbar items to be used by toolbar controls to show non-specific icon.
* Modify toolbar button to react to nonSpecific flag. Get form value by checking value of applicable selected items.
* Support deleting multiple selected objects.
* Do not disable controls when selected items have mixed setting.
* Revert default color to original value.
* Changes to snap-to-grid
* Remove timeout for updating toolbar after mutation. Do not copy toolbar item when iterating the structure.
* Implement move to top and move to bottom for multi-select
* Implement move up and move down for multi-select.
* Markup and CSS changes for mixed settings in toolbar
- Toggle, color-picker buttons;
- TODO: check other themes and sync;
* Mixed settings styling complete
- Refined and synced theme constants;
- Styling for all toolbar components;
- Text size menu handling;
- Inspector messaging;
* Fix selection path
* Mixed settings styling refinements
- Normalized button styling for mixed style context;
- Better theme constant naming;
- Refined swatch styling, better theme constants;
* First cut at getting the bounding rectangle working for multi-select.
* Set pointer-events to none on c-edit-frame to prevent marquee reacting to click events.
* Delete capturing before calling select.
* Remove EditMarquee from ITEM_TYPE_VIEW_MAP
* Pass selected layout items as a prop to edit marquee instead of selection so that x, y, w, h are updated.
* Multi-select c-frame-edit visual fixes
- WIP
* Add complexContent class for a single selected item whose type is subobject-view.
* Move 'c-frame-edit-move' div to layout frame.
* Saving work - multi-move WIP
* Fixes issue with selection happening at end of drag
* Styles fixed for new markup organization
- Marquee, frame styles;
- $editMarqueeBorder style added to theme constants;
* Significant functionality for .c-frame-edit__move element
- Added .is-multi-selected class to .l-layout when > 1 items selected;
- __move element now handles multi-select and complex content (CC)
objects:
-- 0 to 1 items selected, displays as hover bar with grippy on all CC
objects,
-- > 1 items selected, __move covers all of the frame of all selected CC
items and doesn't allow sub-object selection, and only displays as hover
bar on non-selected CC objects;
- Added better styling for selected objects while editing;
- Code cleanup and consolidation;
- Left translucent green style applied to __move element to temporarily
aid development;
- TODO: fix line drawing object;
* - Fix an issue where shift click did not remove the selected item from the selection after move.
- Modify telemetry and subobject views to emit move and endMove events.
- Clone selectedLayoutItems to get initial positions instead of selection so subsequent moves start from the current position.
* Fix cursor for __move, code comment refinements
* Code cleanup, line view markup changes
- line view markup brought into line with structure in LayoutFrame.vue;
* Implement multi-resize
* Simplify edit marquee code. Revert image and text views' default position to the original values.
* Fix resize for single selection when snap to grid is disabled
* Hide edit marquee if single line is selected, and show c-frame-edit in line-view instead.
* Fix for LineView handles
* Remove snap to grid toggle button and modify the migration script to convert elements with pixel coordinates to grid.
* Fix resizing single line
* Calculate width and height differently for line to position marquee correctly.
* Fix moving single selected line
* Calculate the height and width for line before comparing them with max height and width to correct the marquee position.
* Change the logic for showing frame edit for lines to check for item id.
* Allow multi-move with line in the mix.
* Implement multi-resize when grabbing SW corner.
* Removed temp green tint from __move element
* Fix object undefined error.
* Implement multi-resize for all items except line (take 2).
* Misc UI 7
- CSS selectors to properly display edit marquee, don't show in browse
mode;
* Fix multi-resize for lines.
Make sure line's height and width is minimum 1.
* Disable inspector views when multiple objects are selected.
* Restored layout grid display on sub-layout selection
* Clean up code
* Fixes
- Edit marquee display fixes;
* More code clean up
* SIGNIFICANT fixes and rewriting in LayoutFrame.vue
- Styles for .c-frame-edit__move element for selection and hovering;
- local controls;
- view large button;
- Theme constants updated;
* Get selected item's index from layoutItems.
* Address review feedback.
* Merge topic-core-refactor
* Reset keyString to empty string after setting original path when domainObject is undefined.
Add proper check for selection.
2019-04-05 14:22:10 -07:00
|
|
|
$editMarqueeBorder: 1px dashed $editFrameColorSelected;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Icons
|
|
|
|
$colorIconAlias: #4af6f3;
|
|
|
|
$colorIconAliasForKeyFilter: #aaa;
|
|
|
|
|
|
|
|
// Holders
|
|
|
|
$colorTabsHolderBg: rgba(black, 0.2);
|
|
|
|
|
|
|
|
// Buttons and Controls
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorBtnBg: pullForward($colorBodyBg, 10%);
|
|
|
|
$colorBtnBgHov: pullForward($colorBtnBg, 10%);
|
|
|
|
$colorBtnFg: pullForward($colorBodyFg, 10%);
|
|
|
|
$colorBtnReverseFg: pullForward($colorBtnFg, 10%);
|
|
|
|
$colorBtnReverseBg: pullForward($colorBtnBg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorBtnFgHov: $colorBtnFg;
|
|
|
|
$colorBtnMajorBg: $colorKey;
|
|
|
|
$colorBtnMajorBgHov: $colorKeyHov;
|
|
|
|
$colorBtnMajorFg: $colorKeyFg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorBtnMajorFgHov: pushBack($colorBtnMajorFg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorBtnCautionBg: #f16f6f;
|
|
|
|
$colorBtnCautionBgHov: #f1504e;
|
|
|
|
$colorBtnCautionFg: $colorBtnFg;
|
2019-03-26 11:38:38 -07:00
|
|
|
$colorBtnActiveBg: $colorOk;
|
|
|
|
$colorBtnActiveFg: $colorOkFg;
|
|
|
|
$colorBtnSelectedBg: $colorSelectedBg;
|
|
|
|
$colorBtnSelectedFg: $colorSelectedFg;
|
2019-03-21 15:07:16 -07:00
|
|
|
$colorClickIconButton: $colorKey;
|
|
|
|
$colorClickIconButtonBgHov: rgba($colorKey, 0.6);
|
|
|
|
$colorClickIconButtonFgHov: $colorKeyHov;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorDropHint: $colorKey;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorDropHintBg: pushBack($colorDropHint, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorDropHintBgHov: $colorDropHint;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorDropHintFg: pullForward($colorDropHint, 40%);
|
2018-12-18 11:07:09 -08:00
|
|
|
$colorDisclosureCtrl: rgba($colorBodyFg, 0.5);
|
|
|
|
$colorDisclosureCtrlHov: rgba($colorBodyFg, 0.7);
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$btnStdH: 24px;
|
2019-03-21 13:57:41 -07:00
|
|
|
$colorCursorGuide: rgba(white, 0.6);
|
|
|
|
$shdwCursorGuide: rgba(black, 0.4) 0 0 2px;
|
|
|
|
$colorLocalControlOvrBg: rgba($colorBodyBg, 0.8);
|
2019-07-26 16:09:59 -07:00
|
|
|
$colorSelectBg: $colorBtnBg; // This must be a solid color, not a gradient, due to usage of SVG bg in selects
|
|
|
|
$colorSelectFg: $colorBtnFg;
|
|
|
|
$colorSelectArw: lighten($colorBtnBg, 20%);
|
|
|
|
$shdwSelect: rgba(black, 0.5) 0 0.5px 3px;
|
2020-03-31 15:56:06 -07:00
|
|
|
$controlDisabledOpacity: 0.2;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Menus
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorMenuBg: pullForward($colorBodyBg, 15%);
|
|
|
|
$colorMenuFg: pullForward($colorBodyFg, 30%);
|
|
|
|
$colorMenuIc: pullForward($colorKey, 15%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorMenuHovBg: $colorMenuIc;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorMenuHovFg: pullForward($colorMenuFg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorMenuHovIc: $colorMenuHovFg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorMenuElementHilite: pullForward($colorMenuBg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$shdwMenu: rgba(black, 0.5) 0 1px 5px;
|
|
|
|
$shdwMenuText: none;
|
|
|
|
$menuItemPad: $interiorMargin, floor($interiorMargin * 1.25);
|
|
|
|
|
|
|
|
// Palettes and Swatches
|
|
|
|
$paletteItemBorderOuterColorSelected: black;
|
|
|
|
$paletteItemBorderInnerColorSelected: white;
|
|
|
|
$paletteItemBorderInnerColor: rgba($paletteItemBorderOuterColorSelected, 0.3);
|
Implement multi selection (#2351)
* Modify Selection API to support multi-select via shift click.
* Add support for shift + click to add and remove the selection.
* Display message in Location and Properties for multi-select.
* Define applicableSelectedItems for toolbar items. Move toolbar control definitions to functions.
* Hide positioning inputs if multi-select. Show a 'non-specific' icon when a discrete setting can't be shown in a mixed setting."
* Add toolbar controls in groups per layout item type. Add nonSpecific property to toolbar items to be used by toolbar controls to show non-specific icon.
* Modify toolbar button to react to nonSpecific flag. Get form value by checking value of applicable selected items.
* Support deleting multiple selected objects.
* Do not disable controls when selected items have mixed setting.
* Revert default color to original value.
* Changes to snap-to-grid
* Remove timeout for updating toolbar after mutation. Do not copy toolbar item when iterating the structure.
* Implement move to top and move to bottom for multi-select
* Implement move up and move down for multi-select.
* Markup and CSS changes for mixed settings in toolbar
- Toggle, color-picker buttons;
- TODO: check other themes and sync;
* Mixed settings styling complete
- Refined and synced theme constants;
- Styling for all toolbar components;
- Text size menu handling;
- Inspector messaging;
* Fix selection path
* Mixed settings styling refinements
- Normalized button styling for mixed style context;
- Better theme constant naming;
- Refined swatch styling, better theme constants;
* First cut at getting the bounding rectangle working for multi-select.
* Set pointer-events to none on c-edit-frame to prevent marquee reacting to click events.
* Delete capturing before calling select.
* Remove EditMarquee from ITEM_TYPE_VIEW_MAP
* Pass selected layout items as a prop to edit marquee instead of selection so that x, y, w, h are updated.
* Multi-select c-frame-edit visual fixes
- WIP
* Add complexContent class for a single selected item whose type is subobject-view.
* Move 'c-frame-edit-move' div to layout frame.
* Saving work - multi-move WIP
* Fixes issue with selection happening at end of drag
* Styles fixed for new markup organization
- Marquee, frame styles;
- $editMarqueeBorder style added to theme constants;
* Significant functionality for .c-frame-edit__move element
- Added .is-multi-selected class to .l-layout when > 1 items selected;
- __move element now handles multi-select and complex content (CC)
objects:
-- 0 to 1 items selected, displays as hover bar with grippy on all CC
objects,
-- > 1 items selected, __move covers all of the frame of all selected CC
items and doesn't allow sub-object selection, and only displays as hover
bar on non-selected CC objects;
- Added better styling for selected objects while editing;
- Code cleanup and consolidation;
- Left translucent green style applied to __move element to temporarily
aid development;
- TODO: fix line drawing object;
* - Fix an issue where shift click did not remove the selected item from the selection after move.
- Modify telemetry and subobject views to emit move and endMove events.
- Clone selectedLayoutItems to get initial positions instead of selection so subsequent moves start from the current position.
* Fix cursor for __move, code comment refinements
* Code cleanup, line view markup changes
- line view markup brought into line with structure in LayoutFrame.vue;
* Implement multi-resize
* Simplify edit marquee code. Revert image and text views' default position to the original values.
* Fix resize for single selection when snap to grid is disabled
* Hide edit marquee if single line is selected, and show c-frame-edit in line-view instead.
* Fix for LineView handles
* Remove snap to grid toggle button and modify the migration script to convert elements with pixel coordinates to grid.
* Fix resizing single line
* Calculate width and height differently for line to position marquee correctly.
* Fix moving single selected line
* Calculate the height and width for line before comparing them with max height and width to correct the marquee position.
* Change the logic for showing frame edit for lines to check for item id.
* Allow multi-move with line in the mix.
* Implement multi-resize when grabbing SW corner.
* Removed temp green tint from __move element
* Fix object undefined error.
* Implement multi-resize for all items except line (take 2).
* Misc UI 7
- CSS selectors to properly display edit marquee, don't show in browse
mode;
* Fix multi-resize for lines.
Make sure line's height and width is minimum 1.
* Disable inspector views when multiple objects are selected.
* Restored layout grid display on sub-layout selection
* Clean up code
* Fixes
- Edit marquee display fixes;
* More code clean up
* SIGNIFICANT fixes and rewriting in LayoutFrame.vue
- Styles for .c-frame-edit__move element for selection and hovering;
- local controls;
- view large button;
- Theme constants updated;
* Get selected item's index from layoutItems.
* Address review feedback.
* Merge topic-core-refactor
* Reset keyString to empty string after setting original path when domainObject is undefined.
Add proper check for selection.
2019-04-05 14:22:10 -07:00
|
|
|
$mixedSettingBg: (transparent rgba($editUIBaseColorHov, 0.7)); // Used in .c-click-icon--mixed
|
|
|
|
$mixedSettingBgSize: 5px;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
// Forms
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorCheck: $colorKey;
|
|
|
|
$colorFormRequired: $colorKey;
|
|
|
|
$colorFormValid: $colorOk;
|
|
|
|
$colorFormError: #990000;
|
|
|
|
$colorFormInvalid: #ff2200;
|
|
|
|
$colorFormFieldErrorBg: $colorFormError;
|
|
|
|
$colorFormFieldErrorFg: rgba(#fff, 0.6);
|
|
|
|
$colorFormLines: rgba(#000, 0.1);
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$colorFormSectionHeaderBg: rgba(#000, 0.1);
|
|
|
|
$colorFormSectionHeaderFg: rgba($colorBodyFg, 0.8);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorInputBg: rgba(black, 0.2);
|
|
|
|
$colorInputFg: $colorBodyFg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorInputPlaceholder: pushBack($colorBodyFg, 20%);
|
|
|
|
$colorFormText: pushBack($colorBodyFg, 10%);
|
|
|
|
$colorInputIcon: pushBack($colorBodyFg, 25%);
|
|
|
|
$colorFieldHint: pullForward($colorBodyFg, 40%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$shdwInput: inset rgba(black, 0.4) 0 0 1px;
|
|
|
|
$shdwInputHov: inset rgba(black, 0.7) 0 0 2px;
|
|
|
|
$shdwInputFoc: inset rgba(black, 0.8) 0 0.25px 3px;
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$formTBPad: $interiorMargin;
|
|
|
|
$formLRPad: $interiorMargin;
|
|
|
|
$formInputH: 22px;
|
|
|
|
$formRowCtrlsH: 14px;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Inspector
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorInspectorBg: pullForward($colorBodyBg, 5%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorInspectorFg: $colorBodyFg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorInspectorPropName: pushBack($colorBodyFg, 20%);
|
|
|
|
$colorInspectorPropVal: pullForward($colorInspectorFg, 15%);
|
|
|
|
$colorInspectorSectionHeaderBg: pullForward($colorInspectorBg, 5%);
|
|
|
|
$colorInspectorSectionHeaderFg: pullForward($colorInspectorBg, 40%);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Overlay
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$colorOvrBlocker: rgba(black, 0.7);
|
2018-12-07 10:26:54 -08:00
|
|
|
$overlayColorBg: $colorMenuBg;
|
|
|
|
$overlayColorFg: $colorMenuFg;
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$colorOvrBtnBg: pullForward($overlayColorBg, 20%);
|
|
|
|
$colorOvrBtnFg: #fff;
|
2018-12-07 10:26:54 -08:00
|
|
|
$overlayCr: $interiorMarginLg;
|
2019-03-21 15:07:16 -07:00
|
|
|
$overlayBrightnessAdjust: brightness(1.3); // Applied in a filter: property
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Indicator colors
|
|
|
|
$colorIndicatorAvailable: $colorKey;
|
2018-12-20 13:17:44 -08:00
|
|
|
$colorIndicatorDisabled: #555555;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorIndicatorOn: $colorOk;
|
2018-12-20 13:17:44 -08:00
|
|
|
$colorIndicatorOff: #777777;
|
2019-07-11 16:40:26 -07:00
|
|
|
$colorIndicatorBgHov: rgba($colorHeadFg, 0.1);
|
|
|
|
$colorIndicatorMenuBg: $colorHeadBg;
|
|
|
|
$colorIndicatorMenuBgShdw: rgba(white, 0.6) 0 0 6px;
|
|
|
|
$colorIndicatorMenuFg: $colorHeadFg;
|
|
|
|
$colorIndicatorMenuFgHov: pullForward($colorHeadFg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
2018-12-20 13:17:44 -08:00
|
|
|
// Staleness
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorTelemFresh: pullForward($colorBodyFg, 20%);
|
|
|
|
$colorTelemStale: pushBack($colorBodyFg, 20%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$styleTelemStale: italic;
|
2018-12-20 13:17:44 -08:00
|
|
|
|
|
|
|
// Limits
|
|
|
|
$colorLimitYellowBg: #ac7300;
|
|
|
|
$colorLimitYellowFg: #ffe64d;
|
|
|
|
$colorLimitYellowIc: #ffb607;
|
|
|
|
$colorLimitRedBg: #940000;
|
|
|
|
$colorLimitRedFg: #ffa489;
|
|
|
|
$colorLimitRedIc: #ff4222;
|
|
|
|
|
2018-12-07 10:26:54 -08:00
|
|
|
// Bubble colors
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$colorInfoBubbleBg: #dddddd;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorInfoBubbleFg: #666;
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$colorThumbsBubbleFg: pullForward($colorBodyFg, 10%);
|
|
|
|
$colorThumbsBubbleBg: pullForward($colorBodyBg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Items
|
|
|
|
$colorItemBg: buttonBg($colorBtnBg);
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorItemBgHov: buttonBg(pullForward($colorBtnBg, 5%));
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorListItemBg: transparent;
|
|
|
|
$colorListItemBgHov: rgba($colorKey, 0.1);
|
|
|
|
$colorItemFg: $colorBtnFg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorItemFgDetails: pushBack($colorItemFg, 20%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$shdwItemText: none;
|
|
|
|
|
|
|
|
// Tabular
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorTabBorder: pullForward($colorBodyBg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorTabBodyBg: $colorBodyBg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorTabBodyFg: pullForward($colorBodyFg, 20%);
|
2020-03-31 15:56:06 -07:00
|
|
|
$colorTabHeaderBg: rgba($colorBodyFg, 0.2);
|
2018-12-20 13:18:22 -08:00
|
|
|
$colorTabHeaderFg: $colorBodyFg;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorTabHeaderBorder: $colorBodyBg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorTabGroupHeaderBg: pullForward($colorBodyBg, 5%);
|
|
|
|
$colorTabGroupHeaderFg: pushBack($colorTabHeaderFg, 10%);
|
2019-03-26 11:38:38 -07:00
|
|
|
$colorSummaryBg: #2c2c2c;
|
|
|
|
$colorSummaryFg: rgba($colorBodyFg, 0.7);
|
|
|
|
$colorSummaryFgEm: $colorBodyFg;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Plot
|
|
|
|
$colorPlotBg: rgba(black, 0.05);
|
|
|
|
$colorPlotFg: $colorBodyFg;
|
|
|
|
$colorPlotHash: black;
|
|
|
|
$opacityPlotHash: 0.2;
|
|
|
|
$stylePlotHash: dashed;
|
|
|
|
$colorPlotAreaBorder: $colorInteriorBorder;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorPlotLabelFg: pushBack($colorPlotFg, 20%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$legendHoverValueBg: rgba($colorBodyFg, 0.2);
|
2019-11-13 09:46:56 -08:00
|
|
|
$legendTableHeadBg: rgba($colorBodyFg, 0.15);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Tree
|
|
|
|
$colorTreeBg: transparent;
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$colorItemTreeHoverBg: rgba(white, 0.07);
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorItemTreeHoverFg: pullForward($colorBodyFg, 20%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorItemTreeIcon: $colorKey; // Used
|
|
|
|
$colorItemTreeIconHover: $colorItemTreeIcon; // Used
|
|
|
|
$colorItemTreeFg: $colorBodyFg;
|
2019-03-26 11:38:38 -07:00
|
|
|
$colorItemTreeSelectedBg: $colorSelectedBg;
|
2018-12-11 19:29:29 -08:00
|
|
|
$colorItemTreeSelectedFg: $colorItemTreeHoverFg;
|
|
|
|
$colorItemTreeSelectedIcon: $colorItemTreeSelectedFg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorItemTreeEditingBg: pushBack($editUIColor, 20%);
|
|
|
|
$colorItemTreeEditingFg: $editUIColor;
|
|
|
|
$colorItemTreeEditingIcon: $editUIColor;
|
2018-12-18 11:07:09 -08:00
|
|
|
$colorItemTreeVC: $colorDisclosureCtrl;
|
|
|
|
$colorItemTreeVCHover: $colorDisclosureCtrlHov;
|
2018-12-07 10:26:54 -08:00
|
|
|
$shdwItemTreeIcon: none;
|
|
|
|
|
|
|
|
// Images
|
|
|
|
$colorThumbHoverBg: $colorItemTreeHoverBg;
|
|
|
|
|
|
|
|
// Scrollbar
|
|
|
|
$scrollbarTrackSize: 7px;
|
|
|
|
$scrollbarTrackShdw: rgba(#000, 0.2) 0 1px 2px;
|
|
|
|
$scrollbarTrackColorBg: rgba(#000, 0.2);
|
2019-01-22 11:52:56 -08:00
|
|
|
$scrollbarThumbColor: pushBack($colorBodyBg, 50%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$scrollbarThumbColorHov: $colorKey;
|
2019-01-22 11:52:56 -08:00
|
|
|
$scrollbarThumbColorMenu: pullForward($colorMenuBg, 10%);
|
|
|
|
$scrollbarThumbColorMenuHov: pullForward($scrollbarThumbColorMenu, 2%);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Splitter
|
|
|
|
$splitterHandleD: 2px;
|
Migrate styles (#2307)
* Legacy style migration in progress
- Working bottom up, many legacy items commented out. Stopped at
controls/indicators;
* Further migrations and deprecating
- Legacy indicator styles moved;
* WIP Styles migration
- s-button converted to c-button, WIP;
- Other
* Significant progress on migration, but still very WIP
- Mostly constants and overlay styling;
- Also bubbles and splitter;
- TODO: fix tree in overlay and splitter in imagery!
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
* Fix Summary Widgets UI WIP
- Remove non-working status 'editing' checks;
- view-control > c-disclosure-triangle;
* Fix Summary Widgets UI WIP
- Markup changes;
- Migrate CSS to styles-new, remove old;
* Fix Summary Widgets UI WIP
- Rule formatting and layout;
- Refinement to _controls / select {} padding;
* Fix Summary Widgets UI WIP
- Toolbar styles made more portable;
- Palette style migration;
- Very WIP;
* Fix Summary Widgets UI WIP
- Palettes all fixed and functional;
- Conditions layout;
- New c-button--swatched styles;
* Fix Summary Widgets UI WIP
- Clean up code;
* Fix Summary Widgets UI WIP
- Fix button in Test Data area;
* Fix layout in shell left pane due to elements being moved
- Styles fixed and refined;
* Fixed palettes
- Fixed icon palette;
- Significant refinement to general palette styles;
* Significant fixes for Summary Widgets
- Widget editing UI fixed;
- JS cleanups and improvements;
- CSS, JS code cleanup;
* Migrate tree view used in Locator
- Mods to legacy markup;
- Mods to current CSS;
- Removed import of legacy tree CSS in legacy-styles.scss;
* Migrate archetypes
- l-flex-row, l-flex-col, etc. moved to legacy;
- grid-* styles cleaned up and moved, @extends removed;
- WIP on c-object-label, move styles from mct-tree.vue into ObjectLabel
.vue;
- TODO: finish up c-object-label, cleanups in mct-tree.vue;
* Migrate effects and animation mixins
* Object labels, legacy cleanup
- Add and apply .c-object-label for tree node elements;
- Remove legacy class "tree" from markup;
- Tweak color of tree item hover for better contrast in Inspector;
* Fix palettes in Inspector
* Various
- Fix hover color in tree for better mechanics on a variety of bgs;
- Fix object label in Locator tree;
- Remove overlay blocker test color;
* Significant work for Summary Widgets, mctForm, compact form
- Forms in overlay dialogs fixed;
- form, compact-form, other classes migrated into new _forms.scss;
- Fixes for Summary Widgets;
- Theme constants files synced, add form values;
- Removed import of legacy forms/elems SCSS file;
* Migrate various
- Autoflow tabular;
- Datetime;
- Channel selector;
- Form validation;
* Migrate wait spinners, final cleanup
* Remove old src/styles directory
- Remove old Snow and Espresso plugins;
- Remove refs to old Snow and Espresso config'd aliases;
* Update Palette.js
* Update Palette.js
* Removed commented code
* Removed commented code
* Migrate About, startup and splash screen styles
2019-03-14 13:27:13 -07:00
|
|
|
$splitterD: $splitterHandleD;
|
2018-12-07 10:26:54 -08:00
|
|
|
$splitterHandleHitMargin: 4px;
|
|
|
|
$colorSplitterBaseBg: $colorBodyBg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorSplitterBg: pullForward($colorBodyBg, 10%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorSplitterFg: $colorBodyBg;
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorSplitterHover: $uiColor;
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorSplitterActive: $colorKey;
|
|
|
|
$splitterBtnD: (16px, 35px); // height, width
|
|
|
|
$splitterBtnColorBg: $colorBtnBg;
|
|
|
|
$splitterBtnColorFg: #999;
|
|
|
|
$splitterBtnLabelColorFg: #666;
|
|
|
|
$splitterCollapsedBtnColorBg: #222;
|
|
|
|
$splitterCollapsedBtnColorFg: #666;
|
|
|
|
$splitterCollapsedBtnColorBgHov: $colorKey;
|
|
|
|
$splitterCollapsedBtnColorFgHov: $colorKeyFg;
|
|
|
|
|
|
|
|
// Mobile
|
2019-01-22 11:52:56 -08:00
|
|
|
$colorMobilePaneLeft: pushBack($colorBodyBg, 2%);
|
2018-12-07 10:26:54 -08:00
|
|
|
$colorMobilePaneLeftTreeItemBg: rgba($colorBodyFg, 0.1);
|
|
|
|
$colorMobilePaneLeftTreeItemFg: $colorItemTreeFg;
|
|
|
|
$colorMobileSelectListTreeItemBg: rgba(#000, 0.05);
|
|
|
|
|
|
|
|
// About Screen
|
2019-03-26 11:38:38 -07:00
|
|
|
$colorAboutLink: #9bb5ff;
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
// Loading
|
|
|
|
$colorLoadingFg: #776ba2;
|
|
|
|
$colorLoadingBg: rgba($colorLoadingFg, 0.1);
|
|
|
|
|
|
|
|
// Transitions
|
Implement multi selection (#2351)
* Modify Selection API to support multi-select via shift click.
* Add support for shift + click to add and remove the selection.
* Display message in Location and Properties for multi-select.
* Define applicableSelectedItems for toolbar items. Move toolbar control definitions to functions.
* Hide positioning inputs if multi-select. Show a 'non-specific' icon when a discrete setting can't be shown in a mixed setting."
* Add toolbar controls in groups per layout item type. Add nonSpecific property to toolbar items to be used by toolbar controls to show non-specific icon.
* Modify toolbar button to react to nonSpecific flag. Get form value by checking value of applicable selected items.
* Support deleting multiple selected objects.
* Do not disable controls when selected items have mixed setting.
* Revert default color to original value.
* Changes to snap-to-grid
* Remove timeout for updating toolbar after mutation. Do not copy toolbar item when iterating the structure.
* Implement move to top and move to bottom for multi-select
* Implement move up and move down for multi-select.
* Markup and CSS changes for mixed settings in toolbar
- Toggle, color-picker buttons;
- TODO: check other themes and sync;
* Mixed settings styling complete
- Refined and synced theme constants;
- Styling for all toolbar components;
- Text size menu handling;
- Inspector messaging;
* Fix selection path
* Mixed settings styling refinements
- Normalized button styling for mixed style context;
- Better theme constant naming;
- Refined swatch styling, better theme constants;
* First cut at getting the bounding rectangle working for multi-select.
* Set pointer-events to none on c-edit-frame to prevent marquee reacting to click events.
* Delete capturing before calling select.
* Remove EditMarquee from ITEM_TYPE_VIEW_MAP
* Pass selected layout items as a prop to edit marquee instead of selection so that x, y, w, h are updated.
* Multi-select c-frame-edit visual fixes
- WIP
* Add complexContent class for a single selected item whose type is subobject-view.
* Move 'c-frame-edit-move' div to layout frame.
* Saving work - multi-move WIP
* Fixes issue with selection happening at end of drag
* Styles fixed for new markup organization
- Marquee, frame styles;
- $editMarqueeBorder style added to theme constants;
* Significant functionality for .c-frame-edit__move element
- Added .is-multi-selected class to .l-layout when > 1 items selected;
- __move element now handles multi-select and complex content (CC)
objects:
-- 0 to 1 items selected, displays as hover bar with grippy on all CC
objects,
-- > 1 items selected, __move covers all of the frame of all selected CC
items and doesn't allow sub-object selection, and only displays as hover
bar on non-selected CC objects;
- Added better styling for selected objects while editing;
- Code cleanup and consolidation;
- Left translucent green style applied to __move element to temporarily
aid development;
- TODO: fix line drawing object;
* - Fix an issue where shift click did not remove the selected item from the selection after move.
- Modify telemetry and subobject views to emit move and endMove events.
- Clone selectedLayoutItems to get initial positions instead of selection so subsequent moves start from the current position.
* Fix cursor for __move, code comment refinements
* Code cleanup, line view markup changes
- line view markup brought into line with structure in LayoutFrame.vue;
* Implement multi-resize
* Simplify edit marquee code. Revert image and text views' default position to the original values.
* Fix resize for single selection when snap to grid is disabled
* Hide edit marquee if single line is selected, and show c-frame-edit in line-view instead.
* Fix for LineView handles
* Remove snap to grid toggle button and modify the migration script to convert elements with pixel coordinates to grid.
* Fix resizing single line
* Calculate width and height differently for line to position marquee correctly.
* Fix moving single selected line
* Calculate the height and width for line before comparing them with max height and width to correct the marquee position.
* Change the logic for showing frame edit for lines to check for item id.
* Allow multi-move with line in the mix.
* Implement multi-resize when grabbing SW corner.
* Removed temp green tint from __move element
* Fix object undefined error.
* Implement multi-resize for all items except line (take 2).
* Misc UI 7
- CSS selectors to properly display edit marquee, don't show in browse
mode;
* Fix multi-resize for lines.
Make sure line's height and width is minimum 1.
* Disable inspector views when multiple objects are selected.
* Restored layout grid display on sub-layout selection
* Clean up code
* Fixes
- Edit marquee display fixes;
* More code clean up
* SIGNIFICANT fixes and rewriting in LayoutFrame.vue
- Styles for .c-frame-edit__move element for selection and hovering;
- local controls;
- view large button;
- Theme constants updated;
* Get selected item's index from layoutItems.
* Address review feedback.
* Merge topic-core-refactor
* Reset keyString to empty string after setting original path when domainObject is undefined.
Add proper check for selection.
2019-04-05 14:22:10 -07:00
|
|
|
$transInTime: 50ms;
|
|
|
|
$transOutTime: 250ms;
|
|
|
|
$transIn: all $transInTime ease-in-out;
|
|
|
|
$transOut: all $transOutTime ease-in-out;
|
2018-12-07 10:26:54 -08:00
|
|
|
$transInBounce: all 200ms cubic-bezier(.47,.01,.25,1.5);
|
|
|
|
$transInBounceBig: all 300ms cubic-bezier(.2,1.6,.6,3);
|
|
|
|
|
|
|
|
// Discrete items, like Notebook entries, Widget rules
|
|
|
|
$createBtnTextTransform: uppercase;
|
2020-03-31 15:56:06 -07:00
|
|
|
$colorDiscreteItemBg: rgba($colorBodyFg,0.1);
|
|
|
|
$colorDiscreteItemCurrentBg: rgba($colorOk,0.3);
|
2018-12-07 10:26:54 -08:00
|
|
|
|
|
|
|
@mixin discreteItem() {
|
|
|
|
background: rgba($colorBodyFg,0.1);
|
|
|
|
border: none;
|
|
|
|
border-radius: $controlCr;
|
|
|
|
|
2020-03-31 15:56:06 -07:00
|
|
|
&--current-match {
|
|
|
|
background: $colorDiscreteItemCurrentBg;
|
2018-12-07 10:26:54 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin discreteItemInnerElem() {
|
|
|
|
border: 1px solid rgba(#fff, 0.1);
|
|
|
|
border-radius: $controlCr;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin themedButton($c: $colorBtnBg) {
|
2019-01-22 11:52:56 -08:00
|
|
|
background: linear-gradient(pullForward($c, 5%), $c);
|
2018-12-07 10:26:54 -08:00
|
|
|
box-shadow: rgba(black, 0.5) 0 0.5px 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************** OVERRIDES */
|
|
|
|
.c-frame {
|
|
|
|
&:not(.no-frame) {
|
|
|
|
$bc: #666;
|
|
|
|
$bLR: 3px solid transparent;
|
|
|
|
$br: 20px;
|
|
|
|
background: none !important;
|
|
|
|
border-radius: $br;
|
|
|
|
border-top: 4px solid $bc !important;
|
|
|
|
border-bottom: 2px solid $bc !important;
|
|
|
|
border-left: $bLR !important;;
|
|
|
|
border-right: $bLR !important;;
|
|
|
|
padding: 5px 10px 10px 10px !important;
|
|
|
|
}
|
2018-12-20 13:17:44 -08:00
|
|
|
}
|