diff --git a/packages/builder/src/pages/builder/portal/_layout.svelte b/packages/builder/src/pages/builder/portal/_layout.svelte
index 006e69daca..09df6c2de6 100644
--- a/packages/builder/src/pages/builder/portal/_layout.svelte
+++ b/packages/builder/src/pages/builder/portal/_layout.svelte
@@ -99,7 +99,7 @@
justify-content: flex-start;
align-items: center;
border-bottom: var(--border-light);
- padding: 0 24px;
+ padding: 0 var(--spacing-l);
gap: 24px;
position: relative;
}
diff --git a/packages/builder/src/pages/builder/portal/apps/[appId].svelte b/packages/builder/src/pages/builder/portal/apps/[appId].svelte
index 3059f51077..f19e95d3d0 100644
--- a/packages/builder/src/pages/builder/portal/apps/[appId].svelte
+++ b/packages/builder/src/pages/builder/portal/apps/[appId].svelte
@@ -1,11 +1,10 @@
-
+
-
-
-
-
-
$goto("./create")}>
-
-
+ {#if searching}
+
+
+ {:else}
+ Apps
+
+ {/if}
+
$goto("./create")} />
.side-bar {
- --spacing: 10px;
- --radius: 8px;
-
flex: 0 0 300px;
- padding: var(--spacing);
display: flex;
flex-direction: column;
align-items: stretch;
- gap: var(--spacing);
+ border-right: var(--border-light);
+ background: var(--spectrum-global-color-gray-100);
+ overflow: hidden;
+ transition: margin-left 300ms ease-out;
}
+ .side-bar.collapsed {
+ margin-left: -302px;
+ }
+
.side-bar-controls {
+ flex: 0 0 32px;
display: flex;
flex-direction: row;
justify-content: flex-start;
- align-items: stretch;
- gap: var(--spacing);
- }
- .search {
- flex: 1 1 auto;
- display: flex;
align-items: center;
- justify-content: flex-start;
- position: relative;
+ gap: var(--spacing-l);
+ padding: 0 var(--spacing-l);
+ margin: var(--spacing-s);
}
+ .side-bar-controls :global(.spectrum-Body),
+ .side-bar-controls input {
+ flex: 1 1 auto;
+ }
+ .side-bar-controls :global(.spectrum-Icon) {
+ color: var(--spectrum-global-color-gray-600);
+ }
+
input {
outline: none;
+ border: none;
max-width: none;
flex: 1 1 auto;
- padding: 0 38px 0 var(--spacing);
+ padding: 0 38px 0 0;
color: var(--spectrum-global-color-gray-800);
font-size: 14px;
- border: 1px solid transparent;
transition: border 130ms ease-out;
font-family: var(--font-sans);
+ background: inherit;
}
input::placeholder {
color: var(--spectrum-global-color-gray-700);
transition: color 130ms ease-out;
}
- input:hover {
- border: 1px solid var(--spectrum-global-color-gray-300);
- }
input:hover::placeholder {
color: var(--spectrum-global-color-gray-800);
}
- input:focus {
- border: 1px solid var(--spectrum-global-color-blue-400);
- }
- .search :global(.spectrum-Icon) {
- position: absolute;
- right: 10px;
- }
- .add-app {
- flex: 0 0 32px;
- display: grid;
- place-items: center;
- transition: background 130ms ease-out;
- }
- .add-app:hover {
- cursor: pointer;
- background: var(--spectrum-global-color-gray-200);
- }
- .search input,
- .add-app {
- height: 32px;
- }
- .search input,
- .add-app,
- .side-bar-nav {
- background: var(--spectrum-global-color-gray-100);
- border-radius: var(--radius);
- }
.side-bar-nav {
flex: 1 1 auto;
- padding: var(--spacing);
+ padding: 0 16px;
display: flex;
flex-direction: column;
justify-items: flex-start;
diff --git a/packages/builder/src/pages/builder/portal/apps/_components/PortalSideNavItem.svelte b/packages/builder/src/pages/builder/portal/apps/_components/PortalSideNavItem.svelte
index 41158c10ef..0df3cdf6f9 100644
--- a/packages/builder/src/pages/builder/portal/apps/_components/PortalSideNavItem.svelte
+++ b/packages/builder/src/pages/builder/portal/apps/_components/PortalSideNavItem.svelte
@@ -17,11 +17,11 @@