From 90762a2326a894bd2bd7fc48737fe9978b276333 Mon Sep 17 00:00:00 2001 From: erlehmann Date: Sun, 11 May 2008 21:58:03 +0000 Subject: [PATCH] enjoy your embedded mode git-svn-id: http://yolanda.mister-muffin.de/svn@348 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/style/embedded.css | 38 ++++++--- trunk/style/structure/fake6.css | 6 +- trunk/xsl/xhtml-embed.xsl | 142 ++++++++++++++++---------------- trunk/xsl/xhtml/video.xsl | 6 +- 4 files changed, 102 insertions(+), 90 deletions(-) diff --git a/trunk/style/embedded.css b/trunk/style/embedded.css index f5265a3..cb23e6c 100644 --- a/trunk/style/embedded.css +++ b/trunk/style/embedded.css @@ -1,21 +1,35 @@ body { - font-family: sans-serif; - font-size: 8pt; - font-weight: bold; - overflow: visible; + margin: 0px; + padding: 0px; } -div.watch-browserplugin, div.watch-cortadoapplet +form { - float: left; - text-align: left; - width: 50%; +height: 100%; +width: 100%; } -div.embedded-backlink +button { - float: right; - text-align: right; - width: 50%; + /* crude center hack */ + position: absolute; + top: 50%; + left: 50%; + width: 15em; + height: 15em; } + + button[name="playback"] + { + /* crude center hack */ + margin-left: -15em; + margin-top: -7.5em; + } + + button[name="download"] + { + /* crude center hack */ + margin-left: 0em; + margin-top: -7.5em; + } diff --git a/trunk/style/structure/fake6.css b/trunk/style/structure/fake6.css index 211210a..e2606c9 100644 --- a/trunk/style/structure/fake6.css +++ b/trunk/style/structure/fake6.css @@ -178,7 +178,7 @@ form ol #preview form button { - /* crude center hack (second part in bridget.css) */ + /* crude center hack */ position: absolute; top: 50%; left: 50%; @@ -188,14 +188,14 @@ form ol #preview form button[name="playback"] { - /* crude center hack (second part in fake6.css) */ + /* crude center hack */ margin-left: -15em; margin-top: -7.5em; } #preview form button[name="download"] { - /* crude center hack (second part in fake6.css) */ + /* crude center hack */ margin-left: 0em; margin-top: -7.5em; } diff --git a/trunk/xsl/xhtml-embed.xsl b/trunk/xsl/xhtml-embed.xsl index 08eacc8..9420765 100644 --- a/trunk/xsl/xhtml-embed.xsl +++ b/trunk/xsl/xhtml-embed.xsl @@ -32,91 +32,89 @@ - - - - + + + + + + + + -
+ - - - + + + + + + + + + - + enjoy your NOT OGG - - - - - - - - - + -
- - - - -
- - - -
- -
- - +
diff --git a/trunk/xsl/xhtml/video.xsl b/trunk/xsl/xhtml/video.xsl index 28419ca..db264b3 100644 --- a/trunk/xsl/xhtml/video.xsl +++ b/trunk/xsl/xhtml/video.xsl @@ -421,10 +421,10 @@ filesize
- <object data="" + <object data="" type="application/xml" - width= - height= + width="" + height="" />