noname/layout/mobile/layout.css

186 lines
4.7 KiB
CSS
Raw Normal View History

2015-10-31 10:14:14 +00:00
@import "../default/layout.css";
@import "../newlayout/global.css";
@import "equip.css";
#arena{
width: 94%;
2015-10-31 16:18:20 +00:00
height: calc(95% + 20px);
2015-10-31 10:14:14 +00:00
left: 3%;
}
#control{
2015-11-04 01:59:00 +00:00
width: calc(5000% / 47 - 240px);
left:calc(-150% / 47 + 120px);
2015-10-31 16:18:20 +00:00
bottom:150px;
2015-10-31 10:14:14 +00:00
height: 40px;
}
/*#control>div{
height: 40px;
font-family: 'xinwei';
font-size: 30px;
line-height: 34px;
}*/
#arena:not(.chess)>#me,
#arena:not(.chess)>#mebg{
2015-10-31 16:18:20 +00:00
bottom:30px;
2015-10-31 10:14:14 +00:00
width: calc(5000% / 47);
left:calc(-150% / 47);
top:auto;
border-radius:0;
height:120px;
}
#arena:not(.chess) #handcards1{
height:120px;
padding:0;
top:calc(100% - 120px);
2015-11-01 07:54:42 +00:00
}
#arena:not(.chess):not(.single-handcard) #handcards1{
2015-10-31 10:14:14 +00:00
width:calc(100% - 240px);
left:120px;
}
#handcards2{
display:none;
}
#arena:not(.chess) .player[data-position='0']>.equips>div{
2015-11-04 01:59:00 +00:00
width: 45px;
height: 45px;
2015-10-31 10:14:14 +00:00
margin: 0;
2015-11-04 01:59:00 +00:00
border-radius: 4px;
2015-10-31 10:14:14 +00:00
position: absolute;
}
2015-11-04 01:59:00 +00:00
#arena:not(.chess) .player[data-position='0']>.equips>.equip5{
border-radius: 45px;
}
2015-10-31 10:14:14 +00:00
#arena:not(.chess) .player[data-position='0']{
width: calc(5000% / 47);
left:calc(-150% / 47);
height: 120px;
2015-10-31 16:18:20 +00:00
top: calc(100% - 150px);
2015-10-31 10:14:14 +00:00
background: none !important;
pointer-events: none;
}
#arena:not(.chess) .player[data-position='0']:not(.selected):not(.selectable):not(.glow){
box-shadow: none !important;
}
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.avatar,
2015-11-04 01:59:00 +00:00
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.avatar2,
2015-10-31 10:14:14 +00:00
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.equips{
width:120px;
height:120px;
border-radius:0px !important;
top:0;
left:0;
2015-11-05 02:34:35 +00:00
transition-property: opacity,transform;
transition-duration: 0.5s;
2015-10-31 10:14:14 +00:00
pointer-events: auto;
}
2015-11-01 07:54:42 +00:00
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.judges,
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.marks{
pointer-events: auto;
}
2015-10-31 10:14:14 +00:00
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.equips{
left:calc(100% - 120px);
}
#arena:not(.chess) .player[data-position='0']>.equips>.equip1{top: 10px;left: 10px;}
#arena:not(.chess) .player[data-position='0']>.equips>.equip2{top: 10px;right: 10px;}
#arena:not(.chess) .player[data-position='0']>.equips>.equip3{bottom: 10px;left: 10px;}
#arena:not(.chess) .player[data-position='0']>.equips>.equip4{bottom: 10px;right: 10px;}
#arena:not(.chess) .player[data-position='0']>.name{
left:4px;
}
#arena:not(.chess) .player[data-position='0']>.identity{
left: 106px;
top: -8px;
}
#arena:not(.chess) .player[data-position='0']>.damage{
width: 120px;
}
#arena:not(.chess) .player[data-position='0'].target{
transform:none !important;
}
#arena:not(.chess) .player[data-position='0']>.hp:not(.actcount){
bottom: 5px;
left: 100px;
}
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.count{
z-index: 2;
text-align: right;
left: -4px;
bottom:10px;
}
2015-11-01 07:54:42 +00:00
#arena:not(.chess) .player[data-position='0']>.hp.actcount{
top:10px;
left:2px;
}
#arena:not(.chess) .player.fullskin2[data-position='0']:not(.minskin)>.avatar,
#arena:not(.chess) .player.fullskin2[data-position='0']:not(.minskin)>.avatar2{
width:60px;
background-position:50%;
}
#arena:not(.chess) .player.fullskin2[data-position='0']:not(.minskin)>.avatar2{
left:60px;
top:0;
z-index:1;
}
.popup[data-position='0']{
top:calc(100% - 187px);
left:calc(-150% / 47 + 15px);
}
#arena:not(.chess) .player[data-position='0']>.judges{
transform: rotate(-90deg);
left: -12px;
top: -5px;
transform-origin: top center;
}
#arena:not(.chess) .player[data-position='0']>.marks {
transform: rotate(90deg);
right: -12px;
left:auto;
top: -5px;
transform-origin: top center;
}
#arena:not(.chess) .player[data-position='0']>.judges>.card{
transform: rotate(90deg);
}
#arena:not(.chess) .player[data-position='0']>.marks>div{
transform: rotate(-90deg);
}
2015-10-31 10:14:14 +00:00
#arena:not(.chess) .player[data-position='0'].linked{
transform: none;
}
2015-11-04 01:59:00 +00:00
#arena:not(.chess) .player[data-position='0'].linked .avatar,
#arena:not(.chess) .player[data-position='0'].linked .avatar2{
2015-10-31 10:14:14 +00:00
transform: rotate(-90deg);
}
2015-11-04 01:59:00 +00:00
#arena:not(.chess) .player[data-position='0'].fullskin2 .avatar{
transform-origin: right center;
}
#arena:not(.chess) .player[data-position='0'].fullskin2 .avatar2{
transform-origin: left center;
}
2015-10-31 10:14:14 +00:00
.dialog{
2015-10-31 16:18:20 +00:00
height:calc(100% - 370px);
bottom:170px;
}
.dialog.fullheight {
height: calc(100% - 123px) !important;
top: 40px !important;
2015-10-31 10:14:14 +00:00
}
2015-10-31 16:18:20 +00:00
@media screen and (min-height: 800px) and (orientation:landscape) {
#arena{height: 780px;top: calc(50% - 350px);}
2015-10-31 10:14:14 +00:00
#arena:not(.chess)>#me,
#arena:not(.chess)>#mebg{
2015-10-31 16:18:20 +00:00
bottom:30px;
2015-10-31 10:14:14 +00:00
}
#arena:not(.chess) .player[data-position='0']{
2015-10-31 16:18:20 +00:00
top: calc(100% - 150px);
2015-10-31 10:14:14 +00:00
}
}