Drag&Drop room config (#5064)

Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
Alexander Platov 2024-03-26 17:33:05 +03:00 committed by GitHub
parent 9532c15b8f
commit 352e8a4f3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 7 deletions

View File

@ -1022,7 +1022,6 @@ a.no-line {
.bottom-highlight-select { border-bottom: 1px solid var(--highlight-select); } .bottom-highlight-select { border-bottom: 1px solid var(--highlight-select); }
.checkbox_style { .checkbox_style {
input { input {
appearance: none; appearance: none;

View File

@ -142,6 +142,10 @@
width: 1px; width: 1px;
height: var(--spacing-4); height: var(--spacing-4);
background-color: var(--theme-divider-color); // var(--global-surface-02-BorderColor); background-color: var(--theme-divider-color); // var(--global-surface-02-BorderColor);
&.short {
margin: 0 var(--spacing-1);
}
} }
.hulyHeader-titleGroup, .hulyHeader-titleGroup,
.hulyHeader-buttonsGroup { .hulyHeader-buttonsGroup {
@ -355,9 +359,6 @@
word-break: break-all; word-break: break-all;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
display: flex;
align-items: center;
min-width: 0;
} }
&__tools { &__tools {
display: flex; display: flex;

View File

@ -95,14 +95,14 @@
{#if title}{title}{/if} {#if title}{title}{/if}
<slot name="title" /> <slot name="title" />
</div> </div>
{#if counter !== false} {#if counter !== false || $$slots.counter}
<span class="hulyAccordionItem-header__separator"></span> <span class="hulyAccordionItem-header__separator"></span>
<span class="hulyAccordionItem-header__counter"> <span class="hulyAccordionItem-header__counter">
{#if typeof counter === 'number'}{counter}{/if} {#if typeof counter === 'number'}{counter}{/if}
<slot name="counter" /> <slot name="counter" />
</span> </span>
{/if} {/if}
{#if duration !== false} {#if duration !== false || $$slots.duration}
<span class="hulyAccordionItem-header__separator"></span> <span class="hulyAccordionItem-header__separator"></span>
<span class="hulyAccordionItem-header__duration"> <span class="hulyAccordionItem-header__duration">
{#if typeof duration === 'number'}{duration}{/if} {#if typeof duration === 'number'}{duration}{/if}

View File

@ -162,7 +162,7 @@
} }
&.small { &.small {
height: var(--global-small-Size); height: var(--global-small-Size);
gap: var(--spacing-0_25); gap: var(--spacing-0_5);
border-radius: var(--small-BorderRadius); border-radius: var(--small-BorderRadius);
&.type-button { &.type-button {

View File

@ -111,6 +111,7 @@
class:w-full={focusable || fullSize} class:w-full={focusable || fullSize}
class:uppercase class:uppercase
style:width={maxWidth} style:width={maxWidth}
on:mousedown|stopPropagation={() => {}}
on:click={(event) => { on:click={(event) => {
if (!propagateClick) { if (!propagateClick) {
event.stopPropagation() event.stopPropagation()

View File

@ -117,6 +117,7 @@
<span <span
class="antiPresenter h-full" class="antiPresenter h-full"
class:text-base={enlargedText} class:text-base={enlargedText}
class:cursor-pointer={!disabled && onEdit !== undefined}
use:tooltip={disabled ? undefined : showTooltip} use:tooltip={disabled ? undefined : showTooltip}
on:click={onEditClick} on:click={onEditClick}
> >