diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-group.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-group.element.ts
index 9695f79952..7a4271bf66 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-group.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-group.element.ts
@@ -161,14 +161,19 @@ export class UmbContentTypeWorkspaceViewEditGroupElement extends UmbLitElement {
// TODO: impl UMB_EDIT_DOCUMENT_TYPE_PATH_PATTERN
#renderContainerHeader() {
return html`
-
+
+ ${this.sortModeActive && this._hasOwnerContainer ? html`` : null}
+
+
+
+
${this._hasOwnerContainer === false && this._inheritedFrom
? html`
@@ -184,13 +189,11 @@ export class UmbContentTypeWorkspaceViewEditGroupElement extends UmbLitElement {
`
: null}
-
-
- ${this._inherited
- ? null
- : html`
+ ${!this._inherited && !this.sortModeActive
+ ? html`
- `}
+ `
+ : nothing}
${this.sortModeActive
? html` `
- : ''}
+ : nothing}
`;
}
@@ -231,6 +234,10 @@ export class UmbContentTypeWorkspaceViewEditGroupElement extends UmbLitElement {
max-width: 75px;
}
+ .inherited uui-icon {
+ vertical-align: sub;
+ }
+
:host([sort-mode-active]) div[slot='header'] {
cursor: grab;
}
diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts
index df53221a18..be72037e82 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts
@@ -65,10 +65,10 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
@property({ type: Boolean, reflect: true, attribute: 'sort-mode-active' })
public sortModeActive = false;
- @property({ type: String, attribute: 'edit-content-type-path' })
+ @property({ attribute: false })
public editContentTypePath?: string;
- @state()
+ @property({ type: Boolean, reflect: true, attribute: '_inherited' })
public _inherited?: boolean;
@state()
@@ -213,15 +213,17 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
`;
}
@@ -276,12 +278,13 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
if (!this.property) return;
return html`
-
- ${this.property.name} (${this.property.alias})
+
+ ${this.property.name}
+ (${this.property.alias})
this.#partialUpdate({ sortOrder: parseInt(e.target.value as string) ?? 0 } as UmbPropertyTypeModel)}
@@ -373,18 +376,23 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
margin-bottom: 0;
}
- :host([sort-mode-active]:not([inherited])) {
+ :host([sort-mode-active]:not([_inherited])) {
cursor: grab;
}
:host([sort-mode-active]) .sortable {
flex: 1;
display: flex;
- background-color: var(--uui-color-divider);
align-items: center;
padding: 0 var(--uui-size-3);
gap: var(--uui-size-3);
}
+ :host([sort-mode-active][_inherited]) .sortable {
+ color: var(--uui-color-disabled-contrast);
+ }
+ :host([sort-mode-active]:not([_inherited])) .sortable {
+ background-color: var(--uui-color-divider);
+ }
:host([sort-mode-active]) uui-input {
max-width: 75px;