Adjust the style of the first column of the attribute view (#9830)

* 🎨 Adjust the style of the column pinned to the attribute view

* 🎨 Adjust the style of first column icon

* Update index.ts

* 🎨 Adjust the style of add row in attribute view

https://github.com/siyuan-note/siyuan/pull/9830?notification_referrer_id=NT_kwDOAvWYerM4NjY1MTYyMTg0OjQ5NjQ5Nzg2#issuecomment-1853268143

* Update protyle.ts
This commit is contained in:
Yingyi / 颖逸 2024-01-10 23:23:28 +08:00 committed by GitHub
parent 98f2b4dc36
commit 926f1a1062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 56 additions and 35 deletions

View file

@ -189,11 +189,14 @@
display: flex;
.b3-button {
margin: 3px 0 3px 24px;
color: var(--b3-theme-on-surface);
background-color: transparent;
font-size: 75%;
> div {
background-color: transparent;
}
&:hover,
&:focus {
background-color: var(--b3-av-hover);
@ -216,6 +219,16 @@
}
}
}
&,
&--util,
&--footer {
&:hover {
.av__firstcol svg {
opacity: 1;
}
}
}
}
&__cell {
@ -252,6 +265,10 @@
border-right-color: var(--b3-theme-primary-lighter);
}
&--add {
padding-left: 0.5em;
}
&--select {
background-color: var(--b3-theme-primary-lightest);
box-shadow: 2px 2px 0 var(--b3-theme-primary-lighter) inset, -2px -2px 0px var(--b3-theme-primary-lighter) inset;
@ -321,16 +338,14 @@
}
&__firstcol {
border-right: 1px solid var(--b3-theme-surface-lighter);
svg {
@extend .av__checkbox;
opacity: 0;
padding: 9.5px 5px;
opacity: 0;
cursor: pointer;
}
&:hover svg {
opacity: 1;
}
}
&__colsticky {