diff --git a/game/game.js b/game/game.js index 4ab19c86a..260f33806 100644 --- a/game/game.js +++ b/game/game.js @@ -964,10 +964,94 @@ intro:'设置正面朝上的卡牌的样式', item:{ default:'默认', + custom:'自定', wood:'木纹', music:'音乐', simple:'原版', - new:'新版', + // new:'新版', + }, + visualBar:function(node,item,create){ + if(node.created){ + node.lastChild.classList.remove('active'); + return; + } + var button; + for(var i=0;i.menu.visual.withbar>div:not(.showdelete)>.deletebutton{ + display: none; +} +.popup-container>.menu.visual.withbar>div.hideadd>.addbutton{ + display: none; +} +.popup-container>.menu.visual.withbar>div.showdelete>div:first-child{ + display: none; +} #window:not(.nopointer) .popup-container>.menu.visual.withbar>div:last-child>div{ cursor: pointer; } @@ -622,6 +631,9 @@ input.fileinput{ top: 0 !important; opacity: 0 !important; } +input.fileinput::-webkit-file-upload-button { + cursor: pointer; +} #window:not(.nopointer) input.fileinput{ cursor: pointer; } diff --git a/theme/style/card/custom.css b/theme/style/card/custom.css new file mode 100644 index 000000000..dd83d20ff --- /dev/null +++ b/theme/style/card/custom.css @@ -0,0 +1,31 @@ +.card:not(*:empty){ + color:rgb(77, 60, 51); + text-shadow:none; + background-size:100% 100%; +} +#arena.mobile:not(.chess) .player[data-position='0']>.equips>.equip5 { + border-radius: 4px; +} +#arena.mobile:not(.chess) .player[data-position='0']>.equips>.equip5>.image{ + width: 100%; + height: 100%; + left: 0; + top: 0; +} +#arena.mobile:not(.chess) .player[data-position='0']>.equips>.equip5>.name{ + display: block; + transform: scale(0.43) !important; + transform-origin: left top; + left: 2px; + top: 3px; +} +#arena.mobile:not(.chess) .player[data-position='0']>.equips>.equip5>.name.long{ + top: 2px; +} +#arena.mobile:not(.chess) .player[data-position='0']>.equips>.equip5>.info{ + display: block; + transform: scale(0.43) !important; + transform-origin: right top; + right: 3px; + top: 3px; +} diff --git a/theme/style/cardback/custom.css b/theme/style/cardback/custom.css new file mode 100644 index 000000000..e1707162f --- /dev/null +++ b/theme/style/cardback/custom.css @@ -0,0 +1,8 @@ +.card:empty,.card.infohidden{ + background: url('image/liusha.png'); + background-size: cover; +} +.card.infohidden:not(.infoflip){ + background: url('image/liusha2.png'); + background-size: cover; +}