From e330c63034e491323fe84de01afa0c4dc4698111 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 27 Aug 2015 14:25:01 +0200 Subject: [PATCH] header: add wrapper to limit input width. Rename some styles --- src/Umbraco.Web.UI.Client/src/less/panel.less | 18 +++++++---- .../components/editor/umb-editor-header.html | 32 +++++++++---------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/panel.less b/src/Umbraco.Web.UI.Client/src/less/panel.less index 46447f96c7..85dd5a891f 100644 --- a/src/Umbraco.Web.UI.Client/src/less/panel.less +++ b/src/Umbraco.Web.UI.Client/src/less/panel.less @@ -346,28 +346,33 @@ /* --------- UMB PANEL HEADER ---------- */ -.umb-panel-content { +.umb-panel-header-content-wrapper { display: flex; flex-direction: column; height: 100px; padding: 0 20px; } -.umb-panel-meta { +.umb-panel-header-content { display: flex; align-items: center; flex: 1; } -.umb-panel-meta.-top-position { +.umb-panel-header-content.-top-position { position: relative; top: -20px; } +.umb-panel-header-meta { + display: flex; + flex: 1; + flex-direction: row; +} + .umb-panel-header-icon { cursor: pointer; margin-right: 5px; - //width: 50px; height: 55px; display: flex; justify-content: center; @@ -380,9 +385,8 @@ } .umb-panel-header-title-wrapper { - flex: 1; - //margin-right: 70px; - position: relative; + position: relative; + width: 80%; } .umb-panel-header-alias { diff --git a/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editor-header.html b/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editor-header.html index ae74106304..7041c1df7d 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editor-header.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editor-header.html @@ -1,27 +1,25 @@ 
-
+
-
+
-
- -
Add icon
-
+
-
- - +
+ +
Add icon
+
- +
- + + + + + + +