From ed5bb517266c80904c44bf44a335f1003f5aa277 Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Thu, 23 Jul 2020 15:09:15 +0200 Subject: Improve navigation sub-menu and tabs effects (#2971) * Improve nav border and colors on active and non-active * Remove margin-top effect on active nav * Use opacity / bold instead of color change on nav * Remove dropdown items label in sub-menu and add a class active * Position sub-menu to fixed * Autoclose dropdown sub-menu only on outside click * Remove open dropdown on hover in sub-menu * Show reusable h1 for dropdown item in sub-menu * Put reusable sub-menu h1 styles to mixins * Add icons to sub-menu dropdown-item h1 * Make all the sub-menu accessible with focus Co-authored-by: kimsible --- .../my-account-video-channels.component.html | 6 +++++- .../my-account-history/my-account-history.component.html | 6 +++++- .../my-account-ownership/my-account-ownership.component.html | 6 +++++- .../my-account-subscriptions.component.html | 6 +++++- .../my-account-video-imports.component.html | 6 +++++- .../my-account-video-playlists.component.html | 8 ++++++-- .../my-account-video-playlists.component.scss | 4 ---- .../my-account-videos/my-account-videos.component.html | 9 +++++---- .../my-account-videos/my-account-videos.component.scss | 6 ------ client/src/app/+my-account/my-account.component.scss | 5 +++++ 10 files changed, 41 insertions(+), 21 deletions(-) (limited to 'client/src/app/+my-account') diff --git a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html b/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html index b2e8210d3..e8d44a45e 100644 --- a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html +++ b/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html @@ -1,4 +1,8 @@ -

My channels

+

+ + My channels +

+
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.html b/client/src/app/+my-account/my-account-history/my-account-history.component.html index cfa5ca636..cff46a41d 100644 --- a/client/src/app/+my-account/my-account-history/my-account-history.component.html +++ b/client/src/app/+my-account/my-account-history/my-account-history.component.html @@ -1,4 +1,8 @@ -

History

+

+ + My history +

+
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html index 090ec7b44..be5d41f3b 100644 --- a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html +++ b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html @@ -1,4 +1,8 @@ -

Ownership changes

+

+ + My ownership changes +

+ Subscriptions +

+ + My subscriptions +

+
You don't have any subscriptions yet.
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html index 4caa076a3..98a2039cc 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html @@ -1,4 +1,8 @@ -

Imports

+

+ + My imports +

+ -

Playlists {{ pagination.totalItems }}

+

+ + My playlists {{ pagination.totalItems }} +

+ +