From 27b6eaa71a7aa704f9d49fcb78f017f5a91471f3 Mon Sep 17 00:00:00 2001 From: iturres Date: Tue, 6 Feb 2024 20:35:15 -0300 Subject: [PATCH] Styles: Add 'active' class for 'FileTabsNavbar' anchor elements --- src/styles/UI/FileTabsNavbar.scss | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/styles/UI/FileTabsNavbar.scss b/src/styles/UI/FileTabsNavbar.scss index cc2458a..d5682d8 100644 --- a/src/styles/UI/FileTabsNavbar.scss +++ b/src/styles/UI/FileTabsNavbar.scss @@ -17,14 +17,13 @@ $light-gray: colors.$light-gray; left: 0; right: 0; width: 100%; - background: - linear-gradient( - 90deg, - rgb(23, 23, 23), - rgb(23, 23, 23), - rgba(23, 23, 23, 0.605), - rgba(23, 23, 23, 0.221) - ); + background: linear-gradient( + 90deg, + rgb(23, 23, 23), + rgb(23, 23, 23), + rgba(23, 23, 23, 0.605), + rgba(23, 23, 23, 0.221) + ); font-family: sans-serif; font-size: 1rem; font-weight: 500; @@ -59,6 +58,10 @@ $light-gray: colors.$light-gray; &:focus { background-color: $dark; } + + &.active { + background-color: $dark; + } } } }