mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-06 14:00:56 +00:00
Purpose: 1. Make the whole code base have unified "item" layout 2. Clarify our "list" styles: "flex-relaxed-list", "flex-divided-list" 3. Prepare to replace legacy "ui relaxed list" * https://github.com/go-gitea/gitea/pull/37445#discussion_r3144458865 4. Prepare for refactoring the "pull merge box", it needs the "flex-divided-list" * related to "Refactor pull request view (*)" like #37451 5. Fix legacy abuses of "flex-list", e.g.: repo home sidebar
69 lines
1.2 KiB
CSS
69 lines
1.2 KiB
CSS
.runner-container {
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
.runner-container .ui.table.segment {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.runner-container .task-status-success {
|
|
background-color: var(--color-green);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.runner-container .task-status-failure {
|
|
background-color: var(--color-red-light);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.runner-container .task-status-running {
|
|
background-color: var(--color-blue);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.runner-container .task-status-cancelled,
|
|
.runner-container .task-status-blocked {
|
|
background-color: var(--color-yellow);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.run-list-item-right {
|
|
width: 130px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
gap: 3px;
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
.run-list-item-right .run-list-meta {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: .25rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.run-list .item-trailing {
|
|
flex-wrap: nowrap;
|
|
width: 280px;
|
|
flex: 0 0 280px;
|
|
}
|
|
|
|
.run-list-ref {
|
|
display: inline-block !important;
|
|
max-width: 105px;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.run-list .item-trailing {
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
width: auto;
|
|
flex-basis: auto;
|
|
}
|
|
.run-list-item-right,
|
|
.run-list-ref {
|
|
max-width: 110px;
|
|
}
|
|
}
|