123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- /*
- * 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.
- */
- .details-section {
- margin-top: -1px;
- margin-bottom: -1px;
- font-family: "Lucida Grande", sans-serif;
- font-size: 10px;
- }
- .details-section > .header {
- position: -webkit-sticky;
- top: -1px;
- height: 23px;
- border-top: 1px solid rgb(153, 153, 153);
- border-bottom: 1px solid rgb(153, 153, 153);
- box-shadow: inset rgba(255, 255, 255, 0.2) 0 1px 0;
- background-image: -webkit-linear-gradient(top, rgb(238, 240, 244), rgb(224, 226, 230));
- color: rgb(57, 57, 57);
- text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-weight: bold;
- padding: 4px 5px 4px 0;
- /* Ensure the headers are displayed above scrollbars. */
- z-index: 200;
- }
- .details-section .details-section > .header {
- background-image: -webkit-linear-gradient(top, rgb(250, 250, 250), rgb(240, 240, 240));
- top: 21px;
- /* Ensure these headers are displayed below the parent header but above scrollbars. */
- z-index: 100;
- }
- .details-section > .header::before {
- display: block;
- float: left;
- width: 21px;
- height: 100%;
- background-image: -webkit-canvas(details-section-disclosure-triangle-open-normal);
- background-repeat: no-repeat;
- background-position: center;
- background-size: 13px 13px;
- content: "";
- }
- .details-section > .header:not(.mouse-over-options-element):active::before {
- background-image: -webkit-canvas(details-section-disclosure-triangle-open-active);
- }
- .details-section.collapsed > .header::before {
- background-image: -webkit-canvas(details-section-disclosure-triangle-closed-normal);
- }
- .details-section.collapsed > .header:not(.mouse-over-options-element):active::before {
- background-image: -webkit-canvas(details-section-disclosure-triangle-closed-active);
- }
- .details-section > .header > label {
- float: right;
- font-size: 10px;
- color: rgba(0, 0, 0, 0.6);
- text-align: right;
- }
- .details-section.collapsed > .header > label {
- display: none;
- }
- .details-section > .header > label > input[type="checkbox"] {
- margin: 0 0 0 5px;
- vertical-align: 1px;
- font-size: 10px;
- }
- .details-section > .header > .node-link,
- .details-section > .header > .go-to-arrow {
- float: right;
- }
- .details-section > .header .go-to-arrow {
- width: 10px;
- height: 12px;
- margin-left: 3px;
- }
- .details-section > .content {
- display: table;
- table-layout: fixed;
- width: 100%;
- border-spacing: 0;
- border-collapse: collapse;
- }
- .details-section.collapsed > .content {
- display: none;
- }
- .details-section > .content > .group {
- display: table-row-group;
- }
- .details-section > .content > .group:nth-child(even) {
- background-color: rgb(222, 222, 222);
- }
- .details-section > .content > .group:nth-child(even) > .row:not(.simple):first-child,
- .details-section > .content > .group:nth-child(even) > .row.simple:first-child > * {
- border-top: 1px solid rgb(153, 153, 153);
- }
- .details-section > .content > .group:nth-child(even) > .row:not(.simple):last-child,
- .details-section > .content > .group:last-child > .row:not(.simple):last-child,
- .details-section > .content > .group:nth-child(even) > .row.simple:last-child > *,
- .details-section > .content > .group:last-child > .row.simple:last-child > * {
- border-bottom: 1px solid rgb(153, 153, 153);
- }
- .details-section > .content > .group > .row.simple {
- display: table-row;
- }
- .details-section > .content > .group > .row.simple:last-child > * {
- padding-bottom: 5px !important;
- }
- .details-section > .content > .group > .row.simple.empty {
- display: none;
- }
- .details-section > .content > .group > .row.empty.syntax-highlighted {
- font-family: "Lucida Grande", sans-serif;
- font-size: 10px;
- }
- .details-section > .content > .group > .row.simple.empty:last-child {
- display: table-row;
- }
- .details-section > .content > .group > .row.simple.empty:last-child > * {
- display: table-cell;
- height: 1px;
- font-size: 0;
- color: transparent;
- padding-top: 0;
- padding-bottom: 3px !important;
- }
- .details-section > .content > .group > .row.simple.empty:last-child > * > * {
- display: none;
- }
- .details-section > .content > .group > .row.simple > * {
- display: table-cell;
- vertical-align: top;
- padding: 5px 4px 2px;
- }
- .details-section > .content > .group > .row.simple > .label {
- color: rgb(51, 51, 51);
- text-align: right;
- padding-left: 6px;
- width: 85px;
- }
- .details-section > .content > .group > .row.simple > .value {
- word-wrap: break-word;
- padding-right: 6px;
- -webkit-user-select: text;
- cursor: text;
- }
- .details-section > .content > .group > .row.simple > .value .go-to-arrow {
- width: 10px;
- height: 12px;
- margin-left: 5px;
- }
- .details-section > .content > .group > .row.simple.data > .value {
- word-break: break-all;
- }
- .details-section > .content > .group > .row.empty {
- padding: 6px;
- text-align: center;
- color: gray;
- }
- .details-section > .content > .group > .row.properties:not(.empty) {
- padding: 4px 6px;
- }
- .details-section > .content .data-grid {
- border: none;
- }
- .details-section > .content .data-grid table.data {
- background-image: none;
- }
- .details-section > .content .data-grid tr:nth-child(even) {
- background-color: white;
- }
- .details-section > .content .data-grid tr:nth-child(odd) {
- background-color: rgb(243, 246, 250);
- }
- .details-section > .content .data-grid td.value-column {
- height: auto;
- line-height: initial;
- white-space: normal;
- }
- .details-section > .content .data-grid td.value-column > div {
- white-space: normal;
- word-break: break-all;
- }
|