/*
 * Copyright 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.
 */

.sidebar-pane.accessibility-computed {
    background-color: rgba(0, 0, 0, 0.03);
}

.ax-computed-text {
    background-image: url(Images/speech.png);
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 12px;
    padding-left: 17px;
}

.ax-computed-text div {
    display: inline-block;
    padding: 2px;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

div.ax-text-alternatives {
    margin-bottom: 3px;
    border-bottom: 1px solid #BFBFBF;
}

.ax-name {
    color: rgb(153, 69, 0);
    flex-shrink: 0;
}

.ax-readable-name {
    flex-shrink: 0;
    padding-left: 2px;
}

.ax-readable-string {
    font-style: italic;
}

span.ax-role {
    font-weight: bold;
}

span.ax-internal-role {
    font-style: italic;
}

.ax-ignored-info {
    padding: 6px;
}

.ax-ignored-node-pane {
    flex: none;
}

.ax-tree-ignored-node {
    font-style: italic;
    opacity: 0.7;
}

.tree-outline li {
    padding-left: 1px;
    align-items: baseline;
}

.tree-outline li.property {
    color: rgb(33, 33, 33);
}

.tree-outline li.invalid {
    position: relative;
    left: -2px;
}

.tree-outline li.inspected::after {
    -webkit-mask-image: url(Images/smallIcons.png);
    -webkit-mask-size: 190px 30px;
    -webkit-mask-position: -180px 0;
    background-color: rgb(74, 139, 238);
    content: "";
    position: relative;
    left: 4px;
    top: 1px;
    width: 10px;
    height: 10px;
    transform: rotate(180deg);
}

.tree-outline:focus li.inspected.selected::after {
    background-color: white;
}

.tree-outline li.selected .selection {
    background-color: inherit;
}

.tree-outline li.no-dom-node {
    opacity: 0.5;
}

.tree-outline li.children-unloaded::before {
    opacity: 0.2;
}

.tree-outline li.partially-expanded::before {
    -webkit-mask-position: -19px -108px;
}

.invalid {
    text-decoration: line-through;
}

.tree-outline label[is=dt-icon-label] {
    position: relative;
    left: -11px;
}

span.ax-value-undefined {
    font-style: italic;
}

.ax-value-source-unused {
    opacity: 0.5;
}

.ax-value-source-superseded,
.ax-value-source-invalid {
    text-decoration: line-through;
}

.tree-outline label[is=dt-icon-label] + .ax-name {
    margin-left: -11px;
}

.ax-value-string {
    color: rgb(200, 0, 0);
}

.sidebar-pane-stack .sidebar-pane {
    padding-left: 4px;
}

button.expand-siblings {
    border-radius: 1px;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    margin-left: 5px;
    margin-bottom: 1px;
    font-size: 11px;
}

li.siblings-expanded button.expand-siblings {
    display: none;
}

.tree-outline li:hover .inspect-dom-node {
    display: initial;
}

.tree-outline li.no-dom-node:hover .inspect-dom-node,
.tree-outline li.inspected:hover .inspect-dom-node {
    display: none;
}

li .inspect-dom-node {
    background-color: #5a5a5a;
    padding: 0;
    margin-left: 5px;
    border: 0;
    display: none;
    position: relative;
    top: 2px;
}

.tree-outline:focus li.selected .inspect-dom-node {
    background-color: white;
}
