diff --git a/packages/ui/src/components/icons/DetailsFilled.svelte b/packages/ui/src/components/icons/DetailsFilled.svelte new file mode 100644 index 00000000000..4920b7de4f4 --- /dev/null +++ b/packages/ui/src/components/icons/DetailsFilled.svelte @@ -0,0 +1,27 @@ + + + + + + diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index fdd2bb1887c..9abd334164a 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -129,6 +129,7 @@ export { default as IconDPCalendar } from './components/calendar/icons/DPCalenda export { default as IconDPCalendarOver } from './components/calendar/icons/DPCalendarOver.svelte' export { default as IconOptions } from './components/icons/Options.svelte' export { default as IconDetails } from './components/icons/Details.svelte' +export { default as IconDetailsFilled } from './components/icons/DetailsFilled.svelte' export { default as IconScale } from './components/icons/Scale.svelte' export { default as IconScaleFull } from './components/icons/ScaleFull.svelte' diff --git a/plugins/hr-resources/src/components/schedule/MonthView.svelte b/plugins/hr-resources/src/components/schedule/MonthView.svelte index 22809217f3b..68e7a7f481e 100644 --- a/plugins/hr-resources/src/components/schedule/MonthView.svelte +++ b/plugins/hr-resources/src/components/schedule/MonthView.svelte @@ -99,6 +99,7 @@ $: values = [...Array(daysInMonth(currentDate)).keys()] let hoveredIndex: number = -1 + let hoveredColumn: number = -1 {#if departmentStaff.length} @@ -115,6 +116,7 @@ { hoveredIndex = i }} @@ -153,6 +155,12 @@ class:lastLine={row === departmentStaff.length - 1} use:tooltip={tooltipValue} on:click={(e) => createRequest(e, date, employee)} + on:mousemove={() => { + hoveredColumn = i + }} + on:mouseleave={() => { + hoveredColumn = -1 + }} > {#if requests.length} @@ -218,6 +226,9 @@ &.weekend:not(.today) { color: var(--warning-color); } + &.hoveredCell { + background-color: var(--highlight-select); + } } td { height: 3.5rem; diff --git a/plugins/tracker-resources/src/components/issues/IssuesView.svelte b/plugins/tracker-resources/src/components/issues/IssuesView.svelte index 173850118b3..c099a27d054 100644 --- a/plugins/tracker-resources/src/components/issues/IssuesView.svelte +++ b/plugins/tracker-resources/src/components/issues/IssuesView.svelte @@ -3,7 +3,7 @@ import { IntlString, translate } from '@anticrm/platform' import { getClient } from '@anticrm/presentation' import { Issue } from '@anticrm/tracker' - import { Button, IconDetails } from '@anticrm/ui' + import { Button, IconDetails, IconDetailsFilled } from '@anticrm/ui' import view, { Viewlet } from '@anticrm/view' import { FilterBar, ViewOptionModel, ViewOptionsButton, getActiveViewletId } from '@anticrm/view-resources' import IssuesContent from './IssuesContent.svelte' @@ -75,8 +75,9 @@ {/if} {#if asideFloat && $$slots.aside} +