1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/webroot/rsrc/css/application/chatlog/chatlog.css
Asher Baker ff4fa1885b Improve pagination in ChatLog application
Summary:
- Add an extra paginator at the top.
- Add a link to jump to the bottom (where the latest messages are).
- Align paginators with edge of content rather than the page.

Test Plan: Looked at the chatlog.

Reviewers: epriestley, chad, #blessed_reviewers

CC: chad, Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D7280
2013-10-10 04:49:04 -07:00

106 lines
1.8 KiB
CSS

/**
* @provides phabricator-chatlog-css
*/
.phabricator-chat-log-wrap {
padding: 0 20px;
}
.device-phone .phabricator-chat-log-wrap {
padding: 0;
}
.phabricator-chat-log-pager-top {
padding: 16px 4px 8px;
font-weight: bold;
float: right;
}
.phabricator-chat-log-pager-bottom {
padding: 8px 4px 16px;
font-weight: bold;
float: right;
}
.phabricator-chat-log-pager-top a, .phabricator-chat-log-pager-bottom a {
padding: 2px 3px;
}
.phabricator-chat-log-jump {
padding: 16px 4px 8px;
font-weight: bold;
float: left;
}
.phabricator-chat-log-panel {
clear: both;
border-left: 1px solid #e7e7e7;
border-right: 1px solid #e7e7e7;
border-bottom: 1px solid #c0c5d1;
}
.phabricator-chat-log {
width: 100%;
border: 1px solid #e7e7e7;
box-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.phabricator-chat-log td {
padding: 8px;
line-height: 18px;
}
.phabricator-chat-log tr {
background: #fafafa;
}
.phabricator-chat-log tr td.author {
background: #e7e7ee;
}
.phabricator-chat-log tr.alternate {
border-top: 1px solid #e7e7e7;
border-bottom: 1px solid #e7e7e7;
}
.phabricator-chat-log tr.alternate td.author {
background: #dfdfe6;
}
.phabricator-chat-log tr.highlight td {
background: #ffff88;
}
.phabricator-chat-log tr.highlight td.author {
background: #eeee88;
}
.phabricator-chat-log td.timestamp {
white-space: nowrap;
text-align: right;
width: 12em;
}
.phabricator-chat-log td.message .timestamp {
color: #a1a5a9;
font-size: 11px;
float: right;
margin-left: 5px;
}
.phabricator-chat-log td.author {
white-space: nowrap;
text-align: right;
font-weight: bold;
width: 140px;
color: #555555;
}
.device-phone .phabricator-chat-log td.author {
width: 80px;
}
.phabricator-chat-log td.message {
white-space: pre-wrap;
word-break: break-word;
}