1
0
Fork 0

Main preloader

This commit is contained in:
magnolia-fan 2011-09-09 11:41:45 +04:00
parent f9ada4d143
commit 2a54f2b6b6
5 changed files with 26 additions and 52 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -26,9 +26,6 @@ class window.Vkontakte
_session = new Session(response.session) _session = new Session(response.session)
$('#vk_login, .auth-notice').hide() $('#vk_login, .auth-notice').hide()
$('#vk_logout').css display: 'block'
$('#search_field').focus() if $('#search_field').length > 0
_session.query '/user/auth', {}, (ar) -> _session.query '/user/auth', {}, (ar) ->
if ar.newbie if ar.newbie

View File

@ -3,7 +3,7 @@
*= require bootstrap *= require bootstrap
*= require header *= require header
* require common *= require common
*= require misc *= require misc
*= require albums *= require albums

View File

@ -1,50 +1,23 @@
* { @import "opacity";
margin: 0;
padding: 0;
border: none;
}
html, body { .fullscreen {
overflow: hidden; position: fixed;
} z-index: 999999;
top: 0;
body { left: 0;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
cursor: default;
min-width: 1000px;
width: 100%; width: 100%;
height: 100%;
background-color: #ffffff;
@include opacity(0.9);
.inner {
position: relative;
top: 50%;
left: 50%;
margin: -32px 0 0 -32px;
}
} }
.header-container { .artist-loader {
margin-right: 350px;
}
.player-container {
width: 350px;
height: 600px;
float: right; float: right;
background-color: #222; margin: -26px 0 0 10px;
}
.data-container {
width: auto;
margin-right: 350px;
overflow-y: auto;
min-width: 650px;
}
.player {
width: 100%;
height: 120px;
}
.playlist {
width: 100%;
overflow-y: auto;
}
.subpages {
display: none;
} }

View File

@ -23,6 +23,8 @@
%a.about{ :href => "#/about/" } About %a.about{ :href => "#/about/" } About
%form{ :action => "" } %form{ :action => "" }
%input#search{ :type => "text", :placeholder => "Search" } %input#search{ :type => "text", :placeholder => "Search" }
.artist-loader
= image_tag "artist_loader.gif"
%ul.nav.secondary-nav %ul.nav.secondary-nav
%li.dropdown %li.dropdown
%a.dropdown-toggle{ :href => "#" } chez %a.dropdown-toggle{ :href => "#" } chez
@ -81,7 +83,9 @@
.fullscreen .fullscreen
.inner .inner
= image_tag "loader" = image_tag "loader.gif"
#vk_api_transport
<!-- Yandex.Metrika counter --> <!-- Yandex.Metrika counter -->