treeherder/ui/css/treeherder-details-panel.css

826 строки
14 KiB
CSS

strong {
font-weight: bold;
}
#details-panel {
font-size: 12px;
height: 100%;
}
.details-panel-slide {
animation: details-panel-slide 0.4s;
height: 100%;
}
@keyframes details-panel-slide {
0% {
transform: translateY(100%);
}
100% {
transform: translateY(0%);
}
}
div#details-panel-content .navbar,
div#tabs-panel .tab-headers {
border-radius: 0;
height: 33px;
width: 100%;
margin: 0;
font-size: 12px;
min-height: 33px;
min-width: initial;
z-index: 100;
background-color: #252c33;
border: 1px solid transparent;
color: #ced3d9;
justify-content: space-between;
}
#tab-header-buttons > span > span {
padding-left: 5px;
}
div#details-panel-content .navbar-nav > ul {
height: 32px;
}
div#details-panel-content .navbar-nav.actionbar-nav > li > a,
div#details-panel-content .navbar-nav.actionbar-nav > li > button {
padding: 8px 15px;
line-height: 16px;
}
div#details-panel-content .navbar-nav.tab-headers > li > a,
div#details-panel-content .navbar-nav.tab-headers > li > button {
padding: 8px 15px;
line-height: 30px;
}
div#details-panel-content .navbar-nav > li > button {
border: none;
background: transparent;
}
/* Use a loaded image, rather than an icon, so it needs to be slightly shorter */
div#details-panel-content .navbar-nav > li > a#logviewer-btn {
line-height: 18px;
}
div#details-panel-content .navbar-nav > li > a.disabled,
div#details-panel-content .navbar-nav > li > button.disabled,
ul.actionbar-menu > li.disabled {
cursor: not-allowed;
text-decoration: none;
}
div#details-panel-content .navbar-nav > li.active a,
div#details-panel-content .navbar-nav > li.active a:hover,
div#details-panel-content .navbar-nav > li.active a:focus {
outline: 0;
}
div#details-panel-content .details-panel-navbar > ul.tab-headers > li {
border-right: 1px solid #42484f;
}
.details-panel-navbar {
background-color: #252c33;
border: 1px solid transparent;
color: #ced3d9;
display: flex;
flex-direction: row;
z-index: 100;
height: 33px;
}
.details-panel-navbar li {
align-self: center;
}
.tab-header-tabs {
flex-direction: row;
display: flex;
}
.tab-header-tabs > li {
padding: 1px 15px;
line-height: 30px;
cursor: pointer;
color: #9fa3a5;
}
#details-panel-content ul.tab-headers {
list-style: none;
flex-direction: row;
min-width: 550px;
display: flex;
padding-left: 0;
font-size: 12px;
}
.details-panel-close-btn {
padding-top: 3px;
font-size: 12px;
color: unset; /* reset from bootstrap button class */
}
.details-panel-close-btn:hover {
color: unset; /* reset from bootstrap button class */
}
.perf-job-selected {
/* An override to optimize all other non-perf jobs at 550px */
min-width: 646px !important;
}
.details-panel-navbar-controls {
flex-wrap: nowrap;
}
.details-panel-navbar .navbar-nav {
display: flex;
flex-direction: row;
}
.details-panel-navbar .navbar-nav > li {
white-space: nowrap;
}
.details-panel-navbar .navbar-nav > li > a,
.details-panel-navbar .navbar-nav > li > .btn {
color: #9fa3a5;
padding: 4px 15px;
}
div#details-panel-content .navbar-nav > li > a:hover,
div#details-panel-content .navbar-nav > li > a:focus,
div#details-panel-content .navbar-nav > li > button:hover,
div#details-panel-content .navbar-nav > li > button:focus {
background-color: #1e252b;
color: #d3d8da;
}
div#details-panel-content .navbar-nav > li > a:active,
div#details-panel-content .navbar-nav > li > button:active {
background-color: #000;
}
div#details-panel-content .navbar-nav > li > a.disabled:active,
div#details-panel-content .navbar-nav > li > button.disabled:active {
background-color: #1e252b;
}
.details-panel-navbar .actionbar-nav {
flex: auto;
}
div#details-panel-content .details-panel-navbar .navbar-nav > li.active a,
div#details-panel-content .details-panel-navbar .navbar-nav > li.active a:hover,
div#details-panel-content .details-panel-navbar .navbar-nav > li.active a:focus,
div#details-panel-content .details-panel-navbar > li.active a,
div#details-panel-content .details-panel-navbar > li.active a:hover,
div#details-panel-content .details-panel-navbar > li.active a:focus {
background-color: #1a4666;
color: #eef0f2;
}
.tab-header-tabs > li.selected-tab {
background-color: #1a4666;
color: #eef0f2;
}
.react-tabs {
height: 100%;
width: 100%;
}
.react-tabs__tab-panel--selected {
height: 100%;
}
#tabs-panel {
height: 100%;
max-height: calc(100% - 35px);
width: 100%;
}
#details-panel-content #job-details-list,
#details-panel-content .failure-summary-list,
#details-panel-content .similar-jobs > .similar-job-list tbody {
overflow-y: auto;
height: 100%;
}
#details-panel-content {
position: relative; /* So we can absolutely position the loading overlay */
height: 100%;
flex: auto;
display: flex;
flex-flow: row;
}
#summary-panel {
background-color: #fff;
display: flex;
flex-flow: column;
}
#job-details-actionbar {
min-height: 33px;
}
/*
* action bar
*/
.action-bar-spin {
animation: action-bar-spin 0.7s;
}
@keyframes action-bar-spin {
0% {
transform: rotate(0turn);
}
100% {
transform: rotate(1turn);
}
}
.actionbar-nav {
flex-direction: row;
}
.actionbar-nav .btn {
cursor: pointer;
}
.actionbar-nav > li {
/* Override padding on all icons to keep compact */
padding: 0 !important;
}
.actionbar-menu {
margin-top: 23px;
margin-left: 6px;
border-radius: 4px;
top: 0;
right: 0;
left: auto;
}
#actionbar-menu-btn {
padding: 8px 13px;
margin-right: 1px;
}
#actionbar-menu-btn:hover {
background-color: #262626;
cursor: pointer;
}
#actionbar-menu-btn:focus {
box-shadow: none;
border: none;
outline: none;
}
/* Remove the caret from the ellipses */
#actionbar-menu-btn.dropdown-toggle::after {
display: none;
}
#job-details-actionbar #actionbar-menu-btn + ul > li {
padding: 0;
}
/*
* Job details panel (left side)
*/
#summary-panel-content {
overflow-y: auto;
}
#summary-panel {
width: 260px;
min-width: 260px;
height: 100%;
}
#summary-panel .content-spacer {
padding-top: 2px;
padding-bottom: 4px;
}
#summary-panel ul li {
padding: 0 0 0 5px;
line-height: 15px;
word-wrap: break-word;
}
#summary-panel ul li label {
padding: 0 3px 0 0;
margin: 2px 0;
font-weight: bold;
}
/*
* Classification stars
* These generally match the job button colors
*/
.star-success {
color: rgba(2, 130, 51, 0.75);
}
.star-testfailed {
color: #dd6602;
}
.star-busted {
color: #90010a;
}
.star-skipped {
color: rgb(101, 191, 221);
}
.star-exception {
color: #6f0296;
}
.star-retry {
color: #283aa2;
}
.star-unknown {
color: #fbd890;
}
.star-usercancel {
color: #ff40d9;
}
.star-superseded {
color: #488ae9;
}
.star-pending,
.star-running {
color: grey;
}
#summary-panel em.testfail {
color: red;
}
#job-details-pane ul {
margin: 0;
padding: 0;
line-height: 12px;
}
#job-details-pane {
overflow: auto;
}
#result-status-pane {
width: 100%;
padding: 4px;
}
#result-status-pane div {
display: inline-block;
}
#result-status-pane div:first-child {
width: 11.25em;
}
/*
* Job tabs panel (right side)
*/
.job-tabs-divider {
border-left: 1px solid lightgrey;
}
#job-details-list label {
margin-left: 2px;
}
/*
* Failure summary
*/
ul.failure-summary-list {
width: 100%;
margin-bottom: 0;
height: 100%;
}
ul.failure-summary-list li {
font-size: 11px;
background: #ccfaff;
padding: 1px 0 0 2px;
}
ul.failure-summary-list li .btn-xs {
font-size: 8px;
}
.failure-summary-line-empty {
padding: 2px 4px 0;
font-size: 12px;
background: #ffffff;
}
.failure-summary-bugs {
padding: 0 0 0 18px;
}
/* We override global anchor color to replicate TBPL here */
.failure-summary-bugs a {
color: #0000ee;
}
.failure-summary-bugs a:visited {
color: purple;
}
/* We override global anchor color to replicate TBPL here */
.show-hide-more {
padding: 0 0 0 37px;
color: #0000ee;
cursor: pointer;
}
/*
* Annotations
*/
annotations-tab {
overflow: auto;
margin-right: 0;
}
.classifications-pane {
border-right: solid 1px lightgray;
}
/* Annotation tab classification headers */
.classifications-pane table tr th {
padding-right: 16px;
padding-bottom: 4px;
}
/* Annotation tab classification fields */
.classifications-pane table tr td {
padding-right: 16px;
}
/* Annotations tab classification deletion container */
.classifications-pane table tr td:last-child {
padding-left: 10px;
}
.classification-delete-icon {
font-size: 11px;
color: #bababa;
}
/* Override bootstrap row highlighting */
.classifications-pane table tr:hover td {
background: #fff;
}
.annotations-bug-list {
list-style: none inside none;
padding-left: 0;
}
.annotations-bug-header {
margin-top: 4px;
margin-bottom: 2px;
font-size: 0.9em;
}
.annotations-bug {
padding-top: 2px;
padding-bottom: 0;
padding-left: 0;
border: none;
font-size: 0.9em;
}
/*
* Similar jobs
*/
.btn-similar-jobs {
background: #fff;
cursor: default;
font-size: 12px;
}
.similar-jobs {
display: flex;
flex-flow: row;
height: 100%;
}
div.similar-jobs .similar-job-detail-panel {
border-left: 1px solid #101010;
margin-right: 1px;
overflow-y: auto;
flex: 1 1;
}
div.similar-jobs .similar-job-detail-panel form {
overflow: hidden;
background-color: #d3d3d3;
}
div.similar-jobs
.similar-job-detail-panel
form
.checkbox
input[type='checkbox'] {
margin-left: 0;
position: relative;
}
div.similar-jobs .similar-job-detail-panel .similar_job_detail {
border-top: 1px solid #101010;
}
div.similar-jobs .similar-job-detail-panel .similar_job_detail table {
width: 100%;
overflow: hidden;
}
div.similar-jobs .similar-job-list {
overflow: auto;
flex: 1 1;
}
div.similar-jobs .similar-job-list table {
margin-bottom: 7px;
}
/* We override bootstrap table style for cleaner layout */
div.similar-jobs .similar-job-list table tr > td {
vertical-align: middle;
border-top: 1px solid lightgrey;
border-bottom: 0;
border-right: 0;
border-left: 0;
}
/* Selected Similar Job row in blue */
div.similar-jobs .similar-job-list table tr.active > td {
background: #e2ebfa;
border-top: 1px solid darkgrey;
border-bottom: 1px solid darkgrey;
}
/* Avoid using the hand pointer unless we are on a link */
div.similar-jobs .similar-job-list table tr {
cursor: default;
}
/*
* Performance
*/
div.performance-panel {
display: block !important;
}
/*
* Autoclassify Panel
*/
.failure-line-message {
display: flex;
}
.failure-line-status {
color: #c45a02;
}
.failure-line-message-toggle {
cursor: pointer;
width: 10px;
flex-basis: auto;
padding: 2px 4px;
}
.failure-line-message-collapsed {
max-height: 14px;
height: 14px;
overflow: hidden;
padding-left: 5px;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.failure-line-message-expanded {
margin-left: 5px;
margin-bottom: 10px;
overflow-x: auto;
white-space: pre-wrap;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}
autoclassify-tab,
.autoclassify-tab {
font-size: 11px;
flex-direction: column;
}
autoclassify-tab .controls,
.autoclassify-tab .controls {
flex: 0;
margin-bottom: 2px;
}
autoclassify-tab .controls button,
.autoclassify-tab .controls button {
display: inline-block;
}
.autoclassify-error-lines {
flex-direction: row;
overflow-y: scroll;
}
.error-line {
display: flex;
}
.error-line.selected {
background-color: #e2ebfa;
outline: thin dotted black;
}
.error-line .errorline-controls {
width: 70px;
text-align: center;
}
.error-line .status {
width: 6px;
margin-right: 3px;
}
.error-line .status.classification-disabled {
background-color: #0000;
}
.error-line .status.verified {
background-color: green;
}
.error-line .status.unverified-ignore {
background-color: grey;
}
.error-line .status.unverified-no-bug {
background-color: red;
}
.error-line .status.unverified {
background-color: orange;
}
.error-line .classification-line-detail {
width: 100%;
padding-top: 3px;
padding-bottom: 3px;
border-bottom: thin solid #eee;
}
.error-line .classification-set-bug {
cursor: pointer;
font-size: 8px;
}
.error-line .ignored-line {
text-decoration: line-through;
}
.error-line.ignored {
color: darkgrey;
}
.error-line .badge-ignored {
background-color: lightgrey;
}
.static-classification-option .classification-icon,
.classification-option .classification-icon {
width: 24px;
margin-top: auto;
margin-bottom: auto;
text-align: center;
display: inline-block;
}
.static-classification-option .classification-icon > *,
.classification-option .classification-icon > * {
margin-left: auto;
margin-right: auto;
}
.classification-option {
margin-top: 4px;
display: flex;
}
.classification-option .classification-bug-resolution {
color: darkgrey;
font-size: 0.9em;
}
.classification-option .form-check {
margin-bottom: 0;
font-weight: normal;
display: inline-block;
padding-left: 0;
}
.classification-option label {
margin-bottom: 0;
font-weight: normal;
display: inline;
}
/* TODO: Make this better */
.classification-option .classification-matchers {
color: darkgrey;
padding-left: 43px;
}
.classification-option .manual-bug-input {
line-height: 11px;
margin: -4px 0 5px 4px;
font-size: 11px;
}
.classification-option .btn-file-bug {
margin: -4px 0 5px 3px;
font-size: 11px;
}
.classification-option .manual-bug-label {
line-height: 15pt;
}
.classification-option .line-option-text {
padding: 0 0 0 16px;
}
.extra-options {
margin-top: 5px;
}
.extra-options .classification-option .form-check {
height: 20px;
}
.line-option-text.manual-bug {
display: flex;
white-space: nowrap;
}
.line-option-text.ignore {
display: flex;
}
.classification-option .ignore-option__control {
margin: 0 0 0 5px;
font-size: 11px;
line-height: 20px !important;
height: 20px;
min-height: 20px;
padding: 0 0 0 2px;
width: 160px;
}
.classification-option .ignore-option__placeholder,
.classification-option .ignore-option__value-container,
.classification-option .ignore-option__indicators,
.classification-option .ignore-option__input {
line-height: 20px !important;
height: 20px;
}
.classification-option input {
margin: 1px 0 0 0;
vertical-align: middle;
}
.classification-option button.btn-xs,
.static-classification-option button.btn-xs {
font-size: 8px;
}