1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

updated search hint icons

This commit is contained in:
Luke Pulverenti 2013-12-27 11:31:45 -05:00
parent e7a3a38b03
commit 68ab3acc3e
12 changed files with 17 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,4 +1,15 @@
.searchHints { .searchPanel {
min-width: 250px;
}
@media all and (min-width: 60px) {
.searchPanel {
min-width: 300px;
}
}
.searchHints {
margin-top: 1em; margin-top: 1em;
} }

View file

@ -97,27 +97,27 @@
} }
else if (hint.MediaType == "Game") { else if (hint.MediaType == "Game") {
imgUrl = "css/images/items/searchhints/game.png"; imgUrl = "css/images/items/searchhintsv2/game.png";
} }
else if (hint.Type == "Episode" || hint.Type == "Season" || hint.Type == "Series") { else if (hint.Type == "Episode" || hint.Type == "Season" || hint.Type == "Series") {
imgUrl = "css/images/items/searchhints/tv.png"; imgUrl = "css/images/items/searchhintsv2/tv.png";
} }
else if (hint.Type == "Audio" || hint.Type == "MusicAlbum" || hint.Type == "MusicArtist") { else if (hint.Type == "Audio" || hint.Type == "MusicAlbum" || hint.Type == "MusicArtist") {
imgUrl = "css/images/items/searchhints/music.png"; imgUrl = "css/images/items/searchhintsv2/music.png";
} }
else if (hint.Type == "Person") { else if (hint.Type == "Person") {
imgUrl = "css/images/items/searchhints/person.png"; imgUrl = "css/images/items/searchhintsv2/person.png";
} }
else { else {
imgUrl = "css/images/items/searchhints/film.png"; imgUrl = "css/images/items/searchhintsv2/film.png";
} }
html += '<img class="searchHintImage" src="' + imgUrl + '" />'; html += '<img class="searchHintImage" src="' + imgUrl + '" />';