diff --git a/src/Umbraco.Web.UI.Client/src/less/belle.less b/src/Umbraco.Web.UI.Client/src/less/belle.less index e71466348e..8d1ed646f0 100644 --- a/src/Umbraco.Web.UI.Client/src/less/belle.less +++ b/src/Umbraco.Web.UI.Client/src/less/belle.less @@ -86,6 +86,7 @@ @import "components/application/umb-backdrop.less"; @import "components/application/umb-drawer.less"; @import "components/application/umb-language-picker.less"; +@import "components/application/umb-dashboard.less"; @import "components/html/umb-expansion-panel.less"; @import "components/html/umb-alert.less"; diff --git a/src/Umbraco.Web.UI.Client/src/less/components/application/umb-dashboard.less b/src/Umbraco.Web.UI.Client/src/less/components/application/umb-dashboard.less new file mode 100644 index 0000000000..73eba1e6b3 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/less/components/application/umb-dashboard.less @@ -0,0 +1,19 @@ +.umb-dashboard { + position: absolute; + height: 100%; + width: 100%; + top: 0; + display: flex; + flex-direction: column; + flex-wrap: nowrap; +} + +.umb-dashboard__header { + padding: 20px 20px 0 20px; + border-bottom: 1px solid @gray-9; +} + +.umb-dashboard__content { + padding: 20px; + overflow: auto; +} \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-tabs.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-tabs.less index cba4219b0c..4f3fd94bde 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-tabs.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-tabs.less @@ -1,15 +1,3 @@ .umb-nav-tabs { - position: absolute; - z-index: 10; -} - -.umb-nav-tabs.-padding-left { - padding-left: 20px; -} - -.umb-tab-content { - padding-top: 20px; position: relative; - top: 22px; - border-top: 1px solid @purple-l3; } diff --git a/src/Umbraco.Web.UI.Client/src/less/navs.less b/src/Umbraco.Web.UI.Client/src/less/navs.less index de73fdd5a7..0bd6104d6a 100644 --- a/src/Umbraco.Web.UI.Client/src/less/navs.less +++ b/src/Umbraco.Web.UI.Client/src/less/navs.less @@ -109,11 +109,7 @@ } .nav-tabs > li > a, .nav-pills > li > a { - padding-right: 8px; - padding-left: 8px; - margin-right: 2px; - line-height: 14px; // keeps the overall height an even number - border-radius: 3px 3px 0 0; + margin-right: 15px; } // TABS @@ -121,26 +117,24 @@ // Give the tabs something to sit on .nav-tabs { - border-bottom: 1px solid @purple-l3; + // border-bottom: 1px solid @gray-9; } // Make the list-items overlay the bottom border .nav-tabs > li { - margin-bottom: -1px; + // margin-bottom: -1px; } // Actual tabs (as links) .nav-tabs > li > a { color: @gray-3; - padding-top: 5px; - padding-bottom: 4px; - line-height: @baseLineHeight; - border: 1px solid transparent; + border-bottom: 2px solid transparent; + padding-bottom: 15px; &:hover { color: @black; } &:hover, &:focus { - border-color: transparent transparent @purple-l3; + // border-color: transparent transparent @purple-l3; } } // Active state, and it's :hover/:focus to override normal :hover/:focus @@ -148,9 +142,7 @@ .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus { color: @black; - background-color: @bodyBackground; - border: 1px solid @purple-l3; - border-bottom-color: transparent; + border-bottom-color: @turquoise; cursor: default; } @@ -175,10 +167,6 @@ .show-validation .nav-tabs > li.active.error > a:focus { } -.umb-nav-tabs { - margin: -8px 0 0 0; -} - // PILLS // ----- diff --git a/src/Umbraco.Web.UI.Client/src/less/panel.less b/src/Umbraco.Web.UI.Client/src/less/panel.less index 9b439c2d60..1596605762 100644 --- a/src/Umbraco.Web.UI.Client/src/less/panel.less +++ b/src/Umbraco.Web.UI.Client/src/less/panel.less @@ -428,10 +428,6 @@ font-size: 10px; } -.umb-panel-header .umb-nav-tabs { - bottom: -1px; -} - input.umb-panel-header-name-input.name-is-empty { border: 1px dashed @gray-8; background: @white; diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dashboard.html b/src/Umbraco.Web.UI.Client/src/views/common/dashboard.html index 3136bc28e7..2fcd3d7e43 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/dashboard.html +++ b/src/Umbraco.Web.UI.Client/src/views/common/dashboard.html @@ -1,51 +1,41 @@
- +
- + - +
- - +
+ +
- +
- - + + + +
+ +
+

{{property.caption}}

+
+
+ +
+

{{property.caption}}

+ +
+ +
+ +
+
-
+
-
-

{{property.caption}}

-
-
+
-
-

{{property.caption}}

- - -
- -
- - - - - - -
- -
 -
+ + + \ No newline at end of file