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

.list-item {
    padding: 3px 8px 3px 20px;
    position: relative;
    min-height: 18px;
    line-height: 15px;
    display: flex;
    flex-wrap: wrap;
}

.list-item:not(.label) {
    border-top: 1px solid #efefef;
}

.label + .list-item {
    border-top: 0;
}

.list-item:not(.ignore-hover):hover {
    background-color: #eee;
}

.list-item > .title,
.list-item > .subtitle {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.list-item > .subtitle {
    color: #888;
    margin-left: auto;
    padding: 0 10px 0 10px;
}

.list-item > .subtitle .devtools-link {
    color: inherit;
}

.list-item.label::before {
    content: " ";
    width: 100%;
    border-top: 1px solid #d8d8d8;
    margin-top: 8px;
    position: absolute;
    z-index: -1;
    left: 0;
}

.list-item.label .title {
    font-weight: bold;
    color: #999;
    background-color: white;
    margin-left: -5px;
    padding: 0 5px;
}

.list-item.dimmed-item div {
    opacity: 0.6;
    font-style: italic;
}

.list-item > .selected-icon {
    position: absolute;
    top: 5px;
    left: 4px;
}

.list-item.dimmed-item .action {
    opacity: 1;
    font-style: initial;
}

.list-item .action-link {
    color: rgb(48, 57, 66);
    text-decoration: underline;
    cursor: pointer;
}

.list-item:hover .action-link {
    color: rgb(17, 85, 204);
}

