diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index 5381644dcd..b42c6ea3d7 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -45,7 +45,7 @@
{title}
{#if subtitle} -
{subtitle}
+
{subtitle}
{/if}
@@ -72,7 +72,7 @@
{title}
-
Candidate pool name
+
Candidate pool name
diff --git a/packages/presentation/src/components/AttributesBar.svelte b/packages/presentation/src/components/AttributesBar.svelte index bde4b83932..696fb46e23 100644 --- a/packages/presentation/src/components/AttributesBar.svelte +++ b/packages/presentation/src/components/AttributesBar.svelte @@ -23,7 +23,7 @@ export let keys: (string|KeyedAttribute)[] -
+
{#each keys as key}
diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index ae9bf8446a..a94f76a023 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -244,6 +244,7 @@ p:last-child { margin-block-end: 0; } .mr-6 { margin-right: 1.5rem; } .mr-8 { margin-right: 2rem; } .mr-10 { margin-right: 2.5rem; } +.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } @@ -260,6 +261,8 @@ p:last-child { margin-block-end: 0; } .pr-1 { padding-right: .25rem; } .pr-4 { padding-right: 1rem; } +.p-10 { padding: 2.5rem; } + /* --------- */ .relative { position: relative; } .abs-lt-content { @@ -355,7 +358,8 @@ a.no-line { .cursor-pointer { cursor: pointer; } /* Text */ -.small-text { font-size: .75rem; } +.text-sm { font-size: .75rem; } +.text-lg { font-size: 1.125rem; } .fs-title { font-weight: 500; font-size: 1rem; @@ -448,6 +452,7 @@ a.no-line { .background-button-bg-enabled { background-color: var(--theme-button-bg-enabled); } .background-menu-divider { background-color: var(--theme-menu-divider); } .background-primary-color { background-color: var(--primary-button-enabled); } +.background-bg-accent { background-color: var(--theme-bg-accent-color); } .content-color { color: var(--theme-content-color); } .content-trans-color { color: var(--theme-content-trans-color); } diff --git a/packages/theme/styles/components.scss b/packages/theme/styles/components.scss index a9db7b2f89..34bfb8af86 100644 --- a/packages/theme/styles/components.scss +++ b/packages/theme/styles/components.scss @@ -13,6 +13,84 @@ // limitations under the License. // +/* Component */ +.antiComponent { + display: flex; + flex-direction: column; + height: 100%; + + .ac-header { + display: flex; + align-items: center; + flex-wrap: nowrap; + padding: 0 1.75rem 0 2.5rem; + height: 4rem; + min-height: 4rem; + border-bottom: 1px solid var(--theme-menu-divider); + + .ac-header__icon { + margin-right: .75rem; + color: var(--theme-content-color); + } + .ac-header__title { + font-weight: 500; + font-size: 1rem; + color: var(--theme-caption-color); + user-select: none; + } + } + + .ac-body { + display: flex; + flex-direction: column; + align-items: flex-start; + height: 100%; + + &.columns { flex-direction: row; } + &.hScroll { + overflow-x: auto; + &::-webkit-scrollbar-track { margin: 2.5rem; } + } + + .ac-column { + display: flex; + flex-direction: column; + overflow-y: auto; + padding: 1.75rem 2.5rem; + min-width: 25rem; + max-width: 25rem; + height: 100%; + border-right: 1px solid var(--theme-menu-divider); + + &.max { + flex-grow: 1; + min-width: 25rem; + max-width: 100%; + border-right: none; + } + + &__list-item { + display: flex; + justify-content: space-between; + align-items: center; + min-height: 2.5rem; + padding: 0 1.25rem; + border: 1px solid transparent; + border-radius: 12px; + cursor: pointer; + + &:hover { background-color: var(--theme-bg-accent-color); } + &.selected { + background-color: var(--theme-button-bg-enabled); + border-color: var(--theme-bg-accent-color); + cursor: auto; + } + } + } + } +} +.ac-column__list-item + .ac-column__list-item { margin-top: .75rem; } + /* Popups */ .antiPopup { display: flex; diff --git a/packages/ui/src/components/Status.svelte b/packages/ui/src/components/Status.svelte index 618135e8f0..1746d793fb 100644 --- a/packages/ui/src/components/Status.svelte +++ b/packages/ui/src/components/Status.svelte @@ -11,7 +11,7 @@
{#if status.severity !== Severity.OK} -
+
{/if}
diff --git a/plugins/attachment-resources/src/components/Attachments.svelte b/plugins/attachment-resources/src/components/Attachments.svelte index 1b4f02d6b5..89d462f6db 100644 --- a/plugins/attachment-resources/src/components/Attachments.svelte +++ b/plugins/attachment-resources/src/components/Attachments.svelte @@ -115,13 +115,13 @@ on:drop|preventDefault|stopPropagation={fileDrop} > -
+
- diff --git a/plugins/contact-resources/src/components/CreatePerson.svelte b/plugins/contact-resources/src/components/CreatePerson.svelte index bacabcdd95..34abd4add3 100644 --- a/plugins/contact-resources/src/components/CreatePerson.svelte +++ b/plugins/contact-resources/src/components/CreatePerson.svelte @@ -92,7 +92,7 @@
-
+
diff --git a/plugins/contact-resources/src/components/EditOrganization.svelte b/plugins/contact-resources/src/components/EditOrganization.svelte index 4369bca92d..3bae283819 100644 --- a/plugins/contact-resources/src/components/EditOrganization.svelte +++ b/plugins/contact-resources/src/components/EditOrganization.svelte @@ -64,7 +64,7 @@
diff --git a/plugins/contact-resources/src/components/EditPerson.svelte b/plugins/contact-resources/src/components/EditPerson.svelte index decb14132f..33caf4d178 100644 --- a/plugins/contact-resources/src/components/EditPerson.svelte +++ b/plugins/contact-resources/src/components/EditPerson.svelte @@ -101,7 +101,7 @@
diff --git a/plugins/gmail-resources/src/components/Chats.svelte b/plugins/gmail-resources/src/components/Chats.svelte index aed4160a47..6c73d59f49 100644 --- a/plugins/gmail-resources/src/components/Chats.svelte +++ b/plugins/gmail-resources/src/components/Chats.svelte @@ -120,7 +120,7 @@
Gmail
-
+
+ +
+ {#if newTemplate} + + {#if mode === Mode.Create} + +
+ {#if mode !== Mode.View} + + {:else} + {newTemplate.title} + {/if} +
+
+ {#if mode !== Mode.View} + { + newTemplate = { title: newTemplate?.title ?? '', message: evt.detail } + }}> +
+
+
+
-
+
+
+ {/if} {/if} - {/if} +