/* Copyright (c) 2013 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. */

.indexeddb-summary {
    background-color: rgb(235, 239, 249);
    border-top: 1px solid rgb(156, 194, 239);
    margin-bottom: 6px;
    margin-top: 12px;
    padding: 3px;
    font-weight: bold;
}

.indexeddb-item {
    margin-bottom: 15px;
    margin-top: 6px;
    position: relative;
}

.indexeddb-url {
    color: rgb(85, 102, 221);
    display: inline-block;
    max-width: 500px;
    overflow: hidden;
    padding-bottom: 1px;
    padding-top: 4px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.indexeddb-database {
    margin-bottom: 6px;
    margin-top: 6px;
    margin-left: 12px;

    position: relative;
}

.indexeddb-database > div {
    margin-left: 12px;
}

.indexeddb-connection-count {
    margin: 0 8px;
}
.indexeddb-connection-count.pending {
    font-weight: bold;
}

.indexeddb-path {
    display: block;
    margin-left: 1em;
}

.indexeddb-transaction-list {
    margin-left: 10px;
    border-collapse: collapse;
}

.indexeddb-transaction-list th,
.indexeddb-transaction-list td {
    padding: 2px 10px;
    min-width: 50px;
    max-width: 75px;
}

td.indexeddb-transaction-scope {
    min-width: 200px;
    max-width: 500px;
}

.indexeddb-transaction-list th {
    background-color: rgb(249, 249, 249);
    border: 1px solid rgb(156, 194, 239);
    font-weight: normal;
    text-align: left;
}

.indexeddb-transaction {
    background-color: rgb(235, 239, 249);
    border-bottom: 2px solid white;
}

.indexeddb-transaction.created {
    font-weight: italic;
}
.indexeddb-transaction.started {
    font-weight: bold;
}
.indexeddb-transaction.running {
    font-weight: bold;
}
.indexeddb-transaction.committing {
    font-weight: bold;
}
.indexeddb-transaction.blocked {
}

.indexeddb-transaction.started .indexeddb-transaction-state {
    background-color: rgb(249, 249, 235);
}
.indexeddb-transaction.running .indexeddb-transaction-state {
    background-color: rgb(235, 249, 235);
}
.indexeddb-transaction.committing .indexeddb-transaction-state {
    background-color: rgb(235, 235, 249);
}
.indexeddb-transaction.blocked .indexeddb-transaction-state {
    background-color: rgb(249, 235, 235);
}

.controls a {
    -webkit-margin-end: 16px;
    color: #777;
}
