aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2009-01-07 19:52:51 +0000
committervdigital <vdigital@piwigo.org>2009-01-07 19:52:51 +0000
commit347a42bf21419df15a153963a52318f1d1284e6b (patch)
tree85699372794edf2da3581dcc1462dbcda2ad7d5d
parent5aa076cf47ca8da5012df0d836ccdf76011f89cf (diff)
- External links are following the Graphic Chart (class="external")
git-svn-id: http://piwigo.org/svn/branches/2.0@3060 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/template/goto/theme/roma/theme.css2
-rw-r--r--template/yoga/menubar_links.tpl4
-rw-r--r--template/yoga/theme/Sylvia/theme.css9
3 files changed, 13 insertions, 2 deletions
diff --git a/admin/template/goto/theme/roma/theme.css b/admin/template/goto/theme/roma/theme.css
index 05eec8087..88a8f14fb 100644
--- a/admin/template/goto/theme/roma/theme.css
+++ b/admin/template/goto/theme/roma/theme.css
@@ -155,6 +155,8 @@ position:relative; padding: 5px 1px 4px 5px; top:-10px; font-size: 13px; color:
#menubar li { margin: 0 0 0 6px; }
#menubar li.external { list-style-image:url(images/external_inactive.png); padding:10px 0px 0pt 10px; }
#menubar li.external:hover { list-style-image:url(images/external_active.png); }
+a.external { color:#FF3363; border:0; text-decoration: none; }
+a.external:hover { color:#FF7700; border:0; }
#menubar ul { color: #333; margin:0 0 0 9px; line-height: 16px;
list-style-type: square; list-style-position: inside; padding: 0; }
/* jQuery tooltips */
diff --git a/template/yoga/menubar_links.tpl b/template/yoga/menubar_links.tpl
index 9f521f6b1..a945bd0d6 100644
--- a/template/yoga/menubar_links.tpl
+++ b/template/yoga/menubar_links.tpl
@@ -3,8 +3,8 @@
<ul>
{foreach from=$block->data item=link}
<li>
- <a href="{$link.URL}"
- {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}
+ <a href="{$link.URL}" class="external"
+ {if isset($link.new_window) } onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}
>
{$link.LABEL}
</a>
diff --git a/template/yoga/theme/Sylvia/theme.css b/template/yoga/theme/Sylvia/theme.css
index 2e5412e80..67f1ad0f1 100644
--- a/template/yoga/theme/Sylvia/theme.css
+++ b/template/yoga/theme/Sylvia/theme.css
@@ -331,6 +331,15 @@ A:hover, A:active {
border-bottom: 1px solid #FF3363;
cursor: pointer;
}
+a.external {
+ color:#FF3363;
+ border:0;
+ text-decoration: none;
+}
+a.external:hover {
+ color:#FF7700;
+ border:0;
+}
a.Piwigo {
font-family: verdana, arial, helvetica, sans-serif !important;
font-size: 11px; font-weight: normal; letter-spacing: 0;