2018-10-03 00:31:45 +00:00
|
|
|
/*****************************************************************************
|
2020-09-14 18:17:31 +00:00
|
|
|
* Open MCT, Copyright (c) 2014-2020, United States Government
|
2018-10-03 00:31:45 +00:00
|
|
|
* 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.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
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 20:27:13 +00:00
|
|
|
/******************************************************** BUTTONS */
|
2018-10-03 00:31:45 +00:00
|
|
|
// Optionally can include icon in :before via markup
|
|
|
|
button {
|
2018-10-04 21:47:12 +00:00
|
|
|
@include htmlInputReset();
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-button,
|
|
|
|
.c-button--menu {
|
2018-10-03 00:31:45 +00:00
|
|
|
@include cButton();
|
2018-09-11 17:10:59 +00:00
|
|
|
}
|
|
|
|
|
2018-12-20 21:17:44 +00:00
|
|
|
.c-button {
|
|
|
|
&--menu {
|
|
|
|
&:after {
|
|
|
|
content: $glyph-icon-arrow-down;
|
|
|
|
font-family: symbolsfont;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2018-09-11 17:10:59 +00: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 20:27:13 +00:00
|
|
|
|
|
|
|
&--swatched {
|
|
|
|
// Used with c-button--menu: a visual button with a larger swatch element adjacent to an icon
|
|
|
|
.c-swatch {
|
|
|
|
$d: 12px;
|
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
height: $d; width: $d;
|
|
|
|
}
|
|
|
|
}
|
2018-09-13 22:14:28 +00:00
|
|
|
|
2019-07-11 23:40:26 +00:00
|
|
|
&[class*='__collapse-button'] {
|
|
|
|
box-shadow: none;
|
|
|
|
background: $splitterBtnColorBg;
|
|
|
|
color: $splitterBtnColorFg;
|
|
|
|
border-radius: $smallCr;
|
|
|
|
line-height: 90%;
|
2019-08-30 22:51:52 +00:00
|
|
|
padding: 3px 10px;
|
2019-07-11 23:40:26 +00:00
|
|
|
|
2020-03-31 19:11:11 +00:00
|
|
|
@include desktop() {
|
|
|
|
font-size: 6px;
|
|
|
|
}
|
2020-03-31 22:56:06 +00:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: $glyph-icon-arrow-down;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
2019-07-11 23:40:26 +00:00
|
|
|
}
|
|
|
|
|
2019-03-26 18:38:38 +00:00
|
|
|
&.is-active {
|
|
|
|
background: $colorBtnActiveBg;
|
|
|
|
color: $colorBtnActiveFg;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selected {
|
|
|
|
background: $colorBtnSelectedBg;
|
|
|
|
color: $colorBtnSelectedFg;
|
|
|
|
}
|
2018-10-26 21:14:00 +00:00
|
|
|
}
|
|
|
|
|
2019-06-26 00:02:23 +00:00
|
|
|
/********* Icon Buttons and Links */
|
2019-03-21 22:07:16 +00:00
|
|
|
.c-click-icon {
|
2018-10-03 00:31:45 +00:00
|
|
|
@include cClickIcon();
|
2020-03-31 22:56:06 +00:00
|
|
|
|
|
|
|
&--section-collapse {
|
|
|
|
color: inherit;
|
|
|
|
display: block;
|
|
|
|
transition: transform $transOutTime;
|
|
|
|
&:before {
|
|
|
|
content: $glyph-icon-arrow-down;
|
|
|
|
font-family: symbolsfont;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-collapsed {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
2019-03-21 22:07:16 +00:00
|
|
|
}
|
|
|
|
|
New tree refactor (#3098)
* revised new tree refactor, moved most of the logic to mct-tree instead of tree-item
* scrollTo set for sync, bug fixes, window resize handling
* removing console logs
* checking domainobject composition for length to verify children instead of composition object itself
* added scrollTo on load if in viewed objects directory
* loading, sync bug, search issues, opitmization
* initial PR review updates
* modified so search now uses the same container and virtual scroll
* eslint fix
* Adding new glyphs
- Multiple new glyphs cherrypicked from branch `add-new-glyphs-062320`;
* Styling for new-tree-refactor WIP
- WIP!
- New glyphs, markup changes in BrowseBar.vue;
- Refinements to tree items, WIP;
- TODO: move hard-coded CSS values into _constants, make
theme-compatible;
* Styling for new-tree-refactor WIP
- WIP!
- Added new `c-click-link` CSS class;
- Move tree sync button into tree pane area;
- Added named "controls" slot to pane.vue;
- _up and _down arrows now use visibility instead of opacity to prevent
accidental clicks;
* Styling for new-tree-refactor WIP
- WIP!
- Significant mods and simplification in pane.vue and assoc CSS for
expand/collapse functionality;
- Wait spinner when in tree: cleanups, simplification;
* More new glyphs, updated art
- New glyphs: icon-unlocked and icon-target;
- Updated art for icon-lock glyph;
* remove arrows for search results, hightlight "my items" correctly, added empty folder notic
* Styling for new-tree-refactor WIP
- WIP!
- Refinements to "empty" object element;
- Changed sync-tree icon glyph;
* Styling for new-tree-refactor WIP
- Nav up arrows now left-align properly;
* Styling for new-tree-refactor
- Significant consolidation and cleanups in mct-tree.scss;
- Normalize base and hover styles across new tree, legacy tree,
list-items (used in Notebook) and Folder List View;
- Class naming normalization, change `c-list-item__name-value` to
`c-list-item__name`;
- Add styling to override and remove `<a> outline: dotted` coming from
normalize-min;
- Removed too-broad `<a>` coloring in tables;
* Styling for new-tree-refactor
- Fix styles for Snow theme;
- Sync Maelstrom and Espresso themes;
- Remove too-broad `<a>` hover styling from global.scss;
- Disallow pointer-events on `is-navigated` object's label (click on
c-nav__down element still allowed);
* Styling for new-tree-refactor
- Normalizing status area expand/collapse iconography to match new
approach in panes;
* Adding new glyphs
- Added `icon-items-collapse` and `icon-items-expand`;
* Styling for new-tree-refactor
- Using new glyphs for items expand/collapse in Status area;
* dynamic item height for desktop and mobile views
* lint fixes
* updated addChild and removeChild functions as they were not working at all
* some PR comment updates!;
* Remove unneeded hard-coded CSS color property
* fixed issues when multiple root children exist, added plugin to change the name of the default root object
* removing "my other items" testing references
* linting fixes
* updating karma timeouts for testing purposes
* eslint fixes
* WIP: fixing linting issues
* updating for testing
* set root object provider to update root registry if called more than once
* tweaking tests so that it passes both locally and on the serve tests
* removing old css code preventing context clicks on active menu items
* fixing testing errors
* backwards compatible storage fix
Co-authored-by: charlesh88 <charlesh88@gmail.com>
Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
2020-08-24 20:47:56 +00:00
|
|
|
.c-click-link,
|
|
|
|
.c-icon-link {
|
2019-06-26 00:02:23 +00:00
|
|
|
// A clickable element, typically inline, with an icon and label
|
|
|
|
@include cControl();
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-03-21 22:07:16 +00:00
|
|
|
.c-icon-button,
|
|
|
|
.c-click-swatch {
|
|
|
|
@include cClickIconButton();
|
2018-10-03 00:31:45 +00:00
|
|
|
|
|
|
|
&--menu {
|
2019-07-11 23:40:26 +00:00
|
|
|
@include hasMenu();
|
2018-10-03 00:31:45 +00:00
|
|
|
}
|
2018-12-20 21:17:44 +00:00
|
|
|
}
|
|
|
|
|
New tree refactor (#3098)
* revised new tree refactor, moved most of the logic to mct-tree instead of tree-item
* scrollTo set for sync, bug fixes, window resize handling
* removing console logs
* checking domainobject composition for length to verify children instead of composition object itself
* added scrollTo on load if in viewed objects directory
* loading, sync bug, search issues, opitmization
* initial PR review updates
* modified so search now uses the same container and virtual scroll
* eslint fix
* Adding new glyphs
- Multiple new glyphs cherrypicked from branch `add-new-glyphs-062320`;
* Styling for new-tree-refactor WIP
- WIP!
- New glyphs, markup changes in BrowseBar.vue;
- Refinements to tree items, WIP;
- TODO: move hard-coded CSS values into _constants, make
theme-compatible;
* Styling for new-tree-refactor WIP
- WIP!
- Added new `c-click-link` CSS class;
- Move tree sync button into tree pane area;
- Added named "controls" slot to pane.vue;
- _up and _down arrows now use visibility instead of opacity to prevent
accidental clicks;
* Styling for new-tree-refactor WIP
- WIP!
- Significant mods and simplification in pane.vue and assoc CSS for
expand/collapse functionality;
- Wait spinner when in tree: cleanups, simplification;
* More new glyphs, updated art
- New glyphs: icon-unlocked and icon-target;
- Updated art for icon-lock glyph;
* remove arrows for search results, hightlight "my items" correctly, added empty folder notic
* Styling for new-tree-refactor WIP
- WIP!
- Refinements to "empty" object element;
- Changed sync-tree icon glyph;
* Styling for new-tree-refactor WIP
- Nav up arrows now left-align properly;
* Styling for new-tree-refactor
- Significant consolidation and cleanups in mct-tree.scss;
- Normalize base and hover styles across new tree, legacy tree,
list-items (used in Notebook) and Folder List View;
- Class naming normalization, change `c-list-item__name-value` to
`c-list-item__name`;
- Add styling to override and remove `<a> outline: dotted` coming from
normalize-min;
- Removed too-broad `<a>` coloring in tables;
* Styling for new-tree-refactor
- Fix styles for Snow theme;
- Sync Maelstrom and Espresso themes;
- Remove too-broad `<a>` hover styling from global.scss;
- Disallow pointer-events on `is-navigated` object's label (click on
c-nav__down element still allowed);
* Styling for new-tree-refactor
- Normalizing status area expand/collapse iconography to match new
approach in panes;
* Adding new glyphs
- Added `icon-items-collapse` and `icon-items-expand`;
* Styling for new-tree-refactor
- Using new glyphs for items expand/collapse in Status area;
* dynamic item height for desktop and mobile views
* lint fixes
* updated addChild and removeChild functions as they were not working at all
* some PR comment updates!;
* Remove unneeded hard-coded CSS color property
* fixed issues when multiple root children exist, added plugin to change the name of the default root object
* removing "my other items" testing references
* linting fixes
* updating karma timeouts for testing purposes
* eslint fixes
* WIP: fixing linting issues
* updating for testing
* set root object provider to update root registry if called more than once
* tweaking tests so that it passes both locally and on the serve tests
* removing old css code preventing context clicks on active menu items
* fixing testing errors
* backwards compatible storage fix
Co-authored-by: charlesh88 <charlesh88@gmail.com>
Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
2020-08-24 20:47:56 +00:00
|
|
|
.c-icon-link {
|
|
|
|
&:before {
|
|
|
|
// Icon
|
|
|
|
//color: $colorBtnMajorBg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-21 22:07:16 +00:00
|
|
|
.c-icon-button {
|
New tree refactor (#3098)
* revised new tree refactor, moved most of the logic to mct-tree instead of tree-item
* scrollTo set for sync, bug fixes, window resize handling
* removing console logs
* checking domainobject composition for length to verify children instead of composition object itself
* added scrollTo on load if in viewed objects directory
* loading, sync bug, search issues, opitmization
* initial PR review updates
* modified so search now uses the same container and virtual scroll
* eslint fix
* Adding new glyphs
- Multiple new glyphs cherrypicked from branch `add-new-glyphs-062320`;
* Styling for new-tree-refactor WIP
- WIP!
- New glyphs, markup changes in BrowseBar.vue;
- Refinements to tree items, WIP;
- TODO: move hard-coded CSS values into _constants, make
theme-compatible;
* Styling for new-tree-refactor WIP
- WIP!
- Added new `c-click-link` CSS class;
- Move tree sync button into tree pane area;
- Added named "controls" slot to pane.vue;
- _up and _down arrows now use visibility instead of opacity to prevent
accidental clicks;
* Styling for new-tree-refactor WIP
- WIP!
- Significant mods and simplification in pane.vue and assoc CSS for
expand/collapse functionality;
- Wait spinner when in tree: cleanups, simplification;
* More new glyphs, updated art
- New glyphs: icon-unlocked and icon-target;
- Updated art for icon-lock glyph;
* remove arrows for search results, hightlight "my items" correctly, added empty folder notic
* Styling for new-tree-refactor WIP
- WIP!
- Refinements to "empty" object element;
- Changed sync-tree icon glyph;
* Styling for new-tree-refactor WIP
- Nav up arrows now left-align properly;
* Styling for new-tree-refactor
- Significant consolidation and cleanups in mct-tree.scss;
- Normalize base and hover styles across new tree, legacy tree,
list-items (used in Notebook) and Folder List View;
- Class naming normalization, change `c-list-item__name-value` to
`c-list-item__name`;
- Add styling to override and remove `<a> outline: dotted` coming from
normalize-min;
- Removed too-broad `<a>` coloring in tables;
* Styling for new-tree-refactor
- Fix styles for Snow theme;
- Sync Maelstrom and Espresso themes;
- Remove too-broad `<a>` hover styling from global.scss;
- Disallow pointer-events on `is-navigated` object's label (click on
c-nav__down element still allowed);
* Styling for new-tree-refactor
- Normalizing status area expand/collapse iconography to match new
approach in panes;
* Adding new glyphs
- Added `icon-items-collapse` and `icon-items-expand`;
* Styling for new-tree-refactor
- Using new glyphs for items expand/collapse in Status area;
* dynamic item height for desktop and mobile views
* lint fixes
* updated addChild and removeChild functions as they were not working at all
* some PR comment updates!;
* Remove unneeded hard-coded CSS color property
* fixed issues when multiple root children exist, added plugin to change the name of the default root object
* removing "my other items" testing references
* linting fixes
* updating karma timeouts for testing purposes
* eslint fixes
* WIP: fixing linting issues
* updating for testing
* set root object provider to update root registry if called more than once
* tweaking tests so that it passes both locally and on the serve tests
* removing old css code preventing context clicks on active menu items
* fixing testing errors
* backwards compatible storage fix
Co-authored-by: charlesh88 <charlesh88@gmail.com>
Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
2020-08-24 20:47:56 +00:00
|
|
|
&__label {
|
2018-12-20 21:17:44 +00:00
|
|
|
margin-left: $interiorMargin;
|
|
|
|
}
|
2018-09-13 22:14:28 +00:00
|
|
|
|
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 21:22:10 +00:00
|
|
|
&--mixed {
|
2020-04-10 22:22:47 +00:00
|
|
|
@include mixedBg();
|
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 21:22:10 +00:00
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
&--swatched {
|
|
|
|
// Color control, show swatch element
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
> [class*='swatch'] {
|
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 21:22:10 +00:00
|
|
|
box-shadow: inset rgba($editUIBaseColorFg, 0.2) 0 0 0 1px;
|
2018-10-03 00:31:45 +00:00
|
|
|
flex: 0 0 auto;
|
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 21:22:10 +00:00
|
|
|
height: 5px;
|
2018-10-03 00:31:45 +00:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 1px;
|
2018-09-13 22:14:28 +00:00
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
&:before {
|
|
|
|
// Reduce size of icon to make a bit of room
|
|
|
|
flex: 1 1 auto;
|
|
|
|
font-size: 1.1em;
|
2018-09-13 22:14:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-31 19:11:11 +00:00
|
|
|
.c-list-button {
|
|
|
|
@include cControl();
|
|
|
|
color: $colorBodyFg;
|
|
|
|
cursor: pointer;
|
|
|
|
justify-content: start;
|
|
|
|
padding: $interiorMargin;
|
|
|
|
|
|
|
|
> * + * {
|
|
|
|
margin-left: $interiorMargin;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include hover() {
|
|
|
|
background: $colorItemTreeHoverBg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-button {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-13 22:14:28 +00:00
|
|
|
/******************************************************** DISCLOSURE CONTROLS */
|
|
|
|
/********* Disclosure Button */
|
2019-07-11 23:40:26 +00:00
|
|
|
// Provides a downward arrow icon that when clicked displays additional options and/or info.
|
2018-09-13 22:14:28 +00:00
|
|
|
// Always placed AFTER an element
|
|
|
|
.c-disclosure-button {
|
2018-10-03 00:31:45 +00:00
|
|
|
@include cClickIcon();
|
2018-09-13 22:14:28 +00:00
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: $glyph-icon-arrow-down;
|
|
|
|
font-family: symbolsfont;
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
2018-09-11 17:10:59 +00:00
|
|
|
}
|
2018-10-10 19:45:46 +00:00
|
|
|
/********* Disclosure Triangle */
|
2018-09-13 22:14:28 +00:00
|
|
|
// Provides an arrow icon that when clicked expands an element to reveal its contents.
|
2018-12-18 19:07:09 +00:00
|
|
|
// Used in tree items, plot legends. Always placed BEFORE an element.
|
2018-09-13 22:14:28 +00:00
|
|
|
.c-disclosure-triangle {
|
|
|
|
$d: 12px;
|
2018-12-18 19:07:09 +00:00
|
|
|
color: $colorDisclosureCtrl;
|
2018-09-13 22:14:28 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: $d;
|
|
|
|
position: relative;
|
|
|
|
|
2018-12-18 19:07:09 +00:00
|
|
|
&.is-enabled {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $colorDisclosureCtrlHov;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
$s: .65;
|
|
|
|
content: $glyph-icon-arrow-right-equilateral;
|
|
|
|
display: block;
|
|
|
|
font-family: symbolsfont;
|
|
|
|
font-size: 1rem * $s;
|
|
|
|
}
|
2018-09-13 22:14:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--expanded {
|
|
|
|
&:before {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-31 22:56:06 +00:00
|
|
|
/******************************************************** DRAG AFFORDANCES */
|
|
|
|
.c-grippy {
|
|
|
|
$d: 10px;
|
|
|
|
@include grippy($c: $colorItemTreeVC, $dir: 'y');
|
|
|
|
width: $d; height: $d;
|
|
|
|
|
|
|
|
&--vertical-drag {
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************** SECTION */
|
|
|
|
section {
|
2020-04-08 16:36:23 +00:00
|
|
|
flex: 0 1 auto;
|
2020-03-31 22:56:06 +00:00
|
|
|
overflow: hidden;
|
|
|
|
+ section {
|
|
|
|
margin-top: $interiorMargin;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-section__header {
|
|
|
|
@include propertiesHeader();
|
|
|
|
display: flex;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: $interiorMargin;
|
|
|
|
|
|
|
|
> * + * { margin-left: $interiorMarginSm; }
|
|
|
|
}
|
|
|
|
|
|
|
|
> [class*='__label'] {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-13 22:14:28 +00:00
|
|
|
/******************************************************** FORM ELEMENTS */
|
2018-10-10 19:45:46 +00:00
|
|
|
input, textarea {
|
|
|
|
font-family: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
letter-spacing: inherit;
|
|
|
|
}
|
2018-09-13 22:14:28 +00:00
|
|
|
|
2018-10-10 19:45:46 +00:00
|
|
|
input[type=text],
|
|
|
|
input[type=search],
|
2018-11-07 17:58:33 +00:00
|
|
|
input[type=number],
|
|
|
|
textarea {
|
2018-10-10 19:45:46 +00:00
|
|
|
@include reactive-input();
|
|
|
|
padding: $inputTextP;
|
|
|
|
&.numeric {
|
|
|
|
text-align: right;
|
Reimplementation of Display Layout in Vue (#2185)
* Saving work
* Fix conflict
* Position the panels by setting the style
* Put the div back with height set to 100% in ObjectView.
Add markup for drag handles.
* Use default position and dimensions if the layout panel is missing those values. Set s-status-editing on the main div to get the drag handles appear for now.
* Display Layout and frames major improvements
- Moved Toolbar out of Layout.vue and into DisplayLayout.vue;
- Styles for object view, Layout, Frame, etc.
- Major refactor of markup for frame;
- Added abs() mixin;
- Styles for is-editing done;
- Styles for
- TODO: styles for selectable, moveable, etc.
* Implement drill in gesture.
* Hide the background grid when a frame is drilled in
* Edit styling and toolbar WIP
- c-search styles moved mostly into mixin;
- New .c-labeled-input class;
- Browser overrides for number-type input spinners in webkit;
* Toolbar WIP
- Custom wrapped number input added;
- Toolbar buttons WIP;
* New toolbar buttons WIP
* Define a computed property for the css class object.
* Frame edit handles markup and styling
* Toolbar, editing and selection style refinements
- Moved toolbar back into Layout.vue;
- Hard-coded 'is-editing' onto __pane-main for now,
removed from DisplayLayout.vue;
- Styles for frame in LayoutFrame.vue:
-- editing default (dotted border)
-- editing .s-selected
-- .s-drilled-in (renamed .is-drilled-in)
* Refactoring button classes
- Lots of stuff broken right now;
- TODO: lots of renaming (c-menu-button, c-icon-button, etc.);
- Removed import of _controls in search.vue;
* Fixes for selection on nested selected elements
* Fix conflict
* Significant refactoring of button and click-icon classes
- Markup and CSS updated;
- Toolbar in good shape, prior to merge of vue-layout;
* Fix issues with relative font-sizing
* Add color palette markup and CSS
- Also added Layers menu example;
* Font, font-size glyphs and size menu, and more
- Added art for font glyph and renamed from .icon-T;
- Added new glyph for font-size;
- Fixed font-sizing in controls;
- Added font-size menu;
- Re-org'd toolbar items;
* Styling tweak for c-labeled-input
- Code cleanup as well;
* Fixes for toolbar toggleMenus and labeledNumberInput
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Add custom checkbox control.
- Also, code cleanup.
* Add toggleButton component
- Code and examples
* Custom checkbox code cleanups, sanding
* - Persist new position/dimensions on the domain object when frames are moved/resized.
- Bypass the selection of the layout when dragging a frame is finished to keep the frame selected.
- Set the grid size to layoutGrid from domain object or use default if it's not specified.
* Fix conflict
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Remove old layout view, was triggering View Switcher
and massive confusion when viewing Layouts
- TODO: add view provider for new Layout
* Enable drag and drop
* Changed example toggle-button
- Now uses show/hide frame as toggle-button example;
* Added pseudocode for handling drag/drop composition change
* Add copyright notice
* Layout frame and contained components styling
- Hyperlinks, Hyperlink buttons, Summary Widgets now use `.u-links`
which disables their pointer-events when editing;
- Hyperlink buttons, Summary Widgets now expand to fill their
containers in a Layout;
- Markup and JS for Hyperlinks, Hyperlink buttons, Summary Widgets
somewhat
modded to use new classing, applied in legacy scss files;
* Fix icon sizing error in BrowseBar
* Edit and selecting styling for Layouts
- WIP!
* Edit and selecting styling for Layout frames
- Color vars more standardized;
- Hover and *-selected styles;
* Getting vue-toolbar reverted back to latest
- Merging this branch with vue-layout may cause conflicts;
* - Implement drag ’n drop.
- Set hasFrame to a default value if it’s not set on the configuration.
- Emit an event to the parent wrapper component to update the ‘newDomainObject’ prop whenever the domain object is mutated in the display layout child component.
* Revert emitting 'update:object' event to the parent.
* New branch from topic-core-refactor to use as central point for common
CSS work
- Manually migrated changes from vue-toolbar, expect conflicts there and
in vue-layout;
* Manually update constants-snow from vue-toolbar branch
* Update markup to use latest button classnames
- c-menu-button > c-button--menu;
- c-icon-button > c-click-icon;
* Various from vue-conductor-style
- Mods to input styling;
- Input[] styles moved to _controls;
- New/revised constants vals;
* Resolve bizarre merge conflict when applying stash
* Code cleanup
* Alias and type-icon fixes
- More robust approach to alias indicators;
- Added alias indication to tree-item.vue;
- TODO: wire up alias indication tree-item.vue;
* Accessibility mods, convert elements to <button>
- Better reset styles for htmlInputReset mixin to allow use of <button>
without browser default styling;
- Create button;
- BrowseBar action buttons;
- c-click-icons;
- Removed Preview button from BrowseBar.vue;
* Fix styles that were affected during resolving conflicts
* Moved draggable into __label element rather than whole <li>
* Change the priority to 100 to get the view working properly
* Code cleanup
* Remove angular layout
* Display the object name in the frame header
* Tweaks to __header in LayoutFrame
- Name now does not overflow frame edge;
- Layout strategy now in parity with similar elements in main view;
* Remove test()
* Add a type for display layout to make it appear in the Create menu.
* Change the key type to 'layout'
* Clean up code and hide toolbar
* Enable toolbar, and revert changes in webpack config
* Remove commented code
* revert to the original code
2018-10-04 22:59:23 +00:00
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
}
|
|
|
|
|
2018-10-10 19:45:46 +00:00
|
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
|
|
input[type=number]::-webkit-outer-spin-button {
|
|
|
|
margin-right: -5px !important;
|
|
|
|
margin-top: -1px !important;
|
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
|
2018-10-10 19:45:46 +00:00
|
|
|
.c-input {
|
2018-12-20 21:17:44 +00:00
|
|
|
&--flex {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 20px;
|
|
|
|
}
|
|
|
|
|
2018-10-10 19:45:46 +00:00
|
|
|
&--datetime {
|
|
|
|
// Sized for values such as 2018-09-28 22:32:33.468Z
|
|
|
|
width: 160px;
|
2018-09-13 22:14:28 +00:00
|
|
|
}
|
Reimplementation of Display Layout in Vue (#2185)
* Saving work
* Fix conflict
* Position the panels by setting the style
* Put the div back with height set to 100% in ObjectView.
Add markup for drag handles.
* Use default position and dimensions if the layout panel is missing those values. Set s-status-editing on the main div to get the drag handles appear for now.
* Display Layout and frames major improvements
- Moved Toolbar out of Layout.vue and into DisplayLayout.vue;
- Styles for object view, Layout, Frame, etc.
- Major refactor of markup for frame;
- Added abs() mixin;
- Styles for is-editing done;
- Styles for
- TODO: styles for selectable, moveable, etc.
* Implement drill in gesture.
* Hide the background grid when a frame is drilled in
* Edit styling and toolbar WIP
- c-search styles moved mostly into mixin;
- New .c-labeled-input class;
- Browser overrides for number-type input spinners in webkit;
* Toolbar WIP
- Custom wrapped number input added;
- Toolbar buttons WIP;
* New toolbar buttons WIP
* Define a computed property for the css class object.
* Frame edit handles markup and styling
* Toolbar, editing and selection style refinements
- Moved toolbar back into Layout.vue;
- Hard-coded 'is-editing' onto __pane-main for now,
removed from DisplayLayout.vue;
- Styles for frame in LayoutFrame.vue:
-- editing default (dotted border)
-- editing .s-selected
-- .s-drilled-in (renamed .is-drilled-in)
* Refactoring button classes
- Lots of stuff broken right now;
- TODO: lots of renaming (c-menu-button, c-icon-button, etc.);
- Removed import of _controls in search.vue;
* Fixes for selection on nested selected elements
* Fix conflict
* Significant refactoring of button and click-icon classes
- Markup and CSS updated;
- Toolbar in good shape, prior to merge of vue-layout;
* Fix issues with relative font-sizing
* Add color palette markup and CSS
- Also added Layers menu example;
* Font, font-size glyphs and size menu, and more
- Added art for font glyph and renamed from .icon-T;
- Added new glyph for font-size;
- Fixed font-sizing in controls;
- Added font-size menu;
- Re-org'd toolbar items;
* Styling tweak for c-labeled-input
- Code cleanup as well;
* Fixes for toolbar toggleMenus and labeledNumberInput
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Add custom checkbox control.
- Also, code cleanup.
* Add toggleButton component
- Code and examples
* Custom checkbox code cleanups, sanding
* - Persist new position/dimensions on the domain object when frames are moved/resized.
- Bypass the selection of the layout when dragging a frame is finished to keep the frame selected.
- Set the grid size to layoutGrid from domain object or use default if it's not specified.
* Fix conflict
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Remove old layout view, was triggering View Switcher
and massive confusion when viewing Layouts
- TODO: add view provider for new Layout
* Enable drag and drop
* Changed example toggle-button
- Now uses show/hide frame as toggle-button example;
* Added pseudocode for handling drag/drop composition change
* Add copyright notice
* Layout frame and contained components styling
- Hyperlinks, Hyperlink buttons, Summary Widgets now use `.u-links`
which disables their pointer-events when editing;
- Hyperlink buttons, Summary Widgets now expand to fill their
containers in a Layout;
- Markup and JS for Hyperlinks, Hyperlink buttons, Summary Widgets
somewhat
modded to use new classing, applied in legacy scss files;
* Fix icon sizing error in BrowseBar
* Edit and selecting styling for Layouts
- WIP!
* Edit and selecting styling for Layout frames
- Color vars more standardized;
- Hover and *-selected styles;
* Getting vue-toolbar reverted back to latest
- Merging this branch with vue-layout may cause conflicts;
* - Implement drag ’n drop.
- Set hasFrame to a default value if it’s not set on the configuration.
- Emit an event to the parent wrapper component to update the ‘newDomainObject’ prop whenever the domain object is mutated in the display layout child component.
* Revert emitting 'update:object' event to the parent.
* New branch from topic-core-refactor to use as central point for common
CSS work
- Manually migrated changes from vue-toolbar, expect conflicts there and
in vue-layout;
* Manually update constants-snow from vue-toolbar branch
* Update markup to use latest button classnames
- c-menu-button > c-button--menu;
- c-icon-button > c-click-icon;
* Various from vue-conductor-style
- Mods to input styling;
- Input[] styles moved to _controls;
- New/revised constants vals;
* Resolve bizarre merge conflict when applying stash
* Code cleanup
* Alias and type-icon fixes
- More robust approach to alias indicators;
- Added alias indication to tree-item.vue;
- TODO: wire up alias indication tree-item.vue;
* Accessibility mods, convert elements to <button>
- Better reset styles for htmlInputReset mixin to allow use of <button>
without browser default styling;
- Create button;
- BrowseBar action buttons;
- c-click-icons;
- Removed Preview button from BrowseBar.vue;
* Fix styles that were affected during resolving conflicts
* Moved draggable into __label element rather than whole <li>
* Change the priority to 100 to get the view working properly
* Code cleanup
* Remove angular layout
* Display the object name in the frame header
* Tweaks to __header in LayoutFrame
- Name now does not overflow frame edge;
- Layout strategy now in parity with similar elements in main view;
* Remove test()
* Add a type for display layout to make it appear in the Create menu.
* Change the key type to 'layout'
* Clean up code and hide toolbar
* Enable toolbar, and revert changes in webpack config
* Remove commented code
* revert to the original code
2018-10-04 22:59:23 +00:00
|
|
|
|
2018-10-10 19:45:46 +00:00
|
|
|
&--hrs-min-sec {
|
|
|
|
// Sized for values such as 00:25:00
|
|
|
|
width: 60px;
|
Reimplementation of Display Layout in Vue (#2185)
* Saving work
* Fix conflict
* Position the panels by setting the style
* Put the div back with height set to 100% in ObjectView.
Add markup for drag handles.
* Use default position and dimensions if the layout panel is missing those values. Set s-status-editing on the main div to get the drag handles appear for now.
* Display Layout and frames major improvements
- Moved Toolbar out of Layout.vue and into DisplayLayout.vue;
- Styles for object view, Layout, Frame, etc.
- Major refactor of markup for frame;
- Added abs() mixin;
- Styles for is-editing done;
- Styles for
- TODO: styles for selectable, moveable, etc.
* Implement drill in gesture.
* Hide the background grid when a frame is drilled in
* Edit styling and toolbar WIP
- c-search styles moved mostly into mixin;
- New .c-labeled-input class;
- Browser overrides for number-type input spinners in webkit;
* Toolbar WIP
- Custom wrapped number input added;
- Toolbar buttons WIP;
* New toolbar buttons WIP
* Define a computed property for the css class object.
* Frame edit handles markup and styling
* Toolbar, editing and selection style refinements
- Moved toolbar back into Layout.vue;
- Hard-coded 'is-editing' onto __pane-main for now,
removed from DisplayLayout.vue;
- Styles for frame in LayoutFrame.vue:
-- editing default (dotted border)
-- editing .s-selected
-- .s-drilled-in (renamed .is-drilled-in)
* Refactoring button classes
- Lots of stuff broken right now;
- TODO: lots of renaming (c-menu-button, c-icon-button, etc.);
- Removed import of _controls in search.vue;
* Fixes for selection on nested selected elements
* Fix conflict
* Significant refactoring of button and click-icon classes
- Markup and CSS updated;
- Toolbar in good shape, prior to merge of vue-layout;
* Fix issues with relative font-sizing
* Add color palette markup and CSS
- Also added Layers menu example;
* Font, font-size glyphs and size menu, and more
- Added art for font glyph and renamed from .icon-T;
- Added new glyph for font-size;
- Fixed font-sizing in controls;
- Added font-size menu;
- Re-org'd toolbar items;
* Styling tweak for c-labeled-input
- Code cleanup as well;
* Fixes for toolbar toggleMenus and labeledNumberInput
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Add custom checkbox control.
- Also, code cleanup.
* Add toggleButton component
- Code and examples
* Custom checkbox code cleanups, sanding
* - Persist new position/dimensions on the domain object when frames are moved/resized.
- Bypass the selection of the layout when dragging a frame is finished to keep the frame selected.
- Set the grid size to layoutGrid from domain object or use default if it's not specified.
* Fix conflict
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Remove old layout view, was triggering View Switcher
and massive confusion when viewing Layouts
- TODO: add view provider for new Layout
* Enable drag and drop
* Changed example toggle-button
- Now uses show/hide frame as toggle-button example;
* Added pseudocode for handling drag/drop composition change
* Add copyright notice
* Layout frame and contained components styling
- Hyperlinks, Hyperlink buttons, Summary Widgets now use `.u-links`
which disables their pointer-events when editing;
- Hyperlink buttons, Summary Widgets now expand to fill their
containers in a Layout;
- Markup and JS for Hyperlinks, Hyperlink buttons, Summary Widgets
somewhat
modded to use new classing, applied in legacy scss files;
* Fix icon sizing error in BrowseBar
* Edit and selecting styling for Layouts
- WIP!
* Edit and selecting styling for Layout frames
- Color vars more standardized;
- Hover and *-selected styles;
* Getting vue-toolbar reverted back to latest
- Merging this branch with vue-layout may cause conflicts;
* - Implement drag ’n drop.
- Set hasFrame to a default value if it’s not set on the configuration.
- Emit an event to the parent wrapper component to update the ‘newDomainObject’ prop whenever the domain object is mutated in the display layout child component.
* Revert emitting 'update:object' event to the parent.
* New branch from topic-core-refactor to use as central point for common
CSS work
- Manually migrated changes from vue-toolbar, expect conflicts there and
in vue-layout;
* Manually update constants-snow from vue-toolbar branch
* Update markup to use latest button classnames
- c-menu-button > c-button--menu;
- c-icon-button > c-click-icon;
* Various from vue-conductor-style
- Mods to input styling;
- Input[] styles moved to _controls;
- New/revised constants vals;
* Resolve bizarre merge conflict when applying stash
* Code cleanup
* Alias and type-icon fixes
- More robust approach to alias indicators;
- Added alias indication to tree-item.vue;
- TODO: wire up alias indication tree-item.vue;
* Accessibility mods, convert elements to <button>
- Better reset styles for htmlInputReset mixin to allow use of <button>
without browser default styling;
- Create button;
- BrowseBar action buttons;
- c-click-icons;
- Removed Preview button from BrowseBar.vue;
* Fix styles that were affected during resolving conflicts
* Moved draggable into __label element rather than whole <li>
* Change the priority to 100 to get the view working properly
* Code cleanup
* Remove angular layout
* Display the object name in the frame header
* Tweaks to __header in LayoutFrame
- Name now does not overflow frame edge;
- Layout strategy now in parity with similar elements in main view;
* Remove test()
* Add a type for display layout to make it appear in the Create menu.
* Change the key type to 'layout'
* Clean up code and hide toolbar
* Enable toolbar, and revert changes in webpack config
* Remove commented code
* revert to the original code
2018-10-04 22:59:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-10 19:45:46 +00:00
|
|
|
&-inline,
|
|
|
|
&--inline {
|
|
|
|
// A text input or contenteditable element that indicates edit affordance on hover and looks like an input on focus
|
2020-10-30 23:47:29 +00:00
|
|
|
@include inlineInput;
|
2018-10-10 19:45:46 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: $colorInputBg;
|
|
|
|
padding-left: $inputTextPLeftRight;
|
|
|
|
padding-right: $inputTextPLeftRight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--labeled {
|
|
|
|
// TODO: replace .c-labeled-input with this
|
|
|
|
// An input used in the Toolbar
|
|
|
|
// Assumes label is before the input
|
|
|
|
@include cControl();
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
}
|
Reimplementation of Display Layout in Vue (#2185)
* Saving work
* Fix conflict
* Position the panels by setting the style
* Put the div back with height set to 100% in ObjectView.
Add markup for drag handles.
* Use default position and dimensions if the layout panel is missing those values. Set s-status-editing on the main div to get the drag handles appear for now.
* Display Layout and frames major improvements
- Moved Toolbar out of Layout.vue and into DisplayLayout.vue;
- Styles for object view, Layout, Frame, etc.
- Major refactor of markup for frame;
- Added abs() mixin;
- Styles for is-editing done;
- Styles for
- TODO: styles for selectable, moveable, etc.
* Implement drill in gesture.
* Hide the background grid when a frame is drilled in
* Edit styling and toolbar WIP
- c-search styles moved mostly into mixin;
- New .c-labeled-input class;
- Browser overrides for number-type input spinners in webkit;
* Toolbar WIP
- Custom wrapped number input added;
- Toolbar buttons WIP;
* New toolbar buttons WIP
* Define a computed property for the css class object.
* Frame edit handles markup and styling
* Toolbar, editing and selection style refinements
- Moved toolbar back into Layout.vue;
- Hard-coded 'is-editing' onto __pane-main for now,
removed from DisplayLayout.vue;
- Styles for frame in LayoutFrame.vue:
-- editing default (dotted border)
-- editing .s-selected
-- .s-drilled-in (renamed .is-drilled-in)
* Refactoring button classes
- Lots of stuff broken right now;
- TODO: lots of renaming (c-menu-button, c-icon-button, etc.);
- Removed import of _controls in search.vue;
* Fixes for selection on nested selected elements
* Fix conflict
* Significant refactoring of button and click-icon classes
- Markup and CSS updated;
- Toolbar in good shape, prior to merge of vue-layout;
* Fix issues with relative font-sizing
* Add color palette markup and CSS
- Also added Layers menu example;
* Font, font-size glyphs and size menu, and more
- Added art for font glyph and renamed from .icon-T;
- Added new glyph for font-size;
- Fixed font-sizing in controls;
- Added font-size menu;
- Re-org'd toolbar items;
* Styling tweak for c-labeled-input
- Code cleanup as well;
* Fixes for toolbar toggleMenus and labeledNumberInput
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Add custom checkbox control.
- Also, code cleanup.
* Add toggleButton component
- Code and examples
* Custom checkbox code cleanups, sanding
* - Persist new position/dimensions on the domain object when frames are moved/resized.
- Bypass the selection of the layout when dragging a frame is finished to keep the frame selected.
- Set the grid size to layoutGrid from domain object or use default if it's not specified.
* Fix conflict
* Implement resize and move for frames.
Added stub for drag 'n drop.
* Remove old layout view, was triggering View Switcher
and massive confusion when viewing Layouts
- TODO: add view provider for new Layout
* Enable drag and drop
* Changed example toggle-button
- Now uses show/hide frame as toggle-button example;
* Added pseudocode for handling drag/drop composition change
* Add copyright notice
* Layout frame and contained components styling
- Hyperlinks, Hyperlink buttons, Summary Widgets now use `.u-links`
which disables their pointer-events when editing;
- Hyperlink buttons, Summary Widgets now expand to fill their
containers in a Layout;
- Markup and JS for Hyperlinks, Hyperlink buttons, Summary Widgets
somewhat
modded to use new classing, applied in legacy scss files;
* Fix icon sizing error in BrowseBar
* Edit and selecting styling for Layouts
- WIP!
* Edit and selecting styling for Layout frames
- Color vars more standardized;
- Hover and *-selected styles;
* Getting vue-toolbar reverted back to latest
- Merging this branch with vue-layout may cause conflicts;
* - Implement drag ’n drop.
- Set hasFrame to a default value if it’s not set on the configuration.
- Emit an event to the parent wrapper component to update the ‘newDomainObject’ prop whenever the domain object is mutated in the display layout child component.
* Revert emitting 'update:object' event to the parent.
* New branch from topic-core-refactor to use as central point for common
CSS work
- Manually migrated changes from vue-toolbar, expect conflicts there and
in vue-layout;
* Manually update constants-snow from vue-toolbar branch
* Update markup to use latest button classnames
- c-menu-button > c-button--menu;
- c-icon-button > c-click-icon;
* Various from vue-conductor-style
- Mods to input styling;
- Input[] styles moved to _controls;
- New/revised constants vals;
* Resolve bizarre merge conflict when applying stash
* Code cleanup
* Alias and type-icon fixes
- More robust approach to alias indicators;
- Added alias indication to tree-item.vue;
- TODO: wire up alias indication tree-item.vue;
* Accessibility mods, convert elements to <button>
- Better reset styles for htmlInputReset mixin to allow use of <button>
without browser default styling;
- Create button;
- BrowseBar action buttons;
- c-click-icons;
- Removed Preview button from BrowseBar.vue;
* Fix styles that were affected during resolving conflicts
* Moved draggable into __label element rather than whole <li>
* Change the priority to 100 to get the view working properly
* Code cleanup
* Remove angular layout
* Display the object name in the frame header
* Tweaks to __header in LayoutFrame
- Name now does not overflow frame edge;
- Layout strategy now in parity with similar elements in main view;
* Remove test()
* Add a type for display layout to make it appear in the Create menu.
* Change the key type to 'layout'
* Clean up code and hide toolbar
* Enable toolbar, and revert changes in webpack config
* Remove commented code
* revert to the original code
2018-10-04 22:59:23 +00:00
|
|
|
}
|
2019-08-30 22:51:52 +00:00
|
|
|
|
|
|
|
&--sm {
|
|
|
|
// Small inputs, like small numerics
|
|
|
|
width: 40px;
|
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
}
|
|
|
|
|
2019-09-20 00:56:17 +00:00
|
|
|
input[type=number].c-input-number--no-spinners {
|
|
|
|
&::-webkit-inner-spin-button,
|
|
|
|
&::-webkit-outer-spin-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
.c-labeled-input {
|
|
|
|
// An input used in the Toolbar
|
|
|
|
// Assumes label is before the input
|
|
|
|
@include cControl();
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-25 20:50:16 +00:00
|
|
|
// SELECTS
|
|
|
|
select {
|
|
|
|
@include appearanceNone();
|
2019-07-26 23:09:59 +00:00
|
|
|
background-color: $colorSelectBg;
|
|
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3e%3cpath fill='%23#{svgColorFromHex($colorSelectArw)}' d='M5 5l5-5H0z'/%3e%3c/svg%3e");
|
|
|
|
color: $colorSelectFg;
|
|
|
|
box-shadow: $shdwSelect;
|
2019-01-25 20:50:16 +00:00
|
|
|
background-repeat: no-repeat, no-repeat;
|
|
|
|
background-position: right .4em top 80%, 0 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: $controlCr;
|
2020-03-31 22:56:06 +00:00
|
|
|
padding: 2px 20px 2px $interiorMargin;
|
2019-03-21 19:39:29 +00:00
|
|
|
|
|
|
|
*,
|
|
|
|
option {
|
|
|
|
background: $colorBtnBg;
|
|
|
|
color: $colorBtnFg;
|
|
|
|
}
|
2019-01-25 20:50:16 +00:00
|
|
|
}
|
|
|
|
|
2019-03-12 19:20:03 +00:00
|
|
|
// CHECKBOX LISTS
|
|
|
|
// __input followed by __label
|
|
|
|
.c-checkbox-list {
|
|
|
|
// Rows
|
|
|
|
&__row + &__row { margin-top: $interiorMarginSm; }
|
|
|
|
|
|
|
|
// input and label in each __row
|
|
|
|
&__row {
|
|
|
|
> * + * { margin-left: $interiorMargin; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-26 18:38:38 +00:00
|
|
|
/******************************************************** TABS */
|
|
|
|
.c-tabs {
|
|
|
|
// Single horizontal strip of tabs, with a bottom divider line
|
|
|
|
@include userSelectNone();
|
|
|
|
display: flex;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
position: relative; // Required in case this is applied to a <ul>
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
// Separator line at bottom of tabs
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
width: 100%;
|
|
|
|
background: $colorBtnReverseBg;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-tab {
|
|
|
|
// Used in Tab View, generic tabs
|
2020-07-15 06:40:42 +00:00
|
|
|
$notchSize: 7px;
|
|
|
|
$clipPath:
|
|
|
|
polygon(
|
|
|
|
0% 0%,
|
|
|
|
calc(100% - #{$notchSize}) 0%,
|
|
|
|
100% #{$notchSize},
|
|
|
|
100% calc(100% - #{$notchSize}),
|
|
|
|
100% 100%,
|
|
|
|
0% 100%
|
|
|
|
);
|
|
|
|
background: rgba($colorBtnBg, 0.7);
|
2019-03-26 18:38:38 +00:00
|
|
|
color: $colorBtnFg;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
margin: 1px 1px 0 0;
|
|
|
|
padding: $interiorMargin $interiorMarginLg;
|
|
|
|
white-space: nowrap;
|
2020-07-15 06:40:42 +00:00
|
|
|
clip-path: $clipPath;
|
|
|
|
-webkit-clip-path: $clipPath; // Safari
|
2019-03-26 18:38:38 +00:00
|
|
|
|
2020-07-10 22:08:14 +00:00
|
|
|
> * + * {
|
|
|
|
margin-left: $interiorMargin;
|
|
|
|
}
|
|
|
|
|
2019-03-26 18:38:38 +00:00
|
|
|
@include hover() {
|
2020-07-10 22:08:14 +00:00
|
|
|
filter: $filterHov;
|
2019-03-26 18:38:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-current {
|
|
|
|
background: $colorBtnReverseBg;
|
|
|
|
color: $colorBtnReverseFg;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
/******************************************************** HYPERLINKS AND HYPERLINK BUTTONS */
|
|
|
|
.c-hyperlink {
|
|
|
|
&--link {
|
|
|
|
color: $colorKey;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--button {
|
|
|
|
@include cButton();
|
2018-09-13 22:14:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************** MENUS */
|
2018-09-11 17:10:59 +00:00
|
|
|
@mixin menuOuter() {
|
|
|
|
border-radius: $basicCr;
|
|
|
|
background: $colorMenuBg;
|
|
|
|
text-shadow: $shdwMenuText;
|
|
|
|
padding: $interiorMarginSm;
|
|
|
|
box-shadow: $shdwMenu;
|
2020-06-30 19:10:35 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-09-11 17:10:59 +00:00
|
|
|
position: absolute;
|
2018-12-12 03:25:20 +00:00
|
|
|
z-index: 100;
|
2020-06-30 19:10:35 +00:00
|
|
|
|
|
|
|
> * {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
//+ * {
|
|
|
|
// margin-top: $interiorMarginSm;
|
|
|
|
//}
|
|
|
|
}
|
2018-09-11 17:10:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin menuInner() {
|
|
|
|
li {
|
2018-10-03 00:31:45 +00:00
|
|
|
@include cControl();
|
|
|
|
justify-content: start;
|
2018-09-11 17:10:59 +00:00
|
|
|
color: $colorMenuFg;
|
2018-10-03 00:31:45 +00:00
|
|
|
cursor: pointer;
|
2018-09-11 17:10:59 +00:00
|
|
|
display: flex;
|
|
|
|
padding: nth($menuItemPad, 1) nth($menuItemPad, 2);
|
|
|
|
transition: $transIn;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $colorMenuHovBg;
|
|
|
|
color: $colorMenuHovFg;
|
|
|
|
&:before {
|
|
|
|
color: $colorMenuHovIc;
|
|
|
|
}
|
|
|
|
}
|
2018-12-20 21:17:44 +00:00
|
|
|
|
2018-09-11 17:10:59 +00:00
|
|
|
&:before {
|
|
|
|
color: $colorMenuIc;
|
|
|
|
font-size: 1em;
|
|
|
|
margin-right: $interiorMargin;
|
2019-04-28 19:29:16 +00:00
|
|
|
min-width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not([class]):before {
|
|
|
|
content: ''; // Add this element so that menu items without an icon still indent properly
|
2018-09-11 17:10:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-menu {
|
|
|
|
@include menuOuter();
|
|
|
|
@include menuInner();
|
2020-06-30 19:10:35 +00:00
|
|
|
|
|
|
|
&__section-hint {
|
|
|
|
$m: $interiorMargin;
|
|
|
|
margin: $m 0;
|
|
|
|
padding: $m nth($menuItemPad, 2) 0 nth($menuItemPad, 2);
|
|
|
|
|
|
|
|
opacity: 0.6;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__section-separator {
|
|
|
|
$m: $interiorMargin;
|
|
|
|
border-top: 1px solid $colorInteriorBorder;
|
|
|
|
margin: $m 0;
|
|
|
|
padding: $m nth($menuItemPad, 2) 0 nth($menuItemPad, 2);
|
|
|
|
}
|
2018-09-11 17:10:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-super-menu {
|
|
|
|
// Two column layout, menu items on left with detail of hover element on right
|
|
|
|
@include menuOuter();
|
|
|
|
display: flex;
|
|
|
|
padding: $interiorMarginLg;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
> [class*="__"] {
|
|
|
|
$m: $interiorMarginLg;
|
|
|
|
flex: 1 1 50%;
|
|
|
|
&:first-child {
|
|
|
|
margin-right: $m;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-left: 1px solid $colorInteriorBorder;
|
|
|
|
padding-left: $m;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__menu {
|
|
|
|
@include menuInner();
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-right: $interiorMarginSm; // Fend off scrollbar
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
border-radius: $controlCr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item-description {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.l-item-description {
|
|
|
|
&__name,
|
|
|
|
&__description {
|
|
|
|
margin-top: $interiorMarginLg;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
min-height: 20%;
|
|
|
|
margin: 10% 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
2018-10-10 19:45:46 +00:00
|
|
|
color: $colorMenuFg;
|
2018-09-11 17:10:59 +00:00
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
font-size: $fontBaseSize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-30 23:39:20 +00:00
|
|
|
/******************************************************** CONTROL BARS */
|
|
|
|
.c-control-bar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
> * + * {
|
|
|
|
margin-left: $interiorMarginSm;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2018-09-11 17:10:59 +00:00
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
/******************************************************** PALETTES */
|
|
|
|
.c-palette {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
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 20:27:13 +00:00
|
|
|
line-height: normal;
|
2018-10-03 00:31:45 +00:00
|
|
|
|
|
|
|
&__items {
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 1px;
|
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 20:27:13 +00:00
|
|
|
grid-template-columns: repeat(auto-fill, 12px);
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
.c-menu & {
|
|
|
|
min-width: $paletteMenuMinW;
|
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
2018-12-20 21:17:44 +00:00
|
|
|
$d: 12px;
|
2018-10-03 00:31:45 +00:00
|
|
|
border: 1px solid transparent;
|
|
|
|
cursor: pointer;
|
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 20:27:13 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
|
|
|
width: $d;
|
|
|
|
height: $d;
|
|
|
|
text-align: center;
|
2018-10-03 00:31:45 +00:00
|
|
|
transition: $transOut;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
transition: $transIn;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selected {
|
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 20:27:13 +00:00
|
|
|
border-width: 1px;
|
2018-10-03 00:31:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item-none {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: $interiorMarginSm;
|
|
|
|
|
|
|
|
.c-palette__item {
|
|
|
|
@include noColor();
|
|
|
|
border-color: $paletteItemBorderInnerColor;
|
|
|
|
margin-right: $interiorMarginSm;
|
|
|
|
}
|
|
|
|
}
|
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 20:27:13 +00:00
|
|
|
|
|
|
|
&--color {
|
|
|
|
.c-palette__item {
|
|
|
|
&:hover {
|
|
|
|
border-color: rgba($paletteItemBorderOuterColorSelected, 0.7);
|
|
|
|
box-shadow: inset rgba($paletteItemBorderInnerColorSelected, 0.7) 0 0 0 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selected {
|
|
|
|
border-color: $paletteItemBorderOuterColorSelected !important;
|
|
|
|
box-shadow: inset rgba($paletteItemBorderInnerColorSelected, 1) 0 0 0 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--icon {
|
|
|
|
.c-palette__items {
|
|
|
|
grid-gap: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-palette__item {
|
|
|
|
border-radius: $smallCr;
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: rgba($paletteItemBorderInnerColorSelected, 0.3) 0 0 0 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-selected {
|
|
|
|
box-shadow: rgba($paletteItemBorderInnerColorSelected, 0.6) 0 0 0 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
}
|
|
|
|
|
2018-12-20 21:17:44 +00:00
|
|
|
/******************************************************** SWATCHES */
|
|
|
|
.c-color-swatch {
|
|
|
|
border: 1px solid rgba(#fff, 0.2);
|
|
|
|
box-shadow: rgba(#000, 0.2) 0 0 0 1px;
|
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
/******************************************************** TOOLBAR */
|
|
|
|
.c-ctrl-wrapper {
|
|
|
|
@include cCtrlWrapper();
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-toolbar,
|
|
|
|
.c-toolbar .c-ctrl-wrapper {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
2018-11-09 01:09:17 +00:00
|
|
|
@mixin cToolbarSeparator() {
|
2019-01-25 20:50:16 +00:00
|
|
|
$m: 1px;
|
2018-11-09 01:09:17 +00:00
|
|
|
$b: 1px;
|
|
|
|
display: block;
|
|
|
|
width: $m + $b; // Allow for border
|
|
|
|
border-right: $b solid $colorInteriorBorder;
|
|
|
|
margin-right: $m;
|
|
|
|
}
|
|
|
|
|
2019-07-25 20:47:40 +00:00
|
|
|
.c-separator {
|
|
|
|
@include cToolbarSeparator();
|
2020-03-09 17:31:26 +00:00
|
|
|
height: 100%;
|
2019-07-25 20:47:40 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 22:56:06 +00:00
|
|
|
.c-row-separator {
|
|
|
|
border-top: 1px solid $colorInteriorBorder;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
.c-toolbar {
|
2020-10-23 16:32:35 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
// First level items
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
> * + * {
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
2019-01-25 20:50:16 +00:00
|
|
|
}
|
|
|
|
|
2018-11-09 01:09:17 +00:00
|
|
|
&__separator {
|
|
|
|
@include cToolbarSeparator();
|
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
|
2019-03-21 22:07:16 +00:00
|
|
|
.c-icon-button,
|
2019-01-22 19:52:56 +00:00
|
|
|
.c-labeled-input {
|
|
|
|
color: $editUIBaseColorFg;
|
|
|
|
}
|
|
|
|
|
2019-03-21 22:07:16 +00:00
|
|
|
.c-icon-button {
|
2018-10-03 00:31:45 +00:00
|
|
|
@include cControl();
|
|
|
|
$pLR: $interiorMargin - 1;
|
|
|
|
$pTB: 2px;
|
|
|
|
padding: $pTB $pLR;
|
|
|
|
|
2020-03-31 19:11:11 +00:00
|
|
|
@include hover() {
|
2019-01-22 19:52:56 +00:00
|
|
|
background: $editUIBaseColorHov !important;
|
|
|
|
color: $editUIBaseColorFg !important;
|
|
|
|
}
|
|
|
|
|
2018-10-03 00:31:45 +00:00
|
|
|
&--swatched {
|
|
|
|
padding-bottom: floor($pTB / 2);
|
|
|
|
width: 2em; // Standardize the width
|
|
|
|
}
|
|
|
|
|
|
|
|
&[class*='--caution'] {
|
|
|
|
&:before {
|
|
|
|
color: $colorBtnCautionBg;
|
|
|
|
}
|
|
|
|
|
2020-03-31 19:11:11 +00:00
|
|
|
@include hover() {
|
2018-10-03 00:31:45 +00:00
|
|
|
background: rgba($colorBtnCautionBgHov, 0.2);
|
|
|
|
:before {
|
|
|
|
color: $colorBtnCautionBgHov;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-labeled-input {
|
|
|
|
font-size: 0.9em;
|
|
|
|
input[type='number'] {
|
|
|
|
width: 40px; // Number input sucks and must have size set using this method
|
|
|
|
}
|
|
|
|
|
|
|
|
+ .c-labeled-input {
|
|
|
|
margin-left: $interiorMargin;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/********* Button Sets */
|
|
|
|
.c-button-set {
|
|
|
|
display: inline-flex;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
// Assume buttons are immediate descendants
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[class*='--strip'] {
|
|
|
|
// Buttons are smashed together with minimal margin
|
2019-03-21 22:07:16 +00:00
|
|
|
// c-buttons don't have border-radius between buttons, creates a tool-button-strip look
|
|
|
|
// c-icon-buttons get grouped more closely together
|
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 20:27:13 +00:00
|
|
|
[class^="c-button"] {
|
2018-10-03 00:31:45 +00:00
|
|
|
// Only apply the following to buttons that have background, eg. c-button
|
|
|
|
border-radius: 0;
|
2019-03-21 20:57:41 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-03 00:31:45 +00:00
|
|
|
|
2019-03-21 20:57:41 +00:00
|
|
|
&[class*='--strip-h'] {
|
|
|
|
// Horizontal strip
|
|
|
|
|
|
|
|
+ .c-button-set {
|
|
|
|
margin-left: $interiorMargin;
|
|
|
|
}
|
|
|
|
|
|
|
|
[class^="c-button"] {
|
2018-10-03 00:31:45 +00:00
|
|
|
+ * {
|
|
|
|
margin-left: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: $controlCr;
|
|
|
|
border-bottom-left-radius: $controlCr;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-top-right-radius: $controlCr;
|
|
|
|
border-bottom-right-radius: $controlCr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-10 19:45:46 +00:00
|
|
|
|
2020-03-31 22:56:06 +00:00
|
|
|
/******************************************************** STYLE EDITING */
|
|
|
|
.c-style {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
> * + * { margin-left: $interiorMargin; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-style-thumb {
|
|
|
|
background-size: cover;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: $basicCr;
|
|
|
|
box-shadow: rgba($colorBodyFg, 0.4) 0 0 3px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: $interiorMargin $interiorMarginLg;
|
2020-04-10 22:22:47 +00:00
|
|
|
|
|
|
|
&--mixed {
|
|
|
|
@include mixedBg();
|
|
|
|
}
|
2020-03-31 22:56:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************** SLIDERS */
|
2018-10-10 19:45:46 +00:00
|
|
|
.c-slider {
|
|
|
|
@include cControl();
|
|
|
|
> * + * { margin-left: $interiorMargin; }
|
|
|
|
}
|
2018-10-26 21:14:00 +00:00
|
|
|
|
2018-12-18 19:07:09 +00:00
|
|
|
|
|
|
|
/******************************************************** SLIDERS AND RANGE */
|
2020-11-02 16:38:13 +00:00
|
|
|
@mixin sliderKnobRound($h: 12px) {
|
2018-12-18 19:07:09 +00:00
|
|
|
@include themedButton();
|
|
|
|
cursor: pointer;
|
|
|
|
width: $h;
|
|
|
|
height: $h;
|
|
|
|
border-radius: 50% !important;
|
2020-11-02 16:38:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin sliderTrack($bg: $scrollbarTrackColorBg, $knobH: 12px, $trackH: 3px) {
|
|
|
|
border-radius: 2px;
|
|
|
|
$breakPointPx: floor(($knobH - $trackH) / 2);
|
|
|
|
$bp1: $breakPointPx;
|
|
|
|
$bp2: $breakPointPx + $trackH;
|
|
|
|
box-sizing: border-box;
|
|
|
|
// For cross-browser compatibility, the track needs to be the same height as the knob.
|
|
|
|
height: $knobH;
|
|
|
|
// Gradient visually adds a horizontal line smaller than the knob
|
|
|
|
background: linear-gradient(0deg, rgba($bg,0) $bp1, $bg $bp1, $bg $bp2, rgba($bg,0) $bp2);
|
2018-12-18 19:07:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"] {
|
|
|
|
// HTML5 range inputs
|
2020-11-02 16:38:13 +00:00
|
|
|
$knobH: 11px;
|
|
|
|
$trackH: 3px;
|
2018-12-18 19:07:09 +00:00
|
|
|
-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
|
|
|
|
background: transparent; /* Otherwise white in Chrome */
|
2020-11-02 16:38:13 +00:00
|
|
|
|
2018-12-18 19:07:09 +00:00
|
|
|
&:focus {
|
|
|
|
outline: none; /* Removes the blue border. */
|
|
|
|
}
|
|
|
|
|
|
|
|
// Thumb
|
|
|
|
&::-webkit-slider-thumb {
|
|
|
|
-webkit-appearance: none;
|
2020-11-02 16:38:13 +00:00
|
|
|
@include sliderKnobRound($knobH);
|
2018-12-18 19:07:09 +00:00
|
|
|
}
|
|
|
|
&::-moz-range-thumb {
|
|
|
|
border: none;
|
2020-11-02 16:38:13 +00:00
|
|
|
@include sliderKnobRound($knobH);
|
2018-12-18 19:07:09 +00:00
|
|
|
}
|
|
|
|
&::-ms-thumb {
|
|
|
|
border: none;
|
2020-11-02 16:38:13 +00:00
|
|
|
@include sliderKnobRound($knobH);
|
2018-12-18 19:07:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Track
|
|
|
|
&::-webkit-slider-runnable-track {
|
|
|
|
width: 100%;
|
2020-11-02 16:38:13 +00:00
|
|
|
@include sliderTrack($knobH: $knobH, $trackH: $trackH);
|
2018-12-18 19:07:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-range-track {
|
|
|
|
width: 100%;
|
2020-11-02 16:38:13 +00:00
|
|
|
@include sliderTrack($knobH: $knobH, $trackH: $trackH);
|
2018-12-18 19:07:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-04 17:45:17 +00:00
|
|
|
/******************************************************** LOCAL CONTROLS */
|
2019-03-21 20:57:41 +00:00
|
|
|
.h-local-controls {
|
|
|
|
// Holder for local controls
|
|
|
|
&--horz {
|
|
|
|
// Horizontal layout be
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-local-controls {
|
|
|
|
// Controls that are in close proximity to an element they effect
|
|
|
|
&--show-on-hover {
|
|
|
|
// Hidden by default; requires a hover 1 - 3 levels above to display
|
|
|
|
transition: $transOut;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-local-controls:hover {
|
|
|
|
> .c-local-controls--show-on-hover,
|
|
|
|
> * > .c-local-controls--show-on-hover,
|
|
|
|
> * > * > .c-local-controls--show-on-hover,
|
|
|
|
> * > * > * > .c-local-controls--show-on-hover
|
|
|
|
{
|
|
|
|
transition: $transIn;
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-26 21:14:00 +00:00
|
|
|
/***************************************************** DRAG AND DROP */
|
|
|
|
.c-drop-hint {
|
|
|
|
// Used in Tabs View, Flexible Grid Layouts
|
|
|
|
@include abs();
|
|
|
|
background-color: $colorDropHintBg;
|
|
|
|
color: $colorDropHintFg;
|
|
|
|
border-radius: $basicCr;
|
|
|
|
border: 1px dashed $colorDropHintFg;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
transition: $transOut;
|
|
|
|
z-index: 50;
|
|
|
|
|
Flexible Layout (#2201)
* first cut of flexible layout
* better drag handling
* add drop targets to every row
* enable drag and drop between columns and rows
* enable persistance
* add editing capability
* chage rows to frames and columns to containers, switch draggable to whole frame object
* Merge latest, resolve conflicts.
Need to just apply these changes to Deep's branch and push
* enhancements to drag targets
* WIP in flexibleLayout, container.vue files
- Refined classes and markup;
- min-width changed to flex-basis;
- Added toggle direction button;
* Significant progress but still WIP
- Refined classes and markup;
- Layout toggling working;
- Add Container working properly;
- TODOs: fix sizing in empty container, fix bordering, more refinements;
* add resizing of frames - still wip
* Significant enhancements
- Moved all CSS into flexibleLayout.vue;
- Layout now improved for empty container and drop hints;
- Proportional sizing now better for frames and containers;
* Resize handle WIP
* abstract splitter and logic into self contained component that will emit an event when mouse is moving
* Resize handle WIP
- Minor tweak to handle padding and hover;
* add container resize todo persist
* persist container resize
* add frame header, fix column resize on last column
* Refinements to resize-handle
- Fixed sizing;
- Transition on hover;
- TODOs: needs is-dragging to maintain hover style while dragging;
* fix drop hints showing after drop
* move header
* improve mouse move gesture
* Added frame size indicator
* add snapto functionality
* Refined container and frame size indicators
- Also added overflow handling to l-grid-view
* improve resizing logic
* add selection on frames
* Various resizing-frames related
- Fixed overflow - now frame widths can be collapsed to 5% minimum;
- Sizing indicators refined, better positioning and layout;
- Added grippy drag indicators to column heads;
- TODOs: add column head cursors and hover effects, hide indicators
when not in edit mode, handle nested layout and flex layouts while
editing
* Selecting and emtpy layout messaging
- Better empty layout message;
- Moved s-selected to proper element in c-fl-frame;
* Drop-hint and sizing related various
- Drop-hints for first placeholder container now display;
- Drop-hints moved into drag-wrapper;
* add delete frame
* Editing various
- Adjust Snow theme constants related to editing;
- Changed delete message wording;
* Updated icon and added description
* add toggle and remove container to toolbar
* miscellaneous cleanup
* add container button to toolbar
* improve toolbar
* code cleanup in plugin.js
* Various icons, toolbar separator
- Copied in c-toolbar__separator and associated changes in _controls
from Pegah's layout_alpha branch - may have conflicts later.
- Added separator to FL toolbar;
- Updated icons for grippy-ew, toolbar icons;
* add check for empty containers"
* logic to resize frames on drop
* fix delete frame and persisting toolbar
* Significant changes to edit / selection styling
- Both Flexible and fixed Display Layouts addressed;
- Both themes addressed;
- Changed drop-hint icon to icon-plus;
* add correct icons to frame header and fix toolbars showing up in wrong views
* Moving and resizing various
- Cursors;
- Grippy added to frame resize-handle, WIP!;
* add container reordering
* add frame/no frame support to toolbar'
* fix regression of resize handles showing after last frame in container
* force selection of flexible-layout when editing is first clicked, to apply correct toolbar
* make changes to simplify toolbar
* Modified sizing algorithm slightly
* make changes reviewer requested
* fix regression that causes top drop hint to not show
* remove unused variables and bind events to vue
* unsub selection before destroy
2018-11-09 01:17:14 +00:00
|
|
|
&:not(.c-drop-hint--always-show) {
|
|
|
|
opacity: 0; // Must use this (rather than display: none) to enable transition effects
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2018-10-26 21:14:00 +00:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
$h: 80%;
|
Flexible Layout (#2201)
* first cut of flexible layout
* better drag handling
* add drop targets to every row
* enable drag and drop between columns and rows
* enable persistance
* add editing capability
* chage rows to frames and columns to containers, switch draggable to whole frame object
* Merge latest, resolve conflicts.
Need to just apply these changes to Deep's branch and push
* enhancements to drag targets
* WIP in flexibleLayout, container.vue files
- Refined classes and markup;
- min-width changed to flex-basis;
- Added toggle direction button;
* Significant progress but still WIP
- Refined classes and markup;
- Layout toggling working;
- Add Container working properly;
- TODOs: fix sizing in empty container, fix bordering, more refinements;
* add resizing of frames - still wip
* Significant enhancements
- Moved all CSS into flexibleLayout.vue;
- Layout now improved for empty container and drop hints;
- Proportional sizing now better for frames and containers;
* Resize handle WIP
* abstract splitter and logic into self contained component that will emit an event when mouse is moving
* Resize handle WIP
- Minor tweak to handle padding and hover;
* add container resize todo persist
* persist container resize
* add frame header, fix column resize on last column
* Refinements to resize-handle
- Fixed sizing;
- Transition on hover;
- TODOs: needs is-dragging to maintain hover style while dragging;
* fix drop hints showing after drop
* move header
* improve mouse move gesture
* Added frame size indicator
* add snapto functionality
* Refined container and frame size indicators
- Also added overflow handling to l-grid-view
* improve resizing logic
* add selection on frames
* Various resizing-frames related
- Fixed overflow - now frame widths can be collapsed to 5% minimum;
- Sizing indicators refined, better positioning and layout;
- Added grippy drag indicators to column heads;
- TODOs: add column head cursors and hover effects, hide indicators
when not in edit mode, handle nested layout and flex layouts while
editing
* Selecting and emtpy layout messaging
- Better empty layout message;
- Moved s-selected to proper element in c-fl-frame;
* Drop-hint and sizing related various
- Drop-hints for first placeholder container now display;
- Drop-hints moved into drag-wrapper;
* add delete frame
* Editing various
- Adjust Snow theme constants related to editing;
- Changed delete message wording;
* Updated icon and added description
* add toggle and remove container to toolbar
* miscellaneous cleanup
* add container button to toolbar
* improve toolbar
* code cleanup in plugin.js
* Various icons, toolbar separator
- Copied in c-toolbar__separator and associated changes in _controls
from Pegah's layout_alpha branch - may have conflicts later.
- Added separator to FL toolbar;
- Updated icons for grippy-ew, toolbar icons;
* add check for empty containers"
* logic to resize frames on drop
* fix delete frame and persisting toolbar
* Significant changes to edit / selection styling
- Both Flexible and fixed Display Layouts addressed;
- Both themes addressed;
- Changed drop-hint icon to icon-plus;
* add correct icons to frame header and fix toolbars showing up in wrong views
* Moving and resizing various
- Cursors;
- Grippy added to frame resize-handle, WIP!;
* add container reordering
* add frame/no frame support to toolbar'
* fix regression of resize handles showing after last frame in container
* force selection of flexible-layout when editing is first clicked, to apply correct toolbar
* make changes to simplify toolbar
* Modified sizing algorithm slightly
* make changes reviewer requested
* fix regression that causes top drop hint to not show
* remove unused variables and bind events to vue
* unsub selection before destroy
2018-11-09 01:17:14 +00:00
|
|
|
$mh: 25px;
|
|
|
|
background: $bg-icon-plus;
|
2018-10-26 21:14:00 +00:00
|
|
|
background-size: contain;
|
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
filter: $colorKeyFilterHov;
|
|
|
|
height: $h; width: $h;
|
|
|
|
max-height: $mh; max-width: $mh;
|
|
|
|
}
|
|
|
|
|
Flexible Layout (#2201)
* first cut of flexible layout
* better drag handling
* add drop targets to every row
* enable drag and drop between columns and rows
* enable persistance
* add editing capability
* chage rows to frames and columns to containers, switch draggable to whole frame object
* Merge latest, resolve conflicts.
Need to just apply these changes to Deep's branch and push
* enhancements to drag targets
* WIP in flexibleLayout, container.vue files
- Refined classes and markup;
- min-width changed to flex-basis;
- Added toggle direction button;
* Significant progress but still WIP
- Refined classes and markup;
- Layout toggling working;
- Add Container working properly;
- TODOs: fix sizing in empty container, fix bordering, more refinements;
* add resizing of frames - still wip
* Significant enhancements
- Moved all CSS into flexibleLayout.vue;
- Layout now improved for empty container and drop hints;
- Proportional sizing now better for frames and containers;
* Resize handle WIP
* abstract splitter and logic into self contained component that will emit an event when mouse is moving
* Resize handle WIP
- Minor tweak to handle padding and hover;
* add container resize todo persist
* persist container resize
* add frame header, fix column resize on last column
* Refinements to resize-handle
- Fixed sizing;
- Transition on hover;
- TODOs: needs is-dragging to maintain hover style while dragging;
* fix drop hints showing after drop
* move header
* improve mouse move gesture
* Added frame size indicator
* add snapto functionality
* Refined container and frame size indicators
- Also added overflow handling to l-grid-view
* improve resizing logic
* add selection on frames
* Various resizing-frames related
- Fixed overflow - now frame widths can be collapsed to 5% minimum;
- Sizing indicators refined, better positioning and layout;
- Added grippy drag indicators to column heads;
- TODOs: add column head cursors and hover effects, hide indicators
when not in edit mode, handle nested layout and flex layouts while
editing
* Selecting and emtpy layout messaging
- Better empty layout message;
- Moved s-selected to proper element in c-fl-frame;
* Drop-hint and sizing related various
- Drop-hints for first placeholder container now display;
- Drop-hints moved into drag-wrapper;
* add delete frame
* Editing various
- Adjust Snow theme constants related to editing;
- Changed delete message wording;
* Updated icon and added description
* add toggle and remove container to toolbar
* miscellaneous cleanup
* add container button to toolbar
* improve toolbar
* code cleanup in plugin.js
* Various icons, toolbar separator
- Copied in c-toolbar__separator and associated changes in _controls
from Pegah's layout_alpha branch - may have conflicts later.
- Added separator to FL toolbar;
- Updated icons for grippy-ew, toolbar icons;
* add check for empty containers"
* logic to resize frames on drop
* fix delete frame and persisting toolbar
* Significant changes to edit / selection styling
- Both Flexible and fixed Display Layouts addressed;
- Both themes addressed;
- Changed drop-hint icon to icon-plus;
* add correct icons to frame header and fix toolbars showing up in wrong views
* Moving and resizing various
- Cursors;
- Grippy added to frame resize-handle, WIP!;
* add container reordering
* add frame/no frame support to toolbar'
* fix regression of resize handles showing after last frame in container
* force selection of flexible-layout when editing is first clicked, to apply correct toolbar
* make changes to simplify toolbar
* Modified sizing algorithm slightly
* make changes reviewer requested
* fix regression that causes top drop hint to not show
* remove unused variables and bind events to vue
* unsub selection before destroy
2018-11-09 01:17:14 +00:00
|
|
|
.is-dragging &,
|
|
|
|
&.is-dragging {
|
2018-10-26 21:14:00 +00:00
|
|
|
pointer-events: inherit;
|
|
|
|
transition: $transIn;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
Flexible Layout (#2201)
* first cut of flexible layout
* better drag handling
* add drop targets to every row
* enable drag and drop between columns and rows
* enable persistance
* add editing capability
* chage rows to frames and columns to containers, switch draggable to whole frame object
* Merge latest, resolve conflicts.
Need to just apply these changes to Deep's branch and push
* enhancements to drag targets
* WIP in flexibleLayout, container.vue files
- Refined classes and markup;
- min-width changed to flex-basis;
- Added toggle direction button;
* Significant progress but still WIP
- Refined classes and markup;
- Layout toggling working;
- Add Container working properly;
- TODOs: fix sizing in empty container, fix bordering, more refinements;
* add resizing of frames - still wip
* Significant enhancements
- Moved all CSS into flexibleLayout.vue;
- Layout now improved for empty container and drop hints;
- Proportional sizing now better for frames and containers;
* Resize handle WIP
* abstract splitter and logic into self contained component that will emit an event when mouse is moving
* Resize handle WIP
- Minor tweak to handle padding and hover;
* add container resize todo persist
* persist container resize
* add frame header, fix column resize on last column
* Refinements to resize-handle
- Fixed sizing;
- Transition on hover;
- TODOs: needs is-dragging to maintain hover style while dragging;
* fix drop hints showing after drop
* move header
* improve mouse move gesture
* Added frame size indicator
* add snapto functionality
* Refined container and frame size indicators
- Also added overflow handling to l-grid-view
* improve resizing logic
* add selection on frames
* Various resizing-frames related
- Fixed overflow - now frame widths can be collapsed to 5% minimum;
- Sizing indicators refined, better positioning and layout;
- Added grippy drag indicators to column heads;
- TODOs: add column head cursors and hover effects, hide indicators
when not in edit mode, handle nested layout and flex layouts while
editing
* Selecting and emtpy layout messaging
- Better empty layout message;
- Moved s-selected to proper element in c-fl-frame;
* Drop-hint and sizing related various
- Drop-hints for first placeholder container now display;
- Drop-hints moved into drag-wrapper;
* add delete frame
* Editing various
- Adjust Snow theme constants related to editing;
- Changed delete message wording;
* Updated icon and added description
* add toggle and remove container to toolbar
* miscellaneous cleanup
* add container button to toolbar
* improve toolbar
* code cleanup in plugin.js
* Various icons, toolbar separator
- Copied in c-toolbar__separator and associated changes in _controls
from Pegah's layout_alpha branch - may have conflicts later.
- Added separator to FL toolbar;
- Updated icons for grippy-ew, toolbar icons;
* add check for empty containers"
* logic to resize frames on drop
* fix delete frame and persisting toolbar
* Significant changes to edit / selection styling
- Both Flexible and fixed Display Layouts addressed;
- Both themes addressed;
- Changed drop-hint icon to icon-plus;
* add correct icons to frame header and fix toolbars showing up in wrong views
* Moving and resizing various
- Cursors;
- Grippy added to frame resize-handle, WIP!;
* add container reordering
* add frame/no frame support to toolbar'
* fix regression of resize handles showing after last frame in container
* force selection of flexible-layout when editing is first clicked, to apply correct toolbar
* make changes to simplify toolbar
* Modified sizing algorithm slightly
* make changes reviewer requested
* fix regression that causes top drop hint to not show
* remove unused variables and bind events to vue
* unsub selection before destroy
2018-11-09 01:17:14 +00:00
|
|
|
.is-mouse-over &,
|
|
|
|
&.is-mouse-over {
|
2018-10-26 21:14:00 +00:00
|
|
|
transition: $transIn;
|
|
|
|
background-color: $colorDropHintBgHov;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
}
|
2018-12-18 19:07:09 +00:00
|
|
|
|
|
|
|
/***************************************************** LEGACY */
|
|
|
|
.l-btn-set {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|