From: Steve Sutton Date: Thu, 14 Aug 2014 18:59:26 +0000 (-0400) Subject: Toolbox.html template X-Git-Tag: V1.0^2~72 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=96aeb8c0715042f9ca640bde71cc28f7d7e7fde5;p=web%2FKeweenaw.git Toolbox.html template Update the template for the toolbox output include section links. fix left right images style updates. --- diff --git a/Toolkit/Template/Image/Left.php b/Toolkit/Template/Image/Left.php index 81eb650..e49c8c8 100644 --- a/Toolkit/Template/Image/Left.php +++ b/Toolkit/Template/Image/Left.php @@ -45,14 +45,15 @@ class Toolkit_Template_Image_Left extends Toolkit_Template_Image_ImageAbstract { $imageData = $this->_adapter->getImageSize($size . $this->_src); - $html = '
'; + $html = '
' + . '
'; $html .= parent::getImage($size); if (!empty($this->_caption)) { $html .= '
'; $html .= $this->_caption; $html .= '
'; } - $html .= '
'; + $html .= '
'; return $html; } diff --git a/Toolkit/Template/Image/Right.php b/Toolkit/Template/Image/Right.php index c115068..057fce6 100644 --- a/Toolkit/Template/Image/Right.php +++ b/Toolkit/Template/Image/Right.php @@ -45,14 +45,14 @@ class Toolkit_Template_Image_Right extends Toolkit_Template_Image_ImageAbstract { $imageData = $this->_adapter->getImageSize($size . $this->_src); - $html = '
'; + $html = '
'; $html .= parent::getImage($size); if (!empty($this->_caption)) { $html .= '
'; $html .= $this->_caption; $html .= '
'; } - $html .= '
'; + $html .= '
'; return $html; } diff --git a/js/pageSetup.js b/js/pageSetup.js index c1f4f79..6398f55 100644 --- a/js/pageSetup.js +++ b/js/pageSetup.js @@ -4,5 +4,5 @@ $(document).ready(function() { $(this).toggleClass('open'); $(this).siblings('ul').toggleClass('open'); }); - $("#main .row .small-12 p").attr("class", "small-12 columns"); + //$("#main .row .small-12 p").attr("class", "small-12 columns"); }); \ No newline at end of file diff --git a/styles.css b/styles.css index 2a63fa2..6f44f0a 100644 --- a/styles.css +++ b/styles.css @@ -404,7 +404,7 @@ nav.top-bar .top-bar-section > ul > li .dropdown { background-position: 20px 20px; } nav.top-bar .top-bar-section > ul > li .dropdown li { - width: auto; + /*width: auto;*/ white-space: nowrap; background: white !important; } @@ -421,7 +421,7 @@ nav.top-bar .top-bar-section > ul > li .dropdown li a:not(.has-form), nav.top-ba color: black; } nav.top-bar .top-bar-section > ul > li .dropdown li a:hover { - color: #f27225 !important; + color: #25c2e6 !important; } nav.top-bar .top-bar-section > ul > li .dropdown li a#active { color: #25c2e6; @@ -606,13 +606,15 @@ aside.right-off-canvas-menu ul.off-canvas-list li > ul.open { text-align: center; margin: 0 auto 20px auto; } - .container#interior #main { background-color: white; padding: 0 20px 20px 20px; } +.mainNavLiImgContainer img { + position: absolute; left: 19px; top: 19px; border: solid 1px orange; +} .container#interior #main h1, .container#interior #main h2 { - width: auto; + width: 100%; margin-top: 0; margin-bottom: 20px; clear: right; @@ -628,16 +630,29 @@ aside.right-off-canvas-menu ul.off-canvas-list li > ul.open { margin-bottom: 20px; } .container#interior #main > div { - float: left; + /*float: left;*/ width: auto; } .container#interior #main > div p { margin-bottom: 10px; - float: left; + text-shadow: 0 0 1px rgba(0, 0, 0, 0.3); + /*float: left;*/ + font-size: 14px; + line-height: 130%; } .container#interior #main img { margin-bottom: 15px; } +.container#interior #main figure img { + margin-bottom: 0; +} +.container#interior #main > div figcaption { + background-color: #f27225; + padding: 10px; + margin-bottom: 15px; + color: white; + font-weight:bold; +} .container#interior .breadcrumbs { border: none; border-radius: 0px; @@ -668,7 +683,10 @@ aside.right-off-canvas-menu ul.off-canvas-list li > ul.open { #main a:hover { color: #25c2e6; } - +ul#paragraphLinks li { + font-size: 14px; + padding-bottom: 15px; +} /* Homepage Video */ #home_video_wrapper { /* float: left;*/ @@ -904,7 +922,7 @@ footer > .columns { margin: 0 auto !important; } } -@media only screen and (max-width: 40.063em) { +@media only screen and (max-width: 40.063em) { .play { background: none; } diff --git a/templates/toolbox.html b/templates/toolbox.html index fd335a9..33be442 100644 --- a/templates/toolbox.html +++ b/templates/toolbox.html @@ -1,24 +1,27 @@ +
{if:isHomePage}

{toolboxContent.primaryParagraph[title]}

{toolboxContent.primaryParagraph[description]:h} {else:} +
+
+ {toolboxContent.primaryParagraph[links]:h} +
{if:toolboxContent.primaryParagraph[image]} -
{toolboxContent.primaryParagraph[image]:h} -
-
-

{toolboxContent.primaryParagraph[title]}

- {toolboxContent.primaryParagraph[description]:h} -
+
+

{toolboxContent.primaryParagraph[title]}

+ {toolboxContent.primaryParagraph[description]:h} +
{else:} -
-

{toolboxContent.primaryParagraph[title]}

- {toolboxContent.primaryParagraph[description]:h} -
+
+

{toolboxContent.primaryParagraph[title]}

+ {toolboxContent.primaryParagraph[description]:h} +
{end:}
@@ -42,25 +45,38 @@ {end:} - -
+ {foreach:toolboxContent.secondaryParagraphs,section} +
{if:section[image]} -
{section[image]:h} -
-
-

{section[title]}

- {section[description]:h} - {section[files]:h} -
+
+

{section[title]}

+ {section[description]:h} +
{else:} -
-

{section[title]}

- {section[description]:h} - {section[files]:h} -
+
+

{section[title]}

+ {section[description]:h} +
{end:} +
+ {if:section[files]} +
+
+ {section[files]:h} +
+
+ {end:} + {if:section[back_to_top]} +
+
+ {section[back_to_top]:h} +
+
+ {end:} + {end:} + {if:toolboxContent.photos} {toolboxContent.photos:h} {end:}