diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index d02843b3b6..bfaa5f08d3 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -132,6 +132,10 @@ p:last-child { margin-block-end: 0; } &.contrast { color: var(--global-primary-TextColor); } &:not(.contrast) { color: var(--theme-content-color); } + &.overflow-label::after { + content: ''; + display: block; + } } a.noUnderline { @@ -154,6 +158,9 @@ a.noBold { .inline-height2 { line-height: 200%; } +.leading-4 { + line-height: 1rem; +} .float-left-box { box-sizing: border-box; @@ -713,6 +720,7 @@ input.search { .min-w-full { min-width: 100%; } .min-h-0 { min-height: 0; } .min-h-2 { min-height: .5rem; } +.min-h-3 { min-height: .75rem; } .min-h-4 { min-height: 1rem; } .min-h-5 { min-height: 1.25rem; } .min-h-6 { min-height: 1.5rem; } diff --git a/packages/theme/styles/popups.scss b/packages/theme/styles/popups.scss index 6fa2b0f8ff..4ff0d05c3c 100644 --- a/packages/theme/styles/popups.scss +++ b/packages/theme/styles/popups.scss @@ -42,6 +42,13 @@ min-height: 0; text-align: left; border-radius: var(--extra-small-BorderRadius); + border: none; + + &.withKeys { + align-items: center; + padding: 0 var(--spacing-1_5); + min-height: var(--global-medium-Size); + } &__icon { flex-shrink: 0; @@ -71,6 +78,26 @@ color: var(--theme-dark-color); // var(--global-secondary-TextColor); } } + &__keys, + &__keys .key { + display: flex; + justify-content: center; + align-items: center; + } + &__keys { + gap: var(--spacing-0_25); + margin-left: var(--spacing-1); + + .key { + padding: var(--spacing-0_5); + min-width: var(--global-extra-small-Size); + font-size: 0.75rem; + color: var(--global-primary-TextColor); + background-color: var(--theme-tooltip-key-bg); + border: 1px solid var(--theme-button-border); + border-radius: var(--extra-small-BorderRadius); + } + } &:hover { background-color: var(--theme-popup-hover); // var(--global-popover-hover-BackgroundColor); diff --git a/packages/ui/src/components/ButtonWithDropdown.svelte b/packages/ui/src/components/ButtonWithDropdown.svelte index 5bcec89ccf..f2b20ba9ef 100644 --- a/packages/ui/src/components/ButtonWithDropdown.svelte +++ b/packages/ui/src/components/ButtonWithDropdown.svelte @@ -54,32 +54,31 @@
-
- -
+ + {#if hasDropdown} {/each} diff --git a/packages/ui/src/types.ts b/packages/ui/src/types.ts index eb94495039..22377626b3 100644 --- a/packages/ui/src/types.ts +++ b/packages/ui/src/types.ts @@ -316,6 +316,7 @@ export interface DropdownIntlItem { params?: Record description?: IntlString paramsDescription?: Record + keys?: string[] } export interface PopupOptions { diff --git a/plugins/calendar-resources/src/components/DayCalendar.svelte b/plugins/calendar-resources/src/components/DayCalendar.svelte index 7a837f4249..f7a7e56dc7 100644 --- a/plugins/calendar-resources/src/components/DayCalendar.svelte +++ b/plugins/calendar-resources/src/components/DayCalendar.svelte @@ -59,7 +59,7 @@ export let displayedHours = 24 export let startHour = 0 export let startFromWeekStart = true - export let weekFormat: 'narrow' | 'short' | 'long' | undefined = displayedDaysCount > 4 ? 'short' : 'long' + export let weekFormat: 'narrow' | 'short' | 'long' = 'long' export let showHeader: boolean = true export let showFooter: boolean = true export let clearCells: boolean = false @@ -1140,6 +1140,7 @@ mask-image: var(--mask-image, none); --webkit-mask-image: var(--mask-image, none); border-radius: 0.25rem; + outline: none; &:not(.withPointer) { pointer-events: none; diff --git a/plugins/tags-resources/src/components/TagReferencePresenter.svelte b/plugins/tags-resources/src/components/TagReferencePresenter.svelte index 90f3ce2c8c..d6b0c8b619 100644 --- a/plugins/tags-resources/src/components/TagReferencePresenter.svelte +++ b/plugins/tags-resources/src/components/TagReferencePresenter.svelte @@ -44,7 +44,7 @@ }} >
- {value.title} + {value.title} {:else if kind === 'list'}
(visibleNav = event.detail)} /> diff --git a/plugins/time-resources/src/utils.ts b/plugins/time-resources/src/utils.ts index 489e4386c0..c49e37e363 100644 --- a/plugins/time-resources/src/utils.ts +++ b/plugins/time-resources/src/utils.ts @@ -24,7 +24,7 @@ export function getNearest (events: WorkSlot[]): WorkSlot | undefined { export const timeSeparators: DefSeparators = [ { minSize: 18, size: 18, maxSize: 22.5, float: 'navigator' }, null, - { minSize: 20, size: 41.25, maxSize: 50 } + { minSize: 20, size: 41.25, maxSize: 90 } ] /** diff --git a/plugins/view-resources/src/components/ActionsPopup.svelte b/plugins/view-resources/src/components/ActionsPopup.svelte index f9047ed479..a12bdf72fb 100644 --- a/plugins/view-resources/src/components/ActionsPopup.svelte +++ b/plugins/view-resources/src/components/ActionsPopup.svelte @@ -438,6 +438,7 @@ {/if} +