treeherder/ui/css/logviewer.css

234 строки
4.0 KiB
CSS

body {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
min-width: 240px;
display: flex;
flex-flow: column;
}
.navbar {
flex: none;
min-height: 41px; /* 40 for contained elements + lower bootstrap border */
border-top: 0; /* Shut off the top border */
border-radius: 0; /* Straight navbar */
margin-bottom: 10px; /* Breathing space for run-data */
}
.navbar .dropdown-menu {
max-height: 600px;
overflow: auto;
margin-top: 10px;
padding-bottom: 8px;
}
.navbar-nav > li > a {
padding: 10px 15px;
font-size: 12px;
}
.navbar-nav > li > div {
padding: 10px 15px;
line-height: 20px;
}
.navbar-nav > li > span {
line-height: 20px;
}
.container-fluid {
padding-left: 5px; /* Align logo vertically to run-data table */
}
/* Suppress selected angular templates until they compile */
[ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
/* Log Viewer */
#lv-logo {
padding: 10px 15px;
border: none;
background: #f8f8f8;
}
#lv-successful-steps {
font-size: 12px;
}
#lv-successful-steps > input {
margin: 0;
vertical-align: middle;
}
/* Override the position of the shared notification partial */
#notification-box {
top: 285px;
}
.lv-line-no {
width: 3em;
}
.lv-line-text {
white-space: pre;
}
.lv-line-num {
white-space: pre;
float: left;
align-items: center;
border-right: solid thin #e6e6e6;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
color: rgba(0, 0, 0, 0.3);
}
.lv-line-num:hover {
color: black;
background-color: #F8EEC7;
cursor: pointer;
}
.lv-error-line {
background-color: white;
color: #333333;
width: 100%;
}
.lv-error-line span:nth-child(2) {
white-space: normal;
}
.lv-log-container {
flex: 1;
overflow-x: auto;
font-family: monospace;
font-size: small;
background: #f8f8f8;
}
.lv-log-container > div:nth-child(even) {
background: #fff;
}
/* Equal weight selector needs to follow the above nth-child() */
.lv-log-container > .lv-log-line > .text-danger {
background: #fbe3e3;
}
.lv-log-container > div.lv-log-line > div.lv-line-text.lv-selected-lines {
background: #F8EEC7;
}
.lv-line-highlight {
background-color: LightGrey;
}
.run-data {
width: 100%;
flex: none;
background-color: #FFF;
padding: 10px 5px;
display: table-row;
font-size: 11px;
}
.run-data .break-word{
-ms-word-break: break-all;
word-break: break-all;
/* Non standard for webkit */
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
.run-data .steps-data {
margin-bottom: 10px;
max-height: 210px;
min-width: 400px;
overflow: auto;
border-color: #dddddd;
border-width: 1px;
border-style: solid none;
}
div.lv-step {
padding: 6px;
}
.lv-step {
border-radius: 2px;
overflow: hidden;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
-o-user-select: text;
user-select: text;
white-space: normal;
font-size: 11px;
}
.lv-step.selected {
background-color: #FFF;
}
.lv-actionbtn span {
color: #777;
}
.actionbtn-icon {
padding-right: 5px;
}
.actionbtn-warning {
margin-right: 1px;
padding: 2px;
background-color: #fcf8e3;
border: 1px solid #fbd890;
border-radius: 2px;
color: #8a6d3b;
}
.lv-line-no.label {
border-radius: 0px;
margin: 0em 0.6em 0em 0em;
}
.lv-log-msg {
position: relative;
padding: 26px 0 0 20px;
font-weight: bold;
font-family: sans-serif;
font-size: 11px;
}
.lv-log-overlay {
padding: 6px;
border: 2px solid #4cae4c;
border-radius: 3px;
background: #fff;
}
.lv-log-error {
border: 2px solid #ff0000;
}
.job-header {
max-height: 240px;
overflow-y: auto;
margin-bottom: 10px;
border-bottom: 1px solid #ececec;
}
.job-header > table {
margin-bottom: 0;
}