/* $Id: tooltip.css $ */
/** @file
 * Test Manager - Tooltip content (via iframe).
 */

/*
 * Copyright (C) 2012-2023 Oracle and/or its affiliates.
 *
 * This file is part of VirtualBox base platform packages, as
 * available from https://www.virtualbox.org.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation, in version 3 of the
 * License.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <https://www.gnu.org/licenses>.
 *
 * The contents of this file may alternatively be used under the terms
 * of the Common Development and Distribution License Version 1.0
 * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
 * in the VirtualBox distribution, in which case the provisions of the
 * CDDL are applicable instead of those of the GPL.
 *
 * You may elect to license modified versions of this file under the
 * terms and conditions of either the GPL or the CDDL or both.
 *
 * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
 */

/*
 * Form the main divs in template-tooltip.html.
 */
.tooltip-main {
    width:          100%;
}

.tooltip-inner {
    clear:          both;
    border:         2px solid black;
    padding-left:   2px;
    padding-right:  2px;
    padding-top:    2px;
    padding-bottom: 2px
}

/*
 * Timeline tooltip.
 */
.tmtimelinetooltip {
    font-size:      1em;
}

/*
 * Relative stuff that could also be used for a non-tooltip VCS timeline.
 */
.tmvcstimeline-highlighted {
    background:     #f0f0f0;
}

.tmvcstimeline h2 {
    clear:          both;
    font-size:      120%;
    background:     #e8e8e8;
    border-bottom:  1px solid #c8c8c8;
    border-radius:  3px;
    margin-left:    0.2em;
    margin-right:   0.2em;
    margin-top:     0.2em;
    margin-bottom:  0.4em;
    padding-left:   0.2em;
    padding-right:  0.2em;
    padding-top:    0.2em;
    padding-bottom: 0.2em;
}

.tmvcstimeline dl {
    margin-left:    0.8em;
    margin-right:   0.2em;
    margin-top:     0.2em;
    margin-bottom:  0.8em;
}

.tmvcstimeline dt {
    font-size:      118%;
    padding-left:   0.2em;
    margin-top:     0.1em;
    margin-bottom:  0.0em;
}

.tmvcstimeline dt, .tmvcstimeline :link, .tmvcstimeline :link:visited, .tmvcstimeline :link:hover {
    color:          black;
    text-decoration:  none;
}

.tmvcstimeline :link:hover {
    border:         1px dotted black;
}

.tmvcstimeline-time {
    font-size:      88%;
    margin-right:   0.2em;
}

.tmvcstimeline-time, .tmvcstimeline-author {
    color:          #5858a0;
}

.tmvcstimeline-rev {
    color:          #0000ee;
}

.tmvcstimeline dd {
    padding-left:    2em;
    margin-top:     0.0em;
    margin-bottom:  0.4em;
    color:          #424250;
}

/* This helps highlighting the revision we're showing the tooltip for. */
.tmvcstimeline-highlight, .tmvcstimeline :target, .tmvcstimeline :target + dd {
    background-color: #d8e8ff;
    padding-top:    0.2em;
    padding-bottom: 0.2em;
}

