[*] FO : Move header modules to new hook, first part 1/2

This commit is contained in:
gRoussac
2013-12-10 20:52:22 +01:00
parent 78df7f52f4
commit 1dcc5e288c
41 changed files with 306 additions and 311 deletions
@@ -24,13 +24,13 @@ body{background:#282828}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#c6c6c6;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -74,7 +74,7 @@ body{background:#282828}
background:$color1-style1}
}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
&:after{color:white}
@@ -25,13 +25,13 @@ body{background:#232323}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#656565;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:white;
&:hover, &.active {
@@ -84,7 +84,7 @@ body{background:#232323}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
&:after{color:white}
@@ -23,13 +23,13 @@ body{background:$color1-style1}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:white;
&:hover, &.active {
@@ -86,7 +86,7 @@ body{background:$color1-style1}
#search_block_top #search_query_top{color:#686666}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
text-shadow:0 1px #567931;
@@ -26,13 +26,13 @@ body{background:#282828}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -76,7 +76,7 @@ body{background:#282828}
background:$color2-style1}
}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
&:after{color:white}
+3 -3
View File
@@ -24,13 +24,13 @@ body{background:#282828}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#c6c6c6;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -74,7 +74,7 @@ body{background:#282828}
background:$color1-style1}
}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
&:after{color:white}
+3 -3
View File
@@ -28,13 +28,13 @@ body{background:#3c281c}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#656565;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:#fff;
&:hover, &.active {
@@ -94,7 +94,7 @@ body{background:#3c281c}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color1-style1;
color:white;
&:after{color:white}
+3 -3
View File
@@ -29,13 +29,13 @@ body{background:#1b1b1b}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#656565;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -100,7 +100,7 @@ body{background:#1b1b1b}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
&:after{color:white}
+3 -3
View File
@@ -28,13 +28,13 @@ body{background:#181212}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -100,7 +100,7 @@ body{background:#181212}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
text-shadow:$color-shadow;
+3 -3
View File
@@ -25,13 +25,13 @@ $color-shadow: 0 1px #567931;
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:white;
&:hover, &.active {
@@ -87,7 +87,7 @@ $color-shadow: 0 1px #567931;
#search_block_top #search_query_top{color:#686666}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
text-shadow:$color-shadow;
+3 -3
View File
@@ -28,13 +28,13 @@ body{background:#282828}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -95,7 +95,7 @@ body{background:#282828}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
text-shadow:$color-shadow;
+3 -3
View File
@@ -28,14 +28,14 @@ body{background:#282828}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -101,7 +101,7 @@ body{background:#282828}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
text-shadow:$color-shadow;
+3 -3
View File
@@ -28,14 +28,14 @@ body{background:#282828}
}
#currencies-block-top,
#languages-block-top,
.header-row #header_user_info{
.header-row .header_user_info{
border-color:#515151;
}
#currencies-block-top div.current,
#languages-block-top div.current,
.header-row #header_user_info a
.header-row .header_user_info a
{
color:$color1-style1;
&:hover, &.active {
@@ -101,7 +101,7 @@ body{background:#282828}
#header_right #header_user #shopping_cart a{
#header_user #shopping_cart a{
background:$color-style1;
color:white;
text-shadow:$color-shadow;
@@ -203,7 +203,12 @@ class ThemeConfigurator extends Module
}
}
public function hookdisplayTopColumn()
public function hookdisplayTopColumn($params)
{
return $this->hookdisplayTop($params);
}
public function hookdisplayTop($params)
{
if ((int)Tools::getValue('live_configurator', 0) == 1)
{