aboutsummaryrefslogtreecommitdiffstats
path: root/components/editor/task
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-03-11 22:54:22 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-03-11 22:54:22 +0000
commitb0ab01ef6b715cafb12ecb2aa844a29c59c8a027 (patch)
treeeaf1f78df067f610e54c2a5a0794f04922653b2e /components/editor/task
parent27d85f0cda4d6f71a5a8eab8f416f29f01602b38 (diff)
Update styles, add task type icons
Diffstat (limited to 'components/editor/task')
-rw-r--r--components/editor/task/Configuration.vue15
-rw-r--r--components/editor/task/ConfigurationRow.vue4
2 files changed, 11 insertions, 8 deletions
diff --git a/components/editor/task/Configuration.vue b/components/editor/task/Configuration.vue
index 0355383..a209b58 100644
--- a/components/editor/task/Configuration.vue
+++ b/components/editor/task/Configuration.vue
@@ -82,7 +82,7 @@ const deleteTaskType = (taskId: string) => {
{{ props.taskId }}
</span>
<code>
- ({{ taskType }})
+ (<font-awesome-icon v-if="taskDefintion" id="task-icon" :icon="[taskDefintion.icon.style, taskDefintion.icon.name]" />{{ taskType }})
</code>
</p>
<div id="task-controls" class="control-group">
@@ -155,6 +155,10 @@ const deleteTaskType = (taskId: string) => {
font-weight: 700;
}
+ #task-icon {
+ padding-right: 0.3rem;
+ }
+
code {
font-size: 0.8em;
color: var(--color-text-mute);
@@ -169,13 +173,12 @@ const deleteTaskType = (taskId: string) => {
border-top: 1px solid var(--color-border);
}
-.multiselect::v-deep .multiselect__tags {
- border: none !important;
+:deep(.multiselect) .multiselect__tags {
+ border: unset !important;
border-radius: 0px !important;
- background: transparent !important;
}
-.multiselect::v-deep .multiselect__select {
- background: transparent !important;
+:deep(.multiselect) .multiselect__select {
+ background: unset !important;
}
</style>
diff --git a/components/editor/task/ConfigurationRow.vue b/components/editor/task/ConfigurationRow.vue
index 8194dcd..98a644c 100644
--- a/components/editor/task/ConfigurationRow.vue
+++ b/components/editor/task/ConfigurationRow.vue
@@ -182,12 +182,12 @@ input {
color: var(--color-false);
}
-.multiselect::v-deep .multiselect__tags {
+:deep(.multiselect) .multiselect__tags {
border: unset !important;
border-radius: 0px !important;
}
-.multiselect::v-deep .multiselect__select {
+:deep(.multiselect) .multiselect__select {
background: unset !important;
}
</style> \ No newline at end of file