diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index c281f821..44f0687b 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -170,13 +170,13 @@ export default { if (!this.isPodcastLibrary && this.selectedMediaItemsArePlayable) { options.push({ - text: 'Quick Embed Metadata', + text: this.$strings.ButtonQuickEmbedMetadata, action: 'quick-embed' }) } options.push({ - text: 'Re-Scan', + text: this.$strings.ButtonReScan, action: 'rescan' }) diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index 9064c914..2eaba7f5 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -53,7 +53,6 @@ {{ numShowing }}
-{{ $strings.MessageSearchResultsFor }} "{{ searchQuery }}"
+{{ displaySubtitle }}
+{{ displayLineTwo || ' ' }}
{{ displaySortLine }}
@@ -171,6 +174,7 @@ export default { selected: false, isSelectionMode: false, displayTitleTruncated: false, + displaySubtitleTruncated: false, showCoverBg: false } }, @@ -237,7 +241,7 @@ export default { return this._libraryItem.mediaType }, isPodcast() { - return this.mediaType === 'podcast' + return this.mediaType === 'podcast' || this.store.getters['libraries/getCurrentLibraryMediaType'] === 'podcast' }, isMusic() { return this.mediaType === 'music' @@ -339,6 +343,13 @@ export default { if (this.collapsedSeries) return ignorePrefix ? this.collapsedSeries.nameIgnorePrefix : this.collapsedSeries.name return ignorePrefix ? this.mediaMetadata.titleIgnorePrefix || '\u00A0' : this.title || '\u00A0' }, + displaySubtitle() { + if (!this.libraryItem) return '\u00A0' + if (this.collapsedSeries) return this.collapsedSeries.numBooks === 1 ? '1 book' : `${this.collapsedSeries.numBooks} books` + if (this.mediaMetadata.subtitle) return this.mediaMetadata.subtitle + if (this.mediaMetadata.seriesName) return this.mediaMetadata.seriesName + return '' + }, displayLineTwo() { if (this.recentEpisode) return this.title if (this.isPodcast) return this.author @@ -644,6 +655,9 @@ export default { }, mediaItemShare() { return this._libraryItem.mediaItemShare || null + }, + showSubtitles() { + return !this.isPodcast && this.store.getters['user/getUserSetting']('showSubtitles') } }, methods: { @@ -685,6 +699,9 @@ export default { if (this.$refs.displayTitle) { this.displayTitleTruncated = this.$refs.displayTitle.scrollWidth > this.$refs.displayTitle.clientWidth } + if (this.$refs.displaySubtitle) { + this.displaySubtitleTruncated = this.$refs.displaySubtitle.scrollWidth > this.$refs.displaySubtitle.clientWidth + } }) }, clickCard(e) { diff --git a/client/cypress/support/tailwind.compiled.css b/client/cypress/support/tailwind.compiled.css deleted file mode 100644 index 4463326c..00000000 --- a/client/cypress/support/tailwind.compiled.css +++ /dev/null @@ -1,4672 +0,0 @@ -/* -! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com -*/ - -/* -1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) -2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) -*/ - -*, -::before, -::after { - box-sizing: border-box; - /* 1 */ - border-width: 0; - /* 2 */ - border-style: solid; - /* 2 */ - border-color: #e5e7eb; - /* 2 */ -} - -::before, -::after { - --tw-content: ''; -} - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -5. Use the user's configured `sans` font-feature-settings by default. -6. Use the user's configured `sans` font-variation-settings by default. -7. Disable tap highlights on iOS -*/ - -html, -:host { - line-height: 1.5; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -moz-tab-size: 4; - /* 3 */ - -o-tab-size: 4; - tab-size: 4; - /* 3 */ - font-family: Source Sans Pro; - /* 4 */ - font-feature-settings: normal; - /* 5 */ - font-variation-settings: normal; - /* 6 */ - -webkit-tap-highlight-color: transparent; - /* 7 */ -} - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ - -body { - margin: 0; - /* 1 */ - line-height: inherit; - /* 2 */ -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ - -hr { - height: 0; - /* 1 */ - color: inherit; - /* 2 */ - border-top-width: 1px; - /* 3 */ -} - -/* -Add the correct text decoration in Chrome, Edge, and Safari. -*/ - -abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; -} - -/* -Remove the default font size and weight for headings. -*/ - -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: inherit; - font-weight: inherit; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ - -a { - color: inherit; - text-decoration: inherit; -} - -/* -Add the correct font weight in Edge and Safari. -*/ - -b, -strong { - font-weight: bolder; -} - -/* -1. Use the user's configured `mono` font-family by default. -2. Use the user's configured `mono` font-feature-settings by default. -3. Use the user's configured `mono` font-variation-settings by default. -4. Correct the odd `em` font sizing in all browsers. -*/ - -code, -kbd, -samp, -pre { - font-family: Ubuntu Mono; - /* 1 */ - font-feature-settings: normal; - /* 2 */ - font-variation-settings: normal; - /* 3 */ - font-size: 1em; - /* 4 */ -} - -/* -Add the correct font size in all browsers. -*/ - -small { - font-size: 80%; -} - -/* -Prevent `sub` and `sup` elements from affecting the line height in all browsers. -*/ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ - -table { - text-indent: 0; - /* 1 */ - border-color: inherit; - /* 2 */ - border-collapse: collapse; - /* 3 */ -} - -/* -1. Change the font styles in all browsers. -2. Remove the margin in Firefox and Safari. -3. Remove default padding in all browsers. -*/ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; - /* 1 */ - font-feature-settings: inherit; - /* 1 */ - font-variation-settings: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - font-weight: inherit; - /* 1 */ - line-height: inherit; - /* 1 */ - color: inherit; - /* 1 */ - margin: 0; - /* 2 */ - padding: 0; - /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ - -button, -select { - text-transform: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Remove default button styles. -*/ - -button, -[type='button'], -[type='reset'], -[type='submit'] { - -webkit-appearance: button; - /* 1 */ - background-color: transparent; - /* 2 */ - background-image: none; - /* 2 */ -} - -/* -Use the modern Firefox focus style for all focusable elements. -*/ - -:-moz-focusring { - outline: auto; -} - -/* -Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) -*/ - -:-moz-ui-invalid { - box-shadow: none; -} - -/* -Add the correct vertical alignment in Chrome and Firefox. -*/ - -progress { - vertical-align: baseline; -} - -/* -Correct the cursor style of increment and decrement buttons in Safari. -*/ - -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} - -/* -1. Correct the odd appearance in Chrome and Safari. -2. Correct the outline style in Safari. -*/ - -[type='search'] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ -} - -/* -Remove the inner padding in Chrome and Safari on macOS. -*/ - -::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Change font properties to `inherit` in Safari. -*/ - -::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ -} - -/* -Add the correct display in Chrome and Safari. -*/ - -summary { - display: list-item; -} - -/* -Removes the default spacing and border for appropriate elements. -*/ - -blockquote, -dl, -dd, -h1, -h2, -h3, -h4, -h5, -h6, -hr, -figure, -p, -pre { - margin: 0; -} - -fieldset { - margin: 0; - padding: 0; -} - -legend { - padding: 0; -} - -ol, -ul, -menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Reset default styling for dialogs. -*/ - -dialog { - padding: 0; -} - -/* -Prevent resizing textareas horizontally by default. -*/ - -textarea { - resize: vertical; -} - -/* -1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) -2. Set the default placeholder color to the user's configured gray 400 color. -*/ - -input::-moz-placeholder, textarea::-moz-placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -input::placeholder, -textarea::placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -/* -Set the default cursor for buttons. -*/ - -button, -[role="button"] { - cursor: pointer; -} - -/* -Make sure disabled buttons don't get the pointer cursor. -*/ - -:disabled { - cursor: default; -} - -/* -1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) -2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) - This can trigger a poorly considered lint error in some tools but is included by design. -*/ - -img, -svg, -video, -canvas, -audio, -iframe, -embed, -object { - display: block; - /* 1 */ - vertical-align: middle; - /* 2 */ -} - -/* -Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) -*/ - -img, -video { - max-width: 100%; - height: auto; -} - -/* Make elements with the HTML hidden attribute stay hidden by default */ - -[hidden] { - display: none; -} - -*, ::before, ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -.container { - width: 100%; -} - -@media (min-width: 640px) { - .container { - max-width: 640px; - } -} - -@media (min-width: 768px) { - .container { - max-width: 768px; - } -} - -@media (min-width: 1024px) { - .container { - max-width: 1024px; - } -} - -@media (min-width: 1280px) { - .container { - max-width: 1280px; - } -} - -@media (min-width: 1536px) { - .container { - max-width: 1536px; - } -} - -.pointer-events-none { - pointer-events: none; -} - -.pointer-events-auto { - pointer-events: auto; -} - -.collapse { - visibility: collapse; -} - -.static { - position: static; -} - -.fixed { - position: fixed; -} - -.absolute { - position: absolute; -} - -.relative { - position: relative; -} - -.sticky { - position: sticky; -} - -.inset-0 { - inset: 0px; -} - -.inset-y-0 { - top: 0px; - bottom: 0px; -} - -.-bottom-1 { - bottom: -0.25rem; -} - -.-bottom-1\.5 { - bottom: -0.375rem; -} - -.-bottom-2 { - bottom: -0.5rem; -} - -.-bottom-5 { - bottom: -1.25rem; -} - -.-bottom-6 { - bottom: -1.5rem; -} - -.-bottom-8 { - bottom: -2rem; -} - -.-left-24 { - left: -6rem; -} - -.-left-3 { - left: -0.75rem; -} - -.-left-\[4\.5rem\] { - left: -4.5rem; -} - -.-right-0 { - right: -0px; -} - -.-right-0\.5 { - right: -0.125rem; -} - -.-right-1 { - right: -0.25rem; -} - -.-right-1\.5 { - right: -0.375rem; -} - -.-right-24 { - right: -6rem; -} - -.-right-3 { - right: -0.75rem; -} - -.-right-4 { - right: -1rem; -} - -.-top-1 { - top: -0.25rem; -} - -.-top-1\.5 { - top: -0.375rem; -} - -.-top-10 { - top: -2.5rem; -} - -.-top-20 { - top: -5rem; -} - -.-top-3 { - top: -0.75rem; -} - -.-top-8 { - top: -2rem; -} - -.bottom-0 { - bottom: 0px; -} - -.bottom-2 { - bottom: 0.5rem; -} - -.bottom-2\.5 { - bottom: 0.625rem; -} - -.bottom-4 { - bottom: 1rem; -} - -.bottom-px { - bottom: 1px; -} - -.left-0 { - left: 0px; -} - -.left-1 { - left: 0.25rem; -} - -.left-1\/2 { - left: 50%; -} - -.left-16 { - left: 4rem; -} - -.left-2 { - left: 0.5rem; -} - -.left-20 { - left: 5rem; -} - -.left-28 { - left: 7rem; -} - -.left-4 { - left: 1rem; -} - -.left-8 { - left: 2rem; -} - -.right-0 { - right: 0px; -} - -.right-1 { - right: 0.25rem; -} - -.right-1\.5 { - right: 0.375rem; -} - -.right-14 { - right: 3.5rem; -} - -.right-2 { - right: 0.5rem; -} - -.right-2\.5 { - right: 0.625rem; -} - -.right-20 { - right: 5rem; -} - -.right-3 { - right: 0.75rem; -} - -.right-36 { - right: 9rem; -} - -.right-4 { - right: 1rem; -} - -.right-40 { - right: 10rem; -} - -.top-0 { - top: 0px; -} - -.top-1 { - top: 0.25rem; -} - -.top-1\.5 { - top: 0.375rem; -} - -.top-10 { - top: 2.5rem; -} - -.top-16 { - top: 4rem; -} - -.top-2 { - top: 0.5rem; -} - -.top-3 { - top: 0.75rem; -} - -.top-4 { - top: 1rem; -} - -.top-7 { - top: 1.75rem; -} - -.top-9 { - top: 2.25rem; -} - -.z-0 { - z-index: 0; -} - -.z-10 { - z-index: 10; -} - -.z-20 { - z-index: 20; -} - -.z-30 { - z-index: 30; -} - -.z-40 { - z-index: 40; -} - -.z-50 { - z-index: 50; -} - -.z-60 { - z-index: 60; -} - -.m-0 { - margin: 0px; -} - -.m-0\.5 { - margin: 0.125rem; -} - -.m-2 { - margin: 0.5rem; -} - -.m-auto { - margin: auto; -} - -.-mx-1 { - margin-left: -0.25rem; - margin-right: -0.25rem; -} - -.-mx-2 { - margin-left: -0.5rem; - margin-right: -0.5rem; -} - -.mx-0 { - margin-left: 0px; - margin-right: 0px; -} - -.mx-0\.5 { - margin-left: 0.125rem; - margin-right: 0.125rem; -} - -.mx-1 { - margin-left: 0.25rem; - margin-right: 0.25rem; -} - -.mx-1\.5 { - margin-left: 0.375rem; - margin-right: 0.375rem; -} - -.mx-2 { - margin-left: 0.5rem; - margin-right: 0.5rem; -} - -.mx-3 { - margin-left: 0.75rem; - margin-right: 0.75rem; -} - -.mx-4 { - margin-left: 1rem; - margin-right: 1rem; -} - -.mx-6 { - margin-left: 1.5rem; - margin-right: 1.5rem; -} - -.mx-8 { - margin-left: 2rem; - margin-right: 2rem; -} - -.mx-auto { - margin-left: auto; - margin-right: auto; -} - -.mx-px { - margin-left: 1px; - margin-right: 1px; -} - -.my-0 { - margin-top: 0px; - margin-bottom: 0px; -} - -.my-0\.5 { - margin-top: 0.125rem; - margin-bottom: 0.125rem; -} - -.my-1 { - margin-top: 0.25rem; - margin-bottom: 0.25rem; -} - -.my-12 { - margin-top: 3rem; - margin-bottom: 3rem; -} - -.my-2 { - margin-top: 0.5rem; - margin-bottom: 0.5rem; -} - -.my-2\.5 { - margin-top: 0.625rem; - margin-bottom: 0.625rem; -} - -.my-4 { - margin-top: 1rem; - margin-bottom: 1rem; -} - -.my-5 { - margin-top: 1.25rem; - margin-bottom: 1.25rem; -} - -.my-6 { - margin-top: 1.5rem; - margin-bottom: 1.5rem; -} - -.my-8 { - margin-top: 2rem; - margin-bottom: 2rem; -} - -.my-auto { - margin-top: auto; - margin-bottom: auto; -} - -.\!mb-4 { - margin-bottom: 1rem !important; -} - -.-mb-0 { - margin-bottom: -0px; -} - -.-mb-0\.5 { - margin-bottom: -0.125rem; -} - -.-mb-px { - margin-bottom: -1px; -} - -.-ml-2 { - margin-left: -0.5rem; -} - -.-ml-px { - margin-left: -1px; -} - -.-mt-6 { - margin-top: -1.5rem; -} - -.-mt-px { - margin-top: -1px; -} - -.mb-0 { - margin-bottom: 0px; -} - -.mb-0\.5 { - margin-bottom: 0.125rem; -} - -.mb-1 { - margin-bottom: 0.25rem; -} - -.mb-10 { - margin-bottom: 2.5rem; -} - -.mb-12 { - margin-bottom: 3rem; -} - -.mb-2 { - margin-bottom: 0.5rem; -} - -.mb-24 { - margin-bottom: 6rem; -} - -.mb-3 { - margin-bottom: 0.75rem; -} - -.mb-4 { - margin-bottom: 1rem; -} - -.mb-5 { - margin-bottom: 1.25rem; -} - -.mb-6 { - margin-bottom: 1.5rem; -} - -.mb-8 { - margin-bottom: 2rem; -} - -.mb-px { - margin-bottom: 1px; -} - -.ml-1 { - margin-left: 0.25rem; -} - -.ml-1\.5 { - margin-left: 0.375rem; -} - -.ml-10 { - margin-left: 2.5rem; -} - -.ml-14 { - margin-left: 3.5rem; -} - -.ml-2 { - margin-left: 0.5rem; -} - -.ml-3 { - margin-left: 0.75rem; -} - -.ml-4 { - margin-left: 1rem; -} - -.ml-6 { - margin-left: 1.5rem; -} - -.ml-auto { - margin-left: auto; -} - -.ml-px { - margin-left: 1px; -} - -.mr-0 { - margin-right: 0px; -} - -.mr-0\.5 { - margin-right: 0.125rem; -} - -.mr-1 { - margin-right: 0.25rem; -} - -.mr-1\.5 { - margin-right: 0.375rem; -} - -.mr-2 { - margin-right: 0.5rem; -} - -.mr-3 { - margin-right: 0.75rem; -} - -.mr-4 { - margin-right: 1rem; -} - -.mr-6 { - margin-right: 1.5rem; -} - -.mr-px { - margin-right: 1px; -} - -.mt-0 { - margin-top: 0px; -} - -.mt-0\.5 { - margin-top: 0.125rem; -} - -.mt-1 { - margin-top: 0.25rem; -} - -.mt-1\.5 { - margin-top: 0.375rem; -} - -.mt-10 { - margin-top: 2.5rem; -} - -.mt-2 { - margin-top: 0.5rem; -} - -.mt-3 { - margin-top: 0.75rem; -} - -.mt-4 { - margin-top: 1rem; -} - -.mt-5 { - margin-top: 1.25rem; -} - -.mt-6 { - margin-top: 1.5rem; -} - -.mt-8 { - margin-top: 2rem; -} - -.mt-\[1\.375rem\] { - margin-top: 1.375rem; -} - -.line-clamp-2 { - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; -} - -.line-clamp-4 { - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 4; -} - -.\!block { - display: block !important; -} - -.block { - display: block; -} - -.inline-block { - display: inline-block; -} - -.flex { - display: flex; -} - -.inline-flex { - display: inline-flex; -} - -.table { - display: table; -} - -.contents { - display: contents; -} - -.\!hidden { - display: none !important; -} - -.hidden { - display: none; -} - -.h-0 { - height: 0px; -} - -.h-0\.5 { - height: 0.125rem; -} - -.h-1 { - height: 0.25rem; -} - -.h-1\.5 { - height: 0.375rem; -} - -.h-1\/3 { - height: 33.333333%; -} - -.h-10 { - height: 2.5rem; -} - -.h-11 { - height: 2.75rem; -} - -.h-12 { - height: 3rem; -} - -.h-14 { - height: 3.5rem; -} - -.h-16 { - height: 4rem; -} - -.h-18 { - height: 4.5rem; -} - -.h-2 { - height: 0.5rem; -} - -.h-2\.5 { - height: 0.625rem; -} - -.h-20 { - height: 5rem; -} - -.h-24 { - height: 6rem; -} - -.h-3 { - height: 0.75rem; -} - -.h-3\.5 { - height: 0.875rem; -} - -.h-32 { - height: 8rem; -} - -.h-36 { - height: 9rem; -} - -.h-4 { - height: 1rem; -} - -.h-40 { - height: 10rem; -} - -.h-44 { - height: 11rem; -} - -.h-45 { - height: 11.25rem; -} - -.h-48 { - height: 12rem; -} - -.h-5 { - height: 1.25rem; -} - -.h-6 { - height: 1.5rem; -} - -.h-60 { - height: 15rem; -} - -.h-7 { - height: 1.75rem; -} - -.h-7\.5 { - height: 1.75rem; -} - -.h-72 { - height: 18rem; -} - -.h-8 { - height: 2rem; -} - -.h-80 { - height: 20rem; -} - -.h-9 { - height: 2.25rem; -} - -.h-\[2\.375rem\] { - height: 2.375rem; -} - -.h-\[calc\(100\%-110px\)\] { - height: calc(100% - 110px); -} - -.h-\[calc\(100\%-270px\)\] { - height: calc(100% - 270px); -} - -.h-\[calc\(100\%-40px\)\] { - height: calc(100% - 40px); -} - -.h-full { - height: 100%; -} - -.h-px { - height: 1px; -} - -.h-screen { - height: 100vh; -} - -.max-h-12 { - max-height: 3rem; -} - -.max-h-56 { - max-height: 14rem; -} - -.max-h-72 { - max-height: 18rem; -} - -.max-h-80 { - max-height: 20rem; -} - -.max-h-96 { - max-height: 24rem; -} - -.max-h-full { - max-height: 100%; -} - -.max-h-screen { - max-height: 100vh; -} - -.min-h-40 { - min-height: 10rem; -} - -.min-h-\[176px\] { - min-height: 176px; -} - -.w-0 { - width: 0px; -} - -.w-0\.5 { - width: 0.125rem; -} - -.w-1 { - width: 0.25rem; -} - -.w-1\/2 { - width: 50%; -} - -.w-1\/3 { - width: 33.333333%; -} - -.w-1\/4 { - width: 25%; -} - -.w-1\/5 { - width: 20%; -} - -.w-10 { - width: 2.5rem; -} - -.w-11 { - width: 2.75rem; -} - -.w-12 { - width: 3rem; -} - -.w-14 { - width: 3.5rem; -} - -.w-16 { - width: 4rem; -} - -.w-18 { - width: 4.5rem; -} - -.w-2 { - width: 0.5rem; -} - -.w-2\.5 { - width: 0.625rem; -} - -.w-2\/3 { - width: 66.666667%; -} - -.w-2\/5 { - width: 40%; -} - -.w-20 { - width: 5rem; -} - -.w-24 { - width: 6rem; -} - -.w-28 { - width: 7rem; -} - -.w-3 { - width: 0.75rem; -} - -.w-3\.5 { - width: 0.875rem; -} - -.w-3\/4 { - width: 75%; -} - -.w-3\/5 { - width: 60%; -} - -.w-32 { - width: 8rem; -} - -.w-36 { - width: 9rem; -} - -.w-4 { - width: 1rem; -} - -.w-40 { - width: 10rem; -} - -.w-44 { - width: 11rem; -} - -.w-48 { - width: 12rem; -} - -.w-5 { - width: 1.25rem; -} - -.w-52 { - width: 13rem; -} - -.w-56 { - width: 14rem; -} - -.w-6 { - width: 1.5rem; -} - -.w-60 { - width: 15rem; -} - -.w-64 { - width: 16rem; -} - -.w-7 { - width: 1.75rem; -} - -.w-72 { - width: 18rem; -} - -.w-8 { - width: 2rem; -} - -.w-80 { - width: 20rem; -} - -.w-9 { - width: 2.25rem; -} - -.w-96 { - width: 24rem; -} - -.w-full { - width: 100%; -} - -.w-px { - width: 1px; -} - -.w-screen { - width: 100vw; -} - -.min-w-0 { - min-width: 0px; -} - -.min-w-10 { - min-width: 2.5rem; -} - -.min-w-12 { - min-width: 3rem; -} - -.min-w-16 { - min-width: 4rem; -} - -.min-w-20 { - min-width: 5rem; -} - -.min-w-24 { - min-width: 6rem; -} - -.min-w-26 { - min-width: 6.5rem; -} - -.min-w-32 { - min-width: 8rem; -} - -.min-w-44 { - min-width: 11rem; -} - -.min-w-48 { - min-width: 12rem; -} - -.min-w-5 { - min-width: 1.25rem; -} - -.min-w-6 { - min-width: 1.5rem; -} - -.min-w-8 { - min-width: 2rem; -} - -.min-w-\[160px\] { - min-width: 160px; -} - -.min-w-\[224px\] { - min-width: 224px; -} - -.max-w-12 { - max-width: 3rem; -} - -.max-w-16 { - max-width: 4rem; -} - -.max-w-20 { - max-width: 5rem; -} - -.max-w-24 { - max-width: 6rem; -} - -.max-w-2xl { - max-width: 42rem; -} - -.max-w-32 { - max-width: 8rem; -} - -.max-w-3xl { - max-width: 48rem; -} - -.max-w-40 { - max-width: 10rem; -} - -.max-w-48 { - max-width: 12rem; -} - -.max-w-4xl { - max-width: 56rem; -} - -.max-w-52 { - max-width: 13rem; -} - -.max-w-5xl { - max-width: 64rem; -} - -.max-w-6 { - max-width: 1.5rem; -} - -.max-w-64 { - max-width: 16rem; -} - -.max-w-6xl { - max-width: 72rem; -} - -.max-w-72 { - max-width: 18rem; -} - -.max-w-7xl { - max-width: 80rem; -} - -.max-w-\[600px\] { - max-width: 600px; -} - -.max-w-\[800px\] { - max-width: 800px; -} - -.max-w-\[calc\(100\%-80px\)\] { - max-width: calc(100% - 80px); -} - -.max-w-\[calc\(100vw-10rem\)\] { - max-width: calc(100vw - 10rem); -} - -.max-w-\[calc\(100vw-2rem\)\] { - max-width: calc(100vw - 2rem); -} - -.max-w-full { - max-width: 100%; -} - -.max-w-lg { - max-width: 32rem; -} - -.max-w-max { - max-width: -moz-max-content; - max-width: max-content; -} - -.max-w-md { - max-width: 28rem; -} - -.max-w-sm { - max-width: 24rem; -} - -.max-w-xl { - max-width: 36rem; -} - -.max-w-xs { - max-width: 20rem; -} - -.flex-1 { - flex: 1 1 0%; -} - -.flex-shrink-0 { - flex-shrink: 0; -} - -.flex-grow { - flex-grow: 1; -} - -.border-collapse { - border-collapse: collapse; -} - -.origin-bottom-left { - transform-origin: bottom left; -} - -.origin-center { - transform-origin: center; -} - -.origin-top-left { - transform-origin: top left; -} - -.-translate-x-1\/2 { - --tw-translate-x: -50%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.-translate-x-12 { - --tw-translate-x: -3rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.-translate-x-24 { - --tw-translate-x: -6rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.-translate-x-44 { - --tw-translate-x: -11rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.-translate-x-96 { - --tw-translate-x: -24rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-0 { - --tw-translate-x: 0px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-24 { - --tw-translate-x: 6rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-40 { - --tw-translate-x: 10rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-5 { - --tw-translate-x: 1.25rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.rotate-180 { - --tw-rotate: 180deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.scale-125 { - --tw-scale-x: 1.25; - --tw-scale-y: 1.25; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.scale-75 { - --tw-scale-x: .75; - --tw-scale-y: .75; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.transform { - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -@keyframes ping { - 75%, 100% { - transform: scale(2); - opacity: 0; - } -} - -.animate-ping { - animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; -} - -@keyframes pulse { - 50% { - opacity: .5; - } -} - -.animate-pulse { - animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; -} - -@keyframes spin { - to { - transform: rotate(360deg); - } -} - -.animate-spin { - animation: spin 1s linear infinite; -} - -.cursor-default { - cursor: default; -} - -.cursor-not-allowed { - cursor: not-allowed; -} - -.cursor-pointer { - cursor: pointer; -} - -.cursor-text { - cursor: text; -} - -.select-none { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} - -.resize { - resize: both; -} - -.list-inside { - list-style-position: inside; -} - -.list-disc { - list-style-type: disc; -} - -.flex-row { - flex-direction: row; -} - -.flex-col { - flex-direction: column; -} - -.flex-wrap { - flex-wrap: wrap; -} - -.flex-wrap-reverse { - flex-wrap: wrap-reverse; -} - -.flex-nowrap { - flex-wrap: nowrap; -} - -.place-items-end { - place-items: end; -} - -.items-start { - align-items: flex-start; -} - -.items-end { - align-items: flex-end; -} - -.items-center { - align-items: center; -} - -.justify-start { - justify-content: flex-start; -} - -.justify-end { - justify-content: flex-end; -} - -.justify-center { - justify-content: center; -} - -.justify-between { - justify-content: space-between; -} - -.space-x-4 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(1rem * var(--tw-space-x-reverse)); - margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); -} - -.self-center { - align-self: center; -} - -.overflow-auto { - overflow: auto; -} - -.overflow-hidden { - overflow: hidden; -} - -.overflow-x-auto { - overflow-x: auto; -} - -.overflow-y-auto { - overflow-y: auto; -} - -.overflow-x-hidden { - overflow-x: hidden; -} - -.overflow-y-hidden { - overflow-y: hidden; -} - -.overflow-x-scroll { - overflow-x: scroll; -} - -.overflow-y-scroll { - overflow-y: scroll; -} - -.truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.overflow-ellipsis { - text-overflow: ellipsis; -} - -.whitespace-nowrap { - white-space: nowrap; -} - -.whitespace-pre-line { - white-space: pre-line; -} - -.whitespace-pre-wrap { - white-space: pre-wrap; -} - -.break-words { - overflow-wrap: break-word; -} - -.break-all { - word-break: break-all; -} - -.break-keep { - word-break: keep-all; -} - -.rounded { - border-radius: 0.25rem; -} - -.rounded-full { - border-radius: 9999px; -} - -.rounded-lg { - border-radius: 0.5rem; -} - -.rounded-md { - border-radius: 0.375rem; -} - -.rounded-sm { - border-radius: 0.125rem; -} - -.rounded-xl { - border-radius: 0.75rem; -} - -.rounded-b { - border-bottom-right-radius: 0.25rem; - border-bottom-left-radius: 0.25rem; -} - -.rounded-b-lg { - border-bottom-right-radius: 0.5rem; - border-bottom-left-radius: 0.5rem; -} - -.rounded-b-md { - border-bottom-right-radius: 0.375rem; - border-bottom-left-radius: 0.375rem; -} - -.rounded-l-md { - border-top-left-radius: 0.375rem; - border-bottom-left-radius: 0.375rem; -} - -.rounded-r-full { - border-top-right-radius: 9999px; - border-bottom-right-radius: 9999px; -} - -.rounded-r-md { - border-top-right-radius: 0.375rem; - border-bottom-right-radius: 0.375rem; -} - -.rounded-t-lg { - border-top-left-radius: 0.5rem; - border-top-right-radius: 0.5rem; -} - -.rounded-tl-md { - border-top-left-radius: 0.375rem; -} - -.rounded-tr-lg { - border-top-right-radius: 0.5rem; -} - -.rounded-tr-md { - border-top-right-radius: 0.375rem; -} - -.border { - border-width: 1px; -} - -.border-2 { - border-width: 2px; -} - -.border-b { - border-bottom-width: 1px; -} - -.border-l { - border-left-width: 1px; -} - -.border-r { - border-right-width: 1px; -} - -.border-t { - border-top-width: 1px; -} - -.border-dashed { - border-style: dashed; -} - -.border-bg { - --tw-border-opacity: 1; - border-color: rgb(55 56 56 / var(--tw-border-opacity)); -} - -.border-black { - --tw-border-opacity: 1; - border-color: rgb(0 0 0 / var(--tw-border-opacity)); -} - -.border-black-100 { - --tw-border-opacity: 1; - border-color: rgb(102 102 102 / var(--tw-border-opacity)); -} - -.border-black-200 { - --tw-border-opacity: 1; - border-color: rgb(85 85 85 / var(--tw-border-opacity)); -} - -.border-black-300 { - --tw-border-opacity: 1; - border-color: rgb(68 68 68 / var(--tw-border-opacity)); -} - -.border-black-50 { - --tw-border-opacity: 1; - border-color: rgb(187 187 187 / var(--tw-border-opacity)); -} - -.border-black\/20 { - border-color: rgb(0 0 0 / 0.2); -} - -.border-error { - --tw-border-opacity: 1; - border-color: rgb(255 82 82 / var(--tw-border-opacity)); -} - -.border-gray-300 { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); -} - -.border-gray-400 { - --tw-border-opacity: 1; - border-color: rgb(156 163 175 / var(--tw-border-opacity)); -} - -.border-gray-500 { - --tw-border-opacity: 1; - border-color: rgb(107 114 128 / var(--tw-border-opacity)); -} - -.border-gray-600 { - --tw-border-opacity: 1; - border-color: rgb(75 85 99 / var(--tw-border-opacity)); -} - -.border-gray-700 { - --tw-border-opacity: 1; - border-color: rgb(55 65 81 / var(--tw-border-opacity)); -} - -.border-primary { - --tw-border-opacity: 1; - border-color: rgb(35 35 35 / var(--tw-border-opacity)); -} - -.border-red-300 { - --tw-border-opacity: 1; - border-color: rgb(252 165 165 / var(--tw-border-opacity)); -} - -.border-transparent { - border-color: transparent; -} - -.border-warning { - --tw-border-opacity: 1; - border-color: rgb(251 140 0 / var(--tw-border-opacity)); -} - -.border-white { - --tw-border-opacity: 1; - border-color: rgb(255 255 255 / var(--tw-border-opacity)); -} - -.border-white\/10 { - border-color: rgb(255 255 255 / 0.1); -} - -.border-yellow-200 { - --tw-border-opacity: 1; - border-color: rgb(254 240 138 / var(--tw-border-opacity)); -} - -.border-yellow-300 { - --tw-border-opacity: 1; - border-color: rgb(253 224 71 / var(--tw-border-opacity)); -} - -.border-yellow-400 { - --tw-border-opacity: 1; - border-color: rgb(250 204 21 / var(--tw-border-opacity)); -} - -.border-b-bg { - --tw-border-opacity: 1; - border-bottom-color: rgb(55 56 56 / var(--tw-border-opacity)); -} - -.border-opacity-0 { - --tw-border-opacity: 0; -} - -.border-opacity-10 { - --tw-border-opacity: 0.1; -} - -.border-opacity-20 { - --tw-border-opacity: 0.2; -} - -.border-opacity-25 { - --tw-border-opacity: 0.25; -} - -.border-opacity-30 { - --tw-border-opacity: 0.3; -} - -.border-opacity-5 { - --tw-border-opacity: 0.05; -} - -.border-opacity-60 { - --tw-border-opacity: 0.6; -} - -.border-opacity-70 { - --tw-border-opacity: 0.7; -} - -.\!bg-error\/10 { - background-color: rgb(255 82 82 / 0.1) !important; -} - -.bg-accent { - --tw-bg-opacity: 1; - background-color: rgb(26 214 145 / var(--tw-bg-opacity)); -} - -.bg-bg { - --tw-bg-opacity: 1; - background-color: rgb(55 56 56 / var(--tw-bg-opacity)); -} - -.bg-black { - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); -} - -.bg-black-100 { - --tw-bg-opacity: 1; - background-color: rgb(102 102 102 / var(--tw-bg-opacity)); -} - -.bg-black-200 { - --tw-bg-opacity: 1; - background-color: rgb(85 85 85 / var(--tw-bg-opacity)); -} - -.bg-black-300 { - --tw-bg-opacity: 1; - background-color: rgb(68 68 68 / var(--tw-bg-opacity)); -} - -.bg-black-400 { - --tw-bg-opacity: 1; - background-color: rgb(51 51 51 / var(--tw-bg-opacity)); -} - -.bg-black\/10 { - background-color: rgb(0 0 0 / 0.1); -} - -.bg-black\/20 { - background-color: rgb(0 0 0 / 0.2); -} - -.bg-black\/25 { - background-color: rgb(0 0 0 / 0.25); -} - -.bg-black\/40 { - background-color: rgb(0 0 0 / 0.4); -} - -.bg-black\/50 { - background-color: rgb(0 0 0 / 0.5); -} - -.bg-error { - --tw-bg-opacity: 1; - background-color: rgb(255 82 82 / var(--tw-bg-opacity)); -} - -.bg-gray-100 { - --tw-bg-opacity: 1; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)); -} - -.bg-gray-200 { - --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); -} - -.bg-gray-300 { - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - -.bg-gray-400 { - --tw-bg-opacity: 1; - background-color: rgb(156 163 175 / var(--tw-bg-opacity)); -} - -.bg-gray-50 { - --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); -} - -.bg-gray-500 { - --tw-bg-opacity: 1; - background-color: rgb(107 114 128 / var(--tw-bg-opacity)); -} - -.bg-gray-600 { - --tw-bg-opacity: 1; - background-color: rgb(75 85 99 / var(--tw-bg-opacity)); -} - -.bg-gray-700 { - --tw-bg-opacity: 1; - background-color: rgb(55 65 81 / var(--tw-bg-opacity)); -} - -.bg-green-500 { - --tw-bg-opacity: 1; - background-color: rgb(34 197 94 / var(--tw-bg-opacity)); -} - -.bg-info { - --tw-bg-opacity: 1; - background-color: rgb(33 150 243 / var(--tw-bg-opacity)); -} - -.bg-neutral-600 { - --tw-bg-opacity: 1; - background-color: rgb(82 82 82 / var(--tw-bg-opacity)); -} - -.bg-primary { - --tw-bg-opacity: 1; - background-color: rgb(35 35 35 / var(--tw-bg-opacity)); -} - -.bg-primary\/20 { - background-color: rgb(35 35 35 / 0.2); -} - -.bg-primary\/25 { - background-color: rgb(35 35 35 / 0.25); -} - -.bg-primary\/40 { - background-color: rgb(35 35 35 / 0.4); -} - -.bg-red-100 { - --tw-bg-opacity: 1; - background-color: rgb(254 226 226 / var(--tw-bg-opacity)); -} - -.bg-red-600 { - --tw-bg-opacity: 1; - background-color: rgb(220 38 38 / var(--tw-bg-opacity)); -} - -.bg-slate-200\/10 { - background-color: rgb(226 232 240 / 0.1); -} - -.bg-success { - --tw-bg-opacity: 1; - background-color: rgb(76 175 80 / var(--tw-bg-opacity)); -} - -.bg-success\/50 { - background-color: rgb(76 175 80 / 0.5); -} - -.bg-transparent { - background-color: transparent; -} - -.bg-warning { - --tw-bg-opacity: 1; - background-color: rgb(251 140 0 / var(--tw-bg-opacity)); -} - -.bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.bg-white\/10 { - background-color: rgb(255 255 255 / 0.1); -} - -.bg-white\/5 { - background-color: rgb(255 255 255 / 0.05); -} - -.bg-yellow-400 { - --tw-bg-opacity: 1; - background-color: rgb(250 204 21 / var(--tw-bg-opacity)); -} - -.bg-opacity-0 { - --tw-bg-opacity: 0; -} - -.bg-opacity-10 { - --tw-bg-opacity: 0.1; -} - -.bg-opacity-100 { - --tw-bg-opacity: 1; -} - -.bg-opacity-20 { - --tw-bg-opacity: 0.2; -} - -.bg-opacity-25 { - --tw-bg-opacity: 0.25; -} - -.bg-opacity-30 { - --tw-bg-opacity: 0.3; -} - -.bg-opacity-40 { - --tw-bg-opacity: 0.4; -} - -.bg-opacity-5 { - --tw-bg-opacity: 0.05; -} - -.bg-opacity-50 { - --tw-bg-opacity: 0.5; -} - -.bg-opacity-60 { - --tw-bg-opacity: 0.6; -} - -.bg-opacity-70 { - --tw-bg-opacity: 0.7; -} - -.bg-opacity-75 { - --tw-bg-opacity: 0.75; -} - -.bg-opacity-80 { - --tw-bg-opacity: 0.8; -} - -.bg-opacity-90 { - --tw-bg-opacity: 0.9; -} - -.bg-opacity-95 { - --tw-bg-opacity: 0.95; -} - -.bg-gradient-to-b { - background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); -} - -.bg-gradient-to-t { - background-image: linear-gradient(to top, var(--tw-gradient-stops)); -} - -.from-black-600 { - --tw-gradient-from: #111111 var(--tw-gradient-from-position); - --tw-gradient-to: rgb(17 17 17 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.from-transparent { - --tw-gradient-from: transparent var(--tw-gradient-from-position); - --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.via-black-500 { - --tw-gradient-to: rgb(34 34 34 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), #222222 var(--tw-gradient-via-position), var(--tw-gradient-to); -} - -.to-black-700 { - --tw-gradient-to: #101010 var(--tw-gradient-to-position); -} - -.to-transparent { - --tw-gradient-to: transparent var(--tw-gradient-to-position); -} - -.fill-current { - fill: currentColor; -} - -.object-contain { - -o-object-fit: contain; - object-fit: contain; -} - -.object-cover { - -o-object-fit: cover; - object-fit: cover; -} - -.object-fill { - -o-object-fit: fill; - object-fit: fill; -} - -.object-scale-down { - -o-object-fit: scale-down; - object-fit: scale-down; -} - -.p-0 { - padding: 0px; -} - -.p-0\.5 { - padding: 0.125rem; -} - -.p-1 { - padding: 0.25rem; -} - -.p-2 { - padding: 0.5rem; -} - -.p-20 { - padding: 5rem; -} - -.p-3 { - padding: 0.75rem; -} - -.p-4 { - padding: 1rem; -} - -.p-5 { - padding: 1.25rem; -} - -.p-6 { - padding: 1.5rem; -} - -.p-8 { - padding: 2rem; -} - -.px-0 { - padding-left: 0px; - padding-right: 0px; -} - -.px-0\.5 { - padding-left: 0.125rem; - padding-right: 0.125rem; -} - -.px-1 { - padding-left: 0.25rem; - padding-right: 0.25rem; -} - -.px-1\.5 { - padding-left: 0.375rem; - padding-right: 0.375rem; -} - -.px-12 { - padding-left: 3rem; - padding-right: 3rem; -} - -.px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem; -} - -.px-4 { - padding-left: 1rem; - padding-right: 1rem; -} - -.px-5 { - padding-left: 1.25rem; - padding-right: 1.25rem; -} - -.px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.px-8 { - padding-left: 2rem; - padding-right: 2rem; -} - -.px-px { - padding-left: 1px; - padding-right: 1px; -} - -.py-0 { - padding-top: 0px; - padding-bottom: 0px; -} - -.py-0\.5 { - padding-top: 0.125rem; - padding-bottom: 0.125rem; -} - -.py-1 { - padding-top: 0.25rem; - padding-bottom: 0.25rem; -} - -.py-1\.5 { - padding-top: 0.375rem; - padding-bottom: 0.375rem; -} - -.py-12 { - padding-top: 3rem; - padding-bottom: 3rem; -} - -.py-16 { - padding-top: 4rem; - padding-bottom: 4rem; -} - -.py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.py-3 { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -.py-4 { - padding-top: 1rem; - padding-bottom: 1rem; -} - -.py-5 { - padding-top: 1.25rem; - padding-bottom: 1.25rem; -} - -.py-6 { - padding-top: 1.5rem; - padding-bottom: 1.5rem; -} - -.py-8 { - padding-top: 2rem; - padding-bottom: 2rem; -} - -.py-px { - padding-top: 1px; - padding-bottom: 1px; -} - -.pb-0 { - padding-bottom: 0px; -} - -.pb-0\.5 { - padding-bottom: 0.125rem; -} - -.pb-1 { - padding-bottom: 0.25rem; -} - -.pb-2 { - padding-bottom: 0.5rem; -} - -.pb-20 { - padding-bottom: 5rem; -} - -.pb-4 { - padding-bottom: 1rem; -} - -.pb-52 { - padding-bottom: 13rem; -} - -.pb-6 { - padding-bottom: 1.5rem; -} - -.pb-8 { - padding-bottom: 2rem; -} - -.pb-px { - padding-bottom: 1px; -} - -.pl-1 { - padding-left: 0.25rem; -} - -.pl-12 { - padding-left: 3rem; -} - -.pl-16 { - padding-left: 4rem; -} - -.pl-18 { - padding-left: 4.5rem; -} - -.pl-2 { - padding-left: 0.5rem; -} - -.pl-3 { - padding-left: 0.75rem; -} - -.pl-4 { - padding-left: 1rem; -} - -.pl-6 { - padding-left: 1.5rem; -} - -.pl-8 { - padding-left: 2rem; -} - -.pl-9 { - padding-left: 2.25rem; -} - -.pl-96 { - padding-left: 24rem; -} - -.pl-px { - padding-left: 1px; -} - -.pr-1 { - padding-right: 0.25rem; -} - -.pr-12 { - padding-right: 3rem; -} - -.pr-2 { - padding-right: 0.5rem; -} - -.pr-3 { - padding-right: 0.75rem; -} - -.pr-4 { - padding-right: 1rem; -} - -.pr-8 { - padding-right: 2rem; -} - -.pr-9 { - padding-right: 2.25rem; -} - -.pr-px { - padding-right: 1px; -} - -.pt-0 { - padding-top: 0px; -} - -.pt-0\.5 { - padding-top: 0.125rem; -} - -.pt-1 { - padding-top: 0.25rem; -} - -.pt-1\.5 { - padding-top: 0.375rem; -} - -.pt-12 { - padding-top: 3rem; -} - -.pt-2 { - padding-top: 0.5rem; -} - -.pt-20 { - padding-top: 5rem; -} - -.pt-4 { - padding-top: 1rem; -} - -.pt-6 { - padding-top: 1.5rem; -} - -.pt-7 { - padding-top: 1.75rem; -} - -.pt-8 { - padding-top: 2rem; -} - -.pt-px { - padding-top: 1px; -} - -.text-left { - text-align: left; -} - -.text-center { - text-align: center; -} - -.text-right { - text-align: right; -} - -.align-middle { - vertical-align: middle; -} - -.align-text-bottom { - vertical-align: text-bottom; -} - -.font-mono { - font-family: Ubuntu Mono; -} - -.font-sans { - font-family: Source Sans Pro; -} - -.text-1\.5xl { - font-size: 1.375rem; -} - -.text-2\.5xl { - font-size: 1.6875rem; -} - -.text-2xl { - font-size: 1.5rem; - line-height: 2rem; -} - -.text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; -} - -.text-4\.5xl { - font-size: 2.625rem; -} - -.text-4xl { - font-size: 2.25rem; - line-height: 2.5rem; -} - -.text-5xl { - font-size: 3rem; - line-height: 1; -} - -.text-6xl { - font-size: 3.75rem; - line-height: 1; -} - -.text-\[10rem\] { - font-size: 10rem; -} - -.text-base { - font-size: 1rem; - line-height: 1.5rem; -} - -.text-lg { - font-size: 1.125rem; - line-height: 1.75rem; -} - -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - -.text-xl { - font-size: 1.25rem; - line-height: 1.75rem; -} - -.text-xs { - font-size: 0.75rem; - line-height: 1rem; -} - -.text-xxs { - font-size: 0.625rem; -} - -.font-bold { - font-weight: 700; -} - -.font-light { - font-weight: 300; -} - -.font-normal { - font-weight: 400; -} - -.font-semibold { - font-weight: 600; -} - -.uppercase { - text-transform: uppercase; -} - -.capitalize { - text-transform: capitalize; -} - -.italic { - font-style: italic; -} - -.leading-3 { - line-height: .75rem; -} - -.leading-4 { - line-height: 1rem; -} - -.leading-5 { - line-height: 1.25rem; -} - -.leading-6 { - line-height: 1.5rem; -} - -.leading-7 { - line-height: 1.75rem; -} - -.leading-none { - line-height: 1; -} - -.-tracking-widest { - letter-spacing: -0.1em; -} - -.tracking-wide { - letter-spacing: 0.025em; -} - -.text-black { - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -.text-black-50 { - --tw-text-opacity: 1; - color: rgb(187 187 187 / var(--tw-text-opacity)); -} - -.text-blue-200 { - --tw-text-opacity: 1; - color: rgb(191 219 254 / var(--tw-text-opacity)); -} - -.text-blue-400 { - --tw-text-opacity: 1; - color: rgb(96 165 250 / var(--tw-text-opacity)); -} - -.text-error { - --tw-text-opacity: 1; - color: rgb(255 82 82 / var(--tw-text-opacity)); -} - -.text-gray-100 { - --tw-text-opacity: 1; - color: rgb(243 244 246 / var(--tw-text-opacity)); -} - -.text-gray-200 { - --tw-text-opacity: 1; - color: rgb(229 231 235 / var(--tw-text-opacity)); -} - -.text-gray-300 { - --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); -} - -.text-gray-400 { - --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); -} - -.text-gray-50 { - --tw-text-opacity: 1; - color: rgb(249 250 251 / var(--tw-text-opacity)); -} - -.text-gray-500 { - --tw-text-opacity: 1; - color: rgb(107 114 128 / var(--tw-text-opacity)); -} - -.text-green-500 { - --tw-text-opacity: 1; - color: rgb(34 197 94 / var(--tw-text-opacity)); -} - -.text-primary { - --tw-text-opacity: 1; - color: rgb(35 35 35 / var(--tw-text-opacity)); -} - -.text-red-100 { - --tw-text-opacity: 1; - color: rgb(254 226 226 / var(--tw-text-opacity)); -} - -.text-red-300 { - --tw-text-opacity: 1; - color: rgb(252 165 165 / var(--tw-text-opacity)); -} - -.text-red-500 { - --tw-text-opacity: 1; - color: rgb(239 68 68 / var(--tw-text-opacity)); -} - -.text-slate-300 { - --tw-text-opacity: 1; - color: rgb(203 213 225 / var(--tw-text-opacity)); -} - -.text-success { - --tw-text-opacity: 1; - color: rgb(76 175 80 / var(--tw-text-opacity)); -} - -.text-warning { - --tw-text-opacity: 1; - color: rgb(251 140 0 / var(--tw-text-opacity)); -} - -.text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.text-white\/30 { - color: rgb(255 255 255 / 0.3); -} - -.text-white\/50 { - color: rgb(255 255 255 / 0.5); -} - -.text-white\/70 { - color: rgb(255 255 255 / 0.7); -} - -.text-white\/80 { - color: rgb(255 255 255 / 0.8); -} - -.text-yellow-200 { - --tw-text-opacity: 1; - color: rgb(254 240 138 / var(--tw-text-opacity)); -} - -.text-yellow-300 { - --tw-text-opacity: 1; - color: rgb(253 224 71 / var(--tw-text-opacity)); -} - -.text-yellow-400 { - --tw-text-opacity: 1; - color: rgb(250 204 21 / var(--tw-text-opacity)); -} - -.text-opacity-0 { - --tw-text-opacity: 0; -} - -.text-opacity-100 { - --tw-text-opacity: 1; -} - -.text-opacity-20 { - --tw-text-opacity: 0.2; -} - -.text-opacity-30 { - --tw-text-opacity: 0.3; -} - -.text-opacity-40 { - --tw-text-opacity: 0.4; -} - -.text-opacity-50 { - --tw-text-opacity: 0.5; -} - -.text-opacity-60 { - --tw-text-opacity: 0.6; -} - -.text-opacity-70 { - --tw-text-opacity: 0.7; -} - -.text-opacity-75 { - --tw-text-opacity: 0.75; -} - -.text-opacity-80 { - --tw-text-opacity: 0.8; -} - -.text-opacity-90 { - --tw-text-opacity: 0.9; -} - -.underline { - text-decoration-line: underline; -} - -.opacity-0 { - opacity: 0; -} - -.opacity-100 { - opacity: 1; -} - -.opacity-25 { - opacity: 0.25; -} - -.opacity-40 { - opacity: 0.4; -} - -.opacity-50 { - opacity: 0.5; -} - -.opacity-80 { - opacity: 0.8; -} - -.opacity-90 { - opacity: 0.9; -} - -.shadow { - --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-inner { - --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-lg { - --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-md { - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-sm { - --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.shadow-xl { - --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.outline-none { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.outline { - outline-style: solid; -} - -.ring-1 { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.ring-black { - --tw-ring-opacity: 1; - --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity)); -} - -.ring-opacity-5 { - --tw-ring-opacity: 0.05; -} - -.blur { - --tw-blur: blur(8px); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.invert { - --tw-invert: invert(100%); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.filter { - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.transition { - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.transition-opacity { - transition-property: opacity; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.transition-transform { - transition-property: transform; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.duration-100 { - transition-duration: 100ms; -} - -.duration-150 { - transition-duration: 150ms; -} - -.duration-200 { - transition-duration: 200ms; -} - -.duration-300 { - transition-duration: 300ms; -} - -.duration-500 { - transition-duration: 500ms; -} - -.ease-in { - transition-timing-function: cubic-bezier(0.4, 0, 1, 1); -} - -.ease-out { - transition-timing-function: cubic-bezier(0, 0, 0.2, 1); -} - -.hover\:rotate-6:hover { - --tw-rotate: 6deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:scale-110:hover { - --tw-scale-x: 1.1; - --tw-scale-y: 1.1; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:scale-125:hover { - --tw-scale-x: 1.25; - --tw-scale-y: 1.25; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:scale-150:hover { - --tw-scale-x: 1.5; - --tw-scale-y: 1.5; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:scale-y-125:hover { - --tw-scale-y: 1.25; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.hover\:border-gray-400:hover { - --tw-border-opacity: 1; - border-color: rgb(156 163 175 / var(--tw-border-opacity)); -} - -.hover\:border-yellow-300:hover { - --tw-border-opacity: 1; - border-color: rgb(253 224 71 / var(--tw-border-opacity)); -} - -.hover\:border-opacity-20:hover { - --tw-border-opacity: 0.2; -} - -.hover\:bg-bg:hover { - --tw-bg-opacity: 1; - background-color: rgb(55 56 56 / var(--tw-bg-opacity)); -} - -.hover\:bg-black:hover { - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); -} - -.hover\:bg-black-200:hover { - --tw-bg-opacity: 1; - background-color: rgb(85 85 85 / var(--tw-bg-opacity)); -} - -.hover\:bg-black-400:hover { - --tw-bg-opacity: 1; - background-color: rgb(51 51 51 / var(--tw-bg-opacity)); -} - -.hover\:bg-error:hover { - --tw-bg-opacity: 1; - background-color: rgb(255 82 82 / var(--tw-bg-opacity)); -} - -.hover\:bg-gray-300:hover { - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - -.hover\:bg-primary:hover { - --tw-bg-opacity: 1; - background-color: rgb(35 35 35 / var(--tw-bg-opacity)); -} - -.hover\:bg-primary\/60:hover { - background-color: rgb(35 35 35 / 0.6); -} - -.hover\:bg-white:hover { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.hover\:bg-white\/10:hover { - background-color: rgb(255 255 255 / 0.1); -} - -.hover\:bg-white\/5:hover { - background-color: rgb(255 255 255 / 0.05); -} - -.hover\:bg-yellow-300:hover { - --tw-bg-opacity: 1; - background-color: rgb(253 224 71 / var(--tw-bg-opacity)); -} - -.hover\:bg-opacity-10:hover { - --tw-bg-opacity: 0.1; -} - -.hover\:bg-opacity-25:hover { - --tw-bg-opacity: 0.25; -} - -.hover\:bg-opacity-30:hover { - --tw-bg-opacity: 0.3; -} - -.hover\:bg-opacity-40:hover { - --tw-bg-opacity: 0.4; -} - -.hover\:bg-opacity-5:hover { - --tw-bg-opacity: 0.05; -} - -.hover\:bg-opacity-60:hover { - --tw-bg-opacity: 0.6; -} - -.hover\:text-blue-300:hover { - --tw-text-opacity: 1; - color: rgb(147 197 253 / var(--tw-text-opacity)); -} - -.hover\:text-error:hover { - --tw-text-opacity: 1; - color: rgb(255 82 82 / var(--tw-text-opacity)); -} - -.hover\:text-gray-100:hover { - --tw-text-opacity: 1; - color: rgb(243 244 246 / var(--tw-text-opacity)); -} - -.hover\:text-gray-200:hover { - --tw-text-opacity: 1; - color: rgb(229 231 235 / var(--tw-text-opacity)); -} - -.hover\:text-gray-300:hover { - --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); -} - -.hover\:text-gray-50:hover { - --tw-text-opacity: 1; - color: rgb(249 250 251 / var(--tw-text-opacity)); -} - -.hover\:text-red-400:hover { - --tw-text-opacity: 1; - color: rgb(248 113 113 / var(--tw-text-opacity)); -} - -.hover\:text-success:hover { - --tw-text-opacity: 1; - color: rgb(76 175 80 / var(--tw-text-opacity)); -} - -.hover\:text-warning:hover { - --tw-text-opacity: 1; - color: rgb(251 140 0 / var(--tw-text-opacity)); -} - -.hover\:text-white:hover { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.hover\:text-white\/100:hover { - color: rgb(255 255 255 / 1); -} - -.hover\:text-white\/80:hover { - color: rgb(255 255 255 / 0.8); -} - -.hover\:text-yellow-300:hover { - --tw-text-opacity: 1; - color: rgb(253 224 71 / var(--tw-text-opacity)); -} - -.hover\:text-yellow-400:hover { - --tw-text-opacity: 1; - color: rgb(250 204 21 / var(--tw-text-opacity)); -} - -.hover\:text-yellow-500:hover { - --tw-text-opacity: 1; - color: rgb(234 179 8 / var(--tw-text-opacity)); -} - -.hover\:text-opacity-100:hover { - --tw-text-opacity: 1; -} - -.hover\:text-opacity-90:hover { - --tw-text-opacity: 0.9; -} - -.hover\:text-opacity-95:hover { - --tw-text-opacity: 0.95; -} - -.hover\:underline:hover { - text-decoration-line: underline; -} - -.hover\:opacity-100:hover { - opacity: 1; -} - -.focus\:border-gray-300:focus { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); -} - -.focus\:border-gray-500:focus { - --tw-border-opacity: 1; - border-color: rgb(107 114 128 / var(--tw-border-opacity)); -} - -.focus\:border-opacity-100:focus { - --tw-border-opacity: 1; -} - -.focus\:bg-bg:focus { - --tw-bg-opacity: 1; - background-color: rgb(55 56 56 / var(--tw-bg-opacity)); -} - -.focus\:outline-none:focus { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.group:hover .group-hover\:opacity-100 { - opacity: 1; -} - -.group:hover .group-hover\:opacity-30 { - opacity: 0.3; -} - -.group:hover .group-hover\:brightness-75 { - --tw-brightness: brightness(.75); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.data-\[type\=comic\]\:hidden[data-type=comic] { - display: none; -} - -.data-\[theme\=dark\]\:bg-primary[data-theme=dark] { - --tw-bg-opacity: 1; - background-color: rgb(35 35 35 / var(--tw-bg-opacity)); -} - -.data-\[theme\=light\]\:bg-white[data-theme=light] { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.data-\[theme\=dark\]\:text-white[data-theme=dark] { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.data-\[theme\=light\]\:text-black[data-theme=light] { - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -.group[data-theme=dark] .group-data-\[theme\=dark\]\:bg-primary { - --tw-bg-opacity: 1; - background-color: rgb(35 35 35 / var(--tw-bg-opacity)); -} - -.group[data-theme=light] .group-data-\[theme\=light\]\:bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.group[data-theme=dark] .group-data-\[theme\=dark\]\:text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.group[data-theme=light] .group-data-\[theme\=light\]\:text-black { - --tw-text-opacity: 1; - color: rgb(0 0 0 / var(--tw-text-opacity)); -} - -@media (min-width: 640px) { - .sm\:left-20 { - left: 5rem; - } - - .sm\:left-32 { - left: 8rem; - } - - .sm\:left-8 { - left: 2rem; - } - - .sm\:right-16 { - right: 4rem; - } - - .sm\:right-40 { - right: 10rem; - } - - .sm\:mx-2 { - margin-left: 0.5rem; - margin-right: 0.5rem; - } - - .sm\:mb-0 { - margin-bottom: 0px; - } - - .sm\:ml-2 { - margin-left: 0.5rem; - } - - .sm\:ml-3 { - margin-left: 0.75rem; - } - - .sm\:ml-4 { - margin-left: 1rem; - } - - .sm\:ml-8 { - margin-left: 2rem; - } - - .sm\:mr-0 { - margin-right: 0px; - } - - .sm\:mr-1 { - margin-right: 0.25rem; - } - - .sm\:mr-1\.5 { - margin-right: 0.375rem; - } - - .sm\:mr-2 { - margin-right: 0.5rem; - } - - .sm\:mr-4 { - margin-right: 1rem; - } - - .sm\:mt-5 { - margin-top: 1.25rem; - } - - .sm\:block { - display: block; - } - - .sm\:inline-block { - display: inline-block; - } - - .sm\:flex { - display: flex; - } - - .sm\:inline-flex { - display: inline-flex; - } - - .sm\:table-cell { - display: table-cell; - } - - .sm\:\!hidden { - display: none !important; - } - - .sm\:hidden { - display: none; - } - - .sm\:h-10 { - height: 2.5rem; - } - - .sm\:h-\[200px\] { - height: 200px; - } - - .sm\:max-h-80 { - max-height: 20rem; - } - - .sm\:w-1\/2 { - width: 50%; - } - - .sm\:w-10 { - width: 2.5rem; - } - - .sm\:w-28 { - width: 7rem; - } - - .sm\:w-32 { - width: 8rem; - } - - .sm\:w-40 { - width: 10rem; - } - - .sm\:w-44 { - width: 11rem; - } - - .sm\:w-48 { - width: 12rem; - } - - .sm\:w-80 { - width: 20rem; - } - - .sm\:w-full { - width: 100%; - } - - .sm\:min-w-10 { - min-width: 2.5rem; - } - - .sm\:min-w-32 { - min-width: 8rem; - } - - .sm\:min-w-64 { - min-width: 16rem; - } - - .sm\:max-w-48 { - max-width: 12rem; - } - - .sm\:max-w-80 { - max-width: 20rem; - } - - .sm\:flex-grow-0 { - flex-grow: 0; - } - - .sm\:flex-row { - flex-direction: row; - } - - .sm\:flex-nowrap { - flex-wrap: nowrap; - } - - .sm\:items-center { - align-items: center; - } - - .sm\:justify-start { - justify-content: flex-start; - } - - .sm\:overflow-y-scroll { - overflow-y: scroll; - } - - .sm\:p-4 { - padding: 1rem; - } - - .sm\:p-6 { - padding: 1.5rem; - } - - .sm\:px-0 { - padding-left: 0px; - padding-right: 0px; - } - - .sm\:px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; - } - - .sm\:px-4 { - padding-left: 1rem; - padding-right: 1rem; - } - - .sm\:px-8 { - padding-left: 2rem; - padding-right: 2rem; - } - - .sm\:py-0 { - padding-top: 0px; - padding-bottom: 0px; - } - - .sm\:pl-1 { - padding-left: 0.25rem; - } - - .sm\:pl-1\.5 { - padding-left: 0.375rem; - } - - .sm\:pl-16 { - padding-left: 4rem; - } - - .sm\:pl-2 { - padding-left: 0.5rem; - } - - .sm\:pl-24 { - padding-left: 6rem; - } - - .sm\:pl-4 { - padding-left: 1rem; - } - - .sm\:pr-1 { - padding-right: 0.25rem; - } - - .sm\:pr-2 { - padding-right: 0.5rem; - } - - .sm\:pt-0 { - padding-top: 0px; - } - - .sm\:text-2xl { - font-size: 1.5rem; - line-height: 2rem; - } - - .sm\:text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; - } - - .sm\:text-base { - font-size: 1rem; - line-height: 1.5rem; - } - - .sm\:text-lg { - font-size: 1.125rem; - line-height: 1.75rem; - } - - .sm\:text-sm { - font-size: 0.875rem; - line-height: 1.25rem; - } - - .sm\:text-xl { - font-size: 1.25rem; - line-height: 1.75rem; - } - - .sm\:text-xs { - font-size: 0.75rem; - line-height: 1rem; - } -} - -@media (min-width: 768px) { - .md\:absolute { - position: absolute; - } - - .md\:-right-0 { - right: -0px; - } - - .md\:left-8 { - left: 2rem; - } - - .md\:right-0 { - right: 0px; - } - - .md\:right-5 { - right: 1.25rem; - } - - .md\:top-0 { - top: 0px; - } - - .md\:top-5 { - top: 1.25rem; - } - - .md\:mx-0 { - margin-left: 0px; - margin-right: 0px; - } - - .md\:mb-0 { - margin-bottom: 0px; - } - - .md\:ml-3 { - margin-left: 0.75rem; - } - - .md\:ml-4 { - margin-left: 1rem; - } - - .md\:ml-5 { - margin-left: 1.25rem; - } - - .md\:mr-4 { - margin-right: 1rem; - } - - .md\:mt-0 { - margin-top: 0px; - } - - .md\:\!block { - display: block !important; - } - - .md\:block { - display: block; - } - - .md\:inline-block { - display: inline-block; - } - - .md\:inline { - display: inline; - } - - .md\:flex { - display: flex; - } - - .md\:table-cell { - display: table-cell; - } - - .md\:\!hidden { - display: none !important; - } - - .md\:hidden { - display: none; - } - - .md\:h-10 { - height: 2.5rem; - } - - .md\:h-12 { - height: 3rem; - } - - .md\:h-20 { - height: 5rem; - } - - .md\:h-24 { - height: 6rem; - } - - .md\:h-7 { - height: 1.75rem; - } - - .md\:h-\[5\.5rem\] { - height: 5.5rem; - } - - .md\:h-\[800px\] { - height: 800px; - } - - .md\:h-full { - height: 100%; - } - - .md\:w-1\/2 { - width: 50%; - } - - .md\:w-1\/3 { - width: 33.333333%; - } - - .md\:w-1\/4 { - width: 25%; - } - - .md\:w-12 { - width: 3rem; - } - - .md\:w-16 { - width: 4rem; - } - - .md\:w-18 { - width: 4.5rem; - } - - .md\:w-2\/3 { - width: 66.666667%; - } - - .md\:w-20 { - width: 5rem; - } - - .md\:w-24 { - width: 6rem; - } - - .md\:w-28 { - width: 7rem; - } - - .md\:w-3\/4 { - width: 75%; - } - - .md\:w-32 { - width: 8rem; - } - - .md\:w-40 { - width: 10rem; - } - - .md\:w-48 { - width: 12rem; - } - - .md\:w-52 { - width: 13rem; - } - - .md\:w-56 { - width: 14rem; - } - - .md\:w-7 { - width: 1.75rem; - } - - .md\:w-72 { - width: 18rem; - } - - .md\:w-auto { - width: auto; - } - - .md\:w-fit { - width: -moz-fit-content; - width: fit-content; - } - - .md\:min-w-12 { - min-width: 3rem; - } - - .md\:min-w-20 { - min-width: 5rem; - } - - .md\:min-w-24 { - min-width: 6rem; - } - - .md\:min-w-32 { - min-width: 8rem; - } - - .md\:min-w-80 { - min-width: 20rem; - } - - .md\:max-w-16 { - max-width: 4rem; - } - - .md\:max-w-20 { - max-width: 5rem; - } - - .md\:max-w-md { - max-width: 28rem; - } - - .md\:flex-grow { - flex-grow: 1; - } - - .md\:flex-row { - flex-direction: row; - } - - .md\:flex-nowrap { - flex-wrap: nowrap; - } - - .md\:items-center { - align-items: center; - } - - .md\:justify-start { - justify-content: flex-start; - } - - .md\:bg-opacity-70 { - --tw-bg-opacity: 0.7; - } - - .md\:p-12 { - padding: 3rem; - } - - .md\:p-4 { - padding: 1rem; - } - - .md\:p-6 { - padding: 1.5rem; - } - - .md\:p-8 { - padding: 2rem; - } - - .md\:px-0 { - padding-left: 0px; - padding-right: 0px; - } - - .md\:px-10 { - padding-left: 2.5rem; - padding-right: 2.5rem; - } - - .md\:px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; - } - - .md\:px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem; - } - - .md\:px-4 { - padding-left: 1rem; - padding-right: 1rem; - } - - .md\:px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - - .md\:px-8 { - padding-left: 2rem; - padding-right: 2rem; - } - - .md\:py-0 { - padding-top: 0px; - padding-bottom: 0px; - } - - .md\:py-4 { - padding-top: 1rem; - padding-bottom: 1rem; - } - - .md\:py-6 { - padding-top: 1.5rem; - padding-bottom: 1.5rem; - } - - .md\:pl-3 { - padding-left: 0.75rem; - } - - .md\:pl-4 { - padding-left: 1rem; - } - - .md\:pl-6 { - padding-left: 1.5rem; - } - - .md\:pr-10 { - padding-right: 2.5rem; - } - - .md\:pr-2 { - padding-right: 0.5rem; - } - - .md\:pr-4 { - padding-right: 1rem; - } - - .md\:pt-6 { - padding-top: 1.5rem; - } - - .md\:text-2xl { - font-size: 1.5rem; - line-height: 2rem; - } - - .md\:text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; - } - - .md\:text-4xl { - font-size: 2.25rem; - line-height: 2.5rem; - } - - .md\:text-5xl { - font-size: 3rem; - line-height: 1; - } - - .md\:text-base { - font-size: 1rem; - line-height: 1.5rem; - } - - .md\:text-lg { - font-size: 1.125rem; - line-height: 1.75rem; - } - - .md\:text-sm { - font-size: 0.875rem; - line-height: 1.25rem; - } - - .md\:text-xl { - font-size: 1.25rem; - line-height: 1.75rem; - } -} - -@media (min-width: 1024px) { - .lg\:left-4 { - left: 1rem; - } - - .lg\:right-2 { - right: 0.5rem; - } - - .lg\:right-5 { - right: 1.25rem; - } - - .lg\:top-0 { - top: 0px; - } - - .lg\:top-5 { - top: 1.25rem; - } - - .lg\:mx-2 { - margin-left: 0.5rem; - margin-right: 0.5rem; - } - - .lg\:mx-8 { - margin-left: 2rem; - margin-right: 2rem; - } - - .lg\:-mt-40 { - margin-top: -10rem; - } - - .lg\:mb-0 { - margin-bottom: 0px; - } - - .lg\:ml-8 { - margin-left: 2rem; - } - - .lg\:mr-8 { - margin-right: 2rem; - } - - .lg\:block { - display: block; - } - - .lg\:flex { - display: flex; - } - - .lg\:table-cell { - display: table-cell; - } - - .lg\:h-18 { - height: 4.5rem; - } - - .lg\:h-40 { - height: 10rem; - } - - .lg\:w-1\/3 { - width: 33.333333%; - } - - .lg\:w-18 { - width: 4.5rem; - } - - .lg\:w-52 { - width: 13rem; - } - - .lg\:scale-100 { - --tw-scale-x: 1; - --tw-scale-y: 1; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); - } - - .lg\:flex-row { - flex-direction: row; - } - - .lg\:p-4 { - padding: 1rem; - } - - .lg\:p-5 { - padding: 1.25rem; - } - - .lg\:p-8 { - padding: 2rem; - } - - .lg\:px-4 { - padding-left: 1rem; - padding-right: 1rem; - } - - .lg\:py-0 { - padding-top: 0px; - padding-bottom: 0px; - } - - .lg\:pb-2 { - padding-bottom: 0.5rem; - } - - .lg\:pb-4 { - padding-bottom: 1rem; - } - - .lg\:pt-0 { - padding-top: 0px; - } - - .lg\:text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; - } - - .lg\:text-4xl { - font-size: 2.25rem; - line-height: 2.5rem; - } - - .lg\:text-6xl { - font-size: 3.75rem; - line-height: 1; - } - - .lg\:text-xl { - font-size: 1.25rem; - line-height: 1.75rem; - } -} - -@media (min-width: 1280px) { - .xl\:table-cell { - display: table-cell; - } -} - -@media (min-width: 768px) { - @media (orientation: portrait) { - .md\:portrait\:right-5 { - right: 1.25rem; - } - - .md\:portrait\:top-5 { - top: 1.25rem; - } - - .md\:portrait\:p-5 { - padding: 1.25rem; - } - - .md\:portrait\:text-3xl { - font-size: 1.875rem; - line-height: 2.25rem; - } - - .md\:portrait\:text-4xl { - font-size: 2.25rem; - line-height: 2.5rem; - } - } -} - -@media (orientation: landscape) { - .landscape\:right-4 { - right: 1rem; - } - - .landscape\:top-4 { - top: 1rem; - } - - .landscape\:px-4 { - padding-left: 1rem; - padding-right: 1rem; - } - - .landscape\:py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; - } - - .landscape\:text-2xl { - font-size: 1.5rem; - line-height: 2rem; - } -} - -@media (min-width: 768px) { - @media (orientation: landscape) { - .md\:landscape\:text-lg { - font-size: 1.125rem; - line-height: 1.75rem; - } - } -} \ No newline at end of file diff --git a/client/cypress/tests/components/cards/LazyBookCard.cy.js b/client/cypress/tests/components/cards/LazyBookCard.cy.js index 52a1f00b..c39c0302 100644 --- a/client/cypress/tests/components/cards/LazyBookCard.cy.js +++ b/client/cypress/tests/components/cards/LazyBookCard.cy.js @@ -11,7 +11,7 @@ function createMountOptions() { mediaType: 'book', media: { id: 'book1', - metadata: { title: 'The Fellowship of the Ring', titleIgnorePrefix: 'Fellowship of the Ring', authorName: 'J. R. R. Tolkien' }, + metadata: { title: 'The Fellowship of the Ring', titleIgnorePrefix: 'Fellowship of the Ring', authorName: 'J. R. R. Tolkien', subtitle: 'The Lord of the Rings, Book 1' }, numTracks: 1 } } @@ -138,6 +138,16 @@ describe('LazyBookCard', () => { }) }) + it('shows subtitle when showSubtitles settings is true', () => { + mountOptions.mocks.$store.getters['user/getUserSetting'] = (settingName) => { + if (settingName === 'showSubtitles') return true + } + cy.mount(LazyBookCard, mountOptions) + + cy.get('&titleImageNotReady').should('be.hidden') + cy.get('&subtitle').should('be.visible').and('have.text', 'The Lord of the Rings, Book 1') + }) + it('shows overlay on mouseover', () => { cy.mount(LazyBookCard, mountOptions) cy.get('#book-card-0').trigger('mouseover') diff --git a/client/store/user.js b/client/store/user.js index 70746bc1..3555d63e 100644 --- a/client/store/user.js +++ b/client/store/user.js @@ -8,6 +8,7 @@ export const state = () => ({ bookshelfCoverSize: 120, collapseSeries: false, collapseBookSeries: false, + showSubtitles: false, useChapterTrack: false, seriesSortBy: 'name', seriesSortDesc: false, diff --git a/client/strings/en-us.json b/client/strings/en-us.json index b9b9b5de..f713cb11 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -59,6 +59,7 @@ "ButtonPurgeItemsCache": "Purge Items Cache", "ButtonQueueAddItem": "Add to queue", "ButtonQueueRemoveItem": "Remove from queue", + "ButtonQuickEmbedMetadata": "Quick Embed Metadata", "ButtonQuickMatch": "Quick Match", "ButtonReScan": "Re-Scan", "ButtonRead": "Read", @@ -293,9 +294,11 @@ "LabelEpisodeTitle": "Episode Title", "LabelEpisodeType": "Episode Type", "LabelExample": "Example", + "LabelExpandSeries": "Expand Series", "LabelExplicit": "Explicit", "LabelExplicitChecked": "Explicit (checked)", "LabelExplicitUnchecked": "Not Explicit (unchecked)", + "LabelExportOPML": "Export OPML", "LabelFeedURL": "Feed URL", "LabelFetchingMetadata": "Fetching Metadata", "LabelFile": "File", @@ -319,6 +322,7 @@ "LabelHardDeleteFile": "Hard delete file", "LabelHasEbook": "Has ebook", "LabelHasSupplementaryEbook": "Has supplementary ebook", + "LabelHideSubtitles": "Hide Subtitles", "LabelHighestPriority": "Highest priority", "LabelHost": "Host", "LabelHour": "Hour", @@ -446,6 +450,7 @@ "LabelRSSFeedPreventIndexing": "Prevent Indexing", "LabelRSSFeedSlug": "RSS Feed Slug", "LabelRSSFeedURL": "RSS Feed URL", + "LabelReAddSeriesToContinueListening": "Re-add series to Continue Listening", "LabelRead": "Read", "LabelReadAgain": "Read Again", "LabelReadEbookWithoutProgress": "Read ebook without keeping progress", @@ -516,6 +521,7 @@ "LabelShareURL": "Share URL", "LabelShowAll": "Show All", "LabelShowSeconds": "Show seconds", + "LabelShowSubtitles": "Show Subtitles", "LabelSize": "Size", "LabelSleepTimer": "Sleep timer", "LabelSlug": "Slug",