This commit is contained in:
libccy 2017-03-25 17:34:35 +08:00
parent 2ded17b55b
commit e7f8508d81
3 changed files with 8 additions and 1 deletions

View File

@ -2154,9 +2154,11 @@
game.saveConfig('cardshape',item);
if(item=='oblong'&&(game.layout=='long'||game.layout=='mobile'||game.layout=='long2')){
ui.arena.classList.add('oblongcard');
ui.window.classList.add('oblongcard');
}
else{
ui.arena.classList.remove('oblongcard');
ui.window.classList.remove('oblongcard');
}
if(linked){
if(get.is.linked2(game.me)){
@ -7047,9 +7049,11 @@
}
if(lib.config.cardshape=='oblong'&&(game.layout=='long'||game.layout=='mobile'||game.layout=='long2')){
ui.arena.classList.add('oblongcard');
ui.window.classList.add('oblongcard');
}
else{
ui.arena.classList.remove('oblongcard');
ui.window.classList.remove('oblongcard');
}
if(lib.config.textequip=='text'&&(game.layout=='long'||game.layout=='mobile')){
ui.arena.classList.add('textequip');

View File

@ -28,7 +28,7 @@ window.noname_update={
// 'theme/style/cardback/*',
// 'layout/long/layout.css',
// 'layout/long2/layout.css',
// 'layout/mobile/layout.css',
'layout/mobile/layout.css',
// 'layout/newlayout/global.css',
'layout/mode/chess.css',
// 'extension/boss/extension.js',

View File

@ -16,6 +16,9 @@
#historybar{
height: calc(95% - 160px);
}
#window.oblongcard #historybar{
height: calc(95% - 180px);
}
#control{
width: calc(5000% / 47 - 240px);
left:calc(-150% / 47 + 120px);