mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix:Icon sizes
This commit is contained in:
		
							parent
							
								
									3d5ca7d5c4
								
							
						
					
					
						commit
						7df8795d52
					
				| @ -18,22 +18,22 @@ | |||||||
|         <widgets-notification-widget class="hidden md:block" /> |         <widgets-notification-widget class="hidden md:block" /> | ||||||
| 
 | 
 | ||||||
|         <ui-tooltip v-if="isChromecastInitialized && !isHttps" direction="bottom" text="Casting requires a secure connection" class="flex items-center"> |         <ui-tooltip v-if="isChromecastInitialized && !isHttps" direction="bottom" text="Casting requires a secure connection" class="flex items-center"> | ||||||
|           <span class="material-icons-outlined text-warning text-opacity-50"> cast </span> |           <span class="material-icons-outlined text-2xl text-warning text-opacity-50"> cast </span> | ||||||
|         </ui-tooltip> |         </ui-tooltip> | ||||||
|         <div v-if="isChromecastInitialized" class="w-6 min-w-6 h-6 ml-2 mr-1 sm:mx-2 cursor-pointer"> |         <div v-if="isChromecastInitialized" class="w-6 min-w-6 h-6 ml-2 mr-1 sm:mx-2 cursor-pointer"> | ||||||
|           <google-cast-launcher></google-cast-launcher> |           <google-cast-launcher></google-cast-launcher> | ||||||
|         </div> |         </div> | ||||||
| 
 | 
 | ||||||
|         <nuxt-link v-if="currentLibrary" to="/config/stats" class="outline-none hover:text-gray-200 cursor-pointer w-8 h-8 hidden sm:flex items-center justify-center mx-1"> |         <nuxt-link v-if="currentLibrary" to="/config/stats" class="outline-none hover:text-gray-200 cursor-pointer w-8 h-8 hidden sm:flex items-center justify-center mx-1"> | ||||||
|           <span class="material-icons" aria-label="User Stats" role="button">equalizer</span> |           <span class="material-icons text-2xl" aria-label="User Stats" role="button">equalizer</span> | ||||||
|         </nuxt-link> |         </nuxt-link> | ||||||
| 
 | 
 | ||||||
|         <nuxt-link v-if="userCanUpload && currentLibrary" to="/upload" class="outline-none hover:text-gray-200 cursor-pointer w-8 h-8 flex items-center justify-center mx-1"> |         <nuxt-link v-if="userCanUpload && currentLibrary" to="/upload" class="outline-none hover:text-gray-200 cursor-pointer w-8 h-8 flex items-center justify-center mx-1"> | ||||||
|           <span class="material-icons" aria-label="Upload Media" role="button">upload</span> |           <span class="material-icons text-2xl" aria-label="Upload Media" role="button">upload</span> | ||||||
|         </nuxt-link> |         </nuxt-link> | ||||||
| 
 | 
 | ||||||
|         <nuxt-link v-if="userIsAdminOrUp" to="/config" class="outline-none hover:text-gray-200 cursor-pointer w-8 h-8 flex items-center justify-center mx-1"> |         <nuxt-link v-if="userIsAdminOrUp" to="/config" class="outline-none hover:text-gray-200 cursor-pointer w-8 h-8 flex items-center justify-center mx-1"> | ||||||
|           <span class="material-icons" aria-label="System Settings" role="button">settings</span> |           <span class="material-icons text-2xl" aria-label="System Settings" role="button">settings</span> | ||||||
|         </nuxt-link> |         </nuxt-link> | ||||||
| 
 | 
 | ||||||
|         <nuxt-link to="/account" class="relative w-9 h-9 md:w-32 bg-fg border border-gray-500 rounded shadow-sm ml-1.5 sm:ml-3 md:ml-5 md:pl-3 md:pr-10 py-2 text-left focus:outline-none sm:text-sm cursor-pointer hover:bg-bg hover:bg-opacity-40" aria-haspopup="listbox" aria-expanded="true"> |         <nuxt-link to="/account" class="relative w-9 h-9 md:w-32 bg-fg border border-gray-500 rounded shadow-sm ml-1.5 sm:ml-3 md:ml-5 md:pl-3 md:pr-10 py-2 text-left focus:outline-none sm:text-sm cursor-pointer hover:bg-bg hover:bg-opacity-40" aria-haspopup="listbox" aria-expanded="true"> | ||||||
| @ -49,7 +49,7 @@ | |||||||
|         <h1 class="text-lg md:text-2xl px-4">{{ $getString('MessageItemsSelected', [numLibraryItemsSelected]) }}</h1> |         <h1 class="text-lg md:text-2xl px-4">{{ $getString('MessageItemsSelected', [numLibraryItemsSelected]) }}</h1> | ||||||
|         <div class="flex-grow" /> |         <div class="flex-grow" /> | ||||||
|         <ui-btn v-if="!isPodcastLibrary" color="success" :padding-x="4" small class="flex items-center h-9 mr-2" @click="playSelectedItems"> |         <ui-btn v-if="!isPodcastLibrary" color="success" :padding-x="4" small class="flex items-center h-9 mr-2" @click="playSelectedItems"> | ||||||
|           <span class="material-icons -ml-2 pr-1 text-white">play_arrow</span> |           <span class="material-icons text-2xl -ml-2 pr-1 text-white">play_arrow</span> | ||||||
|           {{ $strings.ButtonPlay }} |           {{ $strings.ButtonPlay }} | ||||||
|         </ui-btn> |         </ui-btn> | ||||||
|         <ui-tooltip v-if="userIsAdminOrUp && !isPodcastLibrary" :text="$strings.ButtonQuickMatch" direction="bottom"> |         <ui-tooltip v-if="userIsAdminOrUp && !isPodcastLibrary" :text="$strings.ButtonQuickMatch" direction="bottom"> | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
|     </nuxt-link> |     </nuxt-link> | ||||||
| 
 | 
 | ||||||
|     <nuxt-link v-if="isPodcastLibrary" :to="`/library/${currentLibraryId}/podcast/latest`" class="w-full h-20 flex flex-col items-center justify-center text-white border-b border-primary border-opacity-70 hover:bg-primary cursor-pointer relative" :class="isPodcastLatestPage ? 'bg-primary bg-opacity-80' : 'bg-bg bg-opacity-60'"> |     <nuxt-link v-if="isPodcastLibrary" :to="`/library/${currentLibraryId}/podcast/latest`" class="w-full h-20 flex flex-col items-center justify-center text-white border-b border-primary border-opacity-70 hover:bg-primary cursor-pointer relative" :class="isPodcastLatestPage ? 'bg-primary bg-opacity-80' : 'bg-bg bg-opacity-60'"> | ||||||
|       <span class="material-icons">format_list_bulleted</span> |       <span class="material-icons text-2xl">format_list_bulleted</span> | ||||||
| 
 | 
 | ||||||
|       <p class="font-book pt-1 text-center leading-4" style="font-size: 0.9rem">{{ $strings.ButtonLatest }}</p> |       <p class="font-book pt-1 text-center leading-4" style="font-size: 0.9rem">{{ $strings.ButtonLatest }}</p> | ||||||
| 
 | 
 | ||||||
| @ -43,7 +43,7 @@ | |||||||
|     </nuxt-link> |     </nuxt-link> | ||||||
| 
 | 
 | ||||||
|     <nuxt-link v-if="!isPodcastLibrary" :to="`/library/${currentLibraryId}/bookshelf/collections`" class="w-full h-20 flex flex-col items-center justify-center text-white text-opacity-80 border-b border-primary border-opacity-70 hover:bg-primary cursor-pointer relative" :class="paramId === 'collections' ? 'bg-primary bg-opacity-80' : 'bg-bg bg-opacity-60'"> |     <nuxt-link v-if="!isPodcastLibrary" :to="`/library/${currentLibraryId}/bookshelf/collections`" class="w-full h-20 flex flex-col items-center justify-center text-white text-opacity-80 border-b border-primary border-opacity-70 hover:bg-primary cursor-pointer relative" :class="paramId === 'collections' ? 'bg-primary bg-opacity-80' : 'bg-bg bg-opacity-60'"> | ||||||
|       <span class="material-icons-outlined">collections_bookmark</span> |       <span class="material-icons-outlined text-2xl">collections_bookmark</span> | ||||||
| 
 | 
 | ||||||
|       <p class="font-book pt-1.5 text-center leading-4" style="font-size: 0.9rem">{{ $strings.ButtonCollections }}</p> |       <p class="font-book pt-1.5 text-center leading-4" style="font-size: 0.9rem">{{ $strings.ButtonCollections }}</p> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -22,7 +22,7 @@ | |||||||
|               <span class="font-normal ml-3 block truncate text-sm md:text-base">{{ item.text }}</span> |               <span class="font-normal ml-3 block truncate text-sm md:text-base">{{ item.text }}</span> | ||||||
|             </div> |             </div> | ||||||
|             <div v-if="item.sublist" class="absolute right-1 top-0 bottom-0 h-full flex items-center"> |             <div v-if="item.sublist" class="absolute right-1 top-0 bottom-0 h-full flex items-center"> | ||||||
|               <span class="material-icons">arrow_right</span> |               <span class="material-icons text-2xl">arrow_right</span> | ||||||
|             </div> |             </div> | ||||||
|           </li> |           </li> | ||||||
|         </template> |         </template> | ||||||
| @ -30,7 +30,7 @@ | |||||||
|       <ul v-show="sublist" class="h-full w-full" role="listbox" aria-labelledby="listbox-label"> |       <ul v-show="sublist" class="h-full w-full" role="listbox" aria-labelledby="listbox-label"> | ||||||
|         <li class="text-gray-50 select-none relative py-2 pl-9 cursor-pointer hover:bg-black-400" role="option" @click="sublist = null"> |         <li class="text-gray-50 select-none relative py-2 pl-9 cursor-pointer hover:bg-black-400" role="option" @click="sublist = null"> | ||||||
|           <div class="absolute left-1 top-0 bottom-0 h-full flex items-center"> |           <div class="absolute left-1 top-0 bottom-0 h-full flex items-center"> | ||||||
|             <span class="material-icons">arrow_left</span> |             <span class="material-icons text-2xl">arrow_left</span> | ||||||
|           </div> |           </div> | ||||||
|           <div class="flex items-center justify-between"> |           <div class="flex items-center justify-between"> | ||||||
|             <span class="font-normal ml-3 block truncate">Back</span> |             <span class="font-normal ml-3 block truncate">Back</span> | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelUpdateCoverHelp"> |             <ui-tooltip :text="$strings.LabelUpdateCoverHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelUpdateCover }} |                 {{ $strings.LabelUpdateCover }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -28,7 +28,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelUpdateDetailsHelp"> |             <ui-tooltip :text="$strings.LabelUpdateDetailsHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelUpdateDetails }} |                 {{ $strings.LabelUpdateDetails }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|             <div class="flex-grow px-2"> |             <div class="flex-grow px-2"> | ||||||
|               <ui-text-input v-model="newBookmarkTitle" placeholder="Note" class="w-full" /> |               <ui-text-input v-model="newBookmarkTitle" placeholder="Note" class="w-full" /> | ||||||
|             </div> |             </div> | ||||||
|             <ui-btn type="submit" color="success" :padding-x="4" class="h-10"><span class="material-icons -mt-px">add</span></ui-btn> |             <ui-btn type="submit" color="success" :padding-x="4" class="h-10"><span class="material-icons text-2xl -mt-px">add</span></ui-btn> | ||||||
|           </div> |           </div> | ||||||
|         </form> |         </form> | ||||||
|       </div> |       </div> | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ | |||||||
|             <div class="flex-grow pr-2"> |             <div class="flex-grow pr-2"> | ||||||
|               <ui-text-input v-model="newBookmarkTitle" placeholder="Note" class="w-full" /> |               <ui-text-input v-model="newBookmarkTitle" placeholder="Note" class="w-full" /> | ||||||
|             </div> |             </div> | ||||||
|             <ui-btn type="submit" color="success" :padding-x="4" class="h-10"><span class="material-icons -mt-px">forward</span></ui-btn> |             <ui-btn type="submit" color="success" :padding-x="4" class="h-10"><span class="material-icons text-2xl -mt-px">forward</span></ui-btn> | ||||||
|             <div class="pl-2 flex items-center"> |             <div class="pl-2 flex items-center"> | ||||||
|               <span class="material-icons text-3xl text-white text-opacity-70 hover:text-opacity-95 cursor-pointer" @click.stop.prevent="cancelEditing">close</span> |               <span class="material-icons text-3xl text-white text-opacity-70 hover:text-opacity-95 cursor-pointer" @click.stop.prevent="cancelEditing">close</span> | ||||||
|             </div> |             </div> | ||||||
|  | |||||||
| @ -1,32 +1,15 @@ | |||||||
| <template> | <template> | ||||||
|   <div class="flex items-center px-4 py-2 justify-start relative hover:bg-bg" :class="wrapperClass" @mouseover="mouseover" @mouseleave="mouseleave"> |   <div class="flex items-center px-4 py-2 justify-start relative hover:bg-bg" :class="wrapperClass" @mouseover="mouseover" @mouseleave="mouseleave"> | ||||||
|     <div v-if="isBookIncluded" class="absolute top-0 left-0 h-full w-1 bg-success z-10" /> |     <div v-if="isBookIncluded" class="absolute top-0 left-0 h-full w-1 bg-success z-10" /> | ||||||
|     <!-- <span class="material-icons" :class="highlight ? 'text-success' : 'text-white text-opacity-80'">{{ highlight ? 'bookmark' : 'bookmark_border' }}</span> --> |  | ||||||
|     <div class="w-20 max-w-20 text-center"> |     <div class="w-20 max-w-20 text-center"> | ||||||
|       <!-- <img src="/Logo.png" /> --> |  | ||||||
|       <covers-collection-cover :book-items="books" :width="80" :height="40 * bookCoverAspectRatio" :book-cover-aspect-ratio="bookCoverAspectRatio" /> |       <covers-collection-cover :book-items="books" :width="80" :height="40 * bookCoverAspectRatio" :book-cover-aspect-ratio="bookCoverAspectRatio" /> | ||||||
|     </div> |     </div> | ||||||
|     <div class="flex-grow overflow-hidden px-2"> |     <div class="flex-grow overflow-hidden px-2"> | ||||||
|       <!-- <template v-if="isEditing"> |  | ||||||
|         <form @submit.prevent="submitUpdate"> |  | ||||||
|           <div class="flex items-center"> |  | ||||||
|             <div class="flex-grow pr-2"> |  | ||||||
|               <ui-text-input v-model="newBookmarkTitle" placeholder="Note" class="w-full" /> |  | ||||||
|             </div> |  | ||||||
|             <ui-btn type="submit" color="success" :padding-x="4" class="h-10"><span class="material-icons -mt-px">forward</span></ui-btn> |  | ||||||
|             <div class="pl-2 flex items-center"> |  | ||||||
|               <span class="material-icons text-3xl text-white text-opacity-70 hover:text-opacity-95 cursor-pointer" @click.stop.prevent="cancelEditing">close</span> |  | ||||||
|             </div> |  | ||||||
|           </div> |  | ||||||
|         </form> |  | ||||||
|       </template> --> |  | ||||||
|       <nuxt-link :to="`/collection/${collection.id}`" class="pl-2 pr-2 truncate hover:underline cursor-pointer" @click.native="clickNuxtLink">{{ collection.name }}</nuxt-link> |       <nuxt-link :to="`/collection/${collection.id}`" class="pl-2 pr-2 truncate hover:underline cursor-pointer" @click.native="clickNuxtLink">{{ collection.name }}</nuxt-link> | ||||||
|     </div> |     </div> | ||||||
|     <div v-if="!isEditing" class="h-full flex items-center justify-end transform" :class="isHovering ? 'transition-transform translate-0 w-16' : 'translate-x-40 w-0'"> |     <div v-if="!isEditing" class="h-full flex items-center justify-end transform" :class="isHovering ? 'transition-transform translate-0 w-16' : 'translate-x-40 w-0'"> | ||||||
|       <ui-btn v-if="!isBookIncluded" color="success" :padding-x="3" small class="h-9" @click.stop="clickAdd"><span class="material-icons pt-px">add</span></ui-btn> |       <ui-btn v-if="!isBookIncluded" color="success" :padding-x="3" small class="h-9" @click.stop="clickAdd"><span class="material-icons text-2xl pt-px">add</span></ui-btn> | ||||||
|       <ui-btn v-else color="error" :padding-x="3" class="h-9" small @click.stop="clickRem"><span class="material-icons pt-px">remove</span></ui-btn> |       <ui-btn v-else color="error" :padding-x="3" class="h-9" small @click.stop="clickRem"><span class="material-icons text-2xl pt-px">remove</span></ui-btn> | ||||||
|       <!-- <span class="material-icons text-xl mr-2 text-gray-200 hover:text-yellow-400" @click.stop="editClick">edit</span> |  | ||||||
|       <span class="material-icons text-xl text-gray-200 hover:text-error cursor-pointer" @click.stop="deleteClick">delete</span> --> |  | ||||||
|     </div> |     </div> | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ | |||||||
|           <div class="absolute top-0 left-0 w-full h-16 bg-gradient-to-b from-black-600 to-transparent" /> |           <div class="absolute top-0 left-0 w-full h-16 bg-gradient-to-b from-black-600 to-transparent" /> | ||||||
|           <div class="p-1 absolute top-1 right-1 text-red-500 rounded-full w-8 h-8 cursor-pointer hover:text-red-400 shadow-sm" @click="removeCover"> |           <div class="p-1 absolute top-1 right-1 text-red-500 rounded-full w-8 h-8 cursor-pointer hover:text-red-400 shadow-sm" @click="removeCover"> | ||||||
|             <ui-tooltip direction="top" :text="$strings.LabelRemoveCover"> |             <ui-tooltip direction="top" :text="$strings.LabelRemoveCover"> | ||||||
|               <span class="material-icons">delete</span> |               <span class="material-icons text-2xl">delete</span> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
|         </div> |         </div> | ||||||
| @ -18,7 +18,7 @@ | |||||||
|           <div v-if="userCanUpload" class="w-10 md:w-40 pr-2 pt-4 md:min-w-32"> |           <div v-if="userCanUpload" class="w-10 md:w-40 pr-2 pt-4 md:min-w-32"> | ||||||
|             <ui-file-input ref="fileInput" @change="fileUploadSelected" |             <ui-file-input ref="fileInput" @change="fileUploadSelected" | ||||||
|               ><span class="hidden md:inline-block">{{ $strings.ButtonUploadCover }}</span |               ><span class="hidden md:inline-block">{{ $strings.ButtonUploadCover }}</span | ||||||
|               ><span class="material-icons inline-block md:!hidden">upload</span></ui-file-input |               ><span class="material-icons text-2xl inline-block md:!hidden">upload</span></ui-file-input | ||||||
|             > |             > | ||||||
|           </div> |           </div> | ||||||
|           <form @submit.prevent="submitForm" class="flex flex-grow"> |           <form @submit.prevent="submitForm" class="flex flex-grow"> | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
|           <ui-tooltip text="Value of 0 sets no max limit. After a new episode is auto-downloaded this will delete the oldest episode if you have more than X episodes. <br>This will only delete 1 episode per new download."> |           <ui-tooltip text="Value of 0 sets no max limit. After a new episode is auto-downloaded this will delete the oldest episode if you have more than X episodes. <br>This will only delete 1 episode per new download."> | ||||||
|             <p class="pl-4 text-base"> |             <p class="pl-4 text-base"> | ||||||
|               Max episodes to keep |               Max episodes to keep | ||||||
|               <span class="material-icons icon-text text-sm">info_outlined</span> |               <span class="material-icons icon-text">info_outlined</span> | ||||||
|             </p> |             </p> | ||||||
|           </ui-tooltip> |           </ui-tooltip> | ||||||
|         </div> |         </div> | ||||||
| @ -24,7 +24,7 @@ | |||||||
|           <ui-tooltip text="Value of 0 sets no max limit. When checking for new episodes this is the max number of episodes that will be downloaded."> |           <ui-tooltip text="Value of 0 sets no max limit. When checking for new episodes this is the max number of episodes that will be downloaded."> | ||||||
|             <p class="pl-4 text-base"> |             <p class="pl-4 text-base"> | ||||||
|               Max new episodes to download per check |               Max new episodes to download per check | ||||||
|               <span class="material-icons icon-text text-sm">info_outlined</span> |               <span class="material-icons icon-text">info_outlined</span> | ||||||
|             </p> |             </p> | ||||||
|           </ui-tooltip> |           </ui-tooltip> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -21,7 +21,7 @@ | |||||||
|         <div v-for="(folder, index) in folders" :key="index" class="w-full flex items-center py-1 px-2"> |         <div v-for="(folder, index) in folders" :key="index" class="w-full flex items-center py-1 px-2"> | ||||||
|           <span class="material-icons bg-opacity-50 mr-2 text-yellow-200" style="font-size: 1.2rem">folder</span> |           <span class="material-icons bg-opacity-50 mr-2 text-yellow-200" style="font-size: 1.2rem">folder</span> | ||||||
|           <ui-editable-text v-model="folder.fullPath" readonly type="text" class="w-full" /> |           <ui-editable-text v-model="folder.fullPath" readonly type="text" class="w-full" /> | ||||||
|           <span v-show="folders.length > 1" class="material-icons ml-2 cursor-pointer hover:text-error" @click="removeFolder(folder)">close</span> |           <span v-show="folders.length > 1" class="material-icons text-2xl ml-2 cursor-pointer hover:text-error" @click="removeFolder(folder)">close</span> | ||||||
|         </div> |         </div> | ||||||
|         <div class="flex py-1 px-2 items-center w-full"> |         <div class="flex py-1 px-2 items-center w-full"> | ||||||
|           <span class="material-icons bg-opacity-50 mr-2 text-yellow-200" style="font-size: 1.2rem">folder</span> |           <span class="material-icons bg-opacity-50 mr-2 text-yellow-200" style="font-size: 1.2rem">folder</span> | ||||||
|  | |||||||
| @ -10,10 +10,10 @@ | |||||||
|       <p v-if="isOpenInPlayer" class="text-sm text-right text-gray-400">{{ $strings.ButtonPlaying }}</p> |       <p v-if="isOpenInPlayer" class="text-sm text-right text-gray-400">{{ $strings.ButtonPlaying }}</p> | ||||||
|       <div v-else-if="isHovering" class="flex items-center justify-end -mx-1"> |       <div v-else-if="isHovering" class="flex items-center justify-end -mx-1"> | ||||||
|         <button class="outline-none mx-1 flex items-center" @click.stop="playClick"> |         <button class="outline-none mx-1 flex items-center" @click.stop="playClick"> | ||||||
|           <span class="material-icons text-success">play_arrow</span> |           <span class="material-icons text-2xl text-success">play_arrow</span> | ||||||
|         </button> |         </button> | ||||||
|         <button class="outline-none mx-1 flex items-center" @click.stop="removeClick"> |         <button class="outline-none mx-1 flex items-center" @click.stop="removeClick"> | ||||||
|           <span class="material-icons text-error">close</span> |           <span class="material-icons text-2xl text-error">close</span> | ||||||
|         </button> |         </button> | ||||||
|       </div> |       </div> | ||||||
|       <p v-else class="text-gray-400 text-sm text-right">{{ durationPretty }}</p> |       <p v-else class="text-gray-400 text-sm text-right">{{ durationPretty }}</p> | ||||||
|  | |||||||
| @ -9,7 +9,7 @@ | |||||||
|         <span class="material-icons text-2xl sm:text-3xl">replay_10</span> |         <span class="material-icons text-2xl sm:text-3xl">replay_10</span> | ||||||
|       </div> |       </div> | ||||||
|       <div class="cursor-pointer p-2 shadow-sm bg-accent flex items-center justify-center rounded-full text-primary mx-4 md:mx-8" :class="seekLoading ? 'animate-spin' : ''" @mousedown.prevent @mouseup.prevent @click.stop="playPause"> |       <div class="cursor-pointer p-2 shadow-sm bg-accent flex items-center justify-center rounded-full text-primary mx-4 md:mx-8" :class="seekLoading ? 'animate-spin' : ''" @mousedown.prevent @mouseup.prevent @click.stop="playPause"> | ||||||
|         <span class="material-icons">{{ seekLoading ? 'autorenew' : paused ? 'play_arrow' : 'pause' }}</span> |         <span class="material-icons text-2xl">{{ seekLoading ? 'autorenew' : paused ? 'play_arrow' : 'pause' }}</span> | ||||||
|       </div> |       </div> | ||||||
|       <div class="cursor-pointer flex items-center justify-center text-gray-300" @mousedown.prevent @mouseup.prevent @click.stop="jumpForward"> |       <div class="cursor-pointer flex items-center justify-center text-gray-300" @mousedown.prevent @mouseup.prevent @click.stop="jumpForward"> | ||||||
|         <span class="material-icons text-2xl sm:text-3xl">forward_10</span> |         <span class="material-icons text-2xl sm:text-3xl">forward_10</span> | ||||||
|  | |||||||
| @ -25,7 +25,7 @@ | |||||||
| 
 | 
 | ||||||
|               <a v-if="backup.serverVersion" :href="`/metadata/${$encodeUriPath(backup.path)}?token=${userToken}`" class="mx-1 pt-1 hover:text-opacity-100 text-opacity-70 text-white" download><span class="material-icons text-xl">download</span></a> |               <a v-if="backup.serverVersion" :href="`/metadata/${$encodeUriPath(backup.path)}?token=${userToken}`" class="mx-1 pt-1 hover:text-opacity-100 text-opacity-70 text-white" download><span class="material-icons text-xl">download</span></a> | ||||||
|               <ui-tooltip v-else text="This backup was created with an old version of audiobookshelf no longer supported" direction="bottom" class="mx-2 flex items-center"> |               <ui-tooltip v-else text="This backup was created with an old version of audiobookshelf no longer supported" direction="bottom" class="mx-2 flex items-center"> | ||||||
|                 <span class="material-icons-outlined text-error">error_outline</span> |                 <span class="material-icons-outlined text-2xl text-error">error_outline</span> | ||||||
|               </ui-tooltip> |               </ui-tooltip> | ||||||
| 
 | 
 | ||||||
|               <span class="material-icons text-xl hover:text-error hover:text-opacity-100 text-opacity-70 text-white cursor-pointer mx-1" @click="deleteBackupClick(backup)">delete</span> |               <span class="material-icons text-xl hover:text-error hover:text-opacity-100 text-opacity-70 text-white cursor-pointer mx-1" @click="deleteBackupClick(backup)">delete</span> | ||||||
|  | |||||||
| @ -10,7 +10,7 @@ | |||||||
|         <covers-book-cover :library-item="book" :width="coverWidth" :book-cover-aspect-ratio="bookCoverAspectRatio" /> |         <covers-book-cover :library-item="book" :width="coverWidth" :book-cover-aspect-ratio="bookCoverAspectRatio" /> | ||||||
|         <div class="absolute top-0 left-0 bg-black bg-opacity-50 flex items-center justify-center h-full w-full z-10" v-show="isHovering && showPlayBtn"> |         <div class="absolute top-0 left-0 bg-black bg-opacity-50 flex items-center justify-center h-full w-full z-10" v-show="isHovering && showPlayBtn"> | ||||||
|           <div class="w-8 h-8 bg-white bg-opacity-20 rounded-full flex items-center justify-center hover:bg-opacity-40 cursor-pointer" @click="playClick"> |           <div class="w-8 h-8 bg-white bg-opacity-20 rounded-full flex items-center justify-center hover:bg-opacity-40 cursor-pointer" @click="playClick"> | ||||||
|             <span class="material-icons">play_arrow</span> |             <span class="material-icons text-2xl">play_arrow</span> | ||||||
|           </div> |           </div> | ||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|  | |||||||
| @ -16,7 +16,7 @@ | |||||||
| 
 | 
 | ||||||
|         <div class="flex items-center pt-2"> |         <div class="flex items-center pt-2"> | ||||||
|           <button class="h-8 px-4 border border-white border-opacity-20 hover:bg-white hover:bg-opacity-10 rounded-full flex items-center justify-center cursor-pointer focus:outline-none" :class="userIsFinished ? 'text-white text-opacity-40' : ''" @click.stop="playClick"> |           <button class="h-8 px-4 border border-white border-opacity-20 hover:bg-white hover:bg-opacity-10 rounded-full flex items-center justify-center cursor-pointer focus:outline-none" :class="userIsFinished ? 'text-white text-opacity-40' : ''" @click.stop="playClick"> | ||||||
|             <span class="material-icons" :class="streamIsPlaying ? '' : 'text-success'">{{ streamIsPlaying ? 'pause' : 'play_arrow' }}</span> |             <span class="material-icons text-2xl" :class="streamIsPlaying ? '' : 'text-success'">{{ streamIsPlaying ? 'pause' : 'play_arrow' }}</span> | ||||||
|             <p class="pl-2 pr-1 text-sm font-semibold">{{ timeRemaining }}</p> |             <p class="pl-2 pr-1 text-sm font-semibold">{{ timeRemaining }}</p> | ||||||
|           </button> |           </button> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ | |||||||
|   <nuxt-link v-if="to" :to="to" class="btn outline-none rounded-md shadow-md relative border border-gray-600 text-center" :disabled="disabled || loading" :class="classList"> |   <nuxt-link v-if="to" :to="to" class="btn outline-none rounded-md shadow-md relative border border-gray-600 text-center" :disabled="disabled || loading" :class="classList"> | ||||||
|     <slot /> |     <slot /> | ||||||
|     <div v-if="loading" class="text-white absolute top-0 left-0 w-full h-full flex items-center justify-center text-opacity-100"> |     <div v-if="loading" class="text-white absolute top-0 left-0 w-full h-full flex items-center justify-center text-opacity-100"> | ||||||
|       <!-- <span class="material-icons animate-spin">refresh</span> --> |  | ||||||
|       <svg class="animate-spin" style="width: 24px; height: 24px" viewBox="0 0 24 24"> |       <svg class="animate-spin" style="width: 24px; height: 24px" viewBox="0 0 24 24"> | ||||||
|         <path fill="currentColor" d="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z" /> |         <path fill="currentColor" d="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z" /> | ||||||
|       </svg> |       </svg> | ||||||
| @ -11,7 +10,6 @@ | |||||||
|   <button v-else class="btn outline-none rounded-md shadow-md relative border border-gray-600" :disabled="disabled || loading" :type="type" :class="classList" @mousedown.prevent @click="click"> |   <button v-else class="btn outline-none rounded-md shadow-md relative border border-gray-600" :disabled="disabled || loading" :type="type" :class="classList" @mousedown.prevent @click="click"> | ||||||
|     <slot /> |     <slot /> | ||||||
|     <div v-if="loading" class="text-white absolute top-0 left-0 w-full h-full flex items-center justify-center text-opacity-100"> |     <div v-if="loading" class="text-white absolute top-0 left-0 w-full h-full flex items-center justify-center text-opacity-100"> | ||||||
|       <!-- <span class="material-icons animate-spin">refresh</span> --> |  | ||||||
|       <svg class="animate-spin" style="width: 24px; height: 24px" viewBox="0 0 24 24"> |       <svg class="animate-spin" style="width: 24px; height: 24px" viewBox="0 0 24 24"> | ||||||
|         <path fill="currentColor" d="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z" /> |         <path fill="currentColor" d="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z" /> | ||||||
|       </svg> |       </svg> | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ | |||||||
|         <span v-if="selectedSubtext" class="font-normal block truncate font-sans text-sm text-gray-400">{{ selectedSubtext }}</span> |         <span v-if="selectedSubtext" class="font-normal block truncate font-sans text-sm text-gray-400">{{ selectedSubtext }}</span> | ||||||
|       </span> |       </span> | ||||||
|       <span class="ml-3 absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"> |       <span class="ml-3 absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"> | ||||||
|         <span class="material-icons">expand_more</span> |         <span class="material-icons text-2xl">expand_more</span> | ||||||
|       </span> |       </span> | ||||||
|     </button> |     </button> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -5,7 +5,7 @@ | |||||||
|         <span class="block truncate">{{ label }}</span> |         <span class="block truncate">{{ label }}</span> | ||||||
|       </span> |       </span> | ||||||
|       <span class="ml-3 absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"> |       <span class="ml-3 absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"> | ||||||
|         <span class="material-icons text-gray-100" aria-label="User Account" role="button">person</span> |         <span class="material-icons text-2xl text-gray-100" aria-label="User Account" role="button">person</span> | ||||||
|       </span> |       </span> | ||||||
|     </button> |     </button> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ | |||||||
|         <div ref="inputWrapper" style="min-height: 36px" class="flex-wrap relative w-full shadow-sm flex items-center border border-gray-600 rounded px-2 py-0.5" :class="wrapperClass" @click.stop.prevent="clickWrapper" @mouseup.stop.prevent @mousedown.prevent> |         <div ref="inputWrapper" style="min-height: 36px" class="flex-wrap relative w-full shadow-sm flex items-center border border-gray-600 rounded px-2 py-0.5" :class="wrapperClass" @click.stop.prevent="clickWrapper" @mouseup.stop.prevent @mousedown.prevent> | ||||||
|           <div v-for="item in selected" :key="item.id" class="rounded-full px-2 py-0.5 m-0.5 text-xs bg-bg flex flex-nowrap whitespace-nowrap items-center justify-center relative min-w-12"> |           <div v-for="item in selected" :key="item.id" class="rounded-full px-2 py-0.5 m-0.5 text-xs bg-bg flex flex-nowrap whitespace-nowrap items-center justify-center relative min-w-12"> | ||||||
|             <div v-if="!disabled" class="w-full h-full rounded-full absolute top-0 left-0 opacity-0 hover:opacity-100 px-1 bg-bg bg-opacity-75 flex items-center justify-end cursor-pointer"> |             <div v-if="!disabled" class="w-full h-full rounded-full absolute top-0 left-0 opacity-0 hover:opacity-100 px-1 bg-bg bg-opacity-75 flex items-center justify-end cursor-pointer"> | ||||||
|               <span v-if="showEdit" class="material-icons text-white hover:text-warning mr-1" style="font-size: 1rem" @click.stop="editItem(item)">edit</span> |               <span v-if="showEdit" class="material-icons text-base text-white hover:text-warning mr-1" @click.stop="editItem(item)">edit</span> | ||||||
|               <span class="material-icons text-white hover:text-error" style="font-size: 1.1rem" @click.stop="removeItem(item.id)">close</span> |               <span class="material-icons text-white hover:text-error" style="font-size: 1.1rem" @click.stop="removeItem(item.id)">close</span> | ||||||
|             </div> |             </div> | ||||||
|             {{ item[textKey] }} |             {{ item[textKey] }} | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ | |||||||
|   <div ref="page" id="page-wrapper" class="page px-6 pt-6 pb-52 overflow-y-auto" :class="streamLibraryItem ? 'streaming' : ''"> |   <div ref="page" id="page-wrapper" class="page px-6 pt-6 pb-52 overflow-y-auto" :class="streamLibraryItem ? 'streaming' : ''"> | ||||||
|     <div class="border border-white border-opacity-10 max-w-7xl mx-auto mb-10 mt-5"> |     <div class="border border-white border-opacity-10 max-w-7xl mx-auto mb-10 mt-5"> | ||||||
|       <div class="flex items-center px-4 py-4 cursor-pointer" @click="openMapOptions = !openMapOptions" @mousedown.prevent @mouseup.prevent> |       <div class="flex items-center px-4 py-4 cursor-pointer" @click="openMapOptions = !openMapOptions" @mousedown.prevent @mouseup.prevent> | ||||||
|         <span class="material-icons">{{ openMapOptions ? 'expand_less' : 'expand_more' }}</span> |         <span class="material-icons text-2xl">{{ openMapOptions ? 'expand_less' : 'expand_more' }}</span> | ||||||
| 
 | 
 | ||||||
|         <p class="ml-4 text-gray-200 text-lg">Map details</p> |         <p class="ml-4 text-gray-200 text-lg">Map details</p> | ||||||
|       </div> |       </div> | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
|             <div class="flex-grow" /> |             <div class="flex-grow" /> | ||||||
| 
 | 
 | ||||||
|             <ui-btn v-if="showPlayButton" :disabled="streaming" color="success" :padding-x="4" small class="flex items-center h-9 mr-2" @click="clickPlay"> |             <ui-btn v-if="showPlayButton" :disabled="streaming" color="success" :padding-x="4" small class="flex items-center h-9 mr-2" @click="clickPlay"> | ||||||
|               <span v-show="!streaming" class="material-icons -ml-2 pr-1 text-white">play_arrow</span> |               <span v-show="!streaming" class="material-icon text-2xl -ml-2 pr-1 text-white">play_arrow</span> | ||||||
|               {{ streaming ? $strings.ButtonPlaying : $strings.ButtonPlay }} |               {{ streaming ? $strings.ButtonPlaying : $strings.ButtonPlay }} | ||||||
|             </ui-btn> |             </ui-btn> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -3,7 +3,7 @@ | |||||||
|     <app-config-side-nav :is-open.sync="sideDrawerOpen" /> |     <app-config-side-nav :is-open.sync="sideDrawerOpen" /> | ||||||
|     <div class="configContent" :class="`page-${currentPage}`"> |     <div class="configContent" :class="`page-${currentPage}`"> | ||||||
|       <div v-show="isMobile" class="w-full pb-4 px-2 flex border-b border-white border-opacity-10 mb-2"> |       <div v-show="isMobile" class="w-full pb-4 px-2 flex border-b border-white border-opacity-10 mb-2"> | ||||||
|         <span class="material-icons cursor-pointer" @click.stop.prevent="showMore">more_vert</span> |         <span class="material-icons text-2xl cursor-pointer" @click.stop.prevent="showMore">more_vert</span> | ||||||
|         <p class="pl-3 capitalize">{{ currentPage }}</p> |         <p class="pl-3 capitalize">{{ currentPage }}</p> | ||||||
|       </div> |       </div> | ||||||
|       <nuxt-child /> |       <nuxt-child /> | ||||||
|  | |||||||
| @ -17,7 +17,7 @@ | |||||||
| 
 | 
 | ||||||
|       <div v-if="enableBackups" class="mb-6"> |       <div v-if="enableBackups" class="mb-6"> | ||||||
|         <div class="flex items-center pl-6"> |         <div class="flex items-center pl-6"> | ||||||
|           <span class="material-icons-outlined text-black-50">schedule</span> |           <span class="material-icons-outlined text-2xl text-black-50">schedule</span> | ||||||
|           <p class="text-gray-100 px-2">{{ scheduleDescription }}</p> |           <p class="text-gray-100 px-2">{{ scheduleDescription }}</p> | ||||||
|           <span class="material-icons text-lg text-black-50 hover:text-yellow-500 cursor-pointer" @click="showCronBuilder = !showCronBuilder">edit</span> |           <span class="material-icons text-lg text-black-50 hover:text-yellow-500 cursor-pointer" @click="showCronBuilder = !showCronBuilder">edit</span> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsStoreCoversWithItemHelp"> |             <ui-tooltip :text="$strings.LabelSettingsStoreCoversWithItemHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsStoreCoversWithItem }} |                 {{ $strings.LabelSettingsStoreCoversWithItem }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -25,7 +25,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsStoreMetadataWithItemHelp"> |             <ui-tooltip :text="$strings.LabelSettingsStoreMetadataWithItemHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsStoreMetadataWithItem }} |                 {{ $strings.LabelSettingsStoreMetadataWithItem }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -35,7 +35,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsSortingIgnorePrefixesHelp"> |             <ui-tooltip :text="$strings.LabelSettingsSortingIgnorePrefixesHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsSortingIgnorePrefixes }} |                 {{ $strings.LabelSettingsSortingIgnorePrefixes }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -57,7 +57,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsBookshelfViewHelp"> |             <ui-tooltip :text="$strings.LabelSettingsBookshelfViewHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsHomePageBookshelfView }} |                 {{ $strings.LabelSettingsHomePageBookshelfView }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -67,7 +67,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsBookshelfViewHelp"> |             <ui-tooltip :text="$strings.LabelSettingsBookshelfViewHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsLibraryBookshelfView }} |                 {{ $strings.LabelSettingsLibraryBookshelfView }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -93,7 +93,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsParseSubtitlesHelp"> |             <ui-tooltip :text="$strings.LabelSettingsParseSubtitlesHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsParseSubtitles }} |                 {{ $strings.LabelSettingsParseSubtitles }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -103,7 +103,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsFindCoversHelp"> |             <ui-tooltip :text="$strings.LabelSettingsFindCoversHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsFindCovers }} |                 {{ $strings.LabelSettingsFindCovers }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|             <div class="flex-grow" /> |             <div class="flex-grow" /> | ||||||
| @ -117,7 +117,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsOverdriveMediaMarkersHelp"> |             <ui-tooltip :text="$strings.LabelSettingsOverdriveMediaMarkersHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsOverdriveMediaMarkers }} |                 {{ $strings.LabelSettingsOverdriveMediaMarkers }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -127,7 +127,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsPreferAudioMetadataHelp"> |             <ui-tooltip :text="$strings.LabelSettingsPreferAudioMetadataHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsPreferAudioMetadata }} |                 {{ $strings.LabelSettingsPreferAudioMetadata }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -137,7 +137,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsPreferOPFMetadataHelp"> |             <ui-tooltip :text="$strings.LabelSettingsPreferOPFMetadataHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsPreferOPFMetadata }} |                 {{ $strings.LabelSettingsPreferOPFMetadata }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -147,7 +147,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsPreferMatchedMetadataHelp"> |             <ui-tooltip :text="$strings.LabelSettingsPreferMatchedMetadataHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsPreferMatchedMetadata }} |                 {{ $strings.LabelSettingsPreferMatchedMetadata }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -157,7 +157,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsDisableWatcherHelp"> |             <ui-tooltip :text="$strings.LabelSettingsDisableWatcherHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsDisableWatcher }} |                 {{ $strings.LabelSettingsDisableWatcher }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -172,7 +172,7 @@ | |||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsExperimentalFeatures }} |                 {{ $strings.LabelSettingsExperimentalFeatures }} | ||||||
|                 <a href="https://github.com/advplyr/audiobookshelf/discussions/75" target="_blank"> |                 <a href="https://github.com/advplyr/audiobookshelf/discussions/75" target="_blank"> | ||||||
|                   <span class="material-icons icon-text text-sm">info_outlined</span> |                   <span class="material-icons icon-text">info_outlined</span> | ||||||
|                 </a> |                 </a> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
| @ -183,7 +183,7 @@ | |||||||
|             <ui-tooltip :text="$strings.LabelSettingsEnableEReaderHelp"> |             <ui-tooltip :text="$strings.LabelSettingsEnableEReaderHelp"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 {{ $strings.LabelSettingsEnableEReader }} |                 {{ $strings.LabelSettingsEnableEReader }} | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> |           </div> | ||||||
| @ -193,7 +193,7 @@ | |||||||
|             <ui-tooltip text="Tone library for metadata"> |             <ui-tooltip text="Tone library for metadata"> | ||||||
|               <p class="pl-4"> |               <p class="pl-4"> | ||||||
|                 Use Tone library for metadata |                 Use Tone library for metadata | ||||||
|                 <span class="material-icons icon-text text-sm">info_outlined</span> |                 <span class="material-icons icon-text">info_outlined</span> | ||||||
|               </p> |               </p> | ||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
|           </div> --> |           </div> --> | ||||||
|  | |||||||
| @ -129,11 +129,11 @@ | |||||||
|           <!-- Icon buttons --> |           <!-- Icon buttons --> | ||||||
|           <div class="flex items-center justify-center md:justify-start pt-4"> |           <div class="flex items-center justify-center md:justify-start pt-4"> | ||||||
|             <ui-btn v-if="showPlayButton" :disabled="isStreaming" color="success" :padding-x="4" small class="flex items-center h-9 mr-2" @click="playItem"> |             <ui-btn v-if="showPlayButton" :disabled="isStreaming" color="success" :padding-x="4" small class="flex items-center h-9 mr-2" @click="playItem"> | ||||||
|               <span v-show="!isStreaming" class="material-icons -ml-2 pr-1 text-white">play_arrow</span> |               <span v-show="!isStreaming" class="material-icons text-2xl -ml-2 pr-1 text-white">play_arrow</span> | ||||||
|               {{ isStreaming ? $strings.ButtonPlaying : $strings.ButtonPlay }} |               {{ isStreaming ? $strings.ButtonPlaying : $strings.ButtonPlay }} | ||||||
|             </ui-btn> |             </ui-btn> | ||||||
|             <ui-btn v-else-if="isMissing || isInvalid" color="error" :padding-x="4" small class="flex items-center h-9 mr-2"> |             <ui-btn v-else-if="isMissing || isInvalid" color="error" :padding-x="4" small class="flex items-center h-9 mr-2"> | ||||||
|               <span v-show="!isStreaming" class="material-icons -ml-2 pr-1 text-white">error</span> |               <span v-show="!isStreaming" class="material-icons text-2xl -ml-2 pr-1 text-white">error</span> | ||||||
|               {{ isMissing ? $strings.LabelMissing : $strings.LabelIncomplete }} |               {{ isMissing ? $strings.LabelMissing : $strings.LabelIncomplete }} | ||||||
|             </ui-btn> |             </ui-btn> | ||||||
| 
 | 
 | ||||||
| @ -142,7 +142,7 @@ | |||||||
|             </ui-tooltip> |             </ui-tooltip> | ||||||
| 
 | 
 | ||||||
|             <ui-btn v-if="showReadButton" color="info" :padding-x="4" small class="flex items-center h-9 mr-2" @click="openEbook"> |             <ui-btn v-if="showReadButton" color="info" :padding-x="4" small class="flex items-center h-9 mr-2" @click="openEbook"> | ||||||
|               <span class="material-icons -ml-2 pr-2 text-white">auto_stories</span> |               <span class="material-icons text-2xl -ml-2 pr-2 text-white">auto_stories</span> | ||||||
|               {{ $strings.ButtonRead }} |               {{ $strings.ButtonRead }} | ||||||
|             </ui-btn> |             </ui-btn> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -32,13 +32,13 @@ | |||||||
| 
 | 
 | ||||||
|               <div class="flex items-center"> |               <div class="flex items-center"> | ||||||
|                 <button class="h-8 px-4 border border-white border-opacity-20 hover:bg-white hover:bg-opacity-10 rounded-full flex items-center justify-center cursor-pointer focus:outline-none" :class="episode.progress && episode.progress.isFinished ? 'text-white text-opacity-40' : ''" @click.stop="playClick(episode)"> |                 <button class="h-8 px-4 border border-white border-opacity-20 hover:bg-white hover:bg-opacity-10 rounded-full flex items-center justify-center cursor-pointer focus:outline-none" :class="episode.progress && episode.progress.isFinished ? 'text-white text-opacity-40' : ''" @click.stop="playClick(episode)"> | ||||||
|                   <span v-if="episodeIdStreaming === episode.id" class="material-icons" :class="streamIsPlaying ? '' : 'text-success'">{{ streamIsPlaying ? 'pause' : 'play_arrow' }}</span> |                   <span v-if="episodeIdStreaming === episode.id" class="material-icons text-2xl" :class="streamIsPlaying ? '' : 'text-success'">{{ streamIsPlaying ? 'pause' : 'play_arrow' }}</span> | ||||||
|                   <span v-else class="material-icons text-success">play_arrow</span> |                   <span v-else class="material-icons text-2xl text-success">play_arrow</span> | ||||||
|                   <p class="pl-2 pr-1 text-sm font-semibold">{{ getButtonText(episode) }}</p> |                   <p class="pl-2 pr-1 text-sm font-semibold">{{ getButtonText(episode) }}</p> | ||||||
|                 </button> |                 </button> | ||||||
| 
 | 
 | ||||||
|                 <button v-if="libraryItemIdStreaming && !isStreamingFromDifferentLibrary" class="h-8 w-8 flex justify-center items-center mx-2" :class="playerQueueEpisodeIdMap[episode.id] ? 'text-success' : ''" @click.stop="queueBtnClick(episode)"> |                 <button v-if="libraryItemIdStreaming && !isStreamingFromDifferentLibrary" class="h-8 w-8 flex justify-center items-center mx-2" :class="playerQueueEpisodeIdMap[episode.id] ? 'text-success' : ''" @click.stop="queueBtnClick(episode)"> | ||||||
|                   <span class="material-icons-outlined">{{ playerQueueEpisodeIdMap[episode.id] ? 'playlist_add_check' : 'playlist_add' }}</span> |                   <span class="material-icons-outlined text-2xl">{{ playerQueueEpisodeIdMap[episode.id] ? 'playlist_add_check' : 'playlist_add' }}</span> | ||||||
|                 </button> |                 </button> | ||||||
|               </div> |               </div> | ||||||
|             </div> |             </div> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user