This commit is contained in:
parent
97f4ac5060
commit
31ff9f6156
|
@ -1791,6 +1791,7 @@
|
||||||
else{
|
else{
|
||||||
ui.arena.classList.remove('lslim_player');
|
ui.arena.classList.remove('lslim_player');
|
||||||
}
|
}
|
||||||
|
ui.window.dataset.player_border=item;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
control_style:{
|
control_style:{
|
||||||
|
@ -34573,6 +34574,7 @@
|
||||||
if(lib.config.player_border=='normal'&&lib.config.mode!='brawl'&&(game.layout=='long'||game.layout=='long2')){
|
if(lib.config.player_border=='normal'&&lib.config.mode!='brawl'&&(game.layout=='long'||game.layout=='long2')){
|
||||||
ui.arena.classList.add('lslim_player');
|
ui.arena.classList.add('lslim_player');
|
||||||
}
|
}
|
||||||
|
ui.window.dataset.player_border=lib.config.player_border;
|
||||||
if(lib.config.compatiblemode){
|
if(lib.config.compatiblemode){
|
||||||
ui.window.classList.add('compatiblemode');
|
ui.window.classList.add('compatiblemode');
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,25 +8,25 @@
|
||||||
z-index:1;
|
z-index:1;
|
||||||
overflow-x:scroll;
|
overflow-x:scroll;
|
||||||
}
|
}
|
||||||
#window[data-radius_size='reduce'] #bosslist.slim>.player{
|
#window[data-radius_size='reduce'] #bosslist>.player{
|
||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
}
|
}
|
||||||
#window[data-radius_size='off'] #bosslist.slim>.player{
|
#window[data-radius_size='off'] #bosslist>.player{
|
||||||
border-radius:0px;
|
border-radius:0px;
|
||||||
}
|
}
|
||||||
#window[data-radius_size='increase'] #bosslist.slim>.player{
|
#window[data-radius_size='increase'] #bosslist>.player{
|
||||||
border-radius:20px;
|
border-radius:20px;
|
||||||
}
|
}
|
||||||
#bosslist.slim>.player{
|
#window #bosslist>.player{
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
#bosslist.slim>.player>.avatar{
|
#window[data-player_border='normal'] #bosslist>.player>.avatar{
|
||||||
left: 8px;
|
left: 8px;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
width: 164px;
|
width: 164px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
#bosslist.slim.uslim>.player>.avatar{
|
#window[data-player_border='slim'] #bosslist>.player>.avatar{
|
||||||
left: 4px;
|
left: 4px;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
width: 172px;
|
width: 172px;
|
||||||
|
|
|
@ -16,6 +16,12 @@
|
||||||
left:7px;
|
left:7px;
|
||||||
top:7px;
|
top:7px;
|
||||||
}
|
}
|
||||||
|
#window[data-player_border='slim']>.player:not(.minskin):not(.fakeme).connect>.avatar{
|
||||||
|
width: 142px;
|
||||||
|
height: 172px;
|
||||||
|
left:4px;
|
||||||
|
top:4px;
|
||||||
|
}
|
||||||
#arena.uslim_player .player:not(.minskin):not(.fakeme) .avatar{
|
#arena.uslim_player .player:not(.minskin):not(.fakeme) .avatar{
|
||||||
width: 144px;
|
width: 144px;
|
||||||
height: 174px;
|
height: 174px;
|
||||||
|
|
|
@ -52,12 +52,6 @@ game.import('mode',function(){
|
||||||
game.delay(0.1);
|
game.delay(0.1);
|
||||||
"step 1"
|
"step 1"
|
||||||
var bosslist=ui.create.div('#bosslist.hidden');
|
var bosslist=ui.create.div('#bosslist.hidden');
|
||||||
if(lib.config.player_border!='wide'){
|
|
||||||
if(lib.config.player_border=='slim'){
|
|
||||||
bosslist.classList.add('uslim');
|
|
||||||
}
|
|
||||||
bosslist.classList.add('slim');
|
|
||||||
}
|
|
||||||
event.bosslist=bosslist;
|
event.bosslist=bosslist;
|
||||||
bosslist.ontouchmove = ui.click.touchScroll;
|
bosslist.ontouchmove = ui.click.touchScroll;
|
||||||
bosslist.style.WebkitOverflowScrolling='touch';
|
bosslist.style.WebkitOverflowScrolling='touch';
|
||||||
|
|
Loading…
Reference in New Issue