Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<BRow
class="script-line-row"
:class="{
'stage-direction': line.line_type === LINE_TYPES.STAGE_DIRECTION,
'heading-padding': line.line_type === LINE_TYPES.DIALOGUE && needsHeadingsAll,
Expand Down Expand Up @@ -121,7 +122,7 @@
End
</BButton>
</BButtonGroup>
<BButtonGroup v-else-if="canEdit && !isCutMode">
<BButtonGroup v-else-if="canEdit && !isCutMode" class="script-edit-controls">
<BButton variant="link" style="padding: 0" @click.prevent.stop="$emit('editLine')"
>Edit</BButton
>
Expand Down Expand Up @@ -305,4 +306,9 @@ function cutLinePart(partIndex: number): void {
.cut-line-part {
text-decoration: line-through;
}
.script-line-row:has(.script-edit-controls:hover) {
background-color: rgba(255, 255, 255, 0.06);
border-radius: 4px;
transition: background-color 0.15s ease;
}
</style>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<b-row
class="script-line-row"
:class="{
'stage-direction': line.line_type === LINE_TYPES.STAGE_DIRECTION,
'heading-padding': line.line_type === LINE_TYPES.DIALOGUE && needsHeadingsAll,
Expand Down Expand Up @@ -142,6 +143,7 @@
</b-button-group>
<b-dropdown
v-else-if="canEdit && !IS_CUT_MODE"
class="script-edit-controls"
split
text="Edit"
right
Expand Down Expand Up @@ -386,4 +388,9 @@ export default defineComponent({
.cut-line-part {
text-decoration: line-through;
}
.script-line-row:has(.script-edit-controls:hover) {
background-color: rgba(255, 255, 255, 0.06);
border-radius: 4px;
transition: background-color 0.15s ease;
}
</style>
Loading