mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
优化:表格边框效果
This commit is contained in:
parent
57fea06517
commit
1de70d3900
@ -26,6 +26,7 @@
|
|||||||
z-index: 99;
|
z-index: 99;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
//强制给评论、联系表单插件错误层增加z-index
|
//强制给评论、联系表单插件错误层增加z-index
|
||||||
lit-toast-container, halo-contact-form-toast-container {
|
lit-toast-container, halo-contact-form-toast-container {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
@ -378,7 +379,7 @@ table td, table th {
|
|||||||
//vertical-align: top;
|
//vertical-align: top;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
&>p {
|
& > p {
|
||||||
margin: auto !important;
|
margin: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2701,7 +2702,7 @@ button.swiper-pagination-bullet {
|
|||||||
&-grid {
|
&-grid {
|
||||||
margin: 1rem 0 1.4rem 0;
|
margin: 1rem 0 1.4rem 0;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, 100%/4)), 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, 100% / 4)), 1fr));
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
@ -3217,6 +3218,7 @@ button.swiper-pagination-bullet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*人生计时器*/
|
/*人生计时器*/
|
||||||
|
|
||||||
&.timelife {
|
&.timelife {
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
@ -3325,8 +3327,10 @@ button.swiper-pagination-bullet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*微信公众号*/
|
/*微信公众号*/
|
||||||
|
|
||||||
&.wechat {
|
&.wechat {
|
||||||
/* 微信公众号翻转 */
|
/* 微信公众号翻转 */
|
||||||
|
|
||||||
.flip-wrapper {
|
.flip-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -3334,7 +3338,7 @@ button.swiper-pagination-bullet {
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
cursor: var(--cursor-default);
|
cursor: var(--cursor-default);
|
||||||
|
|
||||||
&.pointer{
|
&.pointer {
|
||||||
cursor: var(--cursor-pointer);
|
cursor: var(--cursor-pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3718,32 +3722,18 @@ button.swiper-pagination-bullet {
|
|||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
//max-width: 100%;
|
//max-width: 100%;
|
||||||
border-collapse: unset;
|
border-collapse: collapse;
|
||||||
background: var(--bg-d);
|
background: var(--bg-d);
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
border: 1px solid var(--light-x);
|
|
||||||
border-radius: var(--radius-inner);
|
|
||||||
|
|
||||||
td,
|
td,
|
||||||
th {
|
th {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-right: 1px solid var(--light-x);
|
border: 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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody {
|
tbody {
|
||||||
@ -3753,27 +3743,16 @@ button.swiper-pagination-bullet {
|
|||||||
th {
|
th {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
background: var(--bg-z);
|
background: var(--bg-z);
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-right: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2n) {
|
//&:nth-child(2n) {
|
||||||
background: var(--bg-j);
|
// background: var(--bg-j);
|
||||||
}
|
//}
|
||||||
|
|
||||||
&:last-child td {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgb(179 179 179 / 15%);
|
background: rgb(179 179 179 / 15%);
|
||||||
}
|
}
|
||||||
|
|
||||||
td:last-child {
|
|
||||||
border-right: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
templates/assets/css/style.min.css
vendored
2
templates/assets/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -22,6 +22,6 @@ spec:
|
|||||||
settingName: theme-dream-setting
|
settingName: theme-dream-setting
|
||||||
configMapName: theme-dream-configMap
|
configMapName: theme-dream-configMap
|
||||||
# 版本号
|
# 版本号
|
||||||
version: 1.0.2.2
|
version: 1.0.2.6
|
||||||
# 最低支持的 Halo 版本
|
# 最低支持的 Halo 版本
|
||||||
require: ">=2.6.0"
|
require: ">=2.6.0"
|
Loading…
x
Reference in New Issue
Block a user