+
+ {#each menu as { title, href }}
+ $goto(href)} />
+ {/each}
+
@@ -219,11 +198,20 @@
alt={$organisation?.company || "Budibase"}
/>
+ {#if !$adminStore.cloud && $auth.isAdmin}
+
+ {/if}
@@ -256,6 +244,8 @@
+
+
@@ -276,79 +266,77 @@
.container {
height: 100%;
display: flex;
- flex-direction: row;
+ flex-direction: column;
justify-content: flex-start;
align-items: stretch;
}
.nav {
background: var(--background);
- border-right: var(--border-light);
- overflow: auto;
- flex: 0 0 auto;
- width: 250px;
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-start;
+ align-items: stretch;
+ border-bottom: var(--border-light);
+ padding: 0 20px;
+ gap: 24px;
}
- .main {
- flex: 1 1 auto;
- display: grid;
- grid-template-rows: auto 1fr;
- overflow: hidden;
+ .nav :global(.spectrum-Tabs) {
+ margin-bottom: -2px;
+ padding: 7px 0;
+ }
+ .nav :global(.spectrum-Tabs-itemLabel) {
+ color: #d0d0d0;
+ }
+ .nav :global(.spectrum-Tabs-item.is-selected .spectrum-Tabs-itemLabel) {
+ color: #ffffff;
}
.branding {
display: grid;
- grid-gap: var(--spacing-s);
- grid-template-columns: auto auto;
- justify-content: space-between;
- align-items: center;
- }
- .name {
- display: grid;
- grid-template-columns: auto auto;
- grid-gap: var(--spacing-m);
- align-items: center;
- }
- .name:hover {
- cursor: pointer;
+ place-items: center;
}
.avatar {
display: grid;
grid-template-columns: auto auto;
place-items: center;
- grid-gap: var(--spacing-xs);
+ grid-gap: var(--spacing-s);
}
.avatar:hover {
cursor: pointer;
filter: brightness(110%);
}
.toolbar {
- background: var(--background);
- border-bottom: var(--border-light);
+ flex: 1 1 auto;
display: flex;
flex-direction: row;
- justify-content: space-between;
+ justify-content: flex-end;
align-items: center;
- padding: var(--spacing-m) calc(var(--spacing-xl) * 2);
+ gap: 24px;
}
.mobile-toggle,
.mobile-logo {
display: none;
}
.user-dropdown {
- flex: 1 1 auto;
display: flex;
flex-direction: row;
justify-content: flex-end;
}
img {
- width: 28px;
- height: 28px;
+ width: 30px;
+ height: 30px;
}
- span {
- overflow: hidden;
- text-overflow: ellipsis;
- font-weight: 600;
+
+ .main {
+ flex: 1 1 auto;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: stretch;
+ overflow: auto;
+ padding: 50px;
}
.content {
- overflow: auto;
+ max-width: 1080px;
}
@media (max-width: 640px) {
$goto("./apps")}>
+
+
+