This commit is contained in:
parent
e2ad24259e
commit
b9b2e8b71f
|
@ -3150,6 +3150,18 @@ div:hover>.intro {
|
|||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.tdnode{
|
||||
position:relative;
|
||||
display:inline-block;
|
||||
padding:5px;
|
||||
padding-left:8px;
|
||||
padding-right:8px;
|
||||
font-size:18px;
|
||||
margin:4px;
|
||||
margin-left:6px;
|
||||
margin-right:6px;
|
||||
}
|
||||
|
||||
.shadowed,
|
||||
.menubutton.large.shadowed {
|
||||
background: rgba(0,0,0,0.2);
|
||||
|
|
|
@ -2279,16 +2279,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
seats.style.width='100%';
|
||||
seats.style.position='relative';
|
||||
for(var i=1;i<=game.players.length;i++){
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv');
|
||||
td.style.position='relative';
|
||||
td.style.display='inline-block';
|
||||
td.style.padding='5px';
|
||||
td.style.paddingLeft='8px';
|
||||
td.style.paddingRight='8px';
|
||||
td.style.fontSize='18px';
|
||||
td.style.margin='4px';
|
||||
td.style.marginLeft='6px';
|
||||
td.style.marginRight='6px';
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
|
||||
td.innerHTML='<span>'+get.cnNumber(i,true)+'</span>';
|
||||
td.link=i-1;
|
||||
seats.appendChild(td);
|
||||
|
|
|
@ -666,17 +666,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
|
||||
for(var i=0;i<listi.length;i++){
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv');
|
||||
td.style.position='relative';
|
||||
td.style.display='inline-block';
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
|
||||
td.link=listi[i];
|
||||
td.style.padding='5px';
|
||||
td.style.paddingLeft='8px';
|
||||
td.style.paddingRight='8px';
|
||||
td.style.fontSize='18px';
|
||||
td.style.margin='4px';
|
||||
td.style.marginLeft='6px';
|
||||
td.style.marginRight='6px';
|
||||
if(td.link===game.me.identity){
|
||||
td.classList.add('bluebg');
|
||||
}
|
||||
|
@ -767,16 +758,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
seats.style.width='100%';
|
||||
seats.style.position='relative';
|
||||
for(var i=2;i<=game.players.length;i++){
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv');
|
||||
td.style.position='relative';
|
||||
td.style.display='inline-block';
|
||||
td.style.padding='5px';
|
||||
td.style.paddingLeft='8px';
|
||||
td.style.paddingRight='8px';
|
||||
td.style.fontSize='18px';
|
||||
td.style.margin='4px';
|
||||
td.style.marginLeft='6px';
|
||||
td.style.marginRight='6px';
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
|
||||
td.innerHTML=get.cnNumber(i,true);
|
||||
td.link=i-1;
|
||||
seats.appendChild(td);
|
||||
|
|
|
@ -802,16 +802,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
seats.style.width='100%';
|
||||
seats.style.position='relative';
|
||||
for(var i=1;i<=game.players.length;i++){
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv');
|
||||
td.style.position='relative';
|
||||
td.style.display='inline-block';
|
||||
td.style.padding='5px';
|
||||
td.style.paddingLeft='8px';
|
||||
td.style.paddingRight='8px';
|
||||
td.style.fontSize='18px';
|
||||
td.style.margin='4px';
|
||||
td.style.marginLeft='6px';
|
||||
td.style.marginRight='6px';
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
|
||||
td.innerHTML=get.cnNumber(i,true);
|
||||
td.link=i-1;
|
||||
seats.appendChild(td);
|
||||
|
@ -1090,16 +1081,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
seats.style.width='100%';
|
||||
seats.style.position='relative';
|
||||
for(var i=1;i<=game.players.length;i++){
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv');
|
||||
td.style.position='relative';
|
||||
td.style.display='inline-block';
|
||||
td.style.padding='5px';
|
||||
td.style.paddingLeft='8px';
|
||||
td.style.paddingRight='8px';
|
||||
td.style.fontSize='18px';
|
||||
td.style.margin='4px';
|
||||
td.style.marginLeft='6px';
|
||||
td.style.marginRight='6px';
|
||||
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
|
||||
td.innerHTML=get.cnNumber(i,true);
|
||||
td.link=i-1;
|
||||
seats.appendChild(td);
|
||||
|
|
Loading…
Reference in New Issue