Permalink
Browse files

updated meta nav

  • Loading branch information...
1 parent 1c9d9cb commit 6162d1a7467fbeec631e9fca7e34900e8998fe9f @tobiasstrebitzer tobiasstrebitzer committed Jan 30, 2012
@@ -42,33 +42,28 @@
Meta Navigation
-----------------------------------------------------------------------------*/
#metanav {
- min-width: 940px;
- background-color: #eee;
- border-top: 1px solid #e5e5e5;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.024) inset;
- text-shadow: 0 1px 0 #fff;
- height: 20px;
- overflow: hidden; /* Clearing floats */
+
}
#metanav ul {
float: left;
padding-left: 5px;
margin-left: 0;
+ margin-bottom: 0px;
}
#metanav ul li {
display: block;
float: left;
}
-
+
#metanav ul:last-child {
float: right;
}
#metanav ul:last-child li {
- padding: 0 3px;
- border-right: 2px solid #fff;
+ border-right:1px solid rgba(0, 0, 0, 0.06);
+ padding:0 5px;
}
#metanav ul:last-child li:last-child {
@@ -1,16 +1,12 @@
{include uri='design:page_header_logo.tpl'}
-<div id="metanav">
+<div id="metanav" class="alert-message">
<div class="container">
- <div class="row">
- <div class="span16">
- <ul>
- {include uri='design:page_header_languages.tpl'}
- </ul>
- <ul>
- {include uri='design:page_header_links.tpl'}
- </ul>
- </div>
- </div>
+ <ul>
+ {include uri='design:page_header_languages.tpl'}
+ </ul>
+ <ul>
+ {include uri='design:page_header_links.tpl'}
+ </ul>
</div>
</div>
@@ -4,5 +4,5 @@
{def $avail_translation = language_switcher( $site.uri.original_uri)}
{/if}
{foreach $avail_translation as $siteaccess => $lang}
- <li{if $siteaccess|eq($access_type.name)} class="current_siteaccess"{/if}><a href={$lang.url|ezurl}>{$lang.text|wash}</a>{delimiter}{/delimiter}</li>
+ <li{if $siteaccess|eq($access_type.name)} class="current_siteaccess"{/if}><a class="btn small" href={$lang.url|ezurl}>{$lang.text|wash}</a>{delimiter}{/delimiter}</li>
{/foreach}
@@ -1,39 +1,39 @@
{if $pagedesign.data_map.tag_cloud_url.data_text|ne('')}
{if $pagedesign.data_map.tag_cloud_url.content|eq('')}
- <li id="tagcloud"><a href={concat("/content/view/tagcloud/", $pagedata.root_node)|ezurl} title="{$pagedesign.data_map.tag_cloud_url.data_text|wash}">{$pagedesign.data_map.tag_cloud_url.data_text|wash}</a></li>
+ <li id="tagcloud"><a class="btn small" href={concat("/content/view/tagcloud/", $pagedata.root_node)|ezurl} title="{$pagedesign.data_map.tag_cloud_url.data_text|wash}">{$pagedesign.data_map.tag_cloud_url.data_text|wash}</a></li>
{else}
- <li id="tagcloud"><a href={$pagedesign.data_map.tag_cloud_url.content|ezurl} title="{$pagedesign.data_map.tag_cloud_url.data_text|wash}">{$pagedesign.data_map.tag_cloud_url.data_text|wash}</a></li>
+ <li id="tagcloud"><a class="btn small" href={$pagedesign.data_map.tag_cloud_url.content|ezurl} title="{$pagedesign.data_map.tag_cloud_url.data_text|wash}">{$pagedesign.data_map.tag_cloud_url.data_text|wash}</a></li>
{/if}
{/if}
{if $pagedesign.data_map.site_map_url.data_text|ne('')}
{if $pagedesign.data_map.site_map_url.content|eq('')}
- <li id="sitemap"><a href={concat("/content/view/sitemap/", $pagedata.root_node)|ezurl} title="{$pagedesign.data_map.site_map_url.data_text|wash}">{$pagedesign.data_map.site_map_url.data_text|wash}</a></li>
+ <li id="sitemap"><a class="btn small" href={concat("/content/view/sitemap/", $pagedata.root_node)|ezurl} title="{$pagedesign.data_map.site_map_url.data_text|wash}">{$pagedesign.data_map.site_map_url.data_text|wash}</a></li>
{else}
- <li id="sitemap"><a href={$pagedesign.data_map.site_map_url.content|ezurl} title="{$pagedesign.data_map.site_map_url.data_text|wash}">{$pagedesign.data_map.site_map_url.data_text|wash}</a></li>
+ <li id="sitemap"><a class="btn small" href={$pagedesign.data_map.site_map_url.content|ezurl} title="{$pagedesign.data_map.site_map_url.data_text|wash}">{$pagedesign.data_map.site_map_url.data_text|wash}</a></li>
{/if}
{/if}
{if $basket_is_empty|not()}
- <li id="shoppingbasket"><a href={"/shop/basket/"|ezurl} title="{$pagedesign.data_map.shopping_basket_label.data_text|wash}">{$pagedesign.data_map.shopping_basket_label.data_text|wash}</a></li>
+ <li id="shoppingbasket"><a class="btn small" href={"/shop/basket/"|ezurl} title="{$pagedesign.data_map.shopping_basket_label.data_text|wash}">{$pagedesign.data_map.shopping_basket_label.data_text|wash}</a></li>
{/if}
{if $current_user.is_logged_in}
{if $pagedesign.data_map.my_profile_label.has_content}
- <li id="myprofile"><a href={"/user/edit/"|ezurl} title="{$pagedesign.data_map.my_profile_label.data_text|wash}">{$pagedesign.data_map.my_profile_label.data_text|wash}</a></li>
+ <li id="myprofile"><a class="btn small" href={"/user/edit/"|ezurl} title="{$pagedesign.data_map.my_profile_label.data_text|wash}">{$pagedesign.data_map.my_profile_label.data_text|wash}</a></li>
{/if}
{if $pagedesign.data_map.logout_label.has_content}
- <li id="logout"><a href={"/user/logout"|ezurl} title="{$pagedesign.data_map.logout_label.data_text|wash}">{$pagedesign.data_map.logout_label.data_text|wash} ( {$current_user.contentobject.name|wash} )</a></li>
+ <li id="logout"><a class="btn small" href={"/user/logout"|ezurl} title="{$pagedesign.data_map.logout_label.data_text|wash}">{$pagedesign.data_map.logout_label.data_text|wash} ( {$current_user.contentobject.name|wash} )</a></li>
{/if}
{else}
{if and( $pagedesign.data_map.register_user_label.has_content, ezmodule( 'user/register' ) )}
- <li id="registeruser"><a href={"/user/register"|ezurl} title="{$pagedesign.data_map.register_user_label.data_text|wash}">{$pagedesign.data_map.register_user_label.data_text|wash}</a></li>
+ <li id="registeruser"><a class="btn small" href={"/user/register"|ezurl} title="{$pagedesign.data_map.register_user_label.data_text|wash}">{$pagedesign.data_map.register_user_label.data_text|wash}</a></li>
{/if}
{if $pagedesign.data_map.login_label.has_content}
- <li id="login"><a href={"/user/login"|ezurl} title="{$pagedesign.data_map.login_label.data_text|wash}">{$pagedesign.data_map.login_label.data_text|wash}</a></li>
+ <li id="login"><a class="btn small" href={"/user/login"|ezurl} title="{$pagedesign.data_map.login_label.data_text|wash}">{$pagedesign.data_map.login_label.data_text|wash}</a></li>
{/if}
{/if}
{if $pagedesign.can_edit}
- <li id="sitesettings"><a href={concat( "/content/edit/", $pagedesign.id, "/a" )|ezurl} title="{$pagedesign.data_map.site_settings_label.data_text|wash}">{$pagedesign.data_map.site_settings_label.data_text|wash}</a></li>
+ <li id="sitesettings"><a class="btn small" href={concat( "/content/edit/", $pagedesign.id, "/a" )|ezurl} title="{$pagedesign.data_map.site_settings_label.data_text|wash}">{$pagedesign.data_map.site_settings_label.data_text|wash}</a></li>
{/if}

0 comments on commit 6162d1a

Please sign in to comment.