A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
blur to modal and drop down and input
aminnausinac1e3cdc9113
diff --git a/resources/js/components/pinesUI/DropdownMenu.vue b/resources/js/components/pinesUI/DropdownMenu.vueindex 66aa2267..1383866c 100644--- a/resources/js/components/pinesUI/DropdownMenu.vue+++ b/resources/js/components/pinesUI/DropdownMenu.vue@@ -59,12 +59,12 @@ const props = defineProps(['dropdownOpen'])<div v-show="props.dropdownOpen" class="absolute top-0 z-50 max-w-screen mt-12 -right-[0.25rem]" v-cloak id="userDropdown"><div class="w-56 mx-auto "><div v-if="userData"- class="p-1 mt-1 bg-white dark:bg-neutral-800 border rounded-md shadow-md border-neutral-200/70 dark:border-neutral-700 text-neutral-700 dark:text-neutral-100">+ class="p-1 mt-1 bg-white dark:bg-neutral-800/70 backdrop-blur-lg border rounded-md shadow-md border-neutral-200/70 dark:border-neutral-700 text-neutral-700 dark:text-neutral-100"><div class="px-2 py-1.5 text-sm font-semibold">My Account</div>- <div class="h-px my-1 -mx-1 bg-neutral-200"></div>+ <div class="h-px my-1 -mx-1 bg-neutral-200 dark:bg-neutral-500"></div><section v-for="(group, groupIndex) in dropDownItemsAuth" :key="groupIndex"><div v-if="groupIndex !== 0 && groupIndex !== dropDownItemsAuth.length"- class="h-px my-1 -mx-1 bg-neutral-200"></div>+ class="h-px my-1 -mx-1 bg-neutral-200 dark:bg-neutral-500"></div><DropdownItem v-for="(item, index) in dropDownItemsAuth[groupIndex]" :key="index":linkData="item" :selected="$route.name === item.name" :external="item?.external"><template #icon>@@ -76,7 +76,7 @@ const props = defineProps(['dropdownOpen'])</section></div><div v-else- class="p-1 mt-1 bg-white dark:bg-neutral-800 border rounded-md shadow-md border-neutral-200/70 dark:border-neutral-700 text-neutral-700 dark:text-neutral-100">+ class="p-1 mt-1 bg-white dark:bg-neutral-800/70 backdrop-blur-lg border rounded-md shadow-md border-neutral-200/70 dark:border-neutral-700 text-neutral-700 dark:text-neutral-100"><DropdownItem v-for="(item, index) in dropDownItems" :key="index" :linkData="item":selected="$route.name === item.name" :external="item?.external"><template #icon>diff --git a/resources/js/components/pinesUI/InputSelect.vue b/resources/js/components/pinesUI/InputSelect.vueindex c52793aa..9af6eee8 100644--- a/resources/js/components/pinesUI/InputSelect.vue+++ b/resources/js/components/pinesUI/InputSelect.vue@@ -101,13 +101,13 @@ watch(selectableItemsList, () => { select.selectableItemsList = selectableItemsL<ul v-show="select.selectOpen" ref="selectableItemsList":class="{ 'bottom-0 mb-10': select.selectDropdownPosition == 'top', 'top-0 mt-10': select.selectDropdownPosition == 'bottom' }"- class="z-30 absolute w-full mt-1 overflow-auto text-sm rounded-md shadow-md max-h-56 focus:outline-none ring-1 ring-opacity-5 ring-black dark:ring-neutral-700 bg-white dark:bg-neutral-800"+ class="z-30 absolute w-full mt-1 overflow-auto text-sm rounded-md shadow-md max-h-56 focus:outline-none ring-1 ring-opacity-5 ring-black dark:ring-neutral-700 bg-white dark:bg-neutral-800/70 backdrop-blur-lg"v-cloak><template v-for="item in select.selectableItems" :key="item.value"><li @click="handleItemClick(item)" :id="item.value + '-' + select.selectId":data-disabled="item.disabled ? item.disabled : ''"- :class="{ 'bg-neutral-100 dark:bg-neutral-900 text-gray-900 dark:text-neutral-100': select.selectableItemIsActive(item), 'text-gray-700 dark:text-neutral-300': !select.selectableItemIsActive(item) }"+ :class="{ 'bg-neutral-100 dark:bg-neutral-900/70 text-gray-900 dark:text-neutral-100': select.selectableItemIsActive(item), 'text-gray-700 dark:text-neutral-300': !select.selectableItemIsActive(item) }"@mousemove="select.selectableItemActive = item"class="relative flex items-center h-full py-2 pl-8 cursor-default select-none data-[disabled=true]:opacity-50 data-[disabled=true]:pointer-events-none"><svg v-if="select.selectedItem.value == item.value"diff --git a/resources/js/components/pinesUI/ModalBase.vue b/resources/js/components/pinesUI/ModalBase.vueindex baad7252..71207403 100644--- a/resources/js/components/pinesUI/ModalBase.vue+++ b/resources/js/components/pinesUI/ModalBase.vue@@ -32,7 +32,7 @@ const submitModal = async (action, modalData) => {<div v-if="modalData.modalOpen" @click="modalData.toggleModal(false)" class="absolute inset-0 w-full h-full backdrop-blur-sm bg-opacity-70"></div></Transition><Transition enter-active-class="ease-out duration-300" enter-from-class="opacity-0 -translate-y-2 sm:scale-95" enter-to-class="opacity-100 translate-y-0 sm:scale-100" leave-active-class="ease-in duration-200" leave-from-class="opacity-100 translate-y-0 sm:scale-100" leave-to-class="opacity-0 -translate-y-2 sm:scale-95">- <div v-if="modalData.modalOpen" x-trap.inert.noscroll="modalOpen" class="relative w-full m-6 p-6 bg-white dark:bg-neutral-800 border shadow-lg border-neutral-200 dark:border-neutral-700 sm:max-w-lg rounded-md sm:rounded-lg">+ <div v-if="modalData.modalOpen" x-trap.inert.noscroll="modalOpen" class="relative w-full m-6 p-6 bg-white dark:bg-neutral-800/90 backdrop-blur-lg border shadow-lg border-neutral-200 dark:border-neutral-700 sm:max-w-lg rounded-md sm:rounded-lg"><div class="flex items-center justify-between pb-3"><h3 class="text-lg font-semibold">{{ modalData?.title ?? 'Modal Title' }}</h3><ButtonCorner @click="modalData.toggleModal(false)"/>