minor update
This commit is contained in:
parent
425a320c02
commit
95e308e046
|
@ -867,9 +867,7 @@ var orbitDesktop = function(dom){
|
||||||
if(tile.data_category == "app")
|
if(tile.data_category == "app")
|
||||||
$li = $('<li data-id="'+tile.id+'" class="app" data-row="'+row+'" data-col="'+col+'" data-sizex="'+x+'" data-sizey="'+y+'" data-title="'+tile.title+'" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><a href="'+tile.data_content+'" class="appicon" onclick="return false;" data-url="'+tile.link+'"><img src="'+o.iconPath+tile.data_content+'.png" alt="" ></a><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
$li = $('<li data-id="'+tile.id+'" class="app" data-row="'+row+'" data-col="'+col+'" data-sizex="'+x+'" data-sizey="'+y+'" data-title="'+tile.title+'" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><a href="'+tile.data_content+'" class="appicon" onclick="return false;" data-url="'+tile.link+'"><img src="'+o.iconPath+tile.data_content+'.png" alt="" ></a><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
||||||
else
|
else
|
||||||
$li = $('<li data-id="'+tile.id+'" class="widget '+f+'" data-row="'+row+'" data-col="'+col+'" data-sizex="'+x+'" data-sizey="'+y+'" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'" js-link="'+tile.js[0].url+'" css-link="'+tile.css.url+'"><span class="tile '+tilecolor+' '+op+'"></span><div class="appholder"><div class="thmtxt all-loading"><i class="icon-spinner icon-spin"></i> Loading </div></div><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
$li = $('<li data-id="'+tile.id+'" class="widget '+f+'" data-row="'+row+'" data-col="'+col+'" data-sizex="'+x+'" data-sizey="'+y+'" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'" js-link="'+tile.js[0].url+'" css-link="'+tile.css.url+'"><span class="tile '+tilecolor+' '+op+'"></span><div class="appholder"><div class="thmtxt o-loading"><i class="icon-spinning icon-spinner"></i> Loading</div></div><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$ul.append($li);
|
$ul.append($li);
|
||||||
})
|
})
|
||||||
|
@ -1670,14 +1668,9 @@ var orbitDesktop = function(dom){
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
$('.sdm').hover(function(){
|
$('.sdm').hover(function(){
|
||||||
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
|
$(this).stop(1,1).addClass('thmc2 thmtxt');
|
||||||
}, function(){
|
}, function(){
|
||||||
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
|
$(this).stop(1,1).removeClass('thmc2 thmtxt');
|
||||||
});
|
|
||||||
$('.sdm').find('a').hover(function(){
|
|
||||||
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
|
|
||||||
}, function(){
|
|
||||||
$(this).stop(1,1).toggleClass('thmc2 thmtxt');
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -395,7 +395,8 @@ disabled look for disabled choices in the results dropdown
|
||||||
|
|
||||||
.select2-offscreen {
|
.select2-offscreen {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -10000px; }
|
left: -10000px;
|
||||||
|
top: 0; }
|
||||||
|
|
||||||
/* Retina-ize icons */
|
/* Retina-ize icons */
|
||||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
|
||||||
|
|
|
@ -425,6 +425,7 @@ disabled look for disabled choices in the results dropdown
|
||||||
.select2-offscreen {
|
.select2-offscreen {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -10000px;
|
left: -10000px;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Retina-ize icons */
|
/* Retina-ize icons */
|
||||||
|
|
Loading…
Reference in New Issue