Fix Obsidian CSS lint warnings

This commit is contained in:
小饼干 2026-07-17 03:01:00 +08:00
parent 24ad465a00
commit 087ac9466e

View file

@ -1108,8 +1108,6 @@ body.styled-scrollbars .nav-folder-children:not(:hover)::-webkit-scrollbar-thumb
border: 1px solid color-mix(in srgb, var(--paper-frame-border) 50%, transparent);
border-radius: var(--radius-s);
padding: 0.08em 0.36em;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
}
.markdown-preview-view pre,
@ -1594,8 +1592,8 @@ body:not(.is-mobile) {
}
/* [09b] Status Bar Hover Reveal */
/* Keep the status bar compact, but avoid animating width/padding; this control
is glanced at often and should feel immediate. */
/* Keep the status bar compact, but avoid animating width/padding; the pill
remains a visible affordance even when no sync status item is present. */
body:not(.is-mobile) .app-container .status-bar {
position: fixed;
bottom: 12px;
@ -1633,20 +1631,6 @@ body:not(.is-mobile) .app-container .status-bar:focus-within {
padding-inline: var(--size-3);
}
body:not(.is-mobile) .app-container .status-bar:not(:has(.status-bar-item.plugin-sync, .status-bar-item[class*="sync"]))::before {
content: '';
width: 6px;
height: 6px;
flex: 0 0 auto;
border-radius: 50%;
background-color: var(--icon-secondary);
opacity: 0.72;
}
body:not(.is-mobile) .app-container .status-bar:is(:hover, :focus-within)::before {
display: none;
}
/* Move sync status indicator to the left so it displays when collapsed */
body:not(.is-mobile) .app-container .status-bar .status-bar-item.plugin-sync,
body:not(.is-mobile) .app-container .status-bar .status-bar-item[class*="sync"] {
@ -1810,10 +1794,6 @@ body.is-phone .markdown-reading-view .markdown-preview-view {
pointer-events: auto;
}
body:not(.is-mobile) .app-container .status-bar::before {
display: none;
}
body:not(.is-mobile) .app-container .mod-sidedock.mod-left-split .workspace-sidedock-vault-profile:not(:hover):not(:focus-within) .workspace-drawer-vault-switcher,
body:not(.is-mobile) .app-container .mod-sidedock.mod-left-split .workspace-sidedock-vault-profile:not(:hover):not(:focus-within) .workspace-drawer-vault-actions .clickable-icon,
body:not(.is-mobile) .app-container .mod-sidedock .workspace-leaf-content .nav-header:not(:hover):not(:focus-within) .nav-buttons-container .nav-action-button {