/*
 * Copyright (c) 2015 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.computed-properties {
    -webkit-user-select: text;
}

.computed-style-property {
    display: flex;
    overflow: hidden;
    flex: auto;
}

.computed-style-property .property-name {
    min-width: 5em;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-shrink: 1;
    flex-basis: 16em;
    flex-grow: 1;
}

.computed-style-property .property-value {
    margin-left: 2em;
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-basis: 5em;
    flex-grow: 10;
}

.computed-style-property .property-value-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-outline li:hover .goto-source-icon {
    display: block;
}

.goto-source-icon {
    -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
    -webkit-mask-position: 0 -120px;
    background-color: #5a5a5a;
    width: 28px;
    height: 24px;
    display: none;
    position: absolute;
    top: -6px;
    left: -27px;
}

.goto-source-icon:hover {
    background-color: #333;
}

.computed-style-property-inherited {
    opacity: 0.5;
}

.trace-link {
    float: right;
    padding-left: 1em;
    position: relative;
    z-index: 1;
}

.trace-link a::before {
    content: attr(data-uncopyable);
    text-decoration: underline;
}

.property-trace {
    text-overflow: ellipsis;
    overflow: hidden;
    flex-grow: 1;
}

.property-trace-selector {
    color: gray;
    padding-left: 2em;
}

.property-trace-value {
    position: relative;
    display: inline-block;
    margin-left: 2em;
}

.property-trace-inactive .property-trace-value::before {
    position: absolute;
    content: ".";
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    top: 0;
    bottom: 5px;
    left: 0;
    right: 0;
}

.tree-outline li.odd-row {
    position: relative;
    background-color: #F5F5F5;
}

.tree-outline, .tree-outline ol {
    padding-left: 0;
}

.tree-outline li:hover {
    background-color: rgb(235, 242, 252);
    cursor: pointer;
}

.tree-outline li::before {
    margin-left: 4px;
}

.delimeter {
    color: transparent;
}

.delimeter::selection {
    color: transparent;
}
