Path: blob/master/webroot/rsrc/css/aphront/table-view.css
12241 views
/**1* @provides aphront-table-view-css2*/34.aphront-table-wrap {5overflow-x: auto;6-webkit-overflow-scrolling: touch;7}89.aphront-table-view {10width: 100%;11border-collapse: collapse;12background: {$page.content};13border: 1px solid {$lightblueborder};14border-bottom: 1px solid {$blueborder};15}1617.aphront-table-view-fixed {18table-layout: fixed;19}2021.aphront-table-view-fixed th {22box-sizing: border-box;23}2425.aphront-table-notice {26padding: 12px 16px;27color: {$darkbluetext};28border-bottom: 1px solid {$thinblueborder};29}3031.phui-two-column-view .aphront-table-notice .phui-info-view {32margin: 0;33}3435.aphront-table-view tr.alt {36background: {$lightgreybackground};37}3839.device-desktop .aphront-table-view tr:hover {40background: {$bluebackground};41}4243.device-desktop .aphront-table-view tr.no-data:hover {44background: inherit;45}4647.aphront-table-view th,48.aphront-table-view td.header {49font-weight: bold;50white-space: nowrap;51color: {$bluetext};52font-weight: bold;53text-shadow: 0 1px 0 white;54background-color: {$lightbluebackground};55}5657.aphront-table-view td.row-divider {58background-color: {$bluebackground};59font-weight: bold;60padding: 8px 12px;61}6263.aphront-table-view td.indent {64padding-left: 24px;65}6667.aphront-table-view th {68border-bottom: 1px solid {$thinblueborder};69}7071th.aphront-table-view-sortable-selected {72background-color: {$greybackground};73}7475.aphront-table-view th a,76.aphront-table-view th a:hover,77.aphront-table-view th a:link {78color: {$bluetext};79text-shadow: 0 1px 0 white;80display: block;81text-decoration: none;82}8384.aphront-table-view th a:hover {85text-decoration: underline;86color: {$darkbluetext};87}8889.aphront-table-view td.header {90text-align: right;91border-right: 1px solid {$thinblueborder};92}9394.aphront-table-view td {95white-space: nowrap;96vertical-align: middle;97color: {$darkbluetext};98}99100.aphront-table-down-sort {101display: inline-block;102margin-top: 5px;103width: 0;104height: 0;105vertical-align: top;106border-top: 4px solid {$bluetext};107border-right: 4px solid transparent;108border-left: 4px solid transparent;109content: "";110}111112.aphront-table-up-sort {113display: inline-block;114margin-top: 5px;115width: 0;116height: 0;117vertical-align: top;118border-bottom: 4px solid {$bluetext};119border-right: 4px solid transparent;120border-left: 4px solid transparent;121content: "";122}123124/* - Padding -------------------------------------------------------------------125126On desktops, we have more horizontal space and use it to space columns out.127128On devices, we make each row slightly taller to create a larger hit target129for links.130131*/132133.aphront-table-view th {134padding: 8px 10px;135}136137.aphront-table-view td {138padding: 8px 10px;139}140141.device-tablet .aphront-table-view th,142.device-phone .aphront-table-view th {143overflow: hidden;144}145146.aphront-table-view td.sorted-column {147background: {$lightbluebackground};148}149150.aphront-table-view tr.alt td.sorted-column {151background: {$greybackground};152}153154.aphront-table-view td.action {155padding-top: 1px;156padding-bottom: 1px;157}158159.aphront-table-view td.larger {160font-size: {$biggerfontsize};161}162163.aphront-table-view td.pri {164font-weight: bold;165color: {$darkbluetext};166}167168.aphront-table-view td.top {169vertical-align: top;170}171172/* Apply this rule to both "<th />" and "<td />" so that the header widths173are correct if the table has no rows. */174.aphront-table-view th.wide,175.aphront-table-view td.wide {176white-space: normal;177width: 100%;178}179180.aphront-table-view th.right,181.aphront-table-view td.right {182text-align: right;183}184185.aphront-table-view td.mono {186font-family: "Monaco", monospace;187font-size: {$smallestfontsize};188}189190.aphront-table-view td.n {191font-family: "Monaco", monospace;192font-size: {$smallestfontsize};193text-align: right;194}195196.aphront-table-view td.nudgeright, .aphront-table-view th.nudgeright {197padding-right: 0;198}199200.aphront-table-view td.wrap {201white-space: normal;202}203204.aphront-table-view td.prewrap {205font-family: "Monaco", monospace;206font-size: {$smallestfontsize};207white-space: pre-wrap;208}209210.aphront-table-view td.narrow {211width: 1px;212}213214.aphront-table-view td.icon, .aphront-table-view th.icon {215width: 1px;216padding: 0px;217}218219.aphront-table-view td.icon + td.icon {220padding-left: 8px;221}222223div.single-display-line-bounds {224width: 100%;225position: relative;226overflow: hidden;227}228229span.single-display-line-content {230white-space: pre;231position: absolute;232}233234.device-phone span.single-display-line-content {235white-space: nowrap;236position: static;237}238239.aphront-table-view td.object-link {240white-space: nowrap;241word-wrap: break-word;242overflow: hidden;243text-overflow: ellipsis;244min-width: 320px;245max-width: 320px;246}247248.aphront-table-view tr.closed td.object-link .object-name,249.aphront-table-view tr.alt-closed td.object-link .object-name {250text-decoration: line-through;251color: rgba({$alphablack}, 0.5);252}253254.aphront-table-view tr.closed td.object-link a,255.aphront-table-view tr.alt-closed td.object-link a {256color: rgba({$alphablack}, 0.5);257}258259.aphront-table-view tr.closed td.graph-status,260.aphront-table-view tr.alt-closed td.graph-status,261.object-graph-table em {262color: {$lightgreytext};263}264265.aphront-table-view tr.highlighted {266background: #fdf9e4;267}268269.aphront-table-view tr.alt-highlighted {270background: {$sh-yellowbackground};271}272273.aphront-table-view tr.diff-removed,274.aphront-table-view tr.alt-diff-removed {275background: {$lightred}276}277278.aphront-table-view tr.diff-added,279.aphront-table-view tr.alt-diff-added {280background: {$lightgreen}281}282283.aphront-table-view tr.no-data td {284padding: 16px;285text-align: center;286color: {$lightgreytext};287font-style: italic;288}289290.aphront-table-view td.thumb img {291max-width: 64px;292max-height: 64px;293}294295.aphront-table-view td.threads {296font-family: monospace;297white-space: pre;298padding: 0 0 0 8px;299}300301.aphront-table-view td.threads canvas {302display: block;303}304305.aphront-table-view td.radio {306text-align: center;307padding: 2px 4px 0px;308}309310.aphront-table-view th.center,311.aphront-table-view td.center {312text-align: center;313}314315.device .aphront-table-view td + td.center,316.device .aphront-table-view th + th.center {317padding-left: 3px;318padding-right: 3px;319}320321.device-desktop .aphront-table-view-device {322display: none;323}324325.device-tablet .aphront-table-view-nodevice,326.device-phone .aphront-table-view-nodevice {327display: none;328}329330.aphront-table-view td.link {331padding: 0;332}333334.aphront-table-view td.link a {335display: block;336padding: 6px 8px;337font-weight: bold;338}339340.phui-object-box .aphront-table-view {341border: none;342}343344.object-graph-header {345padding: 8px 12px;346overflow: hidden;347background: {$lightyellow};348border-bottom: 1px solid {$lightblueborder};349vertical-align: middle;350}351352.object-graph-header .object-graph-header-icon {353float: left;354margin-top: 10px;355}356357.object-graph-header a.button {358float: right;359}360361.object-graph-header-message {362margin: 8px 200px 8px 20px;363}364365.device .object-graph-header .object-graph-header-icon {366display: none;367}368369.device .object-graph-header-message {370clear: both;371margin: 0;372}373374.device .object-graph-header a.button {375margin: 0 auto 12px;376display: block;377width: 180px;378float: none;379}380381382