From: vincent@cubedesigners.com Date: Tue, 20 Sep 2016 16:45:48 +0000 (+0000) Subject: wip #738 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=30a1dff4c1f91091db6ecd46ad07be5a5bd805f4;p=physioassist.git wip #738 @0.5 --- diff --git a/framework/application/layouts/scripts/layout.phtml b/framework/application/layouts/scripts/layout.phtml index 90add3d..e2f3846 100644 --- a/framework/application/layouts/scripts/layout.phtml +++ b/framework/application/layouts/scripts/layout.phtml @@ -19,7 +19,8 @@ $this->headLink()->appendStylesheet('/less/common.less', 'all'); * */ -$fonts = array('google' => array('families' => array('Open+Sans:400,300,600,300italic'))); +$fonts = array('google' => array('families' => array('Open+Sans:400,300,600,300italic')), + 'custom' => array('families' => array('physioassist'), 'urls' => array('https://file.myfontastic.com/WRtehrjtNhrSeQNAVvDdR5/icons.css'))); $this->headScript()->addWebFont($fonts); // Set viewport width for mobile devices diff --git a/framework/application/views/helpers/SimeoxVideos.php b/framework/application/views/helpers/SimeoxVideos.php index e20d23c..54a5f30 100644 --- a/framework/application/views/helpers/SimeoxVideos.php +++ b/framework/application/views/helpers/SimeoxVideos.php @@ -7,7 +7,9 @@ class Simeox_View_Helper_SimeoxVideos extends CubeIT_View_Helper_Abstract { public function simeoxVideos($videos) { $res = array(); foreach ($videos as $video) { - $res[] = $this->_video($video); + for ($i = 0; $i < 6; $i++) { + $res[] = $this->_video($video); + } } return $this->listUnordered($res, array('class' => 'videos')); } diff --git a/less/simeox.less b/less/simeox.less index 069d98d..c69ee57 100644 --- a/less/simeox.less +++ b/less/simeox.less @@ -124,4 +124,67 @@ background-repeat: no-repeat; margin-top: 55px; } +} + +.content { + ul.videos { + list-style: none; + width: 552px; + li { + padding-left: 0; + margin-bottom: 26px; + line-height: 1; + background-image: none; + display: inline-block; + width: 165px; + margin-right: 19px; + position: relative; + + &:before { + content: "a"; + display: block; + font-family: physioassist; + width: 100%; + text-align: center; + left: 0; + top: 28px; + position: absolute; + font-size: 54px; + color: #000; + z-index: 2; + cursor: pointer; + pointer-events: none; + } + + &:hover{ + &:before{ + color: #525251; + } + } + + &:after { + content: ''; + display: inline-block; + width: 30px; + height: 30px; + background-color: #fff; + top: 32px; + text-align: center; + position: absolute; + margin: 0 auto; + z-index: 1; + left: 68px; + cursor: pointer; + pointer-events: none; + } + + h4 { + color: #3c3c3b; + font-size: 16px; + font-weight: 300; + line-height: 24px; + margin-top: 15px; + } + } + } } \ No newline at end of file