zindex fixes & empty home element
This commit is contained in:
1 parent
805aa3ca9f
commit
7268e02386
5 files changed
+8
-6
No files matched your search
@@ -509,7 +509,7 @@ var MovieList = new Class({
|
||||
checkIfEmpty: function(){
|
||||
var self = this;
|
||||
|
||||
var is_empty = self.movies.length == 0 && self.total_movies == 0;
|
||||
var is_empty = self.movies.length == 0 && (self.total_movies == 0 || self.total_movies === undefined);
|
||||
|
||||
if(self.title)
|
||||
self.title[is_empty ? 'hide' : 'show']()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
.movies {
|
||||
padding: 60px 0 20px;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.movies h2 {
|
||||
@@ -523,7 +524,7 @@
|
||||
.movies .alph_nav {
|
||||
transition: box-shadow .4s linear;
|
||||
position: fixed;
|
||||
z-index: 2;
|
||||
z-index: 4;
|
||||
top: 0;
|
||||
padding: 100px 60px 7px;
|
||||
width: 1080px;
|
||||
|
||||
@@ -80,7 +80,7 @@ var Movie = new Class({
|
||||
var self = this;
|
||||
self.mask = new Element('div.mask', {
|
||||
'styles': {
|
||||
'z-index': '1'
|
||||
'z-index': 4
|
||||
}
|
||||
}).inject(self.el, 'top').fade('hide');
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user