diff --git a/public/themes/dist_static/static/css/download.css b/public/themes/dist_static/static/css/download.css index d3de9a9..c44c31d 100644 --- a/public/themes/dist_static/static/css/download.css +++ b/public/themes/dist_static/static/css/download.css @@ -141,7 +141,6 @@ padding: 1.5rem 2rem; border-radius: 1rem; background: rgba(175, 181, 185, 0.15); - text-decoration: none; color: var(--color-text); transition: background 0.25s ease, transform 0.25s ease; } @@ -156,6 +155,11 @@ align-items: center; gap: 1rem; min-width: 0; + text-decoration: none; + color: inherit; +} +.d-item__main:hover .d-item__name { + color: var(--color-primary); } .d-item__pdf { display: block; @@ -168,6 +172,7 @@ font-size: var(--font-20); font-weight: 400; line-height: var(--font-28); + transition: color var(--duration-fast) var(--easing); } .d-item__action { display: inline-flex; @@ -179,6 +184,7 @@ font-weight: 400; line-height: var(--font-24); color: var(--color-text); + text-decoration: none; transition: color var(--duration-fast) var(--easing); } .d-item__action img { diff --git a/public/themes/website/1/zh/demo/download.html b/public/themes/website/1/zh/demo/download.html index cbdf407..ee7f19e 100644 --- a/public/themes/website/1/zh/demo/download.html +++ b/public/themes/website/1/zh/demo/download.html @@ -105,16 +105,17 @@
{hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo"} - -
+ {php}$dl_file = $vo['url'] ?? ($vo['thumbnail']['url'] ?? '');{/php} + - + + 立即下载 - - + +
{/hcTaglib:contentPage}
diff --git a/public/themes/website/1/zh/demo/single_search.html b/public/themes/website/1/zh/demo/single_search.html index e88022f..220ce4b 100644 --- a/public/themes/website/1/zh/demo/single_search.html +++ b/public/themes/website/1/zh/demo/single_search.html @@ -160,7 +160,7 @@ {elseif $sr_kind == 'download' /} - + {elseif $sr_kind == 'announce' /} @@ -201,7 +201,7 @@ {if $sr_kind == 'video'} {$sr_title} {elseif $sr_kind == 'download' /} - {$sr_title} + {$sr_title} {elseif $sr_kind == 'announce' /} {$sr_title} {else /}