lots of change
This commit is contained in:
1 parent
25ca29403c
commit
67d1f7ad08
25 files changed
+207
-37
No files matched your search
@@ -174,7 +174,7 @@ var orbitDesktop = function(dom){
|
||||
if(tile.data_category == "app")
|
||||
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><a href="" class="appicon"><img src="" alt=""></a><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
||||
else
|
||||
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><h1 class="appname thmtxt">'+tile.title+'</h1><div class="appholder">test content</div></li>');
|
||||
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><h1 class="appname thmtxt">'+tile.title+'</h1><div class="appholder">Loading...</div></li>');
|
||||
$group.find("ul").append($li);
|
||||
})
|
||||
$("div#group_wrapper").append($group);
|
||||
@@ -345,11 +345,23 @@ var orbitDesktop = function(dom){
|
||||
sections();
|
||||
break;
|
||||
}
|
||||
})
|
||||
$("ul#setting_left_nav li a").removeClass('thmc1 thmtxt').data('clicked',null);
|
||||
$(this).addClass('thmc1 thmtxt').data('clicked',true);
|
||||
});
|
||||
$("ul#setting_left_nav li a").hover(function(){
|
||||
$(this).removeClass('admtxt').addClass('thmc1 thmtxt');
|
||||
}, function(){
|
||||
var t = $(this).data('clicked') ? '' : 'thmc1 thmtxt';
|
||||
$(this).removeClass(t).addClass('admtxt');
|
||||
});
|
||||
}
|
||||
var sections = function(){
|
||||
var bindHandlers = function(){
|
||||
|
||||
$('.tinycanvas').each(function(){
|
||||
var h = $(this).parent().height(),
|
||||
sh = $(this).siblings('.s_tab').height();
|
||||
$(this).css({'height': h-sh-24}).tinyscrollbar({ axis: 'y'});
|
||||
});
|
||||
}
|
||||
$("div#panel_r").load("/desktop/settingsections",function(){
|
||||
bindHandlers();
|
||||
@@ -389,11 +401,8 @@ var orbitDesktop = function(dom){
|
||||
$('.theme_list li').hover(function(){
|
||||
$(this).addClass('thmc1').find('.theme_name').addClass('thmtxt');
|
||||
}, function(){
|
||||
var c = 'thmc1',
|
||||
t = 'thmtxt';
|
||||
if( $(this).data('clicked') ){
|
||||
t = '', c = '';
|
||||
}
|
||||
var c = $(this).data('clicked') ? '' : 'thmc1',
|
||||
t = $(this).data('clicked') ? '' : 'thmtxt';
|
||||
$(this).removeClass(c).find('.theme_name').removeClass(t);
|
||||
});
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@media only screen and (min-width: 1200px){
|
||||
@media only screen and (min-width: 1300px){
|
||||
|
||||
#panel_r.pw { width: 800px; }
|
||||
|
||||
}
|
||||
@media only screen and (min-width: 1900px){
|
||||
|
||||
#panel_r.pw { width: 1560px; }
|
||||
#panel_r.pw { width: 1400px; }
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user