diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index affb416a6f..c45648bc2e 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -33,6 +33,7 @@
+{#if fullSize}
@@ -44,14 +45,9 @@
- {#if $$slots.subtitle} -
- {/if} -
- -
+ {#if $$slots.subtitle}
{/if} +
-
@@ -71,6 +67,39 @@
+{:else} +
+
+
+ {#if typeof (icon) === 'string'} + + {:else} + + {/if} +
+
+
+ {#if $$slots.subtitle}
{/if} + +
+
+
+
Activity
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+{/if}
{ fullSize = !fullSize }}>
@@ -86,7 +115,6 @@ bottom: 1.5rem; left: 50%; right: 1.5rem; - // transition: all .2s; display: flex; flex-direction: column; @@ -114,40 +142,22 @@ } .subtitle { + flex-shrink: 0; display: flex; align-items: center; padding: 0 2rem; height: 3.5rem; border-bottom: 1px solid var(--theme-card-divider); } - - .footer { - flex-shrink: 0; - display: grid; - grid-auto-flow: column; - direction: rtl; - justify-content: start; - align-items: center; - column-gap: .75rem; - padding: 0 2.5rem; - height: 6rem; - mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 1.25rem, rgba(0, 0, 0, 1) 2.5rem); - overflow: hidden; - } } - .leftSection, .rightSection { - flex-basis: 50%; + .unionSection { + flex-grow: 1; display: flex; flex-direction: column; + height: max-content; } - .rightSection { - background-color: var(--theme-bg-accent-color); - .header { border-bottom: none; } - .content { background-color: transparent; } - } - .content { overflow: visible; flex-shrink: 0; @@ -158,20 +168,23 @@ padding: 0 2.5rem; height: max-content; } - .ref-input { padding: 1.5rem 2.5rem; } - .content-bar { - flex-shrink: 0; - height: 100px; - background-color: rgba(255, 255, 255, .1); - border: 1px solid rgba(255, 255, 255, .5); - border-radius: 1rem; + .activity { + background-color: var(--theme-bg-accent-color); + &.header { border-bottom: none; } + &.content { + background-color: var(--theme-bg-accent-color); + } } - .content-bar + .content-bar { margin-top: 1rem; } .fullSize { flex-direction: row; left: 1.5rem; + .leftSection, .rightSection { + flex-basis: 50%; + display: flex; + flex-direction: column; + } .leftSection { border-right: 1px solid var(--theme-bg-accent-hover); } @@ -182,9 +195,13 @@ padding-top: 1.5rem; background-color: var(--theme-bg-accent-color); } - .ref-input { background-color: var(--theme-bg-accent-color); } } } + + .ref-input { + background-color: var(--theme-bg-accent-color); + padding: 1.5rem 2.5rem; + } .tools { position: absolute; @@ -214,4 +231,13 @@ background: var(--theme-menu-color); opacity: .7; } + + .content-bar { + flex-shrink: 0; + height: 100px; + background-color: rgba(255, 255, 255, .1); + border: 1px solid rgba(255, 255, 255, .5); + border-radius: 1rem; + } + .content-bar + .content-bar { margin-top: 1rem; } \ No newline at end of file