-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- display collapsed lanes as visually collapsed when dragging lane - fix search enhancements when border enabled on cards and lanes - hide empty callout icons - tidy css
- Loading branch information
Showing
5 changed files
with
263 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,103 @@ | ||
.kanban-plugin__item-wrapper:hover { | ||
z-index: 1; | ||
} | ||
.kanban-plugin__item { | ||
--checkbox-size: 16px; | ||
--input-radius: var(--anp-kanban-card-radius, 6px); | ||
--tag-color: var(--text-faint); | ||
|
||
background-color: rgba(var(--ctp-base), var(--anp-kanban-card-opacity, 1)); | ||
border-width: 0; | ||
box-shadow: inset 0 0 0 1px var(--background-modifier-border); | ||
|
||
&:hover { | ||
box-shadow: inset 0 0 0 1px var(--background-modifier-border-hover); | ||
} | ||
&.is-search-hit { | ||
box-shadow: 0 15px 25px #0003, inset 0 0 0 1px var(--background-modifier-border); | ||
} | ||
&.is-complete .kanban-plugin__item-markdown { | ||
color: var(--text-muted); | ||
text-decoration-line: line-through; | ||
opacity: .75; | ||
} | ||
.markdown-preview-view .tag { | ||
--tag-border-width: 0; | ||
--tag-padding-y: 0; | ||
--tag-padding-x: 0; | ||
--tag-background: transparent; | ||
--tag-color: var(--link-color); | ||
--tag-size: reset; | ||
} | ||
code[class*="language-"] { | ||
font-size: .875em; | ||
padding: .75em; | ||
white-space: pre; // don't wrap code! | ||
} | ||
button.copy-code-button { | ||
display: none; // because it doesn't work | ||
} | ||
textarea { | ||
background-color: transparent; | ||
} | ||
} | ||
.kanban-plugin__item-content-wrapper { | ||
background-color: transparent; | ||
} | ||
.kanban-plugin__item-title-wrapper { | ||
background-color: transparent; | ||
padding: 8px; | ||
div:first-child > a.clickable-icon { | ||
position: relative; | ||
left: -2px; | ||
} | ||
div:last-child > a.clickable-icon { | ||
position: relative; | ||
right: -2px; | ||
} | ||
} | ||
.kanban-plugin__item .kanban-plugin__item-metadata { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 8px; | ||
width: 100%; | ||
&:not(:empty) { | ||
padding-top: 8px; | ||
} | ||
} | ||
.kanban-plugin__item .kanban-plugin__item-metadata-date-wrapper { | ||
line-height: var(--line-height-tight); | ||
} | ||
.kanban-plugin__item .kanban-plugin__item-tags { | ||
display: flex; | ||
width: 100%; | ||
flex-wrap: wrap; | ||
gap: 4px; | ||
&:not(:empty) { | ||
padding-top: 0; | ||
} | ||
} | ||
.kanban-plugin__item .kanban-plugin__item-tag { | ||
margin: 0; | ||
} | ||
|
||
.kanban-plugin__drag-container { | ||
p, code { | ||
overflow: hidden; | ||
} | ||
} | ||
|
||
.anp-kanban-hide-card-border { | ||
.kanban-plugin { | ||
.kanban-plugin__item { | ||
border-width: 0; | ||
} | ||
.kanban-plugin__item:hover .kanban-plugin__item-content-wrapper { | ||
border-radius: var(--anp-kanban-card-radius, 6px); | ||
box-shadow: inset 0 0 0 1px var(--background-modifier-border-hover); | ||
} | ||
} | ||
.kanban-plugin__drag-container > .kanban-plugin__item-wrapper { | ||
.kanban-plugin__item { | ||
border-width: 0; | ||
box-shadow: var(--shadow-s); | ||
} | ||
.kanban-plugin__item-content-wrapper { | ||
border-radius: var(--anp-kanban-card-radius, 6px); | ||
box-shadow: inset 0 0 0 1px var(--interactive-accent); | ||
} | ||
.kanban-plugin__item:not(:hover) { | ||
box-shadow: none; | ||
} | ||
.kanban-plugin__item.is-search-hit { | ||
box-shadow: 0 15px 25px #0003; | ||
} | ||
} | ||
|
||
.kanban-plugin__drag-container > .kanban-plugin__item-wrapper { | ||
.kanban-plugin__item { | ||
box-shadow: inset 0 0 0 1px var(--interactive-accent), var(--shadow-s); | ||
} | ||
} |
Oops, something went wrong.