]> _ Git - cubedesigners-v7.git/commitdiff
Done #2679 @0.5
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 17 Apr 2019 17:03:50 +0000 (17:03 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 17 Apr 2019 17:03:50 +0000 (17:03 +0000)
framework/application/views/helpers/HomeBlocs.php
framework/application/views/helpers/Liste.php
framework/application/views/helpers/Realisation.php
framework/application/views/scripts/templates/home.phtml
less/02-utilities.less

index f9ba244e8bd1bf5d0eb6f91d2182af9da14a53dc..5a487a5e217c6cb15e64e5e9accfdff0d3fe302a 100644 (file)
@@ -28,7 +28,7 @@ class Cubedesigners_View_Helper_HomeBlocs extends Zend_View_Helper_Abstract {
                        $res.= '<h3>' . $titre . '</h3>';
                        $res.=$this->view->markupDotclear($bloc['texte']);
                        if ($displayDetailsButton && isset($bloc['lien']) && $bloc['lien']) {
-                               $res.=$this->view->linkInternal(__('En savoir plus'), $bloc['lien'], array('class' => 'but'));
+                               $res.=$this->view->linkInternal($this->view->linkArrow(__('En savoir plus')), $bloc['lien'], array('class' => 'animated-arrow mt-6'));
                        }
                        $res.='</div>';
                        $res .= '</article>';
index 13edc64f1686006becb26ce43f14892c3ac0a81d..03f8950ff4965c33d36edd63670be6b5cbcef812 100644 (file)
@@ -22,7 +22,8 @@ class Cubedesigners_View_Helper_Liste extends CubeIT_View_Helper_Abstract {
                }
                $res .= $this->view->homeBlocs($items, $displayDetailsButtons, $cols);
                if ($items['button']['label']) {
-                       $res .= $this->view->linkCMS($items['button'], array('class' => 'but'));
+            $items['button']['label'] = $this->linkArrow($items['button']['label']);
+                       $res .= $this->view->linkCMS($items['button'], array('class' => 'animated-arrow'));
                }
                $res .= '</div>';
 
index 00b38e846b07cf92b5c4df89311f1658c2bdb3f2..167ae81a58af3ce8126e10793af70af4f4ddf9fe 100644 (file)
@@ -52,11 +52,11 @@ class Cubedesigners_View_Helper_Realisation extends CubeIT_View_Helper_Abstract
                $b = CubeIT_Util_Array::asArray($b);
 
                if ($b['label'] == '') {
-                       $b['label'] = __('Voir le site');
+                       $b['label'] = $this->linkArrow(__('Voir le site'));
                }
 
                $event = array('category' => 'external', 'action' => 'go', 'label' => "%href%");
-               return $this->linkCMS($b, array('class' => 'but', 'data-event' => $event));
+               return $this->linkCMS($b, array('class' => 'animated-arrow float-right', 'data-event' => $event));
        }
 
 }
index 514f8f97462e2cb110e83a763e911d494ae8569a..76844757579aeb3ef3f81e163803be3c2ff0f2d7 100644 (file)
@@ -29,7 +29,8 @@ echo $this->caseStudiesGrid(6);
 echo '</div>';
 
 if ($this->case_studies['button']['label']) {
-    echo $this->linkCMS($this->case_studies['button'], array('class' => 'but'));
+    $this->case_studies['button']['label'] = $this->linkArrow($this->case_studies['button']['label']);
+    echo $this->linkCMS($this->case_studies['button'], array('class' => 'animated-arrow text-white'));
 }
 echo '</div>';
 echo '</section>';
index 64efa60cbf015ba541c5aa8697bd9ccc278dbf45..1d8651f4c776c7cf9dae925a8b976633e891b515 100644 (file)
@@ -9,6 +9,18 @@
 .ml-0 { margin-left: 0; }
 .mr-0 { margin-right: 0; }
 
+// Top Margins
+.mt-0 { margin-top: 0; }
+.mt-1 { margin-top: .25rem; }
+.mt-2 { margin-top: .5rem; }
+.mt-3 { margin-top: .75rem; }
+.mt-4 { margin-top: 1rem; }
+.mt-6 { margin-top: 1.5rem; }
+.mt-8 { margin-top: 2rem; }
+.mt-12 { margin-top: 3rem; }
+.mt-16 { margin-top: 4rem; }
+.mt-20 { margin-top: 5rem; }
+
 // Bottom Margins
 .mb-0 { margin-bottom: 0; }
 .mb-1 { margin-bottom: .25rem; }
 .pr-2vw { .constrain(padding-right, 2vw); }
 .pr-3vw { .constrain(padding-right, 3vw); }
 .pr-4vw { .constrain(padding-right, 4vw); }
+
+// Text Colours
+.text-white { color: #fff; }
+
+// Floats
+.float-none { float: none; }
+.float-left { float: left; }
+.float-right { float: right; }