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

/*
 * Copyright (C) 2012-2019 Oracle Corporation
 *
 * This file is part of VirtualBox Open Source Edition (OSE), as
 * available from http://www.virtualbox.org. This file is free software;
 * you can redistribute it and/or modify it under the terms of the GNU
 * General Public License (GPL) as published by the Free Software
 * Foundation, in version 2 as it comes in the "COPYING" file of the
 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
 *
 * The contents of this file may alternatively be used under the terms
 * of the Common Development and Distribution License Version 1.0
 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
 * VirtualBox OSE 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.
 */

/*
 * Form the main divs in template-tooltip.html.
 */
#tooltip {
    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 :target, .tmvcstimeline :target + dd {
    background-color: #d8e8ff;
    padding-top:    0.2em;
    padding-bottom: 0.2em;
}

