Browse Source

css improve for dark theme

master
filesite 4 months ago
parent
commit
222b42496e
  1. 7
      themes/beauty/views/site/index.php
  2. 4
      themes/beauty/views/site/player.php
  3. 2
      www/css/beauty.css

7
themes/beauty/views/site/index.php

@ -318,9 +318,14 @@ eof; @@ -318,9 +318,14 @@ eof;
eof;
}else if (in_array($file['extension'], $videoExts)) { //输出视频
$videoUrl = urlencode($file['path']);
$linkUrl = "/site/player?id={$file['id']}&pid={$file['pid']}&cid={$viewData['cacheDataId']}&url={$videoUrl}";
if ($viewData['showType'] == 'video') {
$linkUrl .= "&page={$viewData['page']}";
}
echo <<<eof
<div class="im_item bor_radius col-xs-6 col-sm-4 col-md-3 col-lg-2">
<a href="/site/player?id={$file['id']}&pid={$file['pid']}&cid={$viewData['cacheDataId']}&url={$videoUrl}&page={$viewData['page']}" target="_blank" class="bor_radius" title="{$title} - {$file['filename']}">
<a href="{$linkUrl}" target="_blank" class="bor_radius" title="{$title} - {$file['filename']}">
<img src="/img/beauty/video_snap.jpg" class="bor_radius im_img video-poster" id="poster_{$file['id']}"
data-video-id="{$file['id']}"
data-video-url="{$file['path']}"

4
themes/beauty/views/site/player.php

@ -54,8 +54,8 @@ @@ -54,8 +54,8 @@
</div>
<div class="col col-md-4 morevideos">
<hr class="visible-xs">
<div class="btn_autoplay">
自动播放
<div class="btn_autoplay text_dark">
自动播放
<div class="btn-group" role="group">
<button class="btn btn-default btn-xs autoplay_disabled">关闭</button>
<button class="btn btn-primary btn-xs autoplay_enabled">开启</button>

2
www/css/beauty.css

@ -123,7 +123,7 @@ a:link{text-decoration:none} @@ -123,7 +123,7 @@ a:link{text-decoration:none}
.lampshow .right_sidebox{background-color:#222;color:#FFF}
.lampshow .right_sidebox>h5{border-color: #363636}
.lampshow .text_dark{color:#808080}
.lampshow .text_dark a{color:#f4f7fd}
.lampshow .text_dark a, .lampshow .nav-tabs a{color:#f4f7fd}
.gap-hr{position:relative}
.gap-hr .btn-dir-ext{position:absolute;left:50%;top:50%;margin-top:-11px;margin-left:-26px}

Loading…
Cancel
Save