mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-07 05:13:11 +00:00
perf: 优化首页仪表盘样式
This commit is contained in:
parent
2e4e827887
commit
6448169caa
15
resources/assets/sass/pages/page-dashboard.scss
vendored
15
resources/assets/sass/pages/page-dashboard.scss
vendored
@ -116,20 +116,13 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
background: #F9FAFB;
|
background: #F9FAFB;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 0.3s ease-out 0s;
|
transition: transform 0.3s ease-out 0s, box-shadow 0.3s ease-out 0s;
|
||||||
border-bottom: 1px solid #f1f2f3;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: translateX(-2px);
|
transform: translateX(-2px);
|
||||||
}
|
box-shadow: 0 0 6px #dfdfdf;
|
||||||
&:first-child {
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
}
|
|
||||||
&:last-child {
|
|
||||||
border-bottom-right-radius: 6px;
|
|
||||||
border-bottom-left-radius: 6px;
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
}
|
||||||
&.complete {
|
&.complete {
|
||||||
.item-title {
|
.item-title {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user