/* CONCAT of
/2static/style/style-visualisation.css
/2static/style/style-visualisation-dialog.css
*/
/* START /2static/style/style-visualisation.css */
/* This is a holding sheet to contain the style for the viualisation chrome */

#visualiser {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

#highlight {
    border: 1px solid #BBBBBB;
}

#highlight-spinner {
    background: transparent url(../images/spinner_003366.gif) no-repeat scroll 0 0;
    display: inline-block;
    height: 20px;
    width: 20px;
    visibility: hidden;
}

#highlight-spinner.visible {
    visibility: visible;
}

#visualiser .dag {
    overflow: hidden;
    position: absolute;
    z-index: 2; /* sit above the metadata */
}

#visualiser .branch-lanes {
    height: 100%;
    position: absolute;
}

#visualiser .metadata-wrapper {
    overflow: auto;
    position: relative;
}

#visualiser .metadata-dag {
    position: relative;
    z-index: 1; /* sit above the loading spinner */
}

#visualiser .metadata-slice {
    width: 100%;
    position: absolute;
}

#visualiser .metadata-loading {
    background: transparent url(../images/spinner_bar.gif) no-repeat 50% 0;
    color: #666;
    font-size: 20px;
    left: 50%;
    margin: 0 auto;
    padding: 30px 10px 10px;
    position: absolute;
    text-align: center;
    top: 40%;
    width: 220px;
}

#visualiser .metadata-changeset {
    height: 24px;
    line-height: 24px;
    font-size: 13px;
    position: absolute;
    -icab-text-overflow: ellipsis;
    -khtml-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    text-overflow: ellipsis;
    width: 100%;
    cursor: pointer;
}

#visualisation-permalink-group {
    float:right
}

.toolbar .aui-toolbar .visualisation-permalink-group {
    float: right;
}

/* On IE8, toolbar.js adds "first" and "last" classes to first and last toolbar items. This nullifies that. Harmless for other browsers. */
.toolbar .aui-toolbar .visualisation-permalink-group li.toolbar-item {
    border: none;
}

.visualisation-permalink-group a {
    background: url(../images/permalink_light_16.png) no-repeat 0 0 transparent;
    display: block;
    height: 16px;
    overflow: hidden;
    text-decoration: none;
    width: 16px;
    margin-top: 5px;
    text-indent: -999em;
}

.visualisation-permalink-group a:hover {
    background: url(../images/permalink_dark_16.png) no-repeat 0 0 transparent;
}

#visualiser .metadata-changeset .metadata-changeset-content {
    padding-right: 64px;
    height: 24px;
    overflow: hidden;
}

#visualiser .metadata-changeset .lozenge-annotations {
    position: absolute;
    right: 60px;
    top: 0;
}

#visualiser .metadata-changeset .highlight-lozenge,
#visualiser .metadata-changeset .jira-hover-trigger {
    padding: 1px 2px;
    margin-right: 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid black;
}

#visualiser .metadata-changeset .highlight-lozenge {
    margin-left: 2px;
    position: relative;
}

#visualiser .metadata-changeset .highlight-lozenge.aui-dd-trigger:hover {
    border: 1px solid #3C78B5;
    background-color: #D0DFEE;
    color: black;
}

#visualiser .metadata-changeset .lozenge-collapsed .aui-dd-trigger {
    background: url("../images/sprite_dropdown.png") no-repeat scroll right -211px transparent;
    padding-right: 10px;
    margin-right: 1px;
    font-style: italic;
}

#visualiser .metadata-changeset .lozenge-collapsed .aui-shadow {
    display: none;
}

#visualiser .metadata-changeset .highlight-lozenge .collapsed-items .hidden-truncated {
    font-style: italic;
}

#visualiser .metadata-changeset .highlight-lozenge .collapsed-items {
    min-width: 65px;
    background: #D0DFEE;
    border: 1px solid #3C78B5;
    margin: 2px 0 0 2px;
}

#visualiser .metadata-changeset .highlight-lozenge .collapsed-items li {
    line-height: 14px;
    height: 14px;
    padding: 3px 2px;
    color: black;
    cursor: default;
}

#visualiser .metadata-changeset .highlight-lozenge .collapsed-items li a {
    line-height: 18px;
}

#visualiser .metadata-changeset .highlight-lozenge .collapsed-items li a:hover {
    color: white;
}

#visualiser .metadata-changeset .highlight-lozenge.tag-lozenge {
    padding-left: 18px;
    background: white url("../images/sprite_viz.png") no-repeat 2px -119px;
    border-color: #CCC;
    color: #333;
}

#visualiser .metadata-changeset .highlight-lozenge,
#visualiser .metadata-changeset .jira-hover-trigger {
    background-color: #D0DFEE;
    border-color: #D0DFEE;
}

#visualiser .metadata-changeset .highlight-lozenge > a,
#visualiser .metadata-changeset a.jira-hover-trigger {
    color: #003366;
}

#visualiser .metadata-changeset.metadata-dimmed .highlight-lozenge,
#visualiser .metadata-changeset.metadata-dimmed .jira-hover-trigger {
    background-color: #E0E0E0;
    border-color: #E0E0E0;
}

#visualiser .metadata-changeset.metadata-dimmed a,
#visualiser .metadata-changeset.metadata-dimmed .highlight-lozenge > a,
#visualiser .metadata-changeset.metadata-dimmed a.jira-hover-trigger {
    color: #333333;
}

#visualiser .metadata-changeset.metadata-dimmed .author a {
    opacity: 0.3;
}

/*needs to be specific in order to override the aui styles for the toolbar (which sets a margin-bottom)*/
#visualiser ul.toolbar-group.branch-header-list-toolbar-group {
    margin-bottom: 0;
}

#visualiser .branch-modifier-toolbar-group {
    position: relative;
    top: 3px;
}

#section-visualisation .metadata-changeset:hover {
    background: transparent;
    background-color: rgba(80, 80, 80, 0.1); /* 10% of #505050 */
}

#section-visualisation .metadata-changeset .date {
    display: inline-block;
    width : 70px;
}

#section-visualisation .metadata-changeset .navigation {
    display: none;
    position: absolute;
    right: 8px;
    top: 0;
    padding: 2px 0;
    width: 48px;
}

#section-visualisation .metadata-changeset .navigation > li {
    display: inline;
}

#section-visualisation .metadata-changeset:hover .navigation,
#section-visualisation .metadata-changeset.focused .navigation {
    display: block;
}

.navigation .csid-copy {
    margin: 0 6px;
    cursor: default;
}

.navigation .csid-copy input {
    width: 110px;
    padding: 2px;
    border: none;
    background-color: #EEE;
}

.metadata-changeset .article-icon {
    width: 0;
    overflow: hidden;
    height: 20px;
    display: inline-block;
    padding-top: 0;
}

.metadata-changeset .icon-info {
    background: transparent url(../images/sprite_buttons.png) no-repeat -48px -126px;
}

.metadata-changeset .article-tools {
    display: inline-block;
    top: 0;
    left: 0;
}

.metadata-changeset .article-tools .aui-dd-parent {
    display: inline-block;
}

.metadata-changeset .article-tools a.more {
    background: transparent url(../images/sprite_dropdown.png) no-repeat 0 -803px;
    display: block;
    text-indent: -999em;
    width: 24px;
    height: 16px;
}

.metadata-changeset .article-tools .active a.more {
    background: transparent url(../images/sprite_dropdown.png) no-repeat 0 -864px;
}

#dialog-branch-editor {
    font-size: 12px; /* aui-dialog sets this to 14px */
}

#section-visualisation .branch-header {
    vertical-align: top;
    padding-top: 3px;
    border-bottom: 1px solid #BBBBBB;
    background: #f0f0f0;
}

#section-visualisation .branch-head {
    display: block;
    float: left;
    margin: 0 2px;
    position: relative;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    width: 48px;
}

#section-visualisation .branch-placeholder {
    height: 34px;
    width: 2px;
    margin: 0 -1px;
    background-color: #326CA6;
}

#section-visualisation .branch-list .branch-text {
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 5px 3px;
    margin-right: 1px;
    font-size: 12px;
}

#section-visualisation .branch-list .branch-head,
#section-visualisation .branch-list .branch-text {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#section-visualisation .branch-list .branch-remove {
    background: transparent url(../images/sprite_viz.png) no-repeat 0 -60px;
    height: 15px;
    width: 14px;
    position: absolute;
    right: -2px;
    top: -4px;
    text-indent: -999px;
    display: none;
}

#section-visualisation .branch-head:hover .branch-remove {
    display: block;
}

#section-visualisation .branch-list .branch-remove:hover {
    background-position: 0 -90px;
}

#section-visualisation .branch-list .draggable-handle {
    height: 10px;
    cursor: move;
    background: #666; /* old browsers */
    background: -moz-linear-gradient(top, #444444 0%, #666666 50%); /* firefox */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(50%,#666666)); /* webkit */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#666666',GradientType=0 ); /* ie */
    background: -o-linear-gradient(top, #444444 0%,#666666 50%); /* opera */
}

#section-visualisation .branch-list .draggable-handle > div {
    background: transparent url(../images/sprite_viz.png) no-repeat 50% 0;
    height: 10px;
}

#section-visualisation #branch-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Avoid scrollbars in dialog when reordering branches and moving offscreen. */
#dialog-branch-editor {
    height: 100%;
    overflow : hidden;
}

#dialog-branch-editor .branch-list-container {
    margin-top: 15px;
}

#dialog-branch-editor .branch-head {
    margin: 0 3px 4px;
    width: auto;
    max-width: 80px;
    min-width: 35px;
    white-space: nowrap; /* We don't want the text to wrap */
}

#dialog-branch-editor .branch-placeholder {
    height: 40px;
    width: 2px;
    margin: -3px -1px 0 -1px;
    min-width: inherit;
}

#dialog-error-message-holder {
    color:#a00;
    margin: 5px 0 5px 0;
}

#branch-modifier-dialog-autocomplete-input {
    width: 320px;
}

#dialog-branch-editor > div {
    margin-top: 10px;
    position: relative;
}

#dialog-branch-editor > div:first-child {
    margin-top: 0;
}

/* hovers on branch-heads */
#inline-dialog-branch-head-popup .contents {
    font-size: 0.9em;
    color: white;
    padding: 3px 6px;
    border: none;
    width: auto !important; /* because you can't pass in a non-px value to inline-dialog */
}

/* hovers on changesets */
#inline-dialog-changeset-popup .contents {
    background-color: #333;
    font-size: 0.9em;
    color: white;
    padding: 3px 6px;
    border: none;
    width: auto !important; /* because you can't pass in a non-px value to inline-dialog */
}

#inline-dialog-changeset-popup .hidden-truncated {
    font-style: italic;
}

#inline-dialog-changeset-popup .highlight-annotation {
    border-top: 1px dotted #999;
    padding-top: 4px;
    margin-top: 3px;
}

#inline-dialog-changeset-popup .highlight-annotation a {
    color: white;
    text-decoration: underline;
}

/* overrides */
#content-column .branch-header.aui-toolbar ul:first-child {
    margin-left: 0;
}


.branch-mode-selector {
    width: 320px;
    margin: 120px auto;
    padding: 40px 45px 20px;
    background: #F7F7F7;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
}

.branch-mode-selector h1 {
    color: #333333;
    font-size: 20px;
    line-height: 24px;
    font-weight: normal;
}

.branch-mode-selector ul {
    margin-top: 24px;
    list-style: disc;
    padding-left: 16px;
}

.branch-mode-selector ul li {
    margin: 24px 0;
}

#dialog-branch-editor {
    position: relative;
}

#dialog-branch-editor .toggle-branch-mode {
    display: block;
    position: absolute;
    top: 0;
    right: 8px;
    line-height: 24px;
}

#dialog-branch-editor .git-branch-notice {
    font-size: 13px;
    line-height: 18px;
}/*[{!style_visualisation_css_qiga41v!}]*/
/* END /2static/style/style-visualisation.css */
/* START /2static/style/style-visualisation-dialog.css */
#stream .highlighter-annotation-item,
#stream .highlighter-annotation-item-separator {
    display: block;
    margin: 0 5px 2px 0;
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 2px;
    padding-bottom: 2px;
}

#stream .highlighter-annotation-item-separator {
    padding-left: 0;
    padding-right: 0;
}

/* styles for the changeset activity item in the dialog */
#changeset-details-dialog-panel {
    background: transparent;
}

#changeset-details-dialog-panel .article {
    border-top: none;
}

/* since we can no longer hide/toggle, dont use the hide cursor*/
#changeset-details-dialog-panel .article-summary {
    cursor: auto;
}

#changeset-details-dialog-panel #stream .stream-files .file-views {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    min-width: 175px;
    /*
    TODO:
    there are cases there the abbreviation doesn't work - setting the background to white "solves" it at the cost of the hover color
    of the file path not reaching all the way across
    */
/*background-color: white;*/
}

/*make the file path section smaller by adding more padding (so aligns with the date)*/
#changeset-details-dialog-panel #stream .article {
    padding-right: 47px;
}

#changeset-details-dialog-panel #stream {
    font-size: 13px;
}

/* hides the twixie */
#changeset-details-dialog-panel #stream .article-toggle {
    display: none;
}

/* align the commit message with the commit csid link text*/
#changeset-details-dialog-panel #stream .article-board {
    padding-left: 1px;
}

/* align the LOC lozenge with the changeset id link and commit message */
#changeset-details-dialog-panel #stream .article-section {
    margin-left: -64px;
    margin-right: -44px;
}

#changeset-details-dialog-panel #stream .article-section-more {
    margin-left: 0;
    margin-right: 0;
}

#changeset-details-dialog-panel #stream .article-section h4:first-child {
    cursor: pointer;
    padding: 4px 0 4px 0;
}

#changeset-details-dialog-panel #stream .article-section h4:first-child a {
    cursor: pointer;
    text-decoration: none;

    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/* always show the gear menu */
#changeset-details-dialog-panel #stream .article-tools {
    display: inline-block;
}/*[{!style_visualisation_dialog_css_wonx41t!}]*/
/* END /2static/style/style-visualisation-dialog.css */
