From: J Miller Date: Tue, 23 Oct 2012 07:20:00 +0000 (-0700) Subject: Remove margins from first/last .row inside of a reveal-modal. X-Git-Tag: v3.2.0.rc1~1^2~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1058%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Remove margins from first/last .row inside of a reveal-modal. --- diff --git a/scss/foundation/components/modules/_reveal.scss b/scss/foundation/components/modules/_reveal.scss index 91574ab94..12cae5974 100644 --- a/scss/foundation/components/modules/_reveal.scss +++ b/scss/foundation/components/modules/_reveal.scss @@ -9,8 +9,6 @@ .reveal-modal-bg { position: fixed; height: 100%; width: 100%; background: #000; background: rgba(#000, .45); z-index: 40; display: none; top: 0; #{$defaultFloat}: 0; } .reveal-modal { background: $white; visibility: hidden; display: none; top: 100px; #{$defaultFloat}: 50%; margin-#{$defaultFloat}: -260px; width: 520px; position: absolute; z-index: 41; padding: 30px; @include box-shadow(0 0 10px rgba(#000,.4)); - > :first-child { margin-top: 0; } - > :last-child { margin-bottom: 0; } .close-reveal-modal { @include font-size(22); line-height: .5; @@ -28,6 +26,8 @@ &.xlarge { width: 70%; margin-#{$defaultFloat}: -35%; } &.expand { width: 90%; margin-#{$defaultFloat}: -45%; } .row { min-width: 0; margin-bottom: 10px; } + > :first-child { margin-top: 0; } + > :last-child { margin-bottom: 0; } } /* Mobile */