diff options
author | vdigital <vdigital@piwigo.org> | 2009-01-07 20:03:11 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2009-01-07 20:03:11 +0000 |
commit | ff0dfb9d7436ae0b91ed05a916aa17af9a19b8c0 (patch) | |
tree | 34bebc3d9a1ec42edc91b1ad38c35986ca1cc8f7 /template/yoga | |
parent | 6d2f598b2e0e09b95556bece2d97441b47bcc7cf (diff) |
- External links are following the Graphic Chart (class="external")
(roma has been currently excluded)
git-svn-id: http://piwigo.org/svn/trunk@3061 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/menubar_links.tpl | 4 | ||||
-rw-r--r-- | template/yoga/theme/Sylvia/theme.css | 9 |
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 a6d4813db..fc1759069 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; |