2011-01-25 20:31:40 +01:00
|
|
|
/**
|
|
|
|
* @provides aphront-table-view-css
|
|
|
|
*/
|
|
|
|
|
2013-01-22 23:46:40 +01:00
|
|
|
.device-phone .aphront-table-wrap,
|
|
|
|
.device-tablet .aphront-table-wrap {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-table-view {
|
2013-01-11 20:24:35 +01:00
|
|
|
width: 100%;
|
2011-01-25 20:31:40 +01:00
|
|
|
border-collapse: collapse;
|
2013-01-11 20:24:35 +01:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #d5dae0;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view tr.alt {
|
2013-01-11 20:24:35 +01:00
|
|
|
background: #f1f3f8;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view th {
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
2013-01-11 20:24:35 +01:00
|
|
|
color: #525252;
|
|
|
|
text-shadow: 0 1px 0 white;
|
|
|
|
font-weight: bold;
|
2013-04-24 21:20:27 +02:00
|
|
|
background-color: #d9dde2;
|
2013-01-11 20:24:35 +01:00
|
|
|
background-image: url(/rsrc/image/texture/table_header.png);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.aphront-table-view-sortable-selected {
|
|
|
|
background-image: url(/rsrc/image/texture/table_header_hover.png);
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2012-03-20 03:48:22 +01:00
|
|
|
.aphront-table-view th a,
|
|
|
|
.aphront-table-view th a:hover,
|
|
|
|
.aphront-table-view th a:link {
|
2013-01-11 20:24:35 +01:00
|
|
|
color: #525252;
|
|
|
|
text-shadow: 0 1px 0 white;
|
2012-03-20 03:48:22 +01:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view th a:hover {
|
2013-01-11 20:24:35 +01:00
|
|
|
text-decoration: underline;
|
2012-03-20 03:48:22 +01:00
|
|
|
}
|
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-table-view td.header {
|
2013-01-11 20:24:35 +01:00
|
|
|
padding: 4px 8px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: right;
|
|
|
|
color: #525252;
|
|
|
|
font-weight: bold;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td {
|
2013-01-11 20:24:35 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-down-sort {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 5px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
vertical-align: top;
|
|
|
|
border-top: 4px solid black;
|
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-up-sort {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 5px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
vertical-align: top;
|
|
|
|
border-bottom: 4px solid black;
|
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
content: "";
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2012-12-18 00:16:44 +01:00
|
|
|
/* - Padding -------------------------------------------------------------------
|
|
|
|
|
|
|
|
On desktops, we have more horizontal space and use it to space columns out.
|
|
|
|
|
|
|
|
On devices, we make each row slightly taller to create a larger hit target
|
|
|
|
for links.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.aphront-table-view th {
|
2013-01-11 20:24:35 +01:00
|
|
|
padding: 8px 10px;
|
|
|
|
font-size: 12px;
|
2012-12-18 00:16:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td {
|
2013-01-11 20:24:35 +01:00
|
|
|
padding: 6px 10px;
|
|
|
|
font-size: 12px;
|
2012-12-18 00:16:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-tablet .aphront-table-view td,
|
|
|
|
.device-phone .aphront-table-view td {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-tablet .aphront-table-view td + td,
|
|
|
|
.device-phone .aphront-table-view td + td {
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-tablet .aphront-table-view th,
|
|
|
|
.device-phone .aphront-table-view th {
|
|
|
|
padding: 6px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-tablet .aphront-table-view th + th,
|
|
|
|
.device-phone .aphront-table-view th + th {
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
2012-03-20 03:48:22 +01:00
|
|
|
.aphront-table-view td.sorted-column {
|
2013-01-11 20:24:35 +01:00
|
|
|
background: #f1f3f8;
|
2012-03-20 03:48:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view tr.alt td.sorted-column {
|
2013-01-11 20:24:35 +01:00
|
|
|
background: #e4e6eb;
|
2012-03-20 03:48:22 +01:00
|
|
|
}
|
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-table-view td.action {
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.larger {
|
2013-01-11 20:24:35 +01:00
|
|
|
font-size: 14px;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.pri {
|
2013-01-11 20:24:35 +01:00
|
|
|
font-weight: bold;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.wide {
|
2013-01-11 20:24:35 +01:00
|
|
|
white-space: normal;
|
|
|
|
width: 100%;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.right {
|
2013-01-11 20:24:35 +01:00
|
|
|
text-align: right;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.mono {
|
2013-01-11 20:24:35 +01:00
|
|
|
font-family: "Monaco", monospace;
|
|
|
|
font-size: 11px;
|
2011-01-25 20:31:40 +01:00
|
|
|
}
|
|
|
|
|
2011-02-02 22:48:52 +01:00
|
|
|
.aphront-table-view td.n {
|
2013-01-11 20:24:35 +01:00
|
|
|
font-family: "Monaco", monospace;
|
|
|
|
font-size: 11px;
|
|
|
|
text-align: right;
|
2011-02-02 22:48:52 +01:00
|
|
|
}
|
|
|
|
|
2012-08-02 22:58:54 +02:00
|
|
|
.aphront-table-view td.wrap {
|
2011-02-03 07:38:42 +01:00
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2013-07-23 21:30:58 +02:00
|
|
|
.aphront-table-view td.prewrap {
|
|
|
|
font-family: "Monaco", monospace;
|
|
|
|
font-size: 11px;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2012-08-02 22:58:54 +02:00
|
|
|
.aphront-table-view td.narrow {
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
2011-07-31 17:38:06 +02:00
|
|
|
div.single-display-line-bounds {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.single-display-line-content {
|
|
|
|
white-space: pre;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2011-07-30 01:01:59 +02:00
|
|
|
.aphront-table-view tr.highlighted {
|
2013-01-11 20:24:35 +01:00
|
|
|
background: #fcf8e2;
|
2011-07-30 01:01:59 +02:00
|
|
|
}
|
|
|
|
|
2011-03-31 09:55:18 +02:00
|
|
|
.aphront-table-view tr.alt-highlighted {
|
2013-01-11 20:24:35 +01:00
|
|
|
background: #fcf2bb;
|
2011-03-13 01:17:34 +01:00
|
|
|
}
|
|
|
|
|
2011-01-25 20:31:40 +01:00
|
|
|
.aphront-table-view tr.no-data td {
|
|
|
|
padding: 1em;
|
|
|
|
text-align: center;
|
2013-09-02 17:12:18 +02:00
|
|
|
color: {$lightgreytext};
|
2011-01-25 20:31:40 +01:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2011-05-03 19:45:45 +02:00
|
|
|
|
|
|
|
.aphront-table-view td.thumb img {
|
|
|
|
max-width: 64px;
|
|
|
|
max-height: 64px;
|
|
|
|
}
|
2011-07-31 17:38:06 +02:00
|
|
|
|
2012-03-24 01:11:15 +01:00
|
|
|
.aphront-table-view td.threads {
|
|
|
|
font-family: monospace;
|
|
|
|
white-space: pre;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.threads canvas {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2012-04-10 18:46:04 +02:00
|
|
|
.aphront-table-view td.radio {
|
|
|
|
text-align: center;
|
|
|
|
padding: 2px 4px 0px;
|
|
|
|
}
|
|
|
|
|
2012-12-18 00:16:44 +01:00
|
|
|
.device-desktop .aphront-table-view-device {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-tablet .aphront-table-view-nodevice,
|
|
|
|
.device-phone .aphront-table-view-nodevice {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view-device-ready {
|
|
|
|
width: 99%;
|
|
|
|
margin: 8px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.link {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-table-view td.link a {
|
|
|
|
display: block;
|
2013-01-11 20:24:35 +01:00
|
|
|
padding: 6px 8px;
|
2012-12-18 00:16:44 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|