Light12306/Web12306/css/ui/chat/chat-frame.css

42 lines
727 B
CSS
Raw Normal View History

2014-07-25 22:28:51 +08:00
#chat-frame {
position: fixed;
right: 0;
top: 0;
z-index: 2;
width: 360px;
height: 100%;
background: #fff;
border-left: 1px solid #d67e29;
box-shadow: 0 0 5px rgba(214, 126, 41, 0.50);
box-sizing: border-box;
}
#chat-frame .chat-page {
position: absolute;
top: 75px;
left: 360px;
bottom: 10px;
width: 340px;
transition: all linear 0.2s;
}
#chat-frame .chat-page-current {
left: 10px;
opacity: 1;
transition: all linear 0.2s;
}
#chat-frame > header {
line-height: 52px;
font-size: 18px;
padding: 5px 10px 5px 10px;
position: absolute;
display: block;
width: 100%;
background: linear-gradient(to bottom, #FF8005, #EF7108);
font-weight: bold;
color: #ffffff;
top: 0;
}