diff --git a/src/renderer/style.less b/src/renderer/style.less index 5b95c1a2..4f63bc32 100644 --- a/src/renderer/style.less +++ b/src/renderer/style.less @@ -863,6 +863,13 @@ input[type=range].web-slider::-webkit-slider-runnable-track { } .app-chrome .app-chrome-item.volume > input[type=range]::-webkit-slider-thumb { + -webkit-appearance: none; + height: 14px; + width: 14px; + border-radius: 50%; + background: rgb(50 50 50); + cursor: default; + box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4); transition: all var(--appleTransition); } @@ -876,10 +883,6 @@ input[type=range].web-slider::-webkit-slider-runnable-track { transform: scale(1); } -.app-chrome .app-chrome-item.volume > input[type=range] { - width: 100%; -} - .app-chrome .app-chrome-item.volume > input[type=range] { -webkit-appearance: none; height: 4px; @@ -887,16 +890,7 @@ input[type=range].web-slider::-webkit-slider-runnable-track { border-radius: 5px; background-size: 70% 100%; background-repeat: no-repeat; -} - -.app-chrome .app-chrome-item.volume > input[type=range]::-webkit-slider-thumb { - -webkit-appearance: none; - height: 14px; - width: 14px; - border-radius: 50%; - background: rgb(50 50 50); - cursor: default; - box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4); + width: 100%, } .app-chrome .app-chrome-item.volume > input[type=range]::-webkit-slider-runnable-track { @@ -1014,6 +1008,15 @@ input[type=range].web-slider::-webkit-slider-runnable-track { //margin-bottom: -3px; } } + + .explicit-icon { + background-image: url("./assets/explicit.svg"); + height: 12px; + width: 36px; + filter: contrast(0); + background-repeat: no-repeat; + margin-left: 3px; + } } .app-chrome .app-chrome-item > .app-playback-controls .song-duration p { @@ -1201,7 +1204,57 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb { /* Window is smaller <= 1023px width */ @media only screen and (max-width: 1023px) { .display--small { - display: inherit !important; + display: inherit !important;; + + .slider { + width: 100%; + z-index: 1; + } + + .input-container { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + padding-bottom: 10px; + } + + input[type=range] { + -webkit-appearance: none; + height: 4px; + background: rgba(255, 255, 255, 0.4); + border-radius: 5px; + background-size: 70% 100%; + background-repeat: no-repeat; + + &::-webkit-slider-thumb { + -webkit-appearance: none; + height: 14px; + width: 14px; + border-radius: 50%; + background: rgb(50 50 50); + cursor: default; + box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4); + transition: all var(--appleTransition); + } + + &::-webkit-slider-thumb:hover { + background-image: radial-gradient(var(--keyColor) 2px, transparent 3px, transparent 10px); + transform: scale(1.2); + } + + &::-webkit-slider-thumb:active { + background-image: radial-gradient(var(--keyColor) 3px, transparent 4px, transparent 10px); + transform: scale(1); + } + + &::-webkit-slider-runnable-track { + -webkit-appearance: none; + box-shadow: none; + border: none; + background: transparent; + } + } } .display--large { diff --git a/src/renderer/views/components/mediaitem-square.ejs b/src/renderer/views/components/mediaitem-square.ejs index 041bd4fd..67fae157 100644 --- a/src/renderer/views/components/mediaitem-square.ejs +++ b/src/renderer/views/components/mediaitem-square.ejs @@ -2,8 +2,7 @@
+ :style="{'--spcolor': getBgColor()}">
+
+

No Results

+

Try a new search.

+
@@ -108,10 +112,10 @@ }, methods: { getTopResult() { - if (this.search.results["meta"]) { + try { return this.search.results[this.search.results.meta.results.order[0]]["data"][0] - } else { - return false; + } catch( error ) { + return false } }, async getCategories() {