Skip to content

Commit

Permalink
fix tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
tgloeggl committed Oct 30, 2023
1 parent d122e1b commit 5f4657c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
6 changes: 6 additions & 0 deletions assets/css/opencast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,12 @@ $action-menu-icon-size: 20px;
margin-bottom: 5px;
}
}

.oc--tooltips {
.tooltip {
margin: 5px 0 0 5px;
}
}
}

.oc--sort-options {
Expand Down
16 changes: 5 additions & 11 deletions vueapp/components/Videos/Actions/VideoAccess/ShareWithUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,11 @@
<label>
{{ $gettext('Berechtigung') }}
<select v-model="selectedUserPerm">
<option value="owner">
{{ $gettext('Besitzer/in') }}
</option>

<option value="write">
{{ $gettext('Schreibrechte') }}
</option>

<option value="read">
{{ $gettext('Leserechte') }}
</option>
<template v-for="perm in ['owner', 'write', 'read']">
<option value="owner">
{{ $gettext($filters.permname(perm)) }}
</option>
</template>
</select>
</label>
</fieldset>
Expand Down
11 changes: 1 addition & 10 deletions vueapp/components/Videos/VideoRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,7 @@
<span v-else>
{{event.title}}
</span>

<div data-tooltip class="tooltip" v-if="getAccessText && canEdit">
<span class="tooltip-content" v-html="getAccessText"></span>
<studip-icon
shape="group2"
role="active"
:size="18"
@click="performAction('VideoAccess')"
/>
</div>
</div>

<div class="oc--tooltips">
<div data-tooltip class="tooltip" v-if="getAccessText && canEdit">
Expand Down

0 comments on commit 5f4657c

Please sign in to comment.