mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-02-06 18:00:29 +00:00
Fixes the layout of the actions list specifically when an action name is too long to be displayed within the column's constrained width. I took the opportunity to add some ancillary improvements: - Center elements vertically - Space elements consistently: the error badge didn't have the same margin on the left like the disabled badge. Fixes #4580 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10648 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Luis <luis@adame.dev> Co-committed-by: Luis <luis@adame.dev>
130 lines
2.4 KiB
CSS
130 lines
2.4 KiB
CSS
.runner-container {
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
.runner-container .ui.table.segment {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.runner-container .runner-ops > a {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.runner-container .runner-ops-delete {
|
|
color: var(--color-red-light);
|
|
}
|
|
|
|
.runner-container .runner-new-text {
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.runner-container #runner-new:hover .runner-new-text {
|
|
color: var(--color-white) !important;
|
|
}
|
|
|
|
.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: 0.25rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.run-list .flex-item-trailing {
|
|
flex-wrap: nowrap;
|
|
width: 280px;
|
|
flex: 0 0 280px;
|
|
}
|
|
|
|
.run-list-ref {
|
|
display: inline-block !important;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.run-list .flex-item-trailing {
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
width: auto;
|
|
flex-basis: auto;
|
|
}
|
|
.run-list-item-right,
|
|
.run-list-ref {
|
|
max-width: 110px;
|
|
}
|
|
}
|
|
|
|
#workflow_dispatch_dropdown {
|
|
min-width: min-content;
|
|
}
|
|
#workflow_dispatch_dropdown > button {
|
|
white-space: nowrap;
|
|
}
|
|
#workflow_dispatch_dropdown .menu {
|
|
max-height: 500px;
|
|
overflow-x: auto;
|
|
}
|
|
@media (max-width: 640px) or (767.98px < width < 854px) {
|
|
#workflow_dispatch_dropdown .menu {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
.job-status-rotate {
|
|
animation: job-status-rotate-keyframes 1s linear infinite;
|
|
}
|
|
@keyframes job-status-rotate-keyframes {
|
|
100% {
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
|
|
.ui.vertical.menu .item:not(:has(> :nth-child(1))),
|
|
.ui.vertical.menu .item .content {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ui.vertical.menu .item:has(.content) {
|
|
display: flex;
|
|
}
|
|
|
|
.ui.vertical.menu.actions-menu .item .error {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.ui.vertical.menu.actions-menu .item .label {
|
|
flex-shrink: 0;
|
|
}
|