Skip to content

Commit

Permalink
Style the umb-overlay header and footer like the rest of the overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
kjac authored and nul800sebastiaan committed Oct 24, 2019
1 parent b46d671 commit c6ab73b
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/Umbraco.Web.UI.Client/src/less/components/overlays.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
}

.umb-overlay .umb-overlay-header {
border-bottom: 1px solid @purple-l3;
border-bottom: 1px solid @gray-9;
margin-top: 0;
flex-grow: 0;
flex-shrink: 0;
padding: 20px 30px 0;
padding: 20px 20px 0;
}

.umb-overlay__section-header {
Expand All @@ -48,11 +48,11 @@
}

.umb-overlay__title {
font-size: @fontSizeLarge;
font-size: 16px;
color: @black;
line-height: 20px;
line-height: 16px;
font-weight: bold;
margin: 7px 0;
margin: 5px 0;
}

.umb-overlay__subtitle {
Expand All @@ -66,20 +66,20 @@
flex-shrink: 1;
flex-basis: auto;
position: relative;
padding: 0 30px;
margin-bottom: 10px;
padding: 20px;
background: @white;
max-height: calc(100vh - 170px);
overflow-y: auto;
}

.umb-overlay-drawer {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 31px;
padding: 10px 20px;
flex-basis: 33px;
padding: 8px 20px;
margin: 0;
background: @gray-10;
border-top: 1px solid @purple-l3;
background: @white;
border-top: 1px solid @gray-9;
}

.umb-overlay-drawer.-auto-height {
Expand Down Expand Up @@ -140,7 +140,6 @@
.umb-overlay.umb-overlay-target .umb-overlay-drawer {
border: none;
background: transparent;
padding: 0 30px 20px;
}

/* ---------- OVERLAY RIGHT ---------- */
Expand All @@ -158,7 +157,7 @@
}

.umb-overlay.umb-overlay-right .umb-overlay-header {
flex-basis: 100px;
flex-basis: 70px;
box-sizing: border-box;
}

Expand Down

0 comments on commit c6ab73b

Please sign in to comment.