From d3c87401c3195b3d59125590d3536656165f4c67 Mon Sep 17 00:00:00 2001 From: Robb Hamilton Date: Fri, 27 Oct 2017 09:48:00 -0400 Subject: [PATCH] Adjust h1 margins so page header border aligns with left nav item --- app/styles/_typography.less | 17 ++++++----------- dist/styles/main.css | 8 +++++--- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/styles/_typography.less b/app/styles/_typography.less index 5b166a7923..a329df7304 100644 --- a/app/styles/_typography.less +++ b/app/styles/_typography.less @@ -6,12 +6,14 @@ margin-bottom: 0; margin-left: -20px; margin-right: -20px; - margin-top: 20px; - padding-left: 20px; - padding-right: 20px; + margin-top: 0; + padding: 18px 20px 19px; .actions { margin-top: 0; } + h1 { + margin: 0; + } } .page-header-link { display: inline-block; @@ -20,14 +22,6 @@ margin: 0 10px; white-space: nowrap; } - // @media (min-width: @screen-md-min) { - // .page-header.page-header-bleed-left { - // margin-left: -30px; - // padding-left: 30px; - // margin-right: -30px; - // padding-right: 30px; - // } - // } .section-header{ .page-header(); border-bottom: none; @@ -36,6 +30,7 @@ } h1 { + margin-top: 18px; &.contains-actions { .word-break(); } diff --git a/dist/styles/main.css b/dist/styles/main.css index ae3fee5498..9234a38067 100644 --- a/dist/styles/main.css +++ b/dist/styles/main.css @@ -5567,14 +5567,16 @@ td[role=presentation].arrow:after{content:"\2192"} .tile-row .tile-click:hover{box-shadow:0 2px 12px -1px rgba(0,0,0,.3),0 4px 5px 0 rgba(0,0,0,.11),0 1px 10px 0 rgba(0,0,0,.1)} .tile-row .tile-item-count{background-color:#ccc;font-weight:600;padding:4px 6px;position:absolute;right:10px;top:10px} .chromeless,.log-view{background-color:#101214} -.console-os .page-header,.console-os .section-header{border-color:#e4e4e4;padding-left:20px;padding-right:20px} .tile-row .tile-title{text-align:center} .tile-row .tile-title h3{margin:0 20px} -.console-os .page-header{margin:20px -20px 0} +.console-os .page-header{border-color:#e4e4e4;padding:18px 20px 19px;margin:0 -20px} .console-os .page-header .actions{margin-top:0} +.console-os .page-header h1{margin:0} .console-os .page-header-link{display:inline-block;font-size:11px;font-weight:400;margin:0 10px;white-space:nowrap} -.console-os .section-header{border-bottom:none;padding-bottom:10px;margin:20px -20px 0} +.console-os .section-header{border-color:#e4e4e4;padding:18px 20px 10px;border-bottom:none;margin:0 -20px} .console-os .section-header .actions{margin-top:0} +.console-os .section-header h1{margin:0} +h1{margin-top:18px} h1 .build-config-summary .meta,h1 .deployment-config-summary .meta,h1 small.meta{font-size:12px} @media (max-width:480px){h1 .build-config-summary .meta,h1 .deployment-config-summary .meta,h1 small.meta{display:block;margin-top:5px} }