noname/layout/mode/chess.css

301 lines
6.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,
2016-07-01 03:09:23 +00:00
#arena.chess>#mebg,
#arena.chess>#autonode{
2015-05-08 08:07:38 +00:00
bottom:0;
top:auto;
border-radius:0;
}
2016-08-29 11:00:45 +00:00
#arena.chess>#autonode{
width: calc(100% - 240px);
left: 120px;
}
2016-07-01 03:09:23 +00:00
#me>.fakeme.avatar {
width: 120px;
height: 120px;
border-radius: 0px;
top: 0;
left: 0;
background-size: cover;
2017-03-17 07:22:31 +00:00
-webkit-clip-path: polygon(-10px 0, 130px 0, 130px 130px, -10px 130px);
2016-07-01 03:09:23 +00:00
}
2017-02-11 07:47:22 +00:00
#window:not(.nopointer) .dialog.fullheight .buttons .button.character:not(.squarebutton):not(.selectable){
cursor: default;
}
2017-03-25 05:32:51 +00:00
#window:not(.nopointer) .obstacle.glow,
#window:not(.nopointer) .player.playerblank.glow{
2017-02-17 10:25:01 +00:00
cursor: pointer;
}
2015-05-08 08:07:38 +00:00
#chess-container{
width:100%;
2017-03-17 07:41:04 +00:00
height :calc(100% - 121px);
2015-05-08 08:07:38 +00:00
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;
}
2016-07-01 03:09:23 +00:00
#mebg,#me,#autonode{
2015-05-08 08:07:38 +00:00
height:120px;
}
2017-04-07 08:07:29 +00:00
#window:not(.nopointer) .dialog.pointerbutton .buttons .button:not(.unselectable){
cursor: pointer !important;
}
2015-05-08 08:07:38 +00:00
#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;
}
2017-02-05 10:40:30 +00:00
#arena.chess>.dialog{
height: calc(50% - 20px);
max-height: 240px;
}
2017-01-21 08:06:45 +00:00
#window[data-radius_size='reduce']>.dialog{
border-radius:4px;
}
#window[data-radius_size='off']>.dialog{
border-radius:0px;
}
#window[data-radius_size='increase']>.dialog{
border-radius:16px;
2016-02-01 09:32:18 +00:00
}
2015-05-09 02:56:55 +00:00
#arena>.dialog.slim:not(.center){
top:40px;
2017-02-17 09:35:56 +00:00
pointer-events: none;
2015-05-09 02:56:55 +00:00
}
2017-02-08 16:56:12 +00:00
#control{
2015-05-08 08:07:38 +00:00
top:calc(100% - 155px);
}
.fakeme{
width:120px;
height:120px;
border-radius:0px;
top:0;
}
2017-01-22 03:22:02 +00:00
#window[data-radius_size='increase'] .fakeme,
#window[data-radius_size='reduce'] .fakeme{
border-radius:0px;
}
2015-05-08 08:07:38 +00:00
.fakeme.avatar{
left:0;
background-size:cover;
}
.fakeme.player{
left:calc(100% - 120px);
text-align:center;
2015-11-09 17:04:18 +00:00
transition: all 0s;
2017-03-17 07:41:04 +00:00
-webkit-clip-path: polygon(-10px 0, 130px 0, 130px 130px, -10px 130px);
2015-11-09 17:04:18 +00:00
}
.fakeme.player.zoomed{
width: 240px;
height: 240px;
left:calc(100% - 240px);
top:calc(100% - 240px);
background-size:200%;
}
2017-03-17 07:41:04 +00:00
.fakeme.player>div{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: scroll;
left: 0;
top: 0;
}
.fakeme.player.zoomed>div>div{
2015-11-09 17:04:18 +00:00
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
}
2017-03-17 07:41:04 +00:00
.fakeme.player>div>div{
2015-05-08 08:07:38 +00:00
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;
}
2017-03-17 07:41:04 +00:00
#window:not(.nopointer) .fakeme.player>div>div{
cursor: pointer;
}
2015-05-11 11:57:44 +00:00
2017-03-17 07:41:04 +00:00
.fakeme.player>div>.selectable{
2015-05-11 11:57:44 +00:00
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;
}
2017-03-17 07:41:04 +00:00
.fakeme.player>div>.selected{
2015-05-11 11:57:44 +00:00
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
}
2017-03-17 07:41:04 +00:00
.fakeme.player>div>.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;
}
2017-01-21 08:06:45 +00:00
#window[data-radius_size='reduce'] .player.playergrid,
#window[data-radius_size='reduce'] .player.obstacle{
2016-02-01 09:32:18 +00:00
border-radius:4px;
}
2017-01-21 08:06:45 +00:00
#window[data-radius_size='off'] .player.playergrid,
#window[data-radius_size='off'] .player.obstacle{
border-radius:0px;
}
#window[data-radius_size='increase'] .player.playergrid,
#window[data-radius_size='increase'] .player.obstacle{
border-radius:16px;
}
2015-11-12 01:12:03 +00:00
.player.playerblank{
background: none;
}
2017-03-19 09:37:24 +00:00
#window .player.obstacle{
2015-11-09 03:15:16 +00:00
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;
2017-04-07 14:06:06 +00:00
pointer-events: none;
2015-10-20 17:44:00 +00:00
}
#arena.leadercontrol>#control{
transition: all 0.5s !important;
}
2015-11-09 03:15:16 +00:00
.player.treasure{
2017-04-01 02:26:24 +00:00
/*box-shadow: none;*/
2015-11-09 03:15:16 +00:00
}
.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
}
2017-04-03 16:41:31 +00:00
.button.newstyle .intro.showintro.tafang{
top: 6px;
}
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;
}
2016-01-13 06:37:59 +00:00
br.finish_game{
display: none;
}
2017-05-07 17:41:04 +00:00
#arena.chess.slim_player.lslim_player .player.minskin:not(.fakeme)>.avatar:not(.fakeme){
left: 5px;
top: 5px;
width: calc(100% - 10px);
height: calc(100% - 10px);
}