background fix
This commit is contained in:
parent
f8ba24d88a
commit
98bd206131
11
game/game.js
11
game/game.js
|
@ -3128,7 +3128,18 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(window.require){
|
||||||
|
lib.node={
|
||||||
|
fs:require('fs'),
|
||||||
|
http:require('http'),
|
||||||
|
debug:function(){
|
||||||
|
require('remote').getCurrentWindow().toggleDevTools();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
game.download=function(url,folder,onsuccess,onerror){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
lib.cardSelectObserver=new MutationObserver(function(mutations){
|
lib.cardSelectObserver=new MutationObserver(function(mutations){
|
||||||
for(var i=0;i<mutations.length;i++){
|
for(var i=0;i<mutations.length;i++){
|
||||||
if(mutations[i].attributeName=='class'){
|
if(mutations[i].attributeName=='class'){
|
||||||
|
|
|
@ -232,7 +232,7 @@ table{table-layout: fixed;}
|
||||||
transform-origin: top center;
|
transform-origin: top center;
|
||||||
}
|
}
|
||||||
#me,#mebg{width: 100%;height: 140px;top:calc(100% - 140px);left:0;}
|
#me,#mebg{width: 100%;height: 140px;top:calc(100% - 140px);left:0;}
|
||||||
#mebg{z-index:0}
|
#mebg{z-index:-1}
|
||||||
#handcards1,#handcards2{
|
#handcards1,#handcards2{
|
||||||
width: calc(50% - 140px);height: 127px;padding: 10px;
|
width: calc(50% - 140px);height: 127px;padding: 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -1342,7 +1342,7 @@ span[data-color="unknownm"]{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 1;
|
z-index: -2;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
#window.canvas_top>canvas.fun{
|
#window.canvas_top>canvas.fun{
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
html{
|
html{
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: black 0 0 2px;
|
text-shadow: black 0 0 2px;
|
||||||
}
|
|
||||||
body{
|
|
||||||
background: url('grid.png'),linear-gradient(#333333, #222222) fixed;
|
background: url('grid.png'),linear-gradient(#333333, #222222) fixed;
|
||||||
}
|
}
|
||||||
body[data-background_color_music='blue']{
|
|
||||||
background: url('grid.png'),linear-gradient(#6c7989, #434b55) fixed;
|
|
||||||
}
|
|
||||||
#system>div>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,#window>.dialog.popped,
|
#system>div>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,#window>.dialog.popped,
|
||||||
.player.unseen .equips:not(*:empty),.menu,#splash>div,
|
.player.unseen .equips:not(*:empty),.menu,#splash>div,
|
||||||
#arena.mobile:not(.chess) .player[data-position='0'] .equips,.playerbg{
|
#arena.mobile:not(.chess) .player[data-position='0'] .equips,.playerbg{
|
||||||
|
|
|
@ -2,6 +2,8 @@ html{
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: black 0 0 2px;
|
text-shadow: black 0 0 2px;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
background-image: url('../../image/background/shengshi_bg.jpg');
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
body{
|
body{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -9,8 +11,6 @@ body{
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
background-image: url('../../image/background/shengshi_bg.jpg');
|
|
||||||
background-size: cover;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
html{
|
html{
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: black 0 0 2px;
|
text-shadow: black 0 0 2px;
|
||||||
}
|
|
||||||
body{
|
|
||||||
background: url('grid.png'),linear-gradient(#6c7989, #434b55) fixed;
|
background: url('grid.png'),linear-gradient(#6c7989, #434b55) fixed;
|
||||||
}
|
}
|
||||||
body[data-background_color_wood='black']{
|
|
||||||
background: url('grid.png'),linear-gradient(#333333, #222222) fixed;
|
|
||||||
}
|
|
||||||
#system>div>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,.dialog>.bar,.menu,#splash>div,
|
#system>div>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,.dialog>.bar,.menu,#splash>div,
|
||||||
#arena.mobile:not(.chess) .player[data-position='0'] .equips,.playerbg{
|
#arena.mobile:not(.chess) .player[data-position='0'] .equips,.playerbg{
|
||||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
|
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
|
||||||
|
|
Loading…
Reference in New Issue