diff --git a/upload/styles/cb_27/layout/blocks/photo.html b/upload/styles/cb_27/layout/blocks/photo.html index 2fdba877..391496a0 100644 --- a/upload/styles/cb_27/layout/blocks/photo.html +++ b/upload/styles/cb_27/layout/blocks/photo.html @@ -1,64 +1,19 @@ {if $display_type == ""} - -
-
+
- + {get_photo details=$photo size='l' class='photo-land' output='html'} + + {if $photo.photo_title=='no-tag'}no-title + {else} + {$photo.photo_title|truncate:25} + {/if} + -
- {if $photo.photo_title=='no-tag'}no-title{else} - {$photo.photo_title|truncate:25}{/if} -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {/if} diff --git a/upload/styles/cb_27/layout/blocks/video.html b/upload/styles/cb_27/layout/blocks/video.html index 92fbb762..5d1d1164 100644 --- a/upload/styles/cb_27/layout/blocks/video.html +++ b/upload/styles/cb_27/layout/blocks/video.html @@ -5,11 +5,12 @@ {if $display_type =='normal' || $display_type==''} - + - {if - $video.duration>1}{$video.duration|SetTime}{else}00:00{/if} + {if + $video.duration>1}{$video.duration|SetTime}{else}00:00{/if} +
{$video.title|truncate:16}
{lang code='views'} :{$video.views} diff --git a/upload/styles/cb_27/layout/blocks/videos/video.html b/upload/styles/cb_27/layout/blocks/videos/video.html index 873ab456..9fff5fb8 100644 --- a/upload/styles/cb_27/layout/blocks/videos/video.html +++ b/upload/styles/cb_27/layout/blocks/videos/video.html @@ -4,7 +4,8 @@
{if - $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*} + $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}{*$video.duration|date_format:$config.time*} +
diff --git a/upload/styles/cb_27/layout/search.html b/upload/styles/cb_27/layout/search.html index d7c3fc86..106d36b4 100644 --- a/upload/styles/cb_27/layout/search.html +++ b/upload/styles/cb_27/layout/search.html @@ -3,9 +3,9 @@
-
- +
/.navbar-collapse + /.container-fluid + -->
{$search_type_title}

+ {$display_template} {if $results} {foreach item=result from=$results} {assign var=$template_var value =$result} diff --git a/upload/styles/cb_27/theme/css/main.css b/upload/styles/cb_27/theme/css/main.css index b5e8d2ec..b684b57f 100644 --- a/upload/styles/cb_27/theme/css/main.css +++ b/upload/styles/cb_27/theme/css/main.css @@ -436,6 +436,7 @@ a:focus{outline: none !important;} .tdn { text-decoration: none !important; } +.display-block{ display: block;} /*--------------------------------------------------- LESS Elements 0.9 --------------------------------------------------- @@ -1215,7 +1216,15 @@ a:hover { border: solid 1px; border-color: #ffffff; } - +.searchresult-photo:hover .photoname{ + display: block; +} +.searchresult-photo{ + width: 100%; + height: 100%; + position: relative; + display: table-cell; +} .photoname { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6); color: #FFFFFF; @@ -1224,11 +1233,12 @@ a:hover { height: 41px; left: 0; opacity: 0.8; - padding-left: 8px; - padding-top: 3px; - position: relative; - top: -30px; + position: absolute; + bottom:0px; width: 100%; + line-height: 41px; + padding: 0 10px; + box-sizing: border-box; } .photos img{ height: 150px;