diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-main.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-content.element.ts similarity index 58% rename from src/Umbraco.Web.UI.Client/src/backoffice/backoffice-main.element.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/backoffice-content.element.ts index af915b7996..36f9e9b9ea 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-main.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-content.element.ts @@ -2,17 +2,13 @@ import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { css, html, LitElement } from 'lit'; -@defineElement('umb-backoffice-main') -export class UmbBackofficeMain extends LitElement { +@defineElement('umb-backoffice-content') +export class UmbBackofficeContent extends LitElement { static styles = [ UUITextStyles, css` :host { flex: 1 1 auto; - } - - // TODO: not call this editor, I would like to reserve that name for the view of editing data, like what goes in the router-outlet or in infinite editors (or inside Nested Content) - #editor { background-color: var(--uui-color-background); width: 100%; height: 100%; @@ -20,7 +16,7 @@ export class UmbBackofficeMain extends LitElement { flex-direction: column; } - #editor-top { + #top-bar { background-color: var(--uui-color-surface); width: 100%; display: flex; @@ -30,19 +26,19 @@ export class UmbBackofficeMain extends LitElement { border-bottom: 1px solid var(--uui-color-border); } - #editor-top uui-input { + #top-bar uui-input { width: 100%; margin-left: 16px; } - #editor-top uui-tab-group { + #top-bar uui-tab-group { --uui-tab-divider: var(--uui-color-border); border-left: 1px solid var(--uui-color-border); flex-wrap: nowrap; height: 60px; } - #editor-content { + #content-content { padding: var(--uui-size-6); display: flex; flex: 1; @@ -54,7 +50,7 @@ export class UmbBackofficeMain extends LitElement { font-size: 0.8rem; } - #editor-bottom { + #bottom-bar { display: flex; flex: none; justify-content: end; @@ -72,21 +68,19 @@ export class UmbBackofficeMain extends LitElement { render() { return html` -