mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-14 12:25:17 +00:00
Fixed ToDoElement, RoomPopup components (#5394)
This commit is contained in:
parent
e16172086c
commit
4536ad8355
@ -29,8 +29,9 @@
|
|||||||
.heading-bold-20 {
|
.heading-bold-20 {
|
||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: 1rem;
|
|
||||||
color: var(--global-primary-TextColor);
|
color: var(--global-primary-TextColor);
|
||||||
|
|
||||||
|
&:not(.line-height-auto) { line-height: 1rem; }
|
||||||
}
|
}
|
||||||
.font-regular-11,
|
.font-regular-11,
|
||||||
.font-medium-11 {
|
.font-medium-11 {
|
||||||
|
@ -573,7 +573,7 @@
|
|||||||
.hulyToDoLine-container {
|
.hulyToDoLine-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: center;
|
||||||
gap: var(--spacing-1);
|
gap: var(--spacing-1);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: var(--spacing-0_75) var(--spacing-1) var(--spacing-0_75) var(--spacing-0_75);
|
padding: var(--spacing-0_75) var(--spacing-1) var(--spacing-0_75) var(--spacing-0_75);
|
||||||
@ -584,6 +584,7 @@
|
|||||||
border-radius: var(--medium-BorderRadius);
|
border-radius: var(--medium-BorderRadius);
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
||||||
|
.hulyToDoLine-title { color: var(--global-primary-TextColor); }
|
||||||
&.isDone {
|
&.isDone {
|
||||||
.hulyToDoLine-title {
|
.hulyToDoLine-title {
|
||||||
color: var(--global-tertiary-TextColor);
|
color: var(--global-tertiary-TextColor);
|
||||||
@ -611,7 +612,6 @@
|
|||||||
.hulyToDoLine-statusPriority {
|
.hulyToDoLine-statusPriority {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-right: var(--spacing-0_25);
|
margin-right: var(--spacing-0_25);
|
||||||
padding-top: var(--spacing-0_5);
|
|
||||||
min-width: var(--global-min-Size);
|
min-width: var(--global-min-Size);
|
||||||
|
|
||||||
&.isNew::after {
|
&.isNew::after {
|
||||||
@ -630,16 +630,6 @@
|
|||||||
width: var(--global-extra-small-Size);
|
width: var(--global-extra-small-Size);
|
||||||
height: var(--global-extra-small-Size);
|
height: var(--global-extra-small-Size);
|
||||||
}
|
}
|
||||||
.hulyToDoLine-top-align {
|
|
||||||
color: var(--global-primary-TextColor);
|
|
||||||
|
|
||||||
&.top-12 {
|
|
||||||
padding-top: 0.25rem;
|
|
||||||
}
|
|
||||||
&.top-14 {
|
|
||||||
padding-top: 0.175rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.hulyToDoLine-icon {
|
.hulyToDoLine-icon {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -651,7 +641,6 @@
|
|||||||
.hulyToDoLine-label {
|
.hulyToDoLine-label {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
padding-top: var(--spacing-0_5);
|
|
||||||
color: var(--global-secondary-TextColor);
|
color: var(--global-secondary-TextColor);
|
||||||
|
|
||||||
&:not(.large) {
|
&:not(.large) {
|
||||||
|
@ -139,23 +139,11 @@
|
|||||||
.hulySplitButton-main {
|
.hulySplitButton-main {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
&.no-video:not(.row) .hulySplitButton-container {
|
.hulySplitButton-container {
|
||||||
grid-column: span 2;
|
|
||||||
}
|
|
||||||
&.row .hulySplitButton-container {
|
|
||||||
flex-grow: 2;
|
flex-grow: 2;
|
||||||
}
|
}
|
||||||
&.row.no-video .hulySplitButton-container {
|
&.no-video .hulySplitButton-container {
|
||||||
flex-grow: 4;
|
flex-grow: 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.small.cropped .scroller-container,
|
|
||||||
&.large.cropped .scroller-container {
|
|
||||||
max-height: 24.5rem;
|
|
||||||
}
|
|
||||||
&.medium.cropped .scroller-container {
|
|
||||||
max-height: 22.5rem;
|
|
||||||
}
|
|
||||||
.slot.hoverable:hover > .avatar-container { opacity: .35; }
|
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
showMenu(e, { object: todo })
|
showMenu(e, { object: todo })
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="flex-row-top flex-grow flex-gap-2">
|
<div class="flex-row-center flex-grow flex-gap-2">
|
||||||
<div class="hulyToDoLine-statusPriority" class:isNew>
|
<div class="hulyToDoLine-statusPriority" class:isNew>
|
||||||
{#if updating !== undefined}
|
{#if updating !== undefined}
|
||||||
<Spinner size={'small'} />
|
<Spinner size={'small'} />
|
||||||
@ -88,7 +88,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<WorkItemPresenter {todo} kind={'todo-line'} withoutSpace />
|
<WorkItemPresenter {todo} kind={'todo-line'} withoutSpace />
|
||||||
<div class="hulyToDoLine-title hulyToDoLine-top-align top-12 text-left font-regular-14 overflow-label">
|
<div class="hulyToDoLine-title text-left font-regular-14 line-height-auto overflow-label">
|
||||||
{todo.title}
|
{todo.title}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -102,12 +102,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex flex-no-shrink flex-gap-3 pl-2">
|
<div class="flex flex-no-shrink flex-gap-3 pl-2">
|
||||||
{#if events.length > 0}
|
{#if events.length > 0}
|
||||||
<span class="hulyToDoLine-top-align top-12 font-regular-12 secondary-textColor">
|
<span class="font-regular-12 secondary-textColor">
|
||||||
<ToDoDuration {events} />
|
<ToDoDuration {events} />
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
{#if todo.dueDate}
|
{#if todo.dueDate}
|
||||||
<span class="hulyToDoLine-top-align top-12 font-regular-12 secondary-textColor">
|
<span class="font-regular-12 secondary-textColor">
|
||||||
{new Date(todo.dueDate).toLocaleDateString('default', { month: 'short', day: 'numeric' })}
|
{new Date(todo.dueDate).toLocaleDateString('default', { month: 'short', day: 'numeric' })}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user