slim
This commit is contained in:
parent
1d3a745c83
commit
86c232b843
|
@ -1,8 +1,9 @@
|
|||
window.noname_update={
|
||||
version:'1.9.4.2',
|
||||
update:'1.9.4.1',
|
||||
version:'1.9.5',
|
||||
update:'1.9.5',
|
||||
changeLog:[
|
||||
'bug修复',
|
||||
'新外观选项',
|
||||
'塔防模式修复',
|
||||
],
|
||||
files:[
|
||||
'game/game.js',
|
||||
|
|
|
@ -13,12 +13,22 @@
|
|||
height: 206px !important;
|
||||
background-position: 50% !important;
|
||||
}
|
||||
#arena.uslim_player:not(.fewplayer)>.player:not(.minskin):not(*[data-position='0'])>.avatar,
|
||||
#arena.uslim_player:not(.fewplayer)>.player:not(.minskin):not(*[data-position='0'])>.avatar2{
|
||||
width: 114px !important;
|
||||
height: 214px !important;
|
||||
background-position: 50% !important;
|
||||
}
|
||||
#arena:not(.fewplayer)>.player.fullskin2:not(.minskin):not(*[data-position='0'])>.avatar,
|
||||
#arena:not(.fewplayer)>.player.fullskin2:not(.minskin):not(*[data-position='0'])>.avatar2{
|
||||
height: 103px !important;
|
||||
background-position: 0 0 !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
#arena.uslim_player:not(.fewplayer)>.player.fullskin2:not(.minskin):not(*[data-position='0'])>.avatar,
|
||||
#arena.uslim_player:not(.fewplayer)>.player.fullskin2:not(.minskin):not(*[data-position='0'])>.avatar2{
|
||||
height: 107px !important;
|
||||
}
|
||||
#window.reduce_radius #arena:not(.fewplayer)>.player.fullskin2:not(.minskin):not(*[data-position='0'])>.avatar,
|
||||
#window.reduce_radius #arena:not(.fewplayer)>.player.fullskin2:not(.minskin):not(*[data-position='0'])>.avatar2{
|
||||
border-radius: 4px !important;
|
||||
|
@ -28,6 +38,10 @@
|
|||
height: 124px !important;
|
||||
-webkit-clip-path: polygon(-10px -10px, 116px -10px, 116px 92px, 106px 92px, 0px 114px, -10px 114px);
|
||||
}
|
||||
#arena.uslim_player:not(.fewplayer)>.player.fullskin2:not(.minskin):not(.unseen2):not(*[data-position='0'])>.avatar{
|
||||
height: 128px !important;
|
||||
-webkit-clip-path: polygon(-10px -10px, 124px -10px, 124px 96px, 114px 96px, 0px 118px, -10px 118px);
|
||||
}
|
||||
#window.reduce_radius #arena:not(.fewplayer)>.player.fullskin2:not(.minskin):not(.unseen2):not(*[data-position='0'])>.avatar{
|
||||
border-radius: 4px 4px 0 0 !important;
|
||||
}
|
||||
|
@ -36,7 +50,12 @@
|
|||
top: 89px !important;
|
||||
height: 124px !important;
|
||||
background-position: 0 10px !important;
|
||||
-webkit-clip-path: polygon(-10px 32px, 0 32px, 106px 10px, 116px 10px, 116px 125px, -10px 125px);
|
||||
-webkit-clip-path: polygon(-10px 32px, 0 32px, 106px 10px, 116px 10px, 116px 134px, -10px 134px);
|
||||
}
|
||||
#arena.uslim_player:not(.fewplayer)>.player.fullskin2:not(.minskin):not(.unseen):not(*[data-position='0'])>.avatar2{
|
||||
top: 89px !important;
|
||||
height: 128px !important;
|
||||
-webkit-clip-path: polygon(-10px 32px, 0 32px, 114px 10px, 124px 10px, 124px 138px, -10px 138px);
|
||||
}
|
||||
#window.reduce_radius #arena:not(.fewplayer)>.player.fullskin2:not(.minskin):not(.unseen):not(*[data-position='0'])>.avatar2{
|
||||
border-radius: 0 0 4px 4px !important;
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
#arena.chess.slim_player .player .equips{
|
||||
left:7px;
|
||||
}
|
||||
#arena.uslim_player .player:not([data-position='0']) .equips,
|
||||
#arena.chess.uslim_player .player .equips{
|
||||
left:3px;
|
||||
}
|
||||
.player:not([data-position='0']).minskin .equips,
|
||||
#arena.chess .player.minskin .equips{
|
||||
transform:scale(0.73);
|
||||
|
@ -157,6 +161,10 @@
|
|||
#arena.chess.slim_player .player.linked .equips{
|
||||
transform:rotate(90deg) translate(-155px,-6px);
|
||||
}
|
||||
#arena.uslim_player .player:not([data-position='0']).linked .equips,
|
||||
#arena.chess.uslim_player .player.linked .equips{
|
||||
transform:rotate(90deg) translate(-159px,-6px);
|
||||
}
|
||||
.player:not([data-position='0']).minskin.linked .equips,
|
||||
#arena.chess .player.minskin.linked .equips{
|
||||
transform:rotate(90deg) translate(-92px,-6px) scale(0.73);
|
||||
|
@ -165,6 +173,10 @@
|
|||
#arena.chess.slim_player .player.minskin.linked .equips{
|
||||
transform:rotate(90deg) translate(-95px,-6px) scale(0.73);
|
||||
}
|
||||
#arena.uslim_player .player:not([data-position='0']).minskin.linked .equips,
|
||||
#arena.chess.uslim_player .player.minskin.linked .equips{
|
||||
transform:rotate(90deg) translate(-99px,-6px) scale(0.73);
|
||||
}
|
||||
.player:not([data-position='0']).linked div:not(.equips) .card,
|
||||
.player:not([data-position='0']).linked .identity,
|
||||
#arena.chess .player.linked div:not(.equips) .card,
|
||||
|
|
|
@ -221,6 +221,11 @@
|
|||
z-index: 3;
|
||||
text-align: right;
|
||||
}
|
||||
#arena.uslim_player .player:not([data-position='0'])>.count{
|
||||
z-index: 3;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
#arena:not(.chess) .player[data-position='0']>.hp.actcount{
|
||||
top:10px;
|
||||
left:2px;
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
#arena.slim_player .player .equips{
|
||||
left: 7px;
|
||||
}
|
||||
#arena.uslim_player .player .equips{
|
||||
left: 3px;
|
||||
}
|
||||
.player.minskin .equips{
|
||||
transform:scale(0.73);
|
||||
transform-origin:bottom left;
|
||||
|
@ -109,12 +112,18 @@
|
|||
#arena.slim_player .player.linked .equips{
|
||||
transform:rotate(90deg) translate(-155px,-6px);
|
||||
}
|
||||
#arena.uslim_player .player.linked .equips{
|
||||
transform:rotate(90deg) translate(-159px,-6px);
|
||||
}
|
||||
.player.minskin.linked .equips{
|
||||
transform:rotate(90deg) translate(-92px,-6px) scale(0.73);
|
||||
}
|
||||
#arena.slim_player .player.minskin.linked .equips{
|
||||
transform:rotate(90deg) translate(-95px,-6px) scale(0.73);
|
||||
}
|
||||
#arena.uslim_player .player.minskin.linked .equips{
|
||||
transform:rotate(90deg) translate(-99px,-6px) scale(0.73);
|
||||
}
|
||||
.player.linked div:not(.equips) .card,
|
||||
.player.linked .identity{
|
||||
transform:rotate(90deg);
|
||||
|
|
|
@ -15,6 +15,12 @@
|
|||
left:7px;
|
||||
top:7px;
|
||||
}
|
||||
#window>.player:not(.minskin)>.avatar,#arena.uslim_player .player:not(.minskin):not(.fakeme) .avatar{
|
||||
width: 144px;
|
||||
height: 174px;
|
||||
left:3px;
|
||||
top:3px;
|
||||
}
|
||||
#window>.player.minskin>.avatar{
|
||||
width: 106px;
|
||||
height: 106px;
|
||||
|
@ -36,6 +42,12 @@
|
|||
left:7px;
|
||||
top:7px;
|
||||
}
|
||||
#arena.uslim_player .player.minskin:not(.fakeme) .avatar:not(.fakeme){
|
||||
width: 114px;
|
||||
height: 114px;
|
||||
left:3px;
|
||||
top:3px;
|
||||
}
|
||||
.player.minskin .hp,
|
||||
.player.minskin .hp.text{
|
||||
left:88px;
|
||||
|
@ -82,6 +94,10 @@
|
|||
#arena.slim_player .player.fullskin2:not(.minskin) .avatar2{
|
||||
width: 68px;
|
||||
}
|
||||
#arena.uslim_player .player.fullskin2:not(.minskin) .avatar,
|
||||
#arena.uslim_player .player.fullskin2:not(.minskin) .avatar2{
|
||||
width: 72px;
|
||||
}
|
||||
.player.fullskin2 .avatar{
|
||||
border-radius:8px 0 0 8px;
|
||||
}
|
||||
|
@ -101,6 +117,11 @@
|
|||
right:7px;
|
||||
height: 166px;
|
||||
}
|
||||
#arena.uslim_player .player.fullskin2:not(.minskin) .avatar2{
|
||||
top:3px;
|
||||
right:3px;
|
||||
height: 174px;
|
||||
}
|
||||
.player .marks,
|
||||
.player .judges{
|
||||
width:36px;
|
||||
|
|
|
@ -40,7 +40,7 @@ mode.boss={
|
|||
game.delay(0.1);
|
||||
"step 1"
|
||||
var bosslist=ui.create.div('#bosslist.hidden');
|
||||
if(lib.config.slim_player){
|
||||
if(lib.config.player_border!='wide'){
|
||||
bosslist.classList.add('slim');
|
||||
}
|
||||
event.bosslist=bosslist;
|
||||
|
|
|
@ -20,7 +20,7 @@ mode.tafang={
|
|||
}
|
||||
}
|
||||
get.chessDistance=lib.init.eval(result.get.chessDistance);
|
||||
ai.get.attitude=lib.init.eval(result.ai.get.attitude);
|
||||
ai.get.rawAttitude=lib.init.eval(result.ai.get.rawAttitude);
|
||||
var toLoad=['addChessPlayer','addObstacle','removeObstacle','isChessNeighbour',
|
||||
'draw2','updateCanvas2','setChessInfo','modeSwapPlayer'];
|
||||
for(var i=0;i<toLoad.length;i++){
|
||||
|
|
Loading…
Reference in New Issue