aboutsummaryrefslogtreecommitdiffstats
path: root/template
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 /template
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
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar_links.tpl4
-rw-r--r--template/yoga/theme/Sylvia/theme.css9
2 files changed, 11 insertions, 2 deletions
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;