+
-
-
@@ -64,15 +60,14 @@
{#if allowFullSize}
-
+
{#if isFullSize}
diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss
index 6c281c5aab..e770439ec9 100644
--- a/packages/theme/styles/_layouts.scss
+++ b/packages/theme/styles/_layouts.scss
@@ -585,6 +585,9 @@ a.no-line {
}
/* Backgrounds & Colors */
+.background-body-color { background-color: var(--body-color); }
+.background-accent-bg-color { background-color: var(--accent-bg-color); }
+
.background-theme-content-accent { background-color: var(--theme-content-accent-color); }
.background-theme-bg-color { background-color: var(--theme-bg-color); }
.background-highlight-red { background-color: var(--highlight-red); }
diff --git a/packages/theme/styles/panel.scss b/packages/theme/styles/panel.scss
index cc6d40990f..1404f161bc 100644
--- a/packages/theme/styles/panel.scss
+++ b/packages/theme/styles/panel.scss
@@ -19,12 +19,16 @@
min-width: 400px;
background: var(--body-accent);
+ border: 1px solid var(--divider-color);
border-radius: .5rem;
flex-direction: row;
box-shadow: var(--popup-shadow);
// left: 1rem;
- .ac-header.divide { border-bottom: 1px solid var(--theme-card-divider); }
+ .ac-header {
+ &.highlight { background-color: var(--accent-bg-color); }
+ &.divide { border-bottom: 1px solid var(--theme-card-divider); }
+ }
.ad-section-50 {
display: flex;
@@ -39,8 +43,9 @@
.ad-tools {
position: absolute;
display: flex;
- top: 1.375rem;
- right: 2rem;
+ top: 1.25rem;
+ right: 1.25rem;
+
&.grow-reverse {
display: flex;
flex-direction: row-reverse;
@@ -48,12 +53,5 @@
align-items: center;
}
}
- .tool {
- margin-left: 1rem;
- color: var(--theme-content-accent-color);
- cursor: pointer;
-
- &:hover { color: var(--theme-caption-color); }
- }
}
diff --git a/packages/ui/src/components/Panel.svelte b/packages/ui/src/components/Panel.svelte
index 98a73f7b02..bb44cb18e7 100644
--- a/packages/ui/src/components/Panel.svelte
+++ b/packages/ui/src/components/Panel.svelte
@@ -16,7 +16,7 @@
import type { Asset } from '@anticrm/platform'
import { createEventDispatcher } from 'svelte'
import { AnySvelteComponent } from '../types'
- import ActionIcon from './ActionIcon.svelte'
+ import Button from './Button.svelte'
import Icon from './Icon.svelte'
import IconClose from './icons/Close.svelte'
@@ -35,19 +35,22 @@