友联优化css

This commit is contained in:
1152958806@qq.com 2023-07-01 03:06:13 +08:00
parent d64b695416
commit d2e75f83d2
2 changed files with 3 additions and 4 deletions

View File

@ -11581,12 +11581,11 @@ details[open]:not(.tk-admin-config-group) > summary:hover:after {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
} }
#article-container a:not(.fancybox):hover { #article-container .site-card:hover a:not(.fancybox) {
text-decoration: none; text-decoration: none;
border-bottom: 2px solid var(--heo-none); border-bottom: 2px solid var(--heo-none);
color: var(--heo-white); color: var(--heo-white);
background: var(--heo-main); background: var(--heo-main);
border-radius: 4px;
box-shadow: var(--heo-shadow-main); box-shadow: var(--heo-shadow-main);
} }
@ -14612,7 +14611,7 @@ figure.gallery-group:hover .gallery-group-name::after {
.flink#article-container .site-card .img { .flink#article-container .site-card .img {
-webkit-mask-image: -webkit-radial-gradient(center, rgb(255, 255, 255), rgb(0, 0, 0)); -webkit-mask-image: -webkit-radial-gradient(center, rgb(255, 255, 255), rgb(0, 0, 0));
border-radius: 12px 12px 0 0; border-radius: 0;
height: 120px; height: 120px;
width: 100%; width: 100%;
display: flex; display: flex;

View File

@ -88,7 +88,7 @@
<div th:if="${#strings.equals(group.spec.displayStyle,'beautify') && not #lists.isEmpty(group.spec.displayStyle)}" class="site-card-group" > <div th:if="${#strings.equals(group.spec.displayStyle,'beautify') && not #lists.isEmpty(group.spec.displayStyle)}" class="site-card-group" >
<div class="site-card" th:each="link : ${group.links}"> <div class="site-card" th:each="link : ${group.links}">
<span th:if="${not #lists.isEmpty(link.spec.label)}" th:style="'background-color:' + ${link.spec.labelColor}" class="site-card-tag">[[${link.spec.label}]]</span> <span th:if="${not #lists.isEmpty(link.spec.label)}" th:style="'background-color:' + ${link.spec.labelColor}" class="site-card-tag">[[${link.spec.label}]]</span>
<a class="img" target="_blank" th:href="${link.spec.siteshot}" <a class="img" target="_blank" th:href="${link.spec.url}"
th:title="${link.spec.displayName}"> th:title="${link.spec.displayName}">
<img class="flink-avatar" style="pointer-events: none;" <img class="flink-avatar" style="pointer-events: none;"
th:alt="${link.spec.displayName}" th:src="${link.spec.siteshot}"> th:alt="${link.spec.displayName}" th:src="${link.spec.siteshot}">