diff --git a/src/components/Layout/Sidebar/index.tsx b/src/components/Layout/Sidebar/index.tsx index bc6da872..183838a4 100644 --- a/src/components/Layout/Sidebar/index.tsx +++ b/src/components/Layout/Sidebar/index.tsx @@ -139,13 +139,13 @@ const Sidebar: React.FC = ({ open, setClosed }) => { }} role="button" tabIndex={0} - className={`flex items-center px-2 py-2 text-base leading-6 font-medium rounded-md text-white focus:outline-none focus:bg-gray-700 transition ease-in-out duration-150 + className={`flex items-center px-2 py-2 text-base leading-6 font-medium rounded-md text-white focus:outline-none transition ease-in-out duration-150 ${ router.pathname.match( sidebarLink.activeRegExp ) - ? 'bg-gradient-to-br from-indigo-600 to-purple-600' - : '' + ? 'bg-gradient-to-br from-indigo-600 to-purple-600 hover:from-indigo-500 hover:to-purple-500' + : 'hover:bg-gray-700 focus:bg-gray-700' } `} > @@ -174,7 +174,7 @@ const Sidebar: React.FC = ({ open, setClosed }) => { -
+
@@ -198,13 +198,13 @@ const Sidebar: React.FC = ({ open, setClosed }) => { as={sidebarLink.as} > diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index ecf9566a..ba6cabf1 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -46,6 +46,7 @@ const Layout: React.FC = ({ children }) => { return (
+
diff --git a/src/components/UserProfile/index.tsx b/src/components/UserProfile/index.tsx index 378006e3..80131ae4 100644 --- a/src/components/UserProfile/index.tsx +++ b/src/components/UserProfile/index.tsx @@ -99,7 +99,7 @@ const UserProfile: React.FC = () => {
-
+
{intl.formatMessage(messages.totalrequests)}
@@ -115,11 +115,11 @@ const UserProfile: React.FC = () => { } sm:p-6`} >
- {quota.tv.limit + {quota.movie.limit ? intl.formatMessage(messages.pastdays, { type: intl.formatMessage(messages.movierequests), days: quota?.movie.days, @@ -159,7 +159,7 @@ const UserProfile: React.FC = () => {
) : ( - + {intl.formatMessage(messages.unlimited)} )} @@ -174,7 +174,7 @@ const UserProfile: React.FC = () => { } sm:p-6`} >
@@ -218,7 +218,7 @@ const UserProfile: React.FC = () => {
) : ( - + {intl.formatMessage(messages.unlimited)} )} diff --git a/src/styles/globals.css b/src/styles/globals.css index 0671d385..e7829896 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -22,7 +22,7 @@ body { @apply border-r border-gray-700; padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); - background: linear-gradient(180deg, #232a36 0%, #131928 100%); + background: linear-gradient(180deg, rgba(31, 41, 55, 1) 0%, #131928 100%); } .slideover {