fixed localisation link display
This commit is contained in:
parent
feb93503b6
commit
2664d2fcfd
File diff suppressed because it is too large
Load Diff
@ -139,11 +139,11 @@ function materiobasetheme_lt_loggedinblock($variables){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function materiobasetheme_links__locale_block(&$vars) {
|
function materiobasetheme_links__locale_block(&$vars) {
|
||||||
// global $language;
|
global $language;
|
||||||
foreach ($vars['links'] as $lang => $link) {
|
foreach ($vars['links'] as $lang => $link) {
|
||||||
// $vars['links'][$lang]['title'] = $lang;
|
$vars['links'][$lang]['title'] = $lang;
|
||||||
// if($lang == $language->language)
|
if($lang == $language->language)
|
||||||
// unset($vars['link'][$lang]);
|
unset($vars['link'][$lang]);
|
||||||
}
|
}
|
||||||
$content = theme_links($vars);
|
$content = theme_links($vars);
|
||||||
return $content;
|
return $content;
|
||||||
|
@ -392,6 +392,16 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
|
|||||||
&.active{display:none;}
|
&.active{display:none;}
|
||||||
}
|
}
|
||||||
.ie8 &{padding-top:5px;}
|
.ie8 &{padding-top:5px;}
|
||||||
|
ul{padding-top:0.155em;}
|
||||||
|
li{
|
||||||
|
font-size: 0.9em;
|
||||||
|
padding:0.33em 0.35em 0.3em;
|
||||||
|
@include rounded(3px);
|
||||||
|
&, >*{color:#fff; text-transform: uppercase;}
|
||||||
|
background-color: #808080;
|
||||||
|
@include transition-simply-prefix(background-color 0.3s ease-out);
|
||||||
|
&:hover{background-color: #1A1A1A;}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// #block-menu-menu-about{
|
// #block-menu-menu-about{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user