This commit is contained in:
libccy 2017-03-20 01:08:35 +08:00
parent 5bc697b6d8
commit 187758b2f0
3 changed files with 22 additions and 5 deletions

View File

@ -1480,7 +1480,7 @@
case 'wood':node.setBackgroundImage('theme/woodden/wood.jpg');break; case 'wood':node.setBackgroundImage('theme/woodden/wood.jpg');break;
case 'music':node.style.backgroundImage='linear-gradient(#4b4b4b, #464646)';break; case 'music':node.style.backgroundImage='linear-gradient(#4b4b4b, #464646)';break;
case 'simple':node.style.backgroundImage='linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4))';break; case 'simple':node.style.backgroundImage='linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4))';break;
default:node.setBackgroundImage('theme/style/player/'+link+'.png');node.style.backgroundSize='100% 100%';break; default:node.setBackgroundImage('theme/style/player/'+link+'2.png');node.style.backgroundSize='100% 100%';break;
} }
if(link=='custom'){ if(link=='custom'){
node.classList.add('transparent'); node.classList.add('transparent');
@ -1531,6 +1531,10 @@
ui.css.player_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("'+lib.assetURL+'theme/style/player/'+layout+'2.png")}',0); ui.css.player_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("'+lib.assetURL+'theme/style/player/'+layout+'2.png")}',0);
ui.css.player_stylesheet.sheet.insertRule('#window #arena.long:not(.fewplayer) .player>.framebg{background-image:url("'+lib.assetURL+'theme/style/player/'+lib.config.player_style+'3.png")}',0); ui.css.player_stylesheet.sheet.insertRule('#window #arena.long:not(.fewplayer) .player>.framebg{background-image:url("'+lib.assetURL+'theme/style/player/'+lib.config.player_style+'3.png")}',0);
ui.css.player_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}',0); ui.css.player_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}',0);
ui.css.player_stylesheet.sheet.insertRule('#window #arena>.player:not(.inited),#window #arena>.player.unseen,#window #arena>.player.unseen2{background-image:none}',0);
ui.css.player_stylesheet.sheet.insertRule('.turnedover:not(.unseen):not(.unseen2)>.avatar,.turnedover:not(.unseen):not(.unseen2)>.avatar2{opacity:0.5}',0);
ui.css.player_stylesheet.sheet.insertRule('#arena:not(.hide_turned):not(.oldlayout) .player.turnedover>.turned{opacity:0.3}',0);
// ui.css.player_stylesheet.sheet.insertRule('#arena>.player.turnedover,#chess>.player.turnedover{opacity:0.5}',0);
} }
} }
}, },
@ -5815,7 +5819,10 @@
ui.css.player_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("'+lib.assetURL+'theme/style/player/'+lib.config.player_style+'2.png")}',0); ui.css.player_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("'+lib.assetURL+'theme/style/player/'+lib.config.player_style+'2.png")}',0);
ui.css.player_stylesheet.sheet.insertRule('#window #arena.long:not(.fewplayer) .player>.framebg{background-image:url("'+lib.assetURL+'theme/style/player/'+lib.config.player_style+'3.png")}',0); ui.css.player_stylesheet.sheet.insertRule('#window #arena.long:not(.fewplayer) .player>.framebg{background-image:url("'+lib.assetURL+'theme/style/player/'+lib.config.player_style+'3.png")}',0);
ui.css.player_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}',0); ui.css.player_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}',0);
// ui.css.player_stylesheet.sheet.insertRule('#window #arena>.player{background-image:none}',0); ui.css.player_stylesheet.sheet.insertRule('#window #arena>.player:not(.inited),#window #arena>.player.unseen,#window #arena>.player.unseen2{background-image:none}',0);
ui.css.player_stylesheet.sheet.insertRule('.turnedover:not(.unseen):not(.unseen2)>.avatar,.turnedover:not(.unseen):not(.unseen2)>.avatar2{opacity:0.5}',0);
ui.css.player_stylesheet.sheet.insertRule('#arena:not(.hide_turned):not(.oldlayout) .player.turnedover>.turned{opacity:0.3}',0);
// ui.css.player_stylesheet.sheet.insertRule('#arena>.player.turnedover,#chess>.player.turnedover{opacity:0.5}',0);
} }
} }
if(lib.config.control_style&&lib.config.control_style!='default'&&lib.config.control_style!='custom'){ if(lib.config.control_style&&lib.config.control_style!='default'&&lib.config.control_style!='custom'){
@ -11511,6 +11518,10 @@
} }
} }
this.update(); this.update();
var that=this;
setTimeout(function(){
that.classList.add('inited');
},500);
return this; return this;
}, },
initOL:function(name,character){ initOL:function(name,character){
@ -33255,6 +33266,7 @@
node.node={ node.node={
avatar:ui.create.div('.avatar',node,ui.click.avatar).hide(), avatar:ui.create.div('.avatar',node,ui.click.avatar).hide(),
avatar2:ui.create.div('.avatar2',node,ui.click.avatar2).hide(), avatar2:ui.create.div('.avatar2',node,ui.click.avatar2).hide(),
turnedover:ui.create.div('.turned','<div>翻<br>面<div>',node),
framebg:ui.create.div('.framebg',node), framebg:ui.create.div('.framebg',node),
intro:ui.create.div('.intro',node), intro:ui.create.div('.intro',node),
identity:ui.create.div('.identity',node), identity:ui.create.div('.identity',node),
@ -33264,7 +33276,6 @@
nameol:ui.create.div('.nameol',node), nameol:ui.create.div('.nameol',node),
count:ui.create.div('.count',node).hide(), count:ui.create.div('.count',node).hide(),
equips:ui.create.div('.equips',node).hide(), equips:ui.create.div('.equips',node).hide(),
turnedover:ui.create.div('.turned','<div>翻<br>面<div>',node),
judges:ui.create.div('.judges',node), judges:ui.create.div('.judges',node),
marks:ui.create.div('.marks',node), marks:ui.create.div('.marks',node),
chain:ui.create.div('.chain','<div></div>',node), chain:ui.create.div('.chain','<div></div>',node),

View File

@ -1,5 +1,5 @@
window.noname_update={ window.noname_update={
version:'1.9.12.2', version:'1.9.12.3',
update:'1.9.12.1', update:'1.9.12.1',
changeLog:[ changeLog:[
'bug修复', 'bug修复',
@ -25,7 +25,7 @@ window.noname_update={
// 'mode/identity.js', // 'mode/identity.js',
// 'mode/stone.js', // 'mode/stone.js',
// 'theme/woodden/style.css', // 'theme/woodden/style.css',
// 'layout/default/layout.css', 'layout/default/layout.css',
// 'layout/default/phone.css', // 'layout/default/phone.css',
// 'layout/default/menu.css', // 'layout/default/menu.css',
// 'layout/long/layout.css', // 'layout/long/layout.css',

View File

@ -2826,6 +2826,12 @@ div:not(.handcards)>.card>.info>span,
.turnedover>div { .turnedover>div {
opacity: 0.3; opacity: 0.3;
} }
.turnedover>.identity,
.turnedover>.framebg,
.turnedover>.marks,
.turnedover>.judges {
opacity: 1;
}
.intro:not(.showintro) { .intro:not(.showintro) {
opacity: 0; opacity: 0;
display: none !important display: none !important