update
This commit is contained in:
142
.obsidian/plugins/obsidian-tasks-plugin/styles.css
vendored
142
.obsidian/plugins/obsidian-tasks-plugin/styles.css
vendored
@@ -46,19 +46,30 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
}
|
||||
}
|
||||
|
||||
/* Pencil icon. */
|
||||
.tasks-edit {
|
||||
background-color: var(--text-faint);
|
||||
mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%221em%22%20height%3D%221em%22%20style%3D%22-ms-transform%3A%20rotate(360deg)%3B%20-webkit-transform%3A%20rotate(360deg)%3B%20transform%3A%20rotate(360deg)%3B%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201536%201536%22%3E%3Cpath%20d%3D%22M363%201408l91-91l-235-235l-91%2091v107h128v128h107zm523-928q0-22-22-22q-10%200-17%207l-542%20542q-7%207-7%2017q0%2022%2022%2022q10%200%2017-7l542-542q7-7%207-17zm-54-192l416%20416l-832%20832H0v-416zm683%2096q0%2053-37%2090l-166%20166l-416-416l166-165q36-38%2090-38q53%200%2091%2038l235%20234q37%2039%2037%2091z%22%20fill%3D%22%23626262%22%2F%3E%3C%2Fsvg%3E");
|
||||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%20width%3D%221em%22%20height%3D%221em%22%20style%3D%22-ms-transform%3A%20rotate(360deg)%3B%20-webkit-transform%3A%20rotate(360deg)%3B%20transform%3A%20rotate(360deg)%3B%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201536%201536%22%3E%3Cpath%20d%3D%22M363%201408l91-91l-235-235l-91%2091v107h128v128h107zm523-928q0-22-22-22q-10%200-17%207l-542%20542q-7%207-7%2017q0%2022%2022%2022q10%200%2017-7l542-542q7-7%207-17zm-54-192l416%20416l-832%20832H0v-416zm683%2096q0%2053-37%2090l-166%20166l-416-416l166-165q36-38%2090-38q53%200%2091%2038l235%20234q37%2039%2037%2091z%22%20fill%3D%22%23626262%22%2F%3E%3C%2Fsvg%3E");
|
||||
mask-size: contain;
|
||||
-webkit-mask-size: contain;
|
||||
display: inline-block;
|
||||
/* Edit and postpone */
|
||||
.tasks-edit, .tasks-postpone {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: middle;
|
||||
margin-left: 0.5em;
|
||||
margin-left: .33em;
|
||||
cursor: pointer;
|
||||
font-family: var(--font-interface);
|
||||
color: var(--text-accent);
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
a.tasks-edit, a.tasks-postpone {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tasks-edit::after {
|
||||
content: '📝';
|
||||
}
|
||||
|
||||
.tasks-postpone::after {
|
||||
content: '⏩';
|
||||
}
|
||||
|
||||
/* Urgency score */
|
||||
@@ -77,16 +88,6 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Postpone icon. */
|
||||
.tasks-postpone {
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
font-size: var(--font-text-size);
|
||||
background-color: transparent;
|
||||
display: contents;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tasks-list-text {
|
||||
position: relative;
|
||||
}
|
||||
@@ -98,6 +99,10 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.task-list-item-checkbox {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Hide tags that Obsidian recognises, if `hide tags` instruction was used. */
|
||||
.tasks-layout-hide-tags .task-description a.tag {
|
||||
display: none;
|
||||
@@ -119,7 +124,7 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
*------------------------------------------------------------------------**/
|
||||
|
||||
.tasks-modal-section + .tasks-modal-section {
|
||||
margin-top: 16px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.tasks-modal-section label {
|
||||
@@ -163,6 +168,11 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.tasks-modal hr {
|
||||
margin: 0.35rem 0;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.tasks-modal-priorities {
|
||||
display: grid;
|
||||
grid-template-columns: 4em 8em 8em 8em;
|
||||
@@ -207,12 +217,12 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.tasks-modal-dates > input, .tasks-modal-dates > code {
|
||||
.tasks-modal-dates > .input, .tasks-modal-dates > .results {
|
||||
grid-column: 2;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.tasks-modal-dates > code {
|
||||
.tasks-modal-dates > .results {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
@@ -256,7 +266,7 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
.tasks-modal-dates > label {
|
||||
margin: 0;
|
||||
}
|
||||
.tasks-modal-dates > input, .tasks-modal-dates > code {
|
||||
.tasks-modal-dates > .input, .tasks-modal-dates > .results {
|
||||
grid-column: 1;
|
||||
}
|
||||
.tasks-modal-dates > div {
|
||||
@@ -285,6 +295,92 @@ ul.contains-task-list .task-list-item-checkbox {
|
||||
grid-row: 1;
|
||||
}
|
||||
}
|
||||
/* Dependency Styles */
|
||||
|
||||
.task-dependencies-container {
|
||||
padding-bottom: 4px;
|
||||
padding-top: 4px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
.task-dependency {
|
||||
display: inline-flex;
|
||||
background-color: var(--interactive-normal);
|
||||
box-shadow: var(--input-shadow);
|
||||
border-radius: 28px;
|
||||
padding: 6px 8px 6px 12px;
|
||||
}
|
||||
|
||||
.task-dependency-name {
|
||||
font-size: 14px;
|
||||
max-width: 160px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.task-dependency-delete {
|
||||
padding: 3px;
|
||||
border-radius: 50%;
|
||||
margin-left: 6px;
|
||||
cursor: pointer;
|
||||
height: inherit;
|
||||
box-shadow: none !important;
|
||||
background-color: var(--background-primary) !important;
|
||||
}
|
||||
|
||||
.task-dependency-dropdown {
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
background-color: var(--background-primary);
|
||||
border: 1px;
|
||||
border-radius: 6px;
|
||||
border-color: var(--background-modifier-border);
|
||||
border-style: solid;
|
||||
z-index: 99;
|
||||
max-height: 170px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.task-dependency-dropdown li {
|
||||
padding: 5px;
|
||||
margin: 2px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: space-between
|
||||
}
|
||||
.task-dependency-dropdown li .dependency-name {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.task-dependency-dropdown li .dependency-name-shared {
|
||||
width: calc(60%);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.task-dependency-dropdown li .dependency-path {
|
||||
width: calc(40%);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
font-style: italic;
|
||||
text-align: right;
|
||||
color: var(--italic-color)
|
||||
}
|
||||
|
||||
.task-dependency-dropdown li.selected {
|
||||
background-color: var(--text-selection);
|
||||
}
|
||||
|
||||
/**------------------------------------------------------------------------
|
||||
** SETTINGS
|
||||
|
Reference in New Issue
Block a user