noname/layout/mode/chess.css

225 lines
4.1 KiB
CSS
Raw Normal View History

2015-05-08 08:07:38 +00:00
#arena.chess{
2015-10-27 07:56:42 +00:00
width:100% !important;
height:100% !important;
left:0 !important;
top:0 !important;
2015-05-08 08:07:38 +00:00
transition:all 0s !important;
}
#arena.chess>#me,
#arena.chess>#mebg{
bottom:0;
top:auto;
border-radius:0;
}
#chess-container{
width:100%;
height :calc(100% - 120px);
left:0;
top:0;
overflow:scroll;
text-align:center;
2015-12-12 08:37:15 +00:00
position: absolute;
2015-05-08 08:07:38 +00:00
}
#chess{
margin-top:36px;
2015-05-10 05:34:37 +00:00
margin-bottom:36px;
2015-05-08 08:07:38 +00:00
position:relative;
}
#arena .card.thrown{
z-index:4;
}
2015-09-30 07:24:45 +00:00
#canvas2{
position: absolute;
z-index: 10;
pointer-events: none;
}
2015-05-08 08:07:38 +00:00
#handcards1{
height:120px;
padding:0;
top:calc(100% - 120px);
width:calc(100% - 240px);
left:120px;
}
#handcards2{
display:none;
}
#mebg,#me{
height:120px;
}
#system{
z-index:5;
}
#arena>.dialog{
width:400px;
height:240px;
left:calc(50% - 200px);
top:calc(50% - 120px);
background: rgba(0,0,0,0.2);
box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px;
border-radius:8px;
}
2015-05-09 02:56:55 +00:00
#arena>.dialog.slim:not(.center){
top:40px;
}
2015-05-08 08:07:38 +00:00
#control{
top:calc(100% - 155px);
}
2015-11-12 01:12:03 +00:00
/*#arena.mobile #control{
2015-11-01 07:54:42 +00:00
top:calc(100% - 170px);
2015-11-12 01:12:03 +00:00
}*/
2015-05-08 08:07:38 +00:00
.fakeme{
width:120px;
height:120px;
border-radius:0px;
top:0;
}
.fakeme.avatar{
left:0;
background-size:cover;
}
.fakeme.player{
left:calc(100% - 120px);
overflow:scroll;
text-align:center;
2015-11-09 17:04:18 +00:00
transition: all 0s;
}
.fakeme.player.zoomed{
width: 240px;
height: 240px;
left:calc(100% - 240px);
top:calc(100% - 240px);
background-size:200%;
}
.fakeme.player.zoomed>div{
width: 90px;
height: 90px;
left: 0;
top: 16px;
margin-left: 8px;
margin-right: 8px;
margin-bottom: 16px;
2015-05-08 08:07:38 +00:00
}
.fakeme.player>div{
width:45px;
height:45px;
background-size:cover;
border-radius:4px;
position:relative;
left:0;
top:8px;
margin-left: 4px;
margin-right: 4px;
margin-bottom: 8px;
2015-05-11 11:57:44 +00:00
transition:box-shadow 0.5s;
}
.fakeme.player>.selectable{
box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 1) 0 0 5px, rgba(0, 133, 255, 1) 0 0 10px;
}
.fakeme.player>.selected{
box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(255, 0, 0, 1) 0 0 5px, rgba(255, 0, 0, 1) 0 0 10px !important;
2015-05-08 08:07:38 +00:00
}
.fakeme.player>.dead{
2015-11-05 02:34:35 +00:00
filter:grayscale(1);
2015-05-08 08:07:38 +00:00
-webkit-filter:grayscale(1);
opacity:0.5;
}
.card.drawing{
2015-11-05 02:34:35 +00:00
animation: drawing2 1s;
animation-fill-mode: forwards;
2015-05-08 08:07:38 +00:00
-webkit-animation: drawing2 1s;
-webkit-animation-fill-mode: forwards;
}
2015-11-09 03:15:16 +00:00
.player.playergrid,.player.obstacle{
2015-05-08 08:07:38 +00:00
background: rgba(0,0,0,0.2);
box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px;
border-radius:8px;
}
2015-11-12 01:12:03 +00:00
.player.playerblank{
background: none;
}
2015-11-09 03:15:16 +00:00
.player.obstacle{
background: repeating-linear-gradient(
135deg,
rgba(0,0,0,0.2),
rgba(0,0,0,0.2) 10px,
rgba(0,0,0,0.1) 10px,
rgba(0,0,0,0.1) 20px
);
}
2015-05-08 13:37:34 +00:00
.playergrid.temp{
opacity:0.3;
}
2015-05-09 02:56:55 +00:00
.chessscroll{
height:calc(100% - 162px);
width:20px;
top:42px;
z-index:1;
position:fixed;
}
.chessscroll.left{
left:0;
}
.chessscroll.right{
right:0;
}
2015-05-13 10:26:54 +00:00
.button.forbidden{
opacity:0.6
}
2015-10-20 17:44:00 +00:00
#arena.leaderhide>*:not(canvas){
opacity:0 !important;
transition: all 0.5s !important;
}
#arena.leadercontrol>#control{
transition: all 0.5s !important;
}
2015-11-09 03:15:16 +00:00
.player.treasure{
box-shadow: none;
}
.player.treasure .count,
.player.treasure .identity{
display: none;
}
.player.treasure .avatar{
width: 120px;
height: 120px;
left: 0;
top: 0;
}
2015-11-09 09:05:28 +00:00
.player.minskin .action{
2015-11-09 03:15:16 +00:00
text-shadow: black 0 0 1px !important;
font-size: 16px !important;
left:0;
}
.player .action.thunder{
color: rgb(117,186,255);
}
#arena.selecting .player .action:not(.hidden){
opacity: 1 !important;
}
2015-11-12 01:12:03 +00:00
.button .intro.showintro.tafang{
font-family: 'xinwei';
font-size: 20px;
top: 66px;
2015-12-09 08:49:22 +00:00
right: 5px;
left:auto;
2015-11-12 01:12:03 +00:00
}
2015-11-26 16:12:42 +00:00
.dialog .buttons>.button.character.squarebutton{
height:90px;
}
.dialog .buttons>.button.character.squarebutton>.hp.text{
/*left:22px;*/
right: 4px;
text-align: right;
bottom: 4px;
top: auto;
left: auto;
}
.dialog .buttons>.button.character.squarebutton>.name{
top:8px;
}