aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-09-08 20:46:11 +0000
committervdigital <vdigital@piwigo.org>2008-09-08 20:46:11 +0000
commitb5c5a2aeae0f771da8b04ba29f2cc1b8ec0fe4ae (patch)
treeb5667682bc5891b4aff95c8f24b50970b4698879
parent85ea11bf35c84f1880721147faf1839428333f40 (diff)
Sylvia theme: .content reviewed including hover/active backgrounds.
Some additional jQuery fade in/out functions git-svn-id: http://piwigo.org/svn/trunk@2510 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/template/yoga/admin/element_set_unit.tpl12
-rw-r--r--plugins/admin_advices/admin_advices.tpl12
-rw-r--r--template/yoga/theme/Sylvia/images/cat_activ_bottom-left.gifbin1772 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_activ_bottom-right.gifbin1100 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_activ_top-left.gifbin1176 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_activ_top-right.gifbin1693 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_bottom-left.gifbin0 -> 1548 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_bottom-right.gifbin0 -> 884 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_inactiv_bottom-left.gifbin2121 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_inactiv_bottom-right.gifbin1260 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_inactiv_top-left.gifbin1594 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_inactiv_top-right.gifbin1976 -> 0 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_top-left.gifbin0 -> 770 bytes
-rw-r--r--template/yoga/theme/Sylvia/images/cat_top-right.gifbin0 -> 1504 bytes
-rw-r--r--template/yoga/theme/Sylvia/theme.css40
15 files changed, 47 insertions, 17 deletions
diff --git a/admin/template/yoga/admin/element_set_unit.tpl b/admin/template/yoga/admin/element_set_unit.tpl
index 34366fada..40e1c1863 100644
--- a/admin/template/yoga/admin/element_set_unit.tpl
+++ b/admin/template/yoga/admin/element_set_unit.tpl
@@ -91,3 +91,15 @@
{/if}
</form>
+
+<script type="text/javascript">// <![CDATA[
+{literal}$(document).ready(function() {
+ $(".elementEdit img").fadeTo("slow", 0.6); // Opacity on page load
+ $(".elementEdit img").hover(function(){
+ $(this).fadeTo("slow", 1.0); // Opacity on hover
+ },function(){
+ $(this).fadeTo("slow", 0.6); // Opacity on mouseout
+ });
+});{/literal}
+// ]]>
+</script> \ No newline at end of file
diff --git a/plugins/admin_advices/admin_advices.tpl b/plugins/admin_advices/admin_advices.tpl
index 56ca9a85e..7afcaf561 100644
--- a/plugins/admin_advices/admin_advices.tpl
+++ b/plugins/admin_advices/admin_advices.tpl
@@ -60,4 +60,14 @@
</ul>
</div>
</div>
-
+<script type="text/javascript">// <![CDATA[
+{literal}$(document).ready(function() {
+ $("img.thumbnail").fadeTo("slow", 0.6); // Opacity on page load
+ $("img.thumbnail").hover(function(){
+ $(this).fadeTo("slow", 1.0); // Opacity on hover
+ },function(){
+ $(this).fadeTo("slow", 0.6); // Opacity on mouseout
+ });
+});{/literal}
+// ]]>
+</script> \ No newline at end of file
diff --git a/template/yoga/theme/Sylvia/images/cat_activ_bottom-left.gif b/template/yoga/theme/Sylvia/images/cat_activ_bottom-left.gif
deleted file mode 100644
index 9a87ee2a5..000000000
--- a/template/yoga/theme/Sylvia/images/cat_activ_bottom-left.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_activ_bottom-right.gif b/template/yoga/theme/Sylvia/images/cat_activ_bottom-right.gif
deleted file mode 100644
index 673fa7f20..000000000
--- a/template/yoga/theme/Sylvia/images/cat_activ_bottom-right.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_activ_top-left.gif b/template/yoga/theme/Sylvia/images/cat_activ_top-left.gif
deleted file mode 100644
index 0b9331741..000000000
--- a/template/yoga/theme/Sylvia/images/cat_activ_top-left.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_activ_top-right.gif b/template/yoga/theme/Sylvia/images/cat_activ_top-right.gif
deleted file mode 100644
index 845e216db..000000000
--- a/template/yoga/theme/Sylvia/images/cat_activ_top-right.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_bottom-left.gif b/template/yoga/theme/Sylvia/images/cat_bottom-left.gif
new file mode 100644
index 000000000..2a042897d
--- /dev/null
+++ b/template/yoga/theme/Sylvia/images/cat_bottom-left.gif
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_bottom-right.gif b/template/yoga/theme/Sylvia/images/cat_bottom-right.gif
new file mode 100644
index 000000000..5cd1a1f20
--- /dev/null
+++ b/template/yoga/theme/Sylvia/images/cat_bottom-right.gif
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_inactiv_bottom-left.gif b/template/yoga/theme/Sylvia/images/cat_inactiv_bottom-left.gif
deleted file mode 100644
index 274ac4344..000000000
--- a/template/yoga/theme/Sylvia/images/cat_inactiv_bottom-left.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_inactiv_bottom-right.gif b/template/yoga/theme/Sylvia/images/cat_inactiv_bottom-right.gif
deleted file mode 100644
index a36e06009..000000000
--- a/template/yoga/theme/Sylvia/images/cat_inactiv_bottom-right.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_inactiv_top-left.gif b/template/yoga/theme/Sylvia/images/cat_inactiv_top-left.gif
deleted file mode 100644
index 0a751ed2e..000000000
--- a/template/yoga/theme/Sylvia/images/cat_inactiv_top-left.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_inactiv_top-right.gif b/template/yoga/theme/Sylvia/images/cat_inactiv_top-right.gif
deleted file mode 100644
index 203c26551..000000000
--- a/template/yoga/theme/Sylvia/images/cat_inactiv_top-right.gif
+++ /dev/null
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_top-left.gif b/template/yoga/theme/Sylvia/images/cat_top-left.gif
new file mode 100644
index 000000000..f1ed42694
--- /dev/null
+++ b/template/yoga/theme/Sylvia/images/cat_top-left.gif
Binary files differ
diff --git a/template/yoga/theme/Sylvia/images/cat_top-right.gif b/template/yoga/theme/Sylvia/images/cat_top-right.gif
new file mode 100644
index 000000000..058fa5317
--- /dev/null
+++ b/template/yoga/theme/Sylvia/images/cat_top-right.gif
Binary files differ
diff --git a/template/yoga/theme/Sylvia/theme.css b/template/yoga/theme/Sylvia/theme.css
index 3e1d1745a..3d3666510 100644
--- a/template/yoga/theme/Sylvia/theme.css
+++ b/template/yoga/theme/Sylvia/theme.css
@@ -1,5 +1,10 @@
/* $Id$ */
+
+
+.content div.thumbnailCategory { height: 180px !important; /* Usable range 172px-250px , optimal : Thumbnail height + 30px */ }
+
+
/* text color */
BODY, H1, H3, DT,
INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ {
@@ -13,7 +18,7 @@ H2, #menubar DT {
/* backgrounds */
-/* H3, */ #imageHeaderBar, #imageToolBar A:hover { background-color: #111; }
+/* H3, */ #imageHeaderBar, #imageToolBar A:hover { background-color: transparent; }
body {
background:#111111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom;
@@ -58,18 +63,21 @@ min-height:466px; }
.content { border: 1px solid #000000; border-top: 0; margin:21px 7px 0 290px; padding-top:7px; }
.content h2 { margin:0; padding:0px 10px 15px 15px; border:0;}
#content ul.thumbnailCategories li {
-background:transparent url(images/cat_inactiv_bottom-right.gif) no-repeat scroll right bottom;
-width:49%; margin: 0; padding:0; }
-.content div.thumbnailCategory { background:transparent url(images/cat_inactiv_bottom-left.gif) no-repeat scroll left bottom;
-padding: 0; margin:0; height: 180px !important; }
-#content .thumbnailCategory div.illustration { background:transparent url(images/cat_inactiv_top-left.gif) no-repeat scroll left top;
-padding: 0 0 0 10px; margin:-6px 0 0 0; }
-.content .thumbnailCategory div.illustration a { display: block; margin: 20px 5px 12px 12px; }
-#content .thumbnailCategory div.description { background:transparent url(images/cat_inactiv_top-right.gif) no-repeat scroll right top;
-margin:14px 0 0; overflow-y:hidden; padding:0 8px 0 20px; }
-
-#imageHeaderBar { border-top: 1px solid #000000; }
-#content.content .thumbnailCategory div.description H3 { margin: 15px 6px 3px 15px; }
+background:#222 url(images/cat_bottom-right.gif) no-repeat scroll right bottom;
+width:47%; margin: 0 12px; padding:0; }
+.content div.thumbnailCategory { background:transparent url(images/cat_bottom-left.gif) no-repeat scroll left bottom;
+padding: 0; margin:0; }
+#content .thumbnailCategory div.illustration { background:transparent url(images/cat_top-left.gif) no-repeat scroll left top;
+padding: 0 0 0 10px; margin: 0; }
+.content .thumbnailCategory div.illustration a { display: block; margin: 0; padding:15px 0 0 10px; }
+#content .thumbnailCategory div.description { background:transparent url(images/cat_top-right.gif) no-repeat scroll right top;
+margin:0; padding:15px 0 0 20px; }
+#content .thumbnailCategory div.description p { overvflow: hidden; }
+
+#content.content .thumbnailCategory div.description H3 { display: block; margin: 0; }
+#content ul.thumbnailCategories li:hover { background-color:#111; }
+#imageHeaderBar .imageNumber { margin-right:170px; }
+#imageHeaderBar .browsePath { margin-left:125px; }
H2, #imageToolBar {
border-bottom: 1px solid #000000;
}
@@ -92,12 +100,12 @@ FIELDSET, INPUT, SELECT, TEXTAREA {
/* links */
A, INPUT.rateButton {
- color: #f70;
+ color: #f70; outline: none;
border: none;
}
-A:hover {
- color: #f33; border: 0;
+A:hover, A:active {
+ color: #f33; border: 0; outline: none;
}
.virtual_cat { background: #3f3f3f; }