[media UI] Fixed player selector style after Dropdown component changes.

This commit is contained in:
Fabio Manganiello 2023-11-12 15:55:28 +01:00
parent ca72e22820
commit 50922cf149
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -1,4 +1,5 @@
<template>
<div class="media-players">
<div class="plugins">
<Chromecast :player="selectedPlayer?.pluginName === 'media.chromecast' ? selectedPlayer : null"
ref="chromecastPlugin" @status="$emit('status', $event)" />
@ -32,6 +33,7 @@
</div>
</Dropdown>
</div>
</div>
</template>
<script>
@ -108,35 +110,28 @@ export default {
}
</script>
<style lang="scss" scoped>
.plugins {
<style lang="scss">
.media-players {
.plugins {
display: none;
}
}
.no-results {
.no-results {
padding: 1em;
}
}
.players {
:deep(.dropdown) {
direction: ltr;
.item {
padding: .5em;
}
.icon {
margin-right: 1em !important;
}
}
:deep(.refresh) {
.dropdown-container {
.refresh {
font-weight: bold;
font-size: .8em;
opacity: .7;
}
:deep(.player.selected) {
.player.selected {
.item {
color: $selected-fg;
}
}
}
</style>