Menu hover adjustments (only background) (#4362)
This commit is contained in:
parent
9302ad94cf
commit
8db595b535
@ -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}
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -80,7 +80,7 @@ export default createGlobalStyle<Props & ThemeProps>(({ theme, uiHighlight }: Pr
|
||||
}
|
||||
|
||||
.highlight--bg-light:before {
|
||||
opacity: 0.125;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.highlight--border {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user