зеркало из https://github.com/mozilla/treeherder.git
404 строки
6.4 KiB
CSS
Executable File
404 строки
6.4 KiB
CSS
Executable File
/*
|
|
* Global settings
|
|
*
|
|
* This file contains settings which are either not specific to our
|
|
* UI component css files, or are shared across Treeherder, Logviewer,
|
|
* UserGuide, and/or Perfherder.
|
|
*
|
|
* Please consider the appropriate css file and attribute location
|
|
* when adding new styles.
|
|
*/
|
|
|
|
html, body {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
line-height: inherit;
|
|
}
|
|
|
|
a:visited {
|
|
color: purple;
|
|
}
|
|
|
|
input:focus::-webkit-input-placeholder {
|
|
color: transparent;
|
|
}
|
|
|
|
input:focus::-moz-placeholder {
|
|
color: transparent;
|
|
}
|
|
|
|
#global-container {
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.th-global-content {
|
|
flex: 1; /* Not using auto because it causes unnecessary reflows, see bug 162725 */
|
|
-webkit-flex: auto;
|
|
position: relative; /* Required to position inner content */
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.pagination, .carousel, .panel-title a {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.checkbox {
|
|
min-height: 20px; /* Override bootstrap 3.3.5 for similar jobs panel */
|
|
}
|
|
|
|
.dropdown-menu > li > a {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Spacing for menus with adjacent checkboxes */
|
|
.checkbox-dropdown-menu {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
/* Spacing for menus with adjacent icons */
|
|
.icon-menu li a span {
|
|
width: 20px;
|
|
}
|
|
|
|
/*
|
|
* Icons
|
|
*/
|
|
|
|
.logviewer-icon {
|
|
width: 14px;
|
|
height: 16px;
|
|
vertical-align: text-bottom;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.logviewer-icon:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.raw-log-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cancel-job-icon {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.icon-blue {
|
|
color: #68aae2;
|
|
}
|
|
|
|
.icon-green:hover,
|
|
.icon-green:focus,
|
|
.icon-green:active {
|
|
color: #0de00d !important;
|
|
}
|
|
|
|
.icon-superscript {
|
|
vertical-align: super;
|
|
font-size: 0.625em;
|
|
margin-left: -0.2em;
|
|
}
|
|
|
|
.hover-warning:hover {
|
|
color: #fa4444 !important;
|
|
}
|
|
|
|
.dim-quarter {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
/*
|
|
* Cursors
|
|
*/
|
|
|
|
.th-spinner {
|
|
color: rgba(145, 164, 221, 0.7);
|
|
}
|
|
|
|
.th-spinner-lg {
|
|
color: rgba(145, 164, 221, 0.3);
|
|
}
|
|
|
|
.pointable, .nav-tabs li {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/*
|
|
* Result status colors
|
|
*
|
|
* These colors are used both by Treeherder and Logviewer
|
|
* so receive global status.
|
|
*/
|
|
|
|
.result-status-shading-success {
|
|
background-color: rgba(2, 131, 44, 0.24);
|
|
border-color: rgba(2, 131, 44, 0.24);
|
|
}
|
|
|
|
.result-status-shading-testfailed {
|
|
background-color: rgba(221, 102, 2, 0.25);
|
|
border-color: rgba(221, 102, 2, 0.25);
|
|
}
|
|
|
|
.result-status-shading-busted {
|
|
background-color: rgba(144, 0, 0, 0.25);
|
|
border-color: rgba(144, 0, 0, 0.25);
|
|
}
|
|
|
|
.result-status-shading-skipped {
|
|
background-color: rgba(101, 191, 221, 0.25);
|
|
border-color: rgba(101, 191, 221, 0.25);
|
|
}
|
|
|
|
.result-status-shading-exception {
|
|
background-color: rgba(61, 2, 85, 0.25);
|
|
border-color: rgba(61, 2, 85, 0.25);
|
|
}
|
|
|
|
.result-status-shading-retry {
|
|
background-color: rgba(38, 63, 195, 0.25);
|
|
border-color: rgba(38, 63, 195, 0.25);
|
|
}
|
|
|
|
.result-status-shading-usercancel {
|
|
background-color: rgba(250, 115, 172, 0.25);
|
|
border-color: rgba(250, 115, 172, 0.25);
|
|
}
|
|
|
|
.result-status-shading-pending {
|
|
background-color: rgba(160, 160, 160, 0.2);
|
|
border-color: rgba(160, 160, 160, 0.2);
|
|
}
|
|
|
|
.result-status-shading-running {
|
|
background-color: rgba(70, 70, 70, 0.25);
|
|
border-color: rgba(70, 70, 70, 0.25);
|
|
}
|
|
|
|
.result-status-shading-unknown {
|
|
background-color: rgb(252, 248, 227);
|
|
border-color: rgb(251, 216, 144);
|
|
}
|
|
|
|
.result-status-shading-coalesced {
|
|
background-color: white;
|
|
}
|
|
|
|
/*
|
|
* Buttons
|
|
*
|
|
* Currently used in resultsets only but could be
|
|
* potentially used elsewhere.
|
|
*/
|
|
|
|
.th-action-button span.dropdown:hover ul.dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
.th-action-button:after {
|
|
content: none;
|
|
}
|
|
|
|
.label-initials {
|
|
display: inline-block;
|
|
margin-right: 0.2em;
|
|
padding: 0.2em 0.3em;
|
|
width: 2.5em;
|
|
border: 1px solid #999999;
|
|
background-color: white;
|
|
color: #999999;
|
|
}
|
|
|
|
/*
|
|
* Colors
|
|
*/
|
|
|
|
.white, .white a {
|
|
color: white;
|
|
}
|
|
|
|
.xlightgray, .xlightgray a {
|
|
color: #e6e6e6;
|
|
}
|
|
|
|
.lightgray, .lightgray a {
|
|
color: lightgray;
|
|
}
|
|
|
|
.midgray, .midgray a {
|
|
color: gray;
|
|
}
|
|
|
|
/*
|
|
* Text
|
|
*/
|
|
|
|
.kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font: 11px/10px Consolas,"Liberation Mono",Menlo,Courier,monospace;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: #ccc #ccc #bbb;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.queryparam {
|
|
display: inline-block;
|
|
font: 12px Consolas,"Liberation Mono",Menlo,Courier,monospace;
|
|
color: #555;
|
|
}
|
|
|
|
.deleted {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.nowrap {
|
|
overflow-x: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/*
|
|
* Tables and panels
|
|
*/
|
|
|
|
.table-super-condensed thead > tr > th,
|
|
.table-super-condensed tbody > tr > th,
|
|
.table-super-condensed tfoot > tr > th,
|
|
.table-super-condensed thead > tr > td,
|
|
.table-super-condensed tbody > tr > td,
|
|
.table-super-condensed tfoot > tr > td {
|
|
padding: 2px;
|
|
font-size: .9em;
|
|
}
|
|
|
|
.panel-spacing table {
|
|
width: 100%;
|
|
}
|
|
|
|
.panel-spacing tr th:first-child {
|
|
padding-right: 2em;
|
|
}
|
|
|
|
.panel-spacing tr:nth-child(even) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.panel-spacing table tr {
|
|
border-bottom: 1px dotted lightgrey;
|
|
}
|
|
|
|
.th-multi-select input[type=text] {
|
|
width: 534px;
|
|
}
|
|
|
|
.th-multi-select select {
|
|
width: 250px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.th-multi-select button {
|
|
width: 30px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-group-inline > .form-group {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/*
|
|
* Notifications
|
|
*
|
|
* Used both by Treeherder and Logviewer
|
|
* at present, so receive global status.
|
|
*/
|
|
|
|
#notification-box {
|
|
position: fixed;
|
|
top: 105px;
|
|
left: 10px;
|
|
z-index: 1100;
|
|
}
|
|
|
|
#notification-box div.alert {
|
|
padding: 10px 16px 10px 10px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#notification-box button.close {
|
|
position: relative;
|
|
top: -4px;
|
|
right: -8px;
|
|
color: inherit;
|
|
}
|
|
|
|
/* Notification icon */
|
|
#notification-box div span:first-child {
|
|
display: inline-block;
|
|
width: 22px;
|
|
}
|
|
|
|
/*
|
|
* Onscreen help
|
|
*/
|
|
|
|
#onscreen-overlay {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 10000; /* 1 more than .overlay wait spinners */
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
#onscreen-shortcuts {
|
|
position: relative;
|
|
top: 130px;
|
|
left: 16.5%;
|
|
}
|
|
|
|
/*
|
|
* Clipboard
|
|
*
|
|
* This facilitates copy on hover for
|
|
* Logviewer, Raw Log, and Job:name buttons/links
|
|
*/
|
|
|
|
#clipboard-container {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 0px;
|
|
height: 0px;
|
|
z-index: 100;
|
|
display: none;
|
|
opacity: 0;
|
|
}
|
|
|
|
#clipboard {
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0px;
|
|
}
|