优化:表格边框效果

This commit is contained in:
j m 2024-03-29 09:11:23 +08:00
parent 57fea06517
commit 1de70d3900
3 changed files with 14 additions and 35 deletions
src/css
templates/assets/css
theme.yaml

@ -26,6 +26,7 @@
z-index: 99;
position: relative;
}
//强制给评论、联系表单插件错误层增加z-index
lit-toast-container, halo-contact-form-toast-container {
z-index: 100;
@ -3217,6 +3218,7 @@ button.swiper-pagination-bullet {
}
/*人生计时器*/
&.timelife {
.item {
@ -3325,8 +3327,10 @@ button.swiper-pagination-bullet {
}
/*微信公众号*/
&.wechat {
/* 微信公众号翻转 */
.flip-wrapper {
position: relative;
width: 100%;
@ -3718,32 +3722,18 @@ button.swiper-pagination-bullet {
table {
width: 100%;
//max-width: 100%;
border-collapse: unset;
border-collapse: collapse;
background: var(--bg-d);
margin-bottom: 14px;
margin-left: auto;
margin-right: auto;
overflow: hidden;
font-size: 0.95em;
border: 1px solid var(--light-x);
border-radius: var(--radius-inner);
td,
th {
padding: 8px;
border-right: 1px solid var(--light-x);
border-bottom: 1px solid var(--light-x);
}
thead {
th {
font-weight: 500;
background: var(--bg-h);
&:last-child {
border-right: none;
}
}
border: 1px solid var(--light-x);
}
tbody {
@ -3753,27 +3743,16 @@ button.swiper-pagination-bullet {
th {
font-weight: 500;
background: var(--bg-z);
&:last-child {
border-right: none;
}
}
&:nth-child(2n) {
background: var(--bg-j);
}
&:last-child td {
border-bottom: none;
}
//&:nth-child(2n) {
// background: var(--bg-j);
//}
&:hover {
background: rgb(179 179 179 / 15%);
}
td:last-child {
border-right: none;
}
}
}
}

File diff suppressed because one or more lines are too long

@ -22,6 +22,6 @@ spec:
settingName: theme-dream-setting
configMapName: theme-dream-configMap
# 版本号
version: 1.0.2.2
version: 1.0.2.6
# 最低支持的 Halo 版本
require: ">=2.6.0"