[yelp-xsl] mal2html-page: Use fixed positioning for ui overlays
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2html-page: Use fixed positioning for ui overlays
- Date: Sat, 13 Jul 2013 16:01:37 +0000 (UTC)
commit eb746532b648a5ce492a5d919037b94e1b12bcfd
Author: Shaun McCance <shaunm gnome org>
Date: Sat Jul 13 12:01:19 2013 -0400
mal2html-page: Use fixed positioning for ui overlays
xslt/mallard/html/mal2html-page.xsl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index 6c442f6..015c625 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -985,9 +985,10 @@ div.ui-screen {
}
div.ui-overlay {
display: none;
- position: absolute;
+ position: fixed;
text-align: center;
left: 0;
+ top: 20px;
width: 100%;
z-index: 10;
}
@@ -1435,7 +1436,6 @@ $(document).ready(function () {
return false;
}
});
- overlay.css({top: $(this).offset().top});
screen.fadeIn('slow');
overlay.slideDown('fast', function () {
if (media.length > 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]