diff --git a/card/refresh.js b/card/refresh.js index eee3cda07..d63c3f09d 100755 --- a/card/refresh.js +++ b/card/refresh.js @@ -22,6 +22,13 @@ card.refresh={ usable:1, filterCard:true, check:function(card){ + var player=_status.event.player; + var nh=player.num('h'); + if(nh<=player.hp){ + if(nh<3) return 0; + if(nh==3) return 5-ai.get.value(card); + return 7-ai.get.value(card); + } return 10-ai.get.useful(card); }, discard:false, diff --git a/card/standard.js b/card/standard.js index 8dc34bc48..3e8d564f1 100755 --- a/card/standard.js +++ b/card/standard.js @@ -757,7 +757,7 @@ card.standard={ basic:{ order:5, useful:1, - value:4 + value:4.5 }, result:{ target:-1.5, @@ -1303,8 +1303,9 @@ card.standard={ event.state=true; event.card=trigger.card; "step 1" - if((ui.wuxie.classList.contains('glow')||(ui.tempnowuxie&& - ui.tempnowuxie.classList.contains('glow')))&&!_status.auto){ + if((ui.wuxie.classList.contains('glow')|| + (ui.tempnowuxie&&ui.tempnowuxie.classList.contains('glow')&& + event.state))&&!_status.auto){ if(event.current==game.me||event.current.isUnderControl()){ event._result={bool:false}; return; @@ -1378,7 +1379,7 @@ card.standard={ }); if(nevt.isMine()&&!trigger.multitarget){ if(trigger.targets.length>1&&!ui.tempnowuxie){ - ui.tempnowuxie=ui.create.control('本轮不无懈',ui.click.tempnowuxie); + ui.tempnowuxie=ui.create.control('不无懈'+get.translation(trigger.card.name),ui.click.tempnowuxie); ui.tempnowuxie._origin=trigger.parent; } } diff --git a/character/mountain.js b/character/mountain.js index 3464948da..2ecca99cd 100755 --- a/character/mountain.js +++ b/character/mountain.js @@ -228,7 +228,7 @@ character.mountain={ event.finish(); } else{ - var next=player.chooseToDiscard('是否发动巧变路过判定阶段?'); + var next=player.chooseToDiscard('是否发动巧变跳过判定阶段?'); next.ai=ai.get.unuseful2; next.logSkill='qiaobian'; } @@ -276,7 +276,7 @@ character.mountain={ }, selectTarget:[0,2], filterCard:true, - prompt:'是否发动巧变路过摸牌阶段?' + prompt:'是否发动巧变跳过摸牌阶段?' }); "step 1" if(result.bool){ @@ -378,7 +378,7 @@ character.mountain={ }, selectTarget:2, filterCard:true, - prompt:'是否发动巧变路过出牌阶段?', + prompt:'是否发动巧变跳过出牌阶段?', targetprompt:['被移走','移动目标'] }); "step 1" @@ -438,7 +438,7 @@ character.mountain={ content:function(){ "step 0" var discard=player.num('h')>player.hp; - var next=player.chooseToDiscard('是否发动巧变路过弃牌阶段?'); + var next=player.chooseToDiscard('是否发动巧变跳过弃牌阶段?'); next.logSkill='qiaobian'; next.ai=function(card){ if(discard){ diff --git a/character/sp.js b/character/sp.js index 36d6b1493..b96b827d1 100755 --- a/character/sp.js +++ b/character/sp.js @@ -3326,7 +3326,7 @@ character.sp={ simalang:'司马朗', zhangliang:'张梁', tianfeng:'田丰', - sp_pangtong:'庞统', + sp_pangtong:'sp庞统', maliang:'马良', sp_caoren:'sp曹仁', yuejin:'乐进', diff --git a/character/yijiang.js b/character/yijiang.js index c8b5b6dc7..c3b91eb7a 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -5333,7 +5333,7 @@ character.yijiang={ fuhuanghou:'伏皇后', caifuren:'蔡夫人', zhonghui:'钟会', - old_zhonghui:'钟会', + old_zhonghui:'钟士季', sunluban:'孙鲁班', chenqun:'陈群', zhangsong:'张松', diff --git a/game/background.js b/game/background.js index 5b7c36c5f..a6af8196d 100755 --- a/game/background.js +++ b/game/background.js @@ -59,6 +59,7 @@ if(window.inSplash) return; if(confirm('游戏似乎未正常载入,是否重置游戏?')){ localStorage.clear(); + if(indexedDB) indexedDB.deleteDatabase('noname_0.9_data'); window.location.reload(); } },5000); diff --git a/game/game.js b/game/game.js index 6d0d836cc..a10291be8 100755 --- a/game/game.js +++ b/game/game.js @@ -24,7 +24,9 @@ 'boss配音', '隐藏模式、武将、卡牌包', '开始界面', - '自定义武将' + '中间显示历史记录', + '左滑/右滑手势', + '自定义武将', ], configprefix:'noname_0.9_', updates:[], @@ -180,7 +182,8 @@ system:'显示按钮', menu:'打开菜单', pause:'切换暂停', - auto:'切换托管' + auto:'切换托管', + off:'关闭', } }, swipe_up:{ @@ -191,7 +194,32 @@ system:'显示按钮', menu:'打开菜单', pause:'切换暂停', - auto:'切换托管' + auto:'切换托管', + off:'关闭', + } + }, + swipe_left:{ + name:'左划操作', + init:'off', + unfrequent:true, + item:{ + system:'显示按钮', + menu:'打开菜单', + pause:'切换暂停', + auto:'切换托管', + off:'关闭', + } + }, + swipe_right:{ + name:'右划操作', + init:'off', + unfrequent:true, + item:{ + system:'显示按钮', + menu:'打开菜单', + pause:'切换暂停', + auto:'切换托管', + off:'关闭', } }, show_splash:{ @@ -291,10 +319,14 @@ if(config.swipe){ map.swipe_up.show(); map.swipe_down.show(); + map.swipe_left.show(); + map.swipe_right.show(); } else{ map.swipe_up.hide(); map.swipe_down.hide(); + map.swipe_left.hide(); + map.swipe_right.hide(); } } else{ @@ -313,6 +345,8 @@ map.swipe.hide(); map.swipe_up.hide(); map.swipe_down.hide(); + map.swipe_left.hide(); + map.swipe_right.hide(); } if(lib.config.enable_drag){ if(lib.config.touchscreen){ @@ -554,6 +588,28 @@ }, unfrequent:true, }, + show_log:{ + name:'显示历史记录', + init:'off', + unfrequent:true, + item:{ + off:'关闭', + left:'靠左', + center:'居中', + right:'靠右', + }, + onclick:function(bool){ + game.saveConfig('show_log',bool); + if(lib.config.show_log!='off'){ + ui.arenalog.style.display=''; + ui.arenalog.dataset.position=bool; + } + else{ + ui.arenalog.style.display='none'; + ui.arenalog.innerHTML=''; + } + } + }, glow_phase:{ name:'当前回合角色高亮', unfrequent:true, @@ -606,12 +662,6 @@ init:false, unfrequent:true, }, - // only_fullskin:{ - // name:'隐藏无全身皮肤武将', - // init:true, - // unfrequent:true, - // restart:true, - // }, hide_card_image:{ name:'隐藏卡牌背景', init:false, @@ -2506,11 +2556,12 @@ game.getDB('character',null,function(list){ for(var i in list){ if(!list[i][4]) list[i][4]=[]; - for(var j=0;jui.arenalog.offsetHeight){ + ui.arenalog.lastChild.remove(); + } + } }, putDB:function(type,id,item,callback){ if(!lib.db) return item; @@ -12524,6 +12638,10 @@ arena:function(){ var i,j; ui.window=ui.create.div('#window.hidden',document.body); + if(window.isIpad){ + ui.window.classList.add('ipad'); + delete window.isIpad; + } ui.refresh(ui.window); setTimeout(function(){ ui.window.show(); @@ -12560,6 +12678,11 @@ ui.backgroundMusic.addEventListener('ended',game.playBackgroundMusic); ui.window.appendChild(ui.backgroundMusic); + ui.arenalog=ui.create.div('#arenalog',ui.arena); + if(lib.config.show_log=='off'){ + ui.arenalog.style.display='none'; + } + ui.roundmenu=ui.create.div('#roundmenu.roundarenabutton.menubutton.round',ui.arena); ui.roundmenu._position=[180,210]; ui.create.div(ui.roundmenu); @@ -13332,23 +13455,24 @@ } } else{ - cfgnode.classList.add('auto-hide'); + // cfgnode.classList.add('auto-hide'); hiddenNodes.push(cfgnode); } } var expanded=false; if(hiddenNodes.length){ - ui.create.div('.config.more','更多
>
',page,function(){ - if(expanded){ - this.classList.remove('on'); - this.parentNode.classList.remove('expanded'); - } - else{ - this.classList.add('on'); - this.parentNode.classList.add('expanded'); - } - expanded=!expanded; - }); + // ui.create.div('.config.more','更多
>
',page,function(){ + // if(expanded){ + // this.classList.remove('on'); + // this.parentNode.classList.remove('expanded'); + // } + // else{ + // this.classList.add('on'); + // this.parentNode.classList.add('expanded'); + // } + // expanded=!expanded; + // }); + page.classList.add('morenodes'); for(var k=0;k>',page,function(){ @@ -13700,7 +13879,7 @@ var namej=lib.config.customCharacterPack[name].character[j]; lib.characterPack[name][namej]=lib.character[namej]; } - createModeConfig(name,start.firstChild,node); + clickMode.call(createModeConfig(name,start.firstChild,node)); },500); delete game.importedPack; @@ -13765,7 +13944,29 @@ for(var i=0;i主公BOSSAI禁选
',newCharacter); var addSkill=ui.create.div('.add_skill','添加技能
',newCharacter); var list=[]; for(var i in lib.character){ - if(lib.character[i][3].length); + if(!lib.customCharacters.contains(i)&&lib.character[i][3].length); list.push([i,lib.translate[i]]); } list.sort(function(a,b){ @@ -13881,7 +14083,7 @@ var addSkillButton=document.createElement('button'); addSkillButton.innerHTML='添加'; addSkill.appendChild(addSkillButton); - var delnode=function(){ + var deletenode=function(){ this.parentNode.remove(); } var editnode=function(){ @@ -13889,7 +14091,7 @@ if(info){ createSkill.lastChild.classList.remove('hidden'); createSkill.firstChild.innerHTML='创建技能'; - skillList.style.top='410px'; + skillList.style.top='435px'; createSkill.lastChild.querySelector('.skillname').value=info.name; createSkill.lastChild.querySelector('.skilldescription').value=info.description; @@ -13903,7 +14105,7 @@ var node=ui.create.div(skillList.firstChild); node.skill=skillopt.value; ui.create.div('',lib.translate[skillopt.value],node,editnode); - ui.create.div('','×',node,delnode); + ui.create.div('','×',node,deletenode); if(lib.skill[skillopt.value].createInfo){ node.createInfo=lib.skill[skillopt.value].createInfo; } @@ -13918,7 +14120,7 @@ } else{ this.innerHTML='创建技能'; - skillList.style.top='410px'; + skillList.style.top='435px'; } }); var newSkill=document.createElement('textarea'); @@ -13926,9 +14128,10 @@ createSkill.lastChild.innerHTML+='
'; ui.create.div('','技能名称:',createSkill.lastChild); createSkill.lastChild.innerHTML+='
'; - ui.create.div('','技能描述:
',createSkill.lastChild); - createSkill.lastChild.lastChild.lastChild.style.marginTop='5px'; - createSkill.lastChild.lastChild.lastChild.onclick=function(){ + ui.create.div('','技能描述:
',createSkill.lastChild); + createSkill.lastChild.lastChild.lastChild.previousSibling.style.marginTop='5px'; + createSkill.lastChild.lastChild.lastChild.previousSibling.style.marginRight='3px'; + createSkill.lastChild.lastChild.lastChild.previousSibling.onclick=function(){ var node; var name=createSkill.lastChild.querySelector('.skillname').value; var description=createSkill.lastChild.querySelector('.skilldescription').value; @@ -13951,14 +14154,30 @@ name2=name2.slice(name2.indexOf(':')+1); } ui.create.div('',name2,node,editnode); - ui.create.div('','×',node,delnode); + ui.create.div('','×',node,deletenode); } node.createInfo={ name:name, description:description, content:content } + createSkill.lastChild.querySelector('.skillname').value=''; + createSkill.lastChild.querySelector('.skilldescription').value=''; + createSkill.lastChild.querySelector('textarea').value=''; + + createSkill.lastChild.classList.add('hidden'); + createSkill.firstChild.innerHTML='创建技能...'; + skillList.style.top=''; } + createSkill.lastChild.lastChild.lastChild.onclick=function(){ + createSkill.lastChild.querySelector('.skillname').value=''; + createSkill.lastChild.querySelector('.skilldescription').value=''; + createSkill.lastChild.querySelector('textarea').value=''; + + createSkill.lastChild.classList.add('hidden'); + createSkill.firstChild.innerHTML='创建技能...'; + skillList.style.top=''; + }; var skillList=ui.create.div('.skill_list',newCharacter); ui.create.div(skillList); ui.create.div('.menubutton.large','创建武将',ui.create.div(skillList),function(){ @@ -13975,7 +14194,8 @@ game.putDB('image','character:'+name,image); } for(var i=0;i200){ - switch(lib.config.swipe_down){ - case 'system': - if(ui.system2.classList.contains('shown')|| - lib.config.layout!='phone'){ - game.pause2(); - ui.click.configMenu(); - ui.system1.classList.remove('shown'); - ui.system2.classList.remove('shown'); - } - else{ - ui.system1.classList.add('shown'); - ui.system2.classList.add('shown'); - } - break; - case 'menu': - game.pause2(); - ui.click.configMenu(); - ui.system1.classList.remove('shown'); - ui.system2.classList.remove('shown'); - break; - case 'pause': - ui.click.pause(); - break; - case 'auto': - ui.click.auto(); - if(!ui.system1.classList.contains('shown')){ - ui.system1.classList.add('shown'); - } - break; - } + goswipe(lib.config.swipe_down); } } - + else if(Math.abs(dy)<100){ + if(dx<-200){ + goswipe(lib.config.swipe_left); + } + else if(dx>200){ + goswipe(lib.config.swipe_right); + } + } } } var tmpflag=false; diff --git a/layout/default/layout.css b/layout/default/layout.css index 76c931b3d..aee49633b 100755 --- a/layout/default/layout.css +++ b/layout/default/layout.css @@ -12,7 +12,18 @@ body{ div{display: inline-block;position: absolute;transition: all 0.5s;} table{table-layout: fixed;} /*--------场景--------*/ -#window{width: 100%;height: 100%;top: 0;left: 0;transition-property:opacity;overflow:hidden} +#window{ + width: 100%; + height: 100%; + top: 0px; + left: 0; + transition-property:opacity; + overflow:hidden +} +#window.ipad{ + width: calc(100% - 15px); + top: 15px; +} #window>.tutorial_tap{ width:30px; height:30px; @@ -76,6 +87,40 @@ table{table-layout: fixed;} #arena[data-global_font='huangcao'] #control{ font-family:'STHeiti','SimHei','Microsoft JhengHei','Microsoft YaHei','WenQuanYi Micro Hei',Helvetica,Arial,sans-serif } + +#arena.chess>#arenalog{ + display: none !important; +} +#arenalog{ + width: calc(50% - 210px); + height: calc(100% - 370px); + left: calc(50% + 60px); + top:200px; + overflow: hidden; +} +#arena:not(.oldlayout)>#arenalog[data-position="center"]{ + left: calc(25% + 105px); +} +#arena:not(.oldlayout)>#arenalog[data-position="left"]{ + left: 150px; +} +#arena.oldlayout>#arenalog{ + top:160px; + width: calc(50% - 300px); + height: calc(100% - 325px); +} +#arena.oldlayout>#arenalog[data-position="center"]{ + left: calc(25% + 150px); +} +#arena.oldlayout>#arenalog[data-position="left"]{ + left: 240px; +} +#arenalog>div{ + position: relative; + display: block; + width: calc(100% - 20px); + left:20px; +} /*#arena[data-font_size='14']{ font-size:14px; } @@ -545,9 +590,13 @@ margin-bottom: 5px; opacity: 0; transform:scale(0.7); } -.player[data-position='0']>.damage.dieidentity{ +.player[data-position='0']>.damage.dieidentity, +.player:not(.dead)>.damage.dieidentity{ opacity: 0 !important } +.player>.damage.dieidentity{ + transition-property: opacity; +} .player>.cardeffect{ font-family: 'huangcao','xinwei'; font-size:108px; diff --git a/layout/default/menu.css b/layout/default/menu.css index 16300a3dc..5c6fab823 100644 --- a/layout/default/menu.css +++ b/layout/default/menu.css @@ -224,6 +224,9 @@ .menu.main>.menu-content>div>.right.pane>.expanded{ padding-bottom:80px; } +.menu.main>.menu-content>div>.right.pane>.morenodes{ + padding-bottom:10px; +} .menu.main>.menu-content>div>.right.pane>div>.config{ left:2px; margin-top:10px; @@ -441,12 +444,18 @@ .menu-buttons>.new_character>.add_skill{ position: absolute; left: 12px; - top:145px; + top:170px; text-align: left; line-height: 20px; } +.menu-buttons>.new_character>.add_skill.options{ + top:145px; +} +.menu-buttons>.new_character>.add_skill.options>span{ + margin-right: 10px; +} .menu-buttons>.new_character>.add_skill.create{ - top: 195px; + top: 220px; } .menu-buttons>.new_character>.add_skill.create>div{ position: relative; @@ -470,7 +479,7 @@ .menu-buttons>.new_character>.skill_list{ position: absolute; left: 12px; - top: 215px; + top: 240px; text-align: left; height: auto; width: calc(100% - 20px); diff --git a/mode/boss.js b/mode/boss.js index 396a4072b..cb5a9034a 100755 --- a/mode/boss.js +++ b/mode/boss.js @@ -110,7 +110,7 @@ mode.boss={ var list=[]; for(var i in lib.character){ var info=lib.character[i]; - if(info[4].contains('boss')){ + if(info[4].contains('boss')&&!lib.config.banned.contains(i)){ var cfg=i+'_bossconfig'; if(get.config(cfg)==undefined){ game.saveConfig(cfg,true,true); @@ -347,7 +347,7 @@ mode.boss={ } player.update(); if(player.storage.boss_chongzheng>=game.bossinfo.chongzheng){ - player.revive(); + player.revive(player.hp); } } @@ -422,6 +422,7 @@ mode.boss={ if(lib.character[i][4].contains('minskin')) continue; if(lib.character[i][4].contains('boss')) continue; if(lib.character[i][4].contains('hiddenboss')) continue; + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; if(lib.config.forbidboss.contains(i)) continue; diff --git a/mode/chess.js b/mode/chess.js index 31aa59889..423aa0231 100755 --- a/mode/chess.js +++ b/mode/chess.js @@ -1931,6 +1931,7 @@ mode.chess={ for(i in lib.character){ if(i.indexOf('treasure_')==0) continue; if(i.indexOf('chess_mech_')==0) continue; + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(lib.character[i][4].contains('minskin')) continue; if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; @@ -3477,6 +3478,7 @@ mode.chess={ for(i in lib.character){ if(i.indexOf('treasure_')==0) continue; if(i.indexOf('chess_mech_')==0) continue; + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(lib.character[i][4].contains('minskin')) continue; if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; diff --git a/mode/guozhan.js b/mode/guozhan.js index efd4e384d..c9ad91c33 100755 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -247,6 +247,7 @@ mode.guozhan={ var i; event.list=[]; for(i in lib.character){ + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; if(lib.config.forbiddouble.contains(i)) continue; diff --git a/mode/identity.js b/mode/identity.js index 18d96ee60..af7f425de 100755 --- a/mode/identity.js +++ b/mode/identity.js @@ -608,6 +608,7 @@ mode.identity={ game.zhu.isZhu=(game.zhu.identity=='zhu'); game.me.setIdentity(); for(i in lib.character){ + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; if(lib.config.banned.contains(i)) continue; @@ -802,9 +803,21 @@ mode.identity={ game.delay(2); game.zhu.playerfocus(1000); } - var node=ui.create.div('.damage.dieidentity',get.translation(this.identity+'2'),this); - ui.refresh(node); - node.style.opacity=1; + if(!this.node.dieidentity){ + var node=ui.create.div('.damage.dieidentity',get.translation(this.identity+'2'),this); + ui.refresh(node); + node.style.opacity=1; + this.node.dieidentity=node; + } + var trans=this.style.transform; + if(trans){ + if(trans.indexOf('rotateY')!=-1){ + this.node.dieidentity.style.transform='rotateY(180deg)'; + } + if(trans.indexOf('rotateX')!=-1){ + this.node.dieidentity.style.transform='rotateX(180deg)'; + } + } }, logAi:function(targets,card){ if(this.ai.shown==1) return; @@ -1018,6 +1031,9 @@ mode.identity={ if(player.skills.contains('benghuai')&&php>4){ php=4; } + else if(php>6){ + php=6; + } j=player.get('h').length+player.get('e').length*1.5+php*2; if(player.identity=='zhu'){ zhuzhong+=j*1.2+5; diff --git a/mode/stone.js b/mode/stone.js index 442a0854a..cd416b1f1 100755 --- a/mode/stone.js +++ b/mode/stone.js @@ -478,6 +478,7 @@ mode.stone={ var list=[]; event.list=list; for(i in lib.character){ + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(lib.character[i][4]&&lib.character[i][4].contains('minskin')) continue; if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; diff --git a/mode/versus.js b/mode/versus.js index 2cd8df598..ce0266e45 100755 --- a/mode/versus.js +++ b/mode/versus.js @@ -189,6 +189,7 @@ mode.versus={ if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidversus.contains(i)) continue; if(lib.config.banned.contains(i)) continue; + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; if(get.config('ban_weak')&&lib.config.forbidsingle.contains(i)) continue; if(get.config('ban_weak')&&lib.config.forbidall.contains(i)) continue; if(get.config('ban_weak')&&(lib.rank.c.contains(i)||lib.rank.d.contains(i))) continue; diff --git a/play/character.js b/play/character.js index abac59b67..4b2662a89 100755 --- a/play/character.js +++ b/play/character.js @@ -13,6 +13,8 @@ play.character={ if(lib.config.forbidai.contains(i)) continue; if(lib.config.forbidall.contains(i)) continue; if(lib.config.banned.contains(i)) continue; + if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; + if(lib.character[i][4]&&lib.character[i][4].contains('boss')) continue; if(!get.config('double_character')&&get.config('ban_weak')&&lib.config.forbidsingle.contains(i)) continue; if(get.config('double_character')&&lib.config.forbiddouble.contains(i)) continue; list.push(i); diff --git a/theme/simple/style.css b/theme/simple/style.css index 5c7c10442..5b7ec9520 100755 --- a/theme/simple/style.css +++ b/theme/simple/style.css @@ -70,7 +70,7 @@ body{ ); }*/ -.card:empty{ +.card:empty,.card.infohidden{ background: url('../style/cardback/image/official.png'); background-size: cover; } diff --git a/theme/style/cardback/music.css b/theme/style/cardback/music.css index 72b6f7604..04c28ed7b 100644 --- a/theme/style/cardback/music.css +++ b/theme/style/cardback/music.css @@ -1,4 +1,4 @@ -.card:empty{ +.card:empty,.card.infohidden{ color:rgb(77, 60, 51); text-shadow:none; background: url('../../music/wood3.png'); diff --git a/theme/style/cardback/official.css b/theme/style/cardback/official.css index 9fdcd9591..636797655 100644 --- a/theme/style/cardback/official.css +++ b/theme/style/cardback/official.css @@ -1,4 +1,4 @@ -.card:empty{ +.card:empty,.card.infohidden{ background: url('image/official.png'); background-size: cover; } diff --git a/theme/style/cardback/wood.css b/theme/style/cardback/wood.css index 447728e2e..af180ffc2 100644 --- a/theme/style/cardback/wood.css +++ b/theme/style/cardback/wood.css @@ -1,4 +1,4 @@ -.card:empty{ +.card:empty,.card.infohidden{ color:rgb(77, 60, 51); text-shadow:none; background: url('../../woodden/wood.jpg');