Commit fe7b56f8991c452c38a355e62a00daba909eb41a
1 parent
acfe9031
111
Showing
3 changed files
with
7 additions
and
3 deletions
Show diff stats
frontend/views/event/_objects.php
@@ -19,7 +19,7 @@ FlipclockAsset::register($this); | @@ -19,7 +19,7 @@ FlipclockAsset::register($this); | ||
19 | 19 | ||
20 | 20 | ||
21 | <?php if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){?> | 21 | <?php if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){?> |
22 | - <div class="clock_style clock_<?= $model->primaryKey ?>"></div> | 22 | + <div class="clock_style_abs clock_<?= $model->primaryKey ?>"></div> |
23 | 23 | ||
24 | <?php $js = "var clock; | 24 | <?php $js = "var clock; |
25 | clock = new FlipClock(jQuery('.clock_". $model->primaryKey ."'),{ | 25 | clock = new FlipClock(jQuery('.clock_". $model->primaryKey ."'),{ |
frontend/views/event/show.php
@@ -30,7 +30,7 @@ $this->params['seo']['h1'] = $this->title; | @@ -30,7 +30,7 @@ $this->params['seo']['h1'] = $this->title; | ||
30 | 30 | ||
31 | if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){ | 31 | if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){ |
32 | ?> | 32 | ?> |
33 | - <div class="clock_style clock"></div> | 33 | + <div class="clock_style_abs clock"></div> |
34 | <?php $js = " | 34 | <?php $js = " |
35 | var clock; | 35 | var clock; |
36 | 36 |
frontend/web/css/css_header.css
@@ -13289,7 +13289,11 @@ h1.title { | @@ -13289,7 +13289,11 @@ h1.title { | ||
13289 | height: 100%; | 13289 | height: 100%; |
13290 | top: 0; | 13290 | top: 0; |
13291 | } | 13291 | } |
13292 | - | 13292 | +.clock_style_abs { |
13293 | + position: absolute; | ||
13294 | + top: 50px; | ||
13295 | + left: 10px; | ||
13296 | +} | ||
13293 | .arrows_slide_centered{ | 13297 | .arrows_slide_centered{ |
13294 | position:relative; | 13298 | position:relative; |
13295 | max-width:1497px; | 13299 | max-width:1497px; |