noname/layout/mode/boss.css

118 lines
2.1 KiB
CSS
Raw Normal View History

2015-05-11 11:57:44 +00:00
#bosslist{
width:100%;
height:calc(50% + 200px);
text-align:center;
top:calc(50% - 200px);
2015-05-12 09:51:40 +00:00
top:60px;
2015-05-11 11:57:44 +00:00
white-space:nowrap;
z-index:1;
overflow-x:scroll;
}
.bosspaused>#bosslist,
2015-05-12 09:51:40 +00:00
.bosspaused>#control,
.bosspaused>.dialog.bosscharacter{
2015-05-11 11:57:44 +00:00
opacity:0.2 !important;
}
2015-05-12 09:51:40 +00:00
#bosslist.hidden>.player{
transition:all 0s;
}
#bosslist>div:first-child,
#bosslist>div:last-child{
width:20px;
position:relative;
}
.player.bossplayer.bossing{
position:absolute;
}
.player.bossing .avatar{
transition:all 0.5s;
}
.player.bossplayer.highlight{
2015-11-05 02:34:35 +00:00
transform:scale(1.1);
2015-05-11 11:57:44 +00:00
opacity:1;
}
2015-05-12 09:51:40 +00:00
#bosslist.removing>.player.bossplayer.highlight{
transition:all 0s;
opacity:0;
}
.player.bossplayer{
2015-05-11 11:57:44 +00:00
position:relative;
margin:10px;
left:0;
top:0;
width:180px;
height:216px;
transition: all 0.3s;
2015-05-12 09:51:40 +00:00
opacity:0.6;
2015-11-05 02:34:35 +00:00
animation:game_start 0.5s;
2015-05-12 09:51:40 +00:00
-webkit-animation:game_start 0.5s;
2015-05-11 11:57:44 +00:00
}
2015-05-12 09:51:40 +00:00
.player.bossplayer>div:not(.hp):not(.identity):not(.avatar){
2015-05-11 11:57:44 +00:00
display:none !important;
}
2015-05-12 09:51:40 +00:00
.player.bossplayer>.identity{
2015-05-11 11:57:44 +00:00
left:16px;
top:20px;
line-height:24px;
white-space:normal;
}
2015-05-12 09:51:40 +00:00
.player.bossplayer>.hp{
2015-05-11 11:57:44 +00:00
top:22px;
left:144px;
}
2015-05-12 09:51:40 +00:00
.player.bossplayer>.avatar{
2015-11-07 00:01:37 +00:00
width:160px;
height:196px;
2015-05-11 11:57:44 +00:00
}
#control.bosslist{
2015-05-12 09:51:40 +00:00
top:calc(100% - 50px);
position:fixed;
}
.dialog.bosscharacter{
top:auto;
bottom:65px;
height:calc(100% - 383px);
background: rgba(0,0,0,0.2);
box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px;
border-radius:8px;
}
.bosschongzheng{
width:calc(100% - 20px);
white-space:nowrap;
position:relative;
}
.bosschongzheng div{
position:relative;
}
.bosschongzheng>div{
width:100%;
display:block;
margin-bottom:5px;
}
.bosschongzheng>div>div:first-child{
text-align:left;
width:30%;
2015-05-11 11:57:44 +00:00
}
2015-05-12 09:51:40 +00:00
.bosschongzheng>div>div:last-child{
text-align:right;
width:70%;
2015-05-11 11:57:44 +00:00
}
2015-05-12 09:51:40 +00:00
@media screen and (min-height: 800px) {
.dialog.bosscharacter{
height:417px;
bottom:calc(50% - 335px);
}
#control.bosslist{
top:calc(50% + 350px);
}
#bosslist{
top:calc(40% - 260px);
}
}