Menu hover adjustments (only background) (#4362)

This commit is contained in:
Jaco Greeff 2021-01-11 12:26:10 +01:00 committed by GitHub
parent 9302ad94cf
commit 8db595b535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ function Item ({ className = '', isToplevel, route: { Modal, href, icon, name, t
const count = useCounter();
return (
<li className={`${className}${count ? ' withCounter' : ''} ${isToplevel ? 'topLevel highlight--color-contrast' : 'highlight--hover-color'}`}>
<li className={`${className}${count ? ' withCounter' : ''} ${isToplevel ? 'topLevel highlight--color-contrast' : ''}`}>
<a
href={Modal ? undefined : (href || `#/${name}`)}
onClick={Modal ? toggleModal : undefined}

View File

@ -59,7 +59,7 @@ function Day ({ className, date, hasNextDay, now, scheduled, setNextDay, setPrev
return (
<div className={className}>
<h1>
<div className='highlight--color'>
<div>
{viewSetter()}
{date.getDate()} {monthRef.current[date.getMonth()]} {date.getFullYear()} {isToday && <DayTime />}
</div>

View File

@ -45,7 +45,7 @@ function Month ({ className, hasNextMonth, lastDay, now, scheduled, setDay, setN
return (
<div className={className}>
<h1>
<div className='highlight--color'>{monthRef.current[dateMonth.getMonth()]} {dateMonth.getFullYear()}</div>
<div>{monthRef.current[dateMonth.getMonth()]} {dateMonth.getFullYear()}</div>
<Button.Group>
<Button
icon='chevron-left'

View File

@ -34,7 +34,7 @@ function UpcomingEvents ({ className, scheduled, setView }: Props): React.ReactE
return (
<div className={className}>
<h1>
<div className='highlight--color'>
<div>
{viewSetter()}
Upcoming Events
</div>

View File

@ -80,7 +80,7 @@ export default createGlobalStyle<Props & ThemeProps>(({ theme, uiHighlight }: Pr
}
.highlight--bg-light:before {
opacity: 0.125;
opacity: 0.2;
}
.highlight--border {