From 135d22586bd250d71433dec247a25d80abf61123 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Tue, 5 May 2020 17:31:18 +0100 Subject: [PATCH] ui: Tab Improvements (animations/branding) (#7772) * ui: Adds a tab selection animation to our app tabs 1. Replace all mentions of `magenta` with a themeable CSS property. 2. Add an easy way to inline style DOM nodes 3. Use CSS properties to add tab animation * Fix up rendering test * Avoid DOM noodling as much as possible --- ui-v2/app/components/tab-nav/index.hbs | 12 +++++--- ui-v2/app/components/tab-nav/index.js | 30 +++++++++++++++++++ ui-v2/app/styles/base/animation/index.scss | 4 +++ .../styles/base/color/frame-placeholders.scss | 6 ++++ .../base/components/form-elements/skin.scss | 3 +- .../base/components/menu-panel/skin.scss | 2 +- .../styles/base/components/tabs/index.scss | 4 +++ .../styles/base/components/tabs/layout.scss | 20 ++++++++----- .../app/styles/base/components/tabs/skin.scss | 27 +++++++++-------- .../components/main-header-horizontal.scss | 8 ++--- ui-v2/app/styles/components/tabs.scss | 6 ++-- ui-v2/app/styles/routes/dc/acls/index.scss | 2 +- ui-v2/app/styles/variables/index.scss | 19 ++++++++++++ .../integration/components/tab-nav-test.js | 14 ++++----- ui-v2/tests/lib/page-object/tabgroup.js | 2 +- 15 files changed, 117 insertions(+), 42 deletions(-) diff --git a/ui-v2/app/components/tab-nav/index.hbs b/ui-v2/app/components/tab-nav/index.hbs index f50e91f459..62a978ecb4 100644 --- a/ui-v2/app/components/tab-nav/index.hbs +++ b/ui-v2/app/components/tab-nav/index.hbs @@ -1,17 +1,21 @@ -