scss/foundation/components/modules/_reveal.scss in zurb-foundation-3.2.3 vs scss/foundation/components/modules/_reveal.scss in zurb-foundation-3.2.4.rc1
- old
+ new
@@ -7,11 +7,11 @@
/* Reveal Modals ---------------------- */
.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: #fff; 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));
- .close-reveal-modal {
+ .close-reveal-modal:not(.button) {
@include font-size(22);
line-height: .5;
position: absolute;
top: 8px;
#{$defaultOpposite}: 11px;
@@ -28,8 +28,7 @@
.row { min-width: 0; margin-bottom: 10px; }
> :first-child { margin-top: 0; }
> :last-child { margin-bottom: 0; }
}
@media print {
- div:not(.reveal-modal) { display: none; }
.reveal-modal { border: solid 1px #000; background: #fff; }
}