fix: panel style

This commit is contained in:
就眠儀式 2022-04-08 06:26:50 +08:00
parent 0990f8a7e3
commit 708017aaed
2 changed files with 4 additions and 8 deletions

View File

@ -2,14 +2,10 @@
@panel-border-color: var(--panel-border-color);
@panel-border-radius: var(--panel-border-radius);
@panel-fore-color: var(--panel-fore-color);
@panel-back-color: var(--panel-back-color);
:root {
--panel-border-color: @global-neutral-color-3;
--panel-border-radius: @global-border-radius;
--panel-fore-color: @global-fore-color;
--panel-back-color: @global-back-color;
}
.layui-panel {
@ -17,13 +13,11 @@
border-style: solid;
border-radius: @panel-border-radius;
border-color: @panel-border-color;
background-color: @panel-back-color;
color: @panel-fore-color;
background-color: #fff;
.is-hover-shadow:hover {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
}

View File

@ -18,6 +18,8 @@
<ul>
<li>[新增] config-provider 组件 dark-partial 属性, 夜间主题偏好配置。(by @就眠儀式)</li>
<li>[修复] page 组件 pages 属性为单数时, 页码计算错误。(by @就眠儀式)</li>
<li>[修复] panel 组件 background-color 为透明的问题。(by @就眠儀式)</li>
<li>[修复] tab 组件 layui-tab-head 默认存在背景色。(by @就眠儀式)</li>
<li>[修复] button-group 组件 first-child 样式。(by @就眠儀式)</li>
<li>[修复] dark 模式 step 组件线条不显示。(by @莫名点)</li>
</ul>