Skip to content

Commit

Permalink
Use theme styles
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 10, 2024
1 parent 6cf5917 commit f2d497f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions client/src/components/ActivityBar/ActivityBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ defineExpose({
<div
v-for="(activity, activityIndex) in activities"
:key="activityIndex"
:class="{ 'can-drag': canDrag }">
:class="{ 'activity-can-drag': canDrag }">
<div v-if="activity.visible && (activity.anonymous || !isAnonymous)">
<UploadItem
v-if="activity.id === 'upload'"
Expand Down Expand Up @@ -352,6 +352,12 @@ defineExpose({
display: none;
}
.activity-can-drag {
border-radius: $border-radius-extralarge;
outline: 2px dashed $border-color;
outline-offset: -3px;
}
.activity-chosen-class {
background: $brand-secondary;
border-radius: $border-radius-extralarge;
Expand Down Expand Up @@ -386,11 +392,4 @@ defineExpose({
overflow-y: auto;
overflow-x: hidden;
}
.can-drag {
border-radius: 12px;
border: 1px;
outline: dashed darkgray;
outline-offset: -3px;
}
</style>

0 comments on commit f2d497f

Please sign in to comment.