From 03a5844cee0c486c8369d225ea1239b2dfad41c1 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 24 Jun 2006 14:45:04 +0000 Subject: fix bug 435: move image.css to picture.css to be consistent with picture.tpl git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1399 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/image.css | 143 --------------------------------------------- template/yoga/layout.css | 2 +- template/yoga/picture.css | 144 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 144 deletions(-) delete mode 100644 template/yoga/image.css create mode 100644 template/yoga/picture.css (limited to 'template/yoga') diff --git a/template/yoga/image.css b/template/yoga/image.css deleted file mode 100644 index 42073b4c2..000000000 --- a/template/yoga/image.css +++ /dev/null @@ -1,143 +0,0 @@ -#imageHeaderBar { - padding-top: 2px; - padding-bottom: 2px; - margin-top: 4px; - overflow: hidden; - width: 100%; -} - -#imageHeaderBar .browsePath { - float: left; - margin-left: 10px; -} - -#imageHeaderBar .imageNumber { - float: right; - margin-right: 10px; -} - -#imageHeaderBar H2 { - text-align: center; - padding: 0; - clear: both; -} - -#imageToolBar { - text-align: center; - position: relative; - clear: both; - margin-bottom: 4px; - padding: 0; -} - -#imageToolBar { - height: 28px; -} -#imageToolBar A, #imageToolBar IMG { - display: block; - border: none; - margin: 0; padding: 0; -} -#imageToolBar A { width: 48px; } -#imageToolBar IMG { margin: 2px auto; } -#imageToolBar .randomButtons A { float: left; } -#imageToolBar .navButtons A { float: right; } - -#theImage { - clear: left; -} - -#theImage>IMG { - display: block; - margin: 0 auto; -} - -#theImage IMG { - border-width: 3px; - border-style: solid; -} - -.navThumb { - margin-top: 2px; -} -#thumbPrev { - float: left; -} - -#thumbNext { - float: right; -} - -#linkPrev { - margin-right: 10px; - margin-left: 5px; -} - -#linkNext { - margin-right: 5px; - margin-left: 10px; -} - -TABLE.infoTable .value { - text-align: left; -} - -TABLE.infoTable .label { - font-weight: bold; - text-align: right; - padding-right: 0.5em; -} - -TABLE.infoTable TD.value UL { - margin: 0; - padding: 0 0 0 1.5em; - list-style-type: square; -} - -.rateButton, .rateButtonSelected { - background-color:transparent; - padding:0; - border:0; -} - -.rateButton { - cursor: pointer; -} - -.rateButtonSelected { - color:inherit; - font-weight:bold; - font-size:120%; -} - -#comments { - text-align: left; -} - -#comments .comment { - margin: 1em 0; -} - -#comments H2 { - margin: 0.5em 0; -} - -#comments P { - margin: 0 0.5em 0 1em; -} - -#comments .author { - font-weight: bold; -} - -#comments BLOCKQUOTE { - margin: 0.5em 1em 1em 4em; - padding: 0.5em; - overflow: auto; /* no solution for IE6 */ - min-height: 2.75em; /* fix a Gecko bug whith scrollbar and 1 line only */ -} - -#comments P.userCommentDelete { - float: right; - margin: 0 0.5em 0 0; -} diff --git a/template/yoga/layout.css b/template/yoga/layout.css index c39d46293..a055ad100 100644 --- a/template/yoga/layout.css +++ b/template/yoga/layout.css @@ -4,7 +4,7 @@ @import "menubar.css"; @import "content.css"; @import "thumbnails.css"; -@import "image.css"; +@import "picture.css"; @import "popuphelp.css"; @import "default-layout.css"; /* Override properties with import local file */ diff --git a/template/yoga/picture.css b/template/yoga/picture.css new file mode 100644 index 000000000..e51db1825 --- /dev/null +++ b/template/yoga/picture.css @@ -0,0 +1,144 @@ +/* $Id$ */ +#imageHeaderBar { + padding-top: 2px; + padding-bottom: 2px; + margin-top: 4px; + overflow: hidden; + width: 100%; +} + +#imageHeaderBar .browsePath { + float: left; + margin-left: 10px; +} + +#imageHeaderBar .imageNumber { + float: right; + margin-right: 10px; +} + +#imageHeaderBar H2 { + text-align: center; + padding: 0; + clear: both; +} + +#imageToolBar { + text-align: center; + position: relative; + clear: both; + margin-bottom: 4px; + padding: 0; +} + +#imageToolBar { + height: 28px; +} +#imageToolBar A, #imageToolBar IMG { + display: block; + border: none; + margin: 0; padding: 0; +} +#imageToolBar A { width: 48px; } +#imageToolBar IMG { margin: 2px auto; } +#imageToolBar .randomButtons A { float: left; } +#imageToolBar .navButtons A { float: right; } + +#theImage { + clear: left; +} + +#theImage>IMG { + display: block; + margin: 0 auto; +} + +#theImage IMG { + border-width: 3px; + border-style: solid; +} + +.navThumb { + margin-top: 2px; +} +#thumbPrev { + float: left; +} + +#thumbNext { + float: right; +} + +#linkPrev { + margin-right: 10px; + margin-left: 5px; +} + +#linkNext { + margin-right: 5px; + margin-left: 10px; +} + +TABLE.infoTable .value { + text-align: left; +} + +TABLE.infoTable .label { + font-weight: bold; + text-align: right; + padding-right: 0.5em; +} + +TABLE.infoTable TD.value UL { + margin: 0; + padding: 0 0 0 1.5em; + list-style-type: square; +} + +.rateButton, .rateButtonSelected { + background-color:transparent; + padding:0; + border:0; +} + +.rateButton { + cursor: pointer; +} + +.rateButtonSelected { + color:inherit; + font-weight:bold; + font-size:120%; +} + +#comments { + text-align: left; +} + +#comments .comment { + margin: 1em 0; +} + +#comments H2 { + margin: 0.5em 0; +} + +#comments P { + margin: 0 0.5em 0 1em; +} + +#comments .author { + font-weight: bold; +} + +#comments BLOCKQUOTE { + margin: 0.5em 1em 1em 4em; + padding: 0.5em; + overflow: auto; /* no solution for IE6 */ + min-height: 2.75em; /* fix a Gecko bug whith scrollbar and 1 line only */ +} + +#comments P.userCommentDelete { + float: right; + margin: 0 0.5em 0 0; +} -- cgit v1.2.3