[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: blacklight
GPG key ID: D90FBA7F76362774

View file

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