From a0b7999ea2c25b8e2fdd4fcd0d3751b365851a4a Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Tue, 25 Feb 2020 11:47:27 -0800 Subject: [PATCH] Imagery fixes (#2668) * Fix imagery-related styles and markup - VERY WIP!!! - Style modernizing; - Also, padding fixes for pane.scss - unit test for regressions! * Fix imagery-related styles and markup - VERY WIP!!! - Style modernizing WIP; - Fixes to pane classes for better padding in vertical panes; * Fix imagery-related styles and markup - Migrated all imagery CSS into imagery-view-layout.scss from _legacy .scss; - CSS cleanups; - Refactoring/simplification of thumb layout; - Color fixed for $colorPausedFg in theme constants; * Scroll to right instead of bottom, on autoscroll. * Fix imagery-related styles and markup - Make the most recent thumb visually distinct; - Clicking a selected thumb now deselects it and unpauses the view; * Imagery fixes - Fixed thumb click logic to properly toggle paused when clicking a selected thumb; - Improved CSS so that `selected` updates more quickly when selecting the latest thumb; - Clicking the main image pause button now selects the proper thumb; * Fix linting errors Co-authored-by: Nikhil --- .../imagery/components/ImageryViewLayout.vue | 161 ++++++------ .../components/imagery-view-layout.scss | 153 +++++++++++- src/styles/_constants-espresso.scss | 2 +- src/styles/_constants-maelstrom.scss | 2 +- src/styles/_legacy.scss | 230 ------------------ src/ui/layout/pane.scss | 9 +- 6 files changed, 226 insertions(+), 331 deletions(-) diff --git a/src/plugins/imagery/components/ImageryViewLayout.vue b/src/plugins/imagery/components/ImageryViewLayout.vue index 9a08fb91e9..c308e4c366 100644 --- a/src/plugins/imagery/components/ImageryViewLayout.vue +++ b/src/plugins/imagery/components/ImageryViewLayout.vue @@ -1,90 +1,68 @@