565 lines
11 KiB
CSS
565 lines
11 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Make the H2 header inline-block so that the refresh icon/button can
|
|
share space with it floating on the right. */
|
|
h2 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.pf-c-title {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
a.refresh {
|
|
cursor: pointer;
|
|
border-bottom-style: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.time {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Navigation bar */
|
|
.zuul-page .pf-c-brand {
|
|
/* TODO (felix): If we can define a size in the logo.svg itself, this
|
|
shouldn't be necessary. */
|
|
height: 1.5em;
|
|
}
|
|
|
|
.zuul-page .pf-c-page__header {
|
|
min-height: 0;
|
|
}
|
|
|
|
.zuul-page .pf-c-page__main-nav {
|
|
background-color: var(--pf-global--BackgroundColor--dark-300);
|
|
padding-top: 0;
|
|
}
|
|
|
|
.zuul-select-tz {
|
|
/* Always use black because when using dark mode the theme will default
|
|
to another dark color which is hard to see on a white background */
|
|
color: #000;
|
|
}
|
|
|
|
.pf-theme-dark .zuul-select-tz .zuul-select-tz__option {
|
|
background: #222;
|
|
color: #fff;
|
|
}
|
|
|
|
.pf-theme-dark .zuul-select-tz .zuul-select-tz__option:hover {
|
|
background: #000;
|
|
}
|
|
|
|
/* Config error modal */
|
|
.zuul-config-errors-title {
|
|
font-size: var(--pf-global--FontSize--xl);
|
|
}
|
|
|
|
.zuul-config-errors-count {
|
|
margin-left: var(--pf-global--spacer--md);
|
|
}
|
|
|
|
.pf-theme-dark .zuul-config-errors-title, .pf-theme-dark .zuul-config-errors-count {
|
|
color: #fff !important;
|
|
}
|
|
|
|
.pf-theme-dark .pf-c-notification-drawer pre {
|
|
background: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
/*
|
|
* Build Lists and Tables
|
|
*/
|
|
|
|
/* Improve the hover effect of selected lines in the selectable data list*/
|
|
.pf-c-data-list__item.pf-m-selectable:hover:not(.pf-m-selected),
|
|
.pf-c-data-list__item.pf-m-selectable:focus:not(.pf-m-selected) {
|
|
--pf-c-data-list__item--before--BackgroundColor: var(
|
|
--pf-c-data-list__item--m-selected--before--BackgroundColor
|
|
);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.zuul-menu-dropdown-toggle {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.zuul-menu-dropdown-toggle:before {
|
|
content: none !important;
|
|
}
|
|
|
|
.zuul-menu-dropdown-toggle:hover {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.zuul-menu-dropdown-toggle-expanded:before {
|
|
border-left: none;
|
|
border-right: none;
|
|
border-top: none;
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Remove ugly outline when a Switch is selected */
|
|
.pf-c-switch {
|
|
--pf-c-switch__input--focus__toggle--OutlineWidth: 0;
|
|
}
|
|
|
|
/* Keep the normal font-size for compact tables */
|
|
.zuul-table td {
|
|
font-size: var(--pf-global--FontSize--md);
|
|
}
|
|
|
|
/* Align padding of compact expendable (child) rows. Without this there is
|
|
nearly no padding. */
|
|
.zuul-build-table .pf-c-table__expandable-row.pf-m-expanded {
|
|
--pf-c-table--cell--PaddingTop: var(
|
|
--pf-c-table--m-compact--cell--PaddingTop
|
|
);
|
|
--pf-c-table--cell--PaddingBottom: var(
|
|
--pf-c-table--m-compact--cell--PaddingBottom
|
|
);
|
|
}
|
|
|
|
/* Use the same hover effect on table rows like for the selectable data list */
|
|
.zuul-table tbody tr:hover {
|
|
box-shadow: var(--pf-global--BoxShadow--sm-top),
|
|
var(--pf-global--BoxShadow--sm-bottom);
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
/* For the small-screen table layout the before element is already used to
|
|
show the column names. Thus, we fall back to the border to show the hover
|
|
effect. The drawback with that is, that we can't show a nice transition.
|
|
*/
|
|
.zuul-table tbody tr:hover {
|
|
border-left-color: var(--pf-global--active-color--100);
|
|
border-left-width: var(--pf-global--BorderWidth--lg);
|
|
border-left-style: solid;
|
|
/* Compensate the border width with a negative margin */
|
|
margin-left: -3px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 769px) {
|
|
/* For the larger screens (normal table layout) we can use the before
|
|
element on the first table cell to show the same hover effect like for
|
|
the data list */
|
|
.zuul-table tbody tr td:first-child::before {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: var(--pf-global--BorderWidth--lg);
|
|
content: "";
|
|
background-color: transparent;
|
|
transition: var(--pf-global--Transition);
|
|
}
|
|
|
|
.zuul-table tbody tr:hover td:first-child::before {
|
|
background-color: var(--pf-global--active-color--100);
|
|
}
|
|
|
|
/* Hide the action column with the build link on larger screen. This is only
|
|
needed for the mobile version as we can't use the "magnifying-glass icon
|
|
on hover" effect there. */
|
|
.zuul-table .pf-c-table__action {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Build/Buildset result page
|
|
*/
|
|
.zuul-build-attributes > .pf-l-flex > * {
|
|
padding-bottom: var(--pf-global--spacer--sm);
|
|
padding-left: var(--pf-global--spacer--sm);
|
|
padding-right: var(--pf-global--spacer--sm);
|
|
}
|
|
|
|
/* Status page */
|
|
.zuul-pipeline-header h3 {
|
|
font-weight: var(--pf-global--FontWeight--bold);
|
|
}
|
|
|
|
.zuul-change {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.zuul-change-dark {
|
|
margin-bottom: 10px;
|
|
border-color: #222;
|
|
}
|
|
|
|
.zuul-change-id {
|
|
float: right;
|
|
}
|
|
|
|
.zuul-job-result {
|
|
float: right;
|
|
width: 70px;
|
|
height: 20px;
|
|
margin: 2px 0 0 0;
|
|
padding: 4px;
|
|
}
|
|
|
|
.zuul-change-total-result {
|
|
height: 10px;
|
|
width: 180px;
|
|
margin: 0;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.zuul-spinner,
|
|
.zuul-spinner:hover {
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease-out;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.zuul-spinner-on,
|
|
.zuul-spinner-on:hover {
|
|
opacity: 1;
|
|
transition-duration: 0.2s;
|
|
cursor: progress;
|
|
}
|
|
|
|
.zuul-change-cell {
|
|
padding-left: 5px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.zuul-change-job {
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
.zuul-change-job-dark {
|
|
padding: 2px 8px;
|
|
background: #000;
|
|
color: #ccc;
|
|
border: 1px solid #222;
|
|
}
|
|
|
|
/* Force_break_very_long_non_hyphenated_repo_names */
|
|
.change_project {
|
|
word-break: break-all;
|
|
}
|
|
|
|
.zuul-job-name {
|
|
font-size: small;
|
|
}
|
|
|
|
.zuul-skipped-jobs-button {
|
|
font-size: small;
|
|
padding: 0;
|
|
}
|
|
|
|
.zuul-non-voting-desc {
|
|
font-size: smaller;
|
|
}
|
|
|
|
.zuul-patchset-header {
|
|
font-size: small;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.zuul-patchset-header-dark {
|
|
font-size: small;
|
|
padding: 8px 12px;
|
|
background: #000 !important;
|
|
color: #ccc !important;
|
|
border-color: #222 !important;
|
|
}
|
|
|
|
.zuul-patchset-body {
|
|
}
|
|
|
|
.zuul-patchset-body-dark {
|
|
border-top: 1px solid #000;
|
|
}
|
|
|
|
.zuul-log-output {
|
|
color: black;
|
|
}
|
|
|
|
.zuul-log-output a,
|
|
.zuul-log-output a:hover {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.zuul-log-sev-0 {
|
|
color: black;
|
|
}
|
|
.zuul-log-sev-1 {
|
|
color: black;
|
|
}
|
|
.zuul-log-sev-2 {
|
|
color: #0000aa;
|
|
}
|
|
.zuul-log-sev-3 {
|
|
color: #883300;
|
|
}
|
|
.zuul-log-sev-4 {
|
|
color: #aa0000;
|
|
}
|
|
.zuul-log-sev-5 {
|
|
color: #aa0000;
|
|
}
|
|
.zuul-log-sev-6 {
|
|
color: #aa0000;
|
|
}
|
|
.zuul-log-sev-7 {
|
|
color: #aa0000;
|
|
}
|
|
|
|
.form-inline > .form-group {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.zuul-change-row {
|
|
height: 100%;
|
|
padding: 0 0 10px 0;
|
|
margin: 0;
|
|
width: 16px;
|
|
min-width: 16px;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.zuul-build-status {
|
|
background: transparent;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.zuul-build-merge-conflict:before {
|
|
color: black;
|
|
}
|
|
|
|
.zuul-change-row-line {
|
|
background: linear-gradient(#000, #000) no-repeat center/2px 100%;
|
|
}
|
|
|
|
.zuul-change-row-line-dark {
|
|
background: linear-gradient(#fff, #fff) no-repeat center/2px 100%;
|
|
}
|
|
|
|
.progress-bar-animated {
|
|
animation: progress-bar-stripes 1s linear infinite;
|
|
}
|
|
|
|
.progress-dark {
|
|
background: #333 !important;
|
|
}
|
|
|
|
/* Job Tree View group gap */
|
|
div.tree-view-container ul.list-group {
|
|
margin: 0px 0px;
|
|
}
|
|
|
|
/* OpenAPI page */
|
|
pre.version {
|
|
background-color: lightgrey;
|
|
color: black;
|
|
}
|
|
.swagger-ui .servers {
|
|
padding-top: 5px
|
|
}
|
|
|
|
/* Console */
|
|
/* NOTE(ianw) 2022-09-19 : The !important on a few items below is
|
|
* probably not required after CSS ordering fixes merge to
|
|
* https://github.com/patternfly/patternfly-react/issues/7960
|
|
* We can probably pull these out after we upgrade past that.
|
|
*/
|
|
|
|
.zuul-console-task-failed {
|
|
background-color: var(--pf-global--palette--red-50) !important;
|
|
}
|
|
|
|
.pf-theme-dark .zuul-console-task-failed {
|
|
background-color: var(--pf-global--palette--red-300) !important;
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list__expandable-content {
|
|
border: none;
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list__expandable-content-body
|
|
{
|
|
padding-top: calc(var(--pf-c-data-list__expandable-content-body--PaddingTop) * 0.25) !important;
|
|
padding-bottom: calc(var(--pf-c-data-list__expandable-content-body--PaddingTop) * 0.25) !important
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list {
|
|
border: none
|
|
}
|
|
|
|
.zuul-console-plays .pf-c-data-list__item:nth-child(even) {
|
|
background: var(--pf-global--BackgroundColor--200);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.zuul-console-light .pf-c-data-list__item:hover
|
|
{
|
|
background: var(--pf-global--palette--blue-50);
|
|
}
|
|
|
|
.zuul-console-dark .pf-c-data-list__item:hover
|
|
{
|
|
background: var(--pf-global--BackgroundColor--200);
|
|
}
|
|
|
|
.zuul-console-dark pre {
|
|
background: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list__item:hover::before
|
|
{
|
|
background: var(--pf-global--active-color--400);
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list__item {
|
|
border: none;
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list__item-content {
|
|
padding-bottom: 2px !important;
|
|
padding-top: 0px !important
|
|
}
|
|
|
|
.zuul-console .pf-c-data-list__cell {
|
|
padding-top: 4px !important;
|
|
padding-bottom: 0px !important
|
|
}
|
|
|
|
pre.zuul-log-output
|
|
{
|
|
overflow-x: auto;
|
|
background-color: inherit;
|
|
border: none;
|
|
}
|
|
.zuul-log-output .line-number
|
|
{
|
|
display: inline;
|
|
-webkit-touch-callout: none;
|
|
-khtml-user-select: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
text-align: right;
|
|
padding-right: 1em;
|
|
cursor: pointer;
|
|
color: #555;
|
|
}
|
|
|
|
.highlight {
|
|
background: rgb(255, 255, 204);
|
|
}
|
|
|
|
details.foldable pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
details.stderr pre {
|
|
color: #9b0000;
|
|
}
|
|
|
|
pre.cmd {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Used to make the "more/less" fold, look like a normal hyperlink */
|
|
details.foldable summary
|
|
{
|
|
color: #0088ce;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
details.foldable summary:hover
|
|
{
|
|
text-decoration: underline;
|
|
}
|
|
|
|
details.foldable summary::before {
|
|
content: "more";
|
|
}
|
|
|
|
details.foldable[open] summary::before {
|
|
content: "less";
|
|
}
|
|
|
|
/* The box size calculation compared to the text size seems off, but
|
|
this looks better */
|
|
.zuul-job-graph text {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* task summary */
|
|
|
|
.zuul-task-summary .pf-c-data-list {
|
|
border: none
|
|
}
|
|
|
|
.zuul-task-summary .pf-c-data-list__item:hover
|
|
{
|
|
background: var(--pf-global--BackgroundColor--light-200);
|
|
}
|
|
|
|
.zuul-task-summary .pf-c-data-list__item:hover::before
|
|
{
|
|
background: var(--pf-global--active-color--400);
|
|
}
|
|
|
|
.zuul-task-summary-failed.pf-c-card {
|
|
background: var(--pf-global--palette--red-50);
|
|
}
|
|
|
|
.pf-theme-dark .pf-c-nav__link {
|
|
color: #fff !important;
|
|
}
|
|
|
|
.pf-theme-dark .pf-c-modal-box__title-text, .pf-theme-dark .pf-c-modal-box__body {
|
|
color: #fff !important;
|
|
}
|
|
|
|
.pf-theme-dark .swagger-ui {
|
|
filter: invert(88%) hue-rotate(180deg);
|
|
}
|
|
|
|
.pf-theme-dark .swagger-ui .highlight-code {
|
|
filter: invert(100%) hue-rotate(180deg);
|
|
}
|
|
|
|
.zuul-table-dark .list-group-item {
|
|
background-color: #333 !important;
|
|
}
|
|
|
|
.zuul-build-output {
|
|
}
|
|
|
|
.zuul-build-output-dark {
|
|
background-color: #000 !important;
|
|
color: #fff;
|
|
}
|
|
|
|
.pf-theme-dark .zuul-log-sev-0 {
|
|
color: #ccc !important;
|
|
}
|
|
.pf-theme-dark .zuul-log-sev-1 {
|
|
color: #ccc !important;
|
|
}
|
|
|
|
.pf-theme-dark .pf-c-empty-state {
|
|
color: #fff !important;
|
|
}
|