noname/layout/mode/story.css

209 lines
4.3 KiB
CSS
Raw Normal View History

2016-06-16 15:34:00 +00:00
.storyscene{
2016-06-15 14:16:41 +00:00
height: 500px;
top:calc(50% - 250px);
width: 100%;
position: absolute;
left: 0;
overflow-x: scroll;
overflow-y: hidden;
text-align: center;
white-space: nowrap;
}
2016-06-17 15:44:19 +00:00
.storyscene.removing{
pointer-events: none;
transform: translateY(500px);
}
2016-06-16 15:34:00 +00:00
.storyscene.lockscroll{
2016-06-15 14:16:41 +00:00
overflow-x: hidden;
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene{
2016-06-15 14:16:41 +00:00
width: 350px;
height: 420px;
position: relative;
left: 0;
top:40px;
margin-left: -40px;
margin-right: -40px;
z-index: 1;
border-radius: 16px !important;
overflow: hidden;
2016-06-18 02:39:56 +00:00
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
2016-06-15 14:16:41 +00:00
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene>.background.player{
border-radius: 0 !important;
box-shadow: none !important;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 1;
}
.storyscene>.scene.unselectable{
opacity: 1 !important;
box-shadow: rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.225) 0 3px 10px;
}
.storyscene>.scene.unselectable>.background{
opacity: 0.3;
}
.storyscene>.scene.unselectable>.name{
opacity: 0.6;
}
.storyscene>.scene.unselectable>div:not(.mask).background{
/*opacity: 0.25;*/
}
.storyscene>.scene>.mask{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 3;
}
.storyscene>.scene>.mask>div{
width: 100%;
height: 240px;
top:calc(50% - 120px);
position: absolute;
left: 0;
text-align: center;
font-size: 80px;
line-height: 80px;
font-family: 'xinwei';
opacity: 0.8;
}
.storyscene>.scene:not(.unselectable)>.mask{
display: none;
}.storyscene>.scene.unselectable>.name{
/*display: none;*/
}
.storyscene>.scene.flipped{
2016-06-15 14:16:41 +00:00
z-index: 2;
border-radius: 12px !important;
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene.flipped>div:not(.menu){
display: none !important;
2016-06-15 14:16:41 +00:00
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene:not(.flipped)>.menu{
2016-06-15 14:16:41 +00:00
display: none;
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene:first-child{
2016-06-15 14:16:41 +00:00
margin-left: 50px;
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene:last-child{
2016-06-15 14:16:41 +00:00
margin-right: 50px;
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene>.name{
2016-06-15 14:16:41 +00:00
font-size: 48px;
2016-06-18 02:39:56 +00:00
left: 25px;
2016-06-15 14:16:41 +00:00
top: auto;
bottom: 28px;
2016-06-18 02:39:56 +00:00
/*transform: rotateY(-180deg);*/
2016-06-15 14:16:41 +00:00
border-radius: 16px !important;
2016-06-18 02:39:56 +00:00
z-index: 2;
font-family: 'xinwei'
2016-06-15 14:16:41 +00:00
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene>.menu{
2016-06-15 14:16:41 +00:00
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
box-shadow: none;
2016-06-19 05:35:51 +00:00
overflow: scroll;
2016-06-15 14:16:41 +00:00
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene>.background>.avatar{
2016-06-15 14:16:41 +00:00
width: calc(100% - 26px);
height: calc(100% - 26px);
left: 13px;
top: 13px;
2016-06-18 02:39:56 +00:00
z-index: 2;
}
.storyscene>.scene>.menu{
2016-06-15 14:16:41 +00:00
transform: rotateY(-180deg);
}
2016-06-18 02:39:56 +00:00
.storyscene>.scene.startscene{
2016-06-15 14:16:41 +00:00
-webkit-animation: scene_start 0.5s;
}
2016-06-18 02:39:56 +00:00
.scene>.menu>.menubutton.enter{
2016-06-17 15:44:19 +00:00
position: absolute;
top:auto;
bottom: 10px;
width: 70px;
left: calc(50% - 35px);
}
2016-06-19 05:35:51 +00:00
.scene>.menu>.conversation{
display: table;
position: absolute;
left: 16px;
top: 0;
width: calc(100% - 32px);
height: 100%;
font-size: 24px;
font-family: 'xinwei';
white-space: normal;
text-align: left;
}
.scene>.menu>.conversation.center{
text-align: center;
font-size: 30px;
}
.scene>.menu>.avatarconversation{
position: relative;
display: block;
width: 100%;
height: 100px;
left: 0;
margin-top: 10px;
}
.scene>.menu>.avatarconversation:last-child{
margin-bottom: 10px;
}
.scene>.menu>.avatarconversation>div{
height: 100%;
top:0;
}
.scene>.menu>.avatarconversation>.avatar{
width: 100px;
height: 100px;
left: 10px;
background-size: cover;
}
.scene>.menu>.avatarconversation.swap>.avatar{
left: auto;
right: 10px;
}
.scene>.menu>.avatarconversation>div:not(.avatar){
width: calc(100% - 120px);
left: 120px;
top: 5px;
height: calc(100% - 5px);
text-align: left;
white-space: normal;
line-height: 18px;
}
.scene>.menu>.avatarconversation.swap>div:not(.avatar){
left: auto;
right: 120px;
text-align: right;
}
.scene>.menu>.conversation>div{
display: table-cell;
vertical-align: middle;
position: relative;
}
2016-06-15 14:16:41 +00:00
@-webkit-keyframes scene_start{
from{
opacity: 0;
transform:scale(0.5);
margin-left: -175px;
margin-right: -175px;
}
to{
opacity: 1;
transform: scale(1);
margin-left: 16px;
margin-right: 16px;
}
}