/* * Copyright (C) 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. */ .content-view.timelines > .timeline-overview { position: absolute; top: 0; left: 0; right: 0; height: 100px; } .content-view.timelines > .data-grid { position: absolute; top: 100px; left: 0; right: 0; bottom: 0; outline: 0; border: none; border-top: 1px solid rgb(179, 179, 179); } .content-view.timelines > .data-grid th { height: 21px; font-size: 11px; font-family: "Lucida Grande", sans-serif; background-image: -webkit-linear-gradient(top, rgb(248, 248, 248), rgb(226, 226, 226)); background-size: 100% 100% !important; background-position: center !important; background-repeat: no-repeat !important; box-shadow: inset rgba(255, 255, 255, 0.1) 0 1px 0; border-bottom: 1px solid rgb(179, 179, 179) !important; } .content-view.timelines > .data-grid th:not(:last-child) { border-right: 1px solid rgb(179, 179, 179); } .content-view.timelines > .data-grid th.sortable:not(.mouse-over-collapser):active { background-image: -webkit-linear-gradient(top, rgb(219, 219, 219), rgb(188, 188, 188)) !important; } .content-view.timelines > .data-grid th.sort-ascending, .content-view.timelines > .data-grid th.sort-descending { background-image: -webkit-linear-gradient(top, rgb(230, 230, 230), rgb(200, 200, 200)) !important; } .content-view.timelines > .data-grid .data-container { top: 22px; } .content-view.timelines > .data-grid table.data { background-size: auto 42px; background-image: -webkit-linear-gradient(top, white, white 50%, rgb(95%, 95%, 95%) 50%, rgb(95%, 95%, 95%)); font-size: 11px; } .content-view.timelines > .data-grid th, .content-view.timelines > .data-grid td { padding-left: 6px; padding-right: 6px; } .content-view.timelines > .data-grid td:last-child { padding-right: 12px; } .content-view.timelines > .data-grid td { padding-top: 2px; padding-bottom: 2px; line-height: 17px; } .content-view.timelines > .data-grid td:not(:last-child) { border-right: 1px solid rgb(179, 179, 179); } .content-view.timelines > .data-grid .column-group-details { background-color: rgba(0, 0, 0, 0.07); } .content-view.timelines > .data-grid.collapsed-details td.column-group-details:not(:last-child) { border-right: none; /* Prevent a sporadic double-thick border appearance in collapsed 0-width columns. */ } .content-view.timelines > .data-grid td .subtitle { color: rgba(0, 0, 0, 0.7); } .content-view.timelines > .data-grid td .subtitle::before { content: " — "; } .content-view.timelines > .data-grid:focus tr.selected td .subtitle { color: rgba(255, 255, 255, 0.9); } .content-view.timelines > .data-grid td .icon { display: inline-block; vertical-align: top; width: 16px; height: 16px; margin-right: 2px; } .content-view.timelines > .data-grid td.timeline-column { padding-left: 1px; padding-right: 1px; } .content-view.timelines > .data-grid td .go-to-arrow { float: right; visibility: hidden; margin-left: 2px; } .content-view.timelines > .data-grid tr.selected .go-to-arrow, .content-view.timelines > .data-grid tr:hover .go-to-arrow { visibility: visible; } .content-view.timelines > .data-grid td.error { color: rgb(224, 16, 16); } .content-view.timelines > .data-grid tr.selected td.error { color: inherit; } .content-view.timelines > .data-grid tr.offscreen { height: 21px; } .content-view.timelines > .data-grid tr.offscreen td { display: none; } /* Column collapser */ .content-view.timelines > .data-grid th.collapser { position: relative; } .content-view.timelines > .data-grid th.collapser > .divider { position: absolute; width: 2px; top: 0; right: 25px; bottom: 0; background-image: -webkit-linear-gradient(rgba(128, 128, 128, 0), rgb(128, 128, 128), rgba(128, 128, 128, 0)), -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)); background-size: 1px 17px, 1px 17px; background-repeat: no-repeat; background-position: 0 center, 1px center; } .content-view.timelines > .data-grid th.collapser > .collapser-button { position: absolute; top: 0; right: 5px; bottom: 0; height: 15px; width: 15px; margin-bottom: auto; margin-top: auto; background-image: -webkit-canvas(timeline-datagrid-collapse-button-less-normal); background-repeat: no-repeat; background-position: center; background-size: 15px 13px; } .content-view.timelines > .data-grid th.collapser > .collapser-button:active { background-image: -webkit-canvas(timeline-datagrid-collapse-button-less-active); } .content-view.timelines > .data-grid th.collapser.collapsed > .collapser-button { background-image: -webkit-canvas(timeline-datagrid-collapse-button-more-normal); } .content-view.timelines > .data-grid th.collapser.collapsed > .collapser-button:active { background-image: -webkit-canvas(timeline-datagrid-collapse-button-more-active); } .content-view.timelines > .data-grid th.sort-ascending.collapser > div:first-child, .content-view.timelines > .data-grid th.sort-descending.collapser > div:first-child { margin-right: 27px; } .content-view.timelines > .data-grid > .navigation-bar-container { position: absolute; top: -33px; left: 0; right: 0; height: 33px; pointer-events: none; visibility: hidden; } .content-view.timelines > .data-grid:hover > .navigation-bar-container { pointer-events: all; visibility: visible; } .content-view.timelines > .data-grid > .navigation-bar-container > .navigation-bar { position: absolute; top: 10px; left: 0; right: 0; height: 23px; border: none; border-top: 1px solid rgb(200, 200, 200); border-bottom: 1px solid rgb(179, 179, 179); background-color: white; }