Moving images

This commit is contained in:
magnolia-fan 2011-09-08 17:10:52 +04:00
parent 4f3bd75bfd
commit f9ada4d143
21 changed files with 7 additions and 77 deletions

View File

Before

Width:  |  Height:  |  Size: 272 KiB

After

Width:  |  Height:  |  Size: 272 KiB

View File

Before

Width:  |  Height:  |  Size: 921 B

After

Width:  |  Height:  |  Size: 921 B

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1003 B

After

Width:  |  Height:  |  Size: 1003 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -23,7 +23,7 @@ class window.Ajax
else else
_ajax.setArchor '/artist/' +name+ '/' _ajax.setArchor '/artist/' +name+ '/'
_pages.renderArtist data _pages.renderArtist data
_search.hideSpinner() #_search.hideSpinner()
false false
loadSearchPage: -> loadSearchPage: ->

View File

@ -37,6 +37,7 @@ class BeatHaven
window._settings = new Settings() window._settings = new Settings()
this.setupAutocomplete() this.setupAutocomplete()
window._ajax.detectPage()
false false

View File

@ -1,12 +1,8 @@
class window.Search class window.Search
pics: []
showSpinner: -> showSpinner: ->
$('#search').val("").attr(disabled: 'disabled').blur() $('#search').val("").attr(disabled: 'disabled').blur()
$('.search-container img').first().show()
$('#autocomplete-container').hide() $('#autocomplete-container').hide()
$('.artist_loading.failed').first().hide()
this.hideSuggestions() this.hideSuggestions()
false false

View File

@ -3,10 +3,8 @@
.artist-info { .artist-info {
margin-bottom: 20px; margin-bottom: 20px;
.pic { .pic {
height: 220px;
img { img {
max-width: 220px; max-width: 220px;
max-height: 220px;
} }
} }
.desc { .desc {

View File

@ -1,9 +0,0 @@
.playlist .artist-name {
margin-bottom: 4px;
font-size: 11px;
color: #888;
}

View File

@ -1,61 +0,0 @@
@import "rounded";
.pulldown {
display: none;
position: relative;
background-color: #ffffff;
border-top: #c0c0c0 1px solid;
border-bottom: #c0c0c0 1px solid;
margin-right: 350px;
padding: 25px;
.pd-spinner {
position: absolute;
left: 50%;
top: 50%;
width: 64px;
height: 64px;
margin: -32px 0 0 -32px;
}
/* Search */
.search-container {
.spinner, .artist_loading, .artist_pics, .suggestions {
display: none;
}
.spinner {
margin: 70px 0 0 171px;
}
.search_form {
.search_field {
width: 300px;
font-size: 24px;
padding: 4px;
border: #CCC 1px solid;
@include rounded(3);
}
}
}
}
.autocomplete {
margin: 4px 0 0 -1px;
div {
font-size: 24px;
padding: 6px 5px;
border-top: #BBB 1px solid;
margin-bottom: 1px;
&:first-child {
border: none;
}
&.selected {
background-color: #DDD;
}
}
}

View File

@ -79,6 +79,11 @@
Long Road to Ruin Long Road to Ruin
%td.song-duration 4:29 %td.song-duration 4:29
.fullscreen
.inner
= image_tag "loader"
<!-- Yandex.Metrika counter --> <!-- Yandex.Metrika counter -->
<script type="text/javascript">var yaParams = {};</script><div style="display:none;"><script type="text/javascript">(function(w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter7596904 = new Ya.Metrika({id:7596904, enableAll: true,params:window.yaParams||{ }}); } catch(e) { } }); })(window, "yandex_metrika_callbacks");</script></div><script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript" defer="defer"></script><noscript><div><img src="//mc.yandex.ru/watch/7596904" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <script type="text/javascript">var yaParams = {};</script><div style="display:none;"><script type="text/javascript">(function(w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter7596904 = new Ya.Metrika({id:7596904, enableAll: true,params:window.yaParams||{ }}); } catch(e) { } }); })(window, "yandex_metrika_callbacks");</script></div><script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript" defer="defer"></script><noscript><div><img src="//mc.yandex.ru/watch/7596904" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter --> <!-- /Yandex.Metrika counter -->