if (isset($data['backgroundimage']) && !isset($data['bg_image'])) {\r
$data['bg_image'] = $data['backgroundimage'];\r
}\r
-\r
- $bgimage = CubeIT_Util_Cms::extractFile($data['bg_image']);\r
- $extra_attributes = array();\r
- if ($bgimage) {\r
- $image_path = CubeIT_View_Helper_ImageCms::getPath($bgimage);\r
-\r
- // Work out the ratio of the background image\r
- CubeIT_Image::getDimensions($image_path, $image_width, $image_height);\r
- $image_ratio = $image_height / $image_width;\r
- $attributes['data-bg-ratio'] = $image_ratio;\r
-\r
- $style = "background-image: url($image_path);";\r
-\r
- if (isset($data['backgroundcolor'])) {\r
- $style .= 'background-color:'. $data['backgroundcolor'];\r
- }\r
+ if (isset($data['bg_image'])) {\r
+ $bgimage = CubeIT_Util_Cms::extractFile($data['bg_image']);\r
+ $extra_attributes = array();\r
+ if ($bgimage) {\r
+ $image_path = CubeIT_View_Helper_ImageCms::getPath($bgimage);\r
+\r
+ // Work out the ratio of the background image\r
+ CubeIT_Image::getDimensions($image_path, $image_width, $image_height);\r
+ $image_ratio = $image_height / $image_width;\r
+ $attributes['data-bg-ratio'] = $image_ratio;\r
+\r
+ $style = "background-image: url($image_path);";\r
+\r
+ if (isset($data['backgroundcolor'])) {\r
+ $style .= 'background-color:' . $data['backgroundcolor'];\r
+ }\r
+ }\r
}\r
\r
if (isset($data['bg_color'])) {\r
}\r
}\r
\r
+header#h.light {\r
+ nav#menu {\r
+ a {\r
+ color: #fff;\r
+ }\r
+\r
+ > ul > li > a:after {\r
+ background-color: #fff;\r
+ }\r
+\r
+ }\r
+ nav#contactnav {\r
+ a {\r
+ &.agencies {\r
+ .border-button(#fff, #fff);\r
+ }\r
+ }\r
+ }\r
+}\r
+\r
@import "105-mmenu";
\ No newline at end of file