aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-09-19 19:38:15 +0000
committervdigital <vdigital@piwigo.org>2008-09-19 19:38:15 +0000
commit324a4a112ac4a883f086372c8053c0021a4380d4 (patch)
tree9535e403c0307902e3040e61159a288adb6a922a /template/yoga
parentbff424f8d9de0c258071e6e99f92f9960b13fbb7 (diff)
Index page: Scrolling start above the category when description is too long.
Sql Trace in a <div> clear:both. French de-à => du-au git-svn-id: http://piwigo.org/svn/trunk@2550 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/default-layout.css3
-rw-r--r--template/yoga/footer.tpl10
-rw-r--r--template/yoga/mainpage_categories.tpl1
-rw-r--r--template/yoga/theme/Sylvia/theme.css12
4 files changed, 19 insertions, 7 deletions
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index 6c2981411..29805b4a1 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -273,4 +273,5 @@ TABLE.tagLetterContent {
font-size:80%;
border-collapse : collapse;
}
-#theHeader {text-align: center;} \ No newline at end of file
+#theHeader {text-align: center;}
+#debug { margin: 15px 15px 5px 248px; font-size:12px; clear: both; word-wrap:break-word;} \ No newline at end of file
diff --git a/template/yoga/footer.tpl b/template/yoga/footer.tpl
index a44260184..fdc0c92cf 100644
--- a/template/yoga/footer.tpl
+++ b/template/yoga/footer.tpl
@@ -19,14 +19,18 @@
<a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
{/if}
-</div> <!-- copyright -->
+
{if isset($footer_elements)}
{foreach from=$footer_elements item=v}
{$v}
{/foreach}
{/if}
</div> <!-- the_page -->
-
-{if isset($debug.QUERIES_LIST)}{$debug.QUERIES_LIST}{/if}
+{if isset($debug.QUERIES_LIST)}
+<div id="debug">
+{$debug.QUERIES_LIST}
+</div>
+{/if}
+</div> <!-- copyright -->
</body>
</html> \ No newline at end of file
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
index 0159bf6a4..9c810600b 100644
--- a/template/yoga/mainpage_categories.tpl
+++ b/template/yoga/mainpage_categories.tpl
@@ -28,4 +28,3 @@
</li>
{/foreach}
</ul>
-
diff --git a/template/yoga/theme/Sylvia/theme.css b/template/yoga/theme/Sylvia/theme.css
index 851a755f3..18df98a8a 100644
--- a/template/yoga/theme/Sylvia/theme.css
+++ b/template/yoga/theme/Sylvia/theme.css
@@ -1,6 +1,8 @@
/* $Id$ */
-.content div.thumbnailCategory div.illustration { width:190px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */ }
+.content div.thumbnailCategory div.illustration { width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */ }
.content div.thumbnailCategory { height: 180px !important; /* Usable range 172px-250px , optimal : Thumbnail height + 30px */ }
+.content div.thumbnailCategory div.description .text { height: 130px !important; /* -42px than previous one */ }
+
/* Sylvia Theme is close to the Roma Admin theme */
BODY, H1, H3, DT, INPUT.rateButtonSelected { color:#ddd; }
H2, #menubar DT { color: #666; }
@@ -52,7 +54,13 @@ padding: 0; margin:0; }
padding: 0 0 0 10px; margin: 0; }
.content .thumbnailCategory div.illustration a { display: block; margin: 0; padding:20px 0 0 8px; }
#content .thumbnailCategory div.description { background:transparent url(images/cat_top-right.gif) no-repeat scroll right top;
-margin:0; padding:15px 10px 3px 0; overflow: hidden; }
+margin: 0; padding:15px 10px 3px 0; overflow: hidden; }
+#content .thumbnailCategory div.description .text { margin: 10px 2px 0 0; padding:-10px 0 5px 0;
+overflow: auto; overflow-x: hidden; /* Only IE family supports colored scrollbar */
+ scrollbar-face-color: #222; scrollbar-shadow-color: #444; scrollbar-highlight-color: #000;
+ scrollbar-3dlight-color: #292929; scrollbar-darkshadow-color: #333; scrollbar-track-color: #111;
+ scrollbar-arrow-color: #f70; }
+.content div.thumbnailCategory div.description p.dates { margin: 0 15px 0 15px; text-align: right; }
#content.content .thumbnailCategory div.description H3 { display: block; margin: 0; }
#content ul.thumbnailCategories li:hover { background-color:#111; }
#imageHeaderBar .imageNumber { margin-right:170px; }