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

306 lines
5.8 KiB
CSS
Raw Normal View History

2014-07-25 22:28:51 +08:00
#chat_container > header {
font-weight: bold;
line-height: 30px;
font-size: 18px;
background-color: #ffe7cf;
padding: 5px;
color: #96612d;
2014-08-14 21:33:47 +08:00
margin: -13px -10px -10px -10px;
2014-07-25 22:28:51 +08:00
}
#chat_container > header > span:last-child {
font-size: 14px;
float: right;
}
#chat_container .chat-items {
position: absolute;
2014-08-14 21:33:47 +08:00
top: 35px;
2014-07-25 22:28:51 +08:00
left: 0;
right: 0;
2014-09-10 21:49:46 +08:00
bottom: 160px;
2014-07-29 21:19:06 +08:00
overflow-y: auto;
2014-07-25 22:28:51 +08:00
}
#chat_container .chat-items .chat-item {
padding: 5px;
border-radius: 3px;
background-color: #f9f9f9;
color: #888;
margin-bottom: 10px;
line-height: 170%;
2015-08-10 19:28:33 +08:00
position: relative;
2014-07-25 22:28:51 +08:00
}
2014-08-14 21:33:47 +08:00
#chat_container .chat-items .chat-item i {
margin-right: 5px;
}
2014-08-18 23:12:35 +08:00
#chat_container .chat-items .chat-item em {
font-weight: normal;
color: gray;
margin-left: 5px;
margin-right: 5px;
font-style: normal;
}
2014-07-29 21:19:06 +08:00
#chat_container .chat-items .chat-item > header {
2014-07-25 22:28:51 +08:00
font-weight: bold;
2014-07-29 21:19:06 +08:00
float: left;
2014-07-25 22:28:51 +08:00
}
2014-07-29 21:19:06 +08:00
#chat_container .chat-items .chat-item > section {
}
2014-09-16 21:40:29 +08:00
#chat_container .chat-items .chat-item > section img {
max-width: 300px;
cursor: pointer;
}
#chat_container .chat-items .chat-item > section > div {
word-wrap: break-word;
2015-08-10 19:28:33 +08:00
clear: both;
border-top: 1px dotted#ccc;
padding-top: 5px;
2014-09-16 21:40:29 +08:00
}
2014-07-29 21:19:06 +08:00
#chat_container .chat-items .chat-item > time {
2014-07-25 22:28:51 +08:00
float: right;
}
#chat_container .chat-items .chat-item-alert {
2014-08-14 21:33:47 +08:00
color: #46474E;
background-color: #F8F8F8;
2014-07-25 22:28:51 +08:00
}
2014-09-13 03:44:02 +08:00
#chat_container .chat-items .chat-item-warning {
color: #bb4474;
background-color: #FFF4F4;
}
2014-07-25 22:28:51 +08:00
#chat_container .chat-items .chat-item-self {
2014-08-18 23:12:35 +08:00
color: rgb(55, 153, 55);
background-color: #EFFAEF;
2014-07-25 22:28:51 +08:00
}
2014-08-30 01:32:27 +08:00
#chat_container .chat-items .chat-items-system {
border: 2px solid;
}
2014-07-25 22:28:51 +08:00
#chat_container .chat-items .chat-item-receive {
2014-08-18 23:12:35 +08:00
color: rgb(50, 83, 168);
background-color: #F9FAFF;
}
#chat_container .chat-items .chat-item-target {
color: rgb(50, 83, 168);
background-color: #BBE7FF;
2014-07-25 22:28:51 +08:00
}
#chat_container .chat-items .chat-item-private {
2014-07-29 21:19:06 +08:00
border-width: 2px;
}
2014-08-19 21:33:26 +08:00
2014-08-30 01:32:27 +08:00
#chat_container .chat-items .chat-state-disconnect,
#chat_container .chat-items .chat-state-error {
2014-08-18 23:12:35 +08:00
background-color: #ffeeee;
2014-08-19 21:33:26 +08:00
color: rgb(168, 50, 64);
2014-08-18 23:12:35 +08:00
}
2015-08-10 19:28:33 +08:00
#chat_container .chat-items .chat-state-info {
2015-07-08 17:24:45 +08:00
background-color: #eef7ff;
color: #696bb6;
}
2014-07-29 21:19:06 +08:00
2015-08-10 19:28:33 +08:00
#chat_container .chat-items .chat-state-disconnect a {
text-decoration: underline;
color: #7A7A7A;
}
2014-08-19 21:33:26 +08:00
2015-08-10 19:28:33 +08:00
#chat_container .chat-items .chat-state-disconnect a:hover {
color: #444444;
}
2014-08-19 21:33:26 +08:00
2015-03-13 19:25:08 +08:00
#chat_container .chat-item footer {
text-align: right;
font-weight: normal;
color: gray;
2015-08-10 19:28:33 +08:00
position: absolute;
right: 0;
bottom: 0;
background-color: #fff;
border: 1px solid #ccc;
padding: 2px;
margin: 1px;
display: none;
2015-03-13 19:25:08 +08:00
}
#chat_container .chat-item:hover footer {
2015-08-10 19:28:33 +08:00
/*visibility: visible;*/
display: block;
2015-03-13 19:25:08 +08:00
}
#chat_container .chat-items a.chat-reportabuse:link {
color: gray;
}
#chat_container .chat-items a.chat-reportabuse:hover {
color: #bb4474;
text-decoration: underline;
}
2014-08-14 21:33:47 +08:00
#chat_container .chat-item-at {
color: inherit;
text-decoration: underline;
}
2014-07-25 22:28:51 +08:00
#chat_container .chat-editor {
position: absolute;
bottom: 0;
right: 0;
left: 0;
2014-09-10 21:49:46 +08:00
height: 150px;
2014-09-05 18:34:16 +08:00
background: #ffffff;
2014-07-25 22:28:51 +08:00
}
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header {
2014-09-16 21:40:29 +08:00
position: relative;
}
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header > .popup-smail {
2014-09-16 21:40:29 +08:00
position: absolute;
2015-08-10 19:28:33 +08:00
height: 200px;
width: 300px;
border: 1px solid #cccccc;
border-radius: 3px 3px 0 0;
background-color: #fff;
padding: 5px;
bottom: 100%;
margin-bottom: -1px;
2014-09-16 21:40:29 +08:00
left: 0;
2015-08-10 19:28:33 +08:00
overflow: auto;
display: none;
}
#chat_container .chat-editor > header > .popup-smail li {
float: left;
cursor: pointer;
padding: 1px;
}
#chat_container .chat-editor > header > .popup-smail li:hover {
background: #eee;
}
#chat_container .chat-editor > header > .popup-smail-on {
2014-09-16 21:40:29 +08:00
display: block;
}
2014-07-25 22:28:51 +08:00
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header > .editor-group {
display: inline-block;
position: relative;
vertical-align: bottom;
overflow: hidden;
margin-right: -1px;
2014-09-09 14:55:30 +08:00
}
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header > .editor-group input[type=file] {
z-index: 1;
position: absolute;
left: 0;
top: 0;
display: block;
width: 30px;
opacity: 0;
cursor: pointer;
}
2014-09-09 14:55:30 +08:00
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header > .editor-group button {
width: 30px;
}
2014-09-16 21:40:29 +08:00
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header > select {
margin-right: 5px;
width: 120px;
}
#chat_container .chat-editor > header > label {
margin-right: 0;
}
2014-09-16 21:40:29 +08:00
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header > button,
#chat_container .chat-editor > header > input {
margin-right: -1px;
}
2014-09-16 21:40:29 +08:00
2014-07-25 22:28:51 +08:00
#chat_container .chat-editor input[type='color'] {
padding: 0;
background: none;
vertical-align: bottom;
border: 1px solid #ccc;
cursor: pointer;
2014-09-16 21:40:29 +08:00
width: 30px;
2014-07-25 22:28:51 +08:00
}
#chat_container .chat-editor input[type='color']:hover {
background-color: #fafafa;
}
2014-09-16 21:40:29 +08:00
#chat_container .chat-editor > header button {
2014-07-25 22:28:51 +08:00
background: none;
border: 1px solid #ccc;
padding: 4px 5px;
vertical-align: bottom;
cursor: pointer;
2015-07-31 22:42:18 +08:00
line-height: 15px;
}
2015-08-10 19:28:33 +08:00
2015-07-31 22:42:18 +08:00
#chat_container .chat-editor > header select {
2015-08-10 19:28:33 +08:00
border-radius: 0;
border-left: 0;
2014-07-25 22:28:51 +08:00
}
2015-08-10 19:28:33 +08:00
#chat_container .chat-editor > header button:hover {
background-color: #fafafa;
}
2014-07-25 22:28:51 +08:00
#chat_container .chat-editor > section {
overflow-y: auto;
position: absolute;
left: 0;
right: 0;
top: 35px;
bottom: 45px;
border: 1px solid #bbb;
border-radius: 5px;
padding: 10px;
2014-08-18 23:12:35 +08:00
line-height: 24px;
2014-07-25 22:28:51 +08:00
}
2014-08-18 23:12:35 +08:00
#chat_container .chat-editor > section .chat-editor-at {
padding: 5px;
background-color: royalblue;
color: #fff;
margin-right: 5px;
border-radius: 5px;
}
2014-07-25 22:28:51 +08:00
#chat_container .chat-editor > section:focus {
outline: none;
}
#chat_container .chat-editor > header {
}
#chat_container .chat-editor > footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
#chat_container .chat-editor > footer button.button-primary {
float: right;
}