clearml-web/src/app/webapp-common/pipelines/edit-pipeline-page/pipeline-step-info/pipeline-step-info.component.scss

179 lines
2.9 KiB
SCSS
Raw Normal View History

2024-02-27 16:23:56 +00:00
@import "variables";
2024-02-28 17:35:38 +00:00
::ng-deep {
.option {
// background-color: red;
2024-02-28 17:35:38 +00:00
span {
overflow: hidden;
}
}
}
2024-02-27 16:23:56 +00:00
:host {
::ng-deep {
.mat-expansion-panel-body {
padding: 0;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
.mat-expansion-panel-header {
padding: 0 16px;
}
2024-02-28 17:35:38 +00:00
}
2024-02-27 16:23:56 +00:00
2024-02-28 08:58:04 +00:00
width: 300px;
2024-02-27 16:23:56 +00:00
z-index: 1;
border-radius: 4px;
background-color: $blue-700;
.expand-header {
height: 32px;
line-height: 34px;
color: $white;
font-size: 12px;
font-weight: 500;
}
2024-02-28 17:35:38 +00:00
.panel-body {
2024-02-27 16:23:56 +00:00
max-height: calc(70vh - 100px);
min-height: 350px;
overflow: auto;
padding: 0 16px;
}
.section {
margin-bottom: 24px;
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&:first-child {
2024-02-28 17:35:38 +00:00
margin-top: 12px;
2024-02-27 16:23:56 +00:00
}
.header {
color: $blue-200;
font-size: $font-size-small;
font-weight: 500;
display: flex;
justify-content: space-between;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
.param {
display: flex;
align-items: center;
height: 32px;
font-size: 12px;
border-bottom: solid 1px $dark-border;
.key {
2024-02-28 08:58:04 +00:00
flex: 0.5 1 0;
2024-02-27 16:23:56 +00:00
color: $blue-300;
margin-right: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
.value {
flex: 1 1 0;
color: $blue-100;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
header {
display: grid;
grid-template-columns: 48px 1fr;
gap: 6px 0;
grid-template-areas:
"icon name"
"icon status";
width: 100%;
margin: 12px 0 24px;
padding-bottom: 12px;
color: $blue-100;
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
.al-icon {
grid-area: icon;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
.name {
grid-area: name;
overflow: hidden;
text-overflow: ellipsis;
}
}
.status {
grid-area: status;
margin-right: auto;
height: 16px;
line-height: 16px;
padding: 0 6px;
border-radius: 2px;
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
background-color: $pipeline-pending;
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.queued {
background-color: $pipeline-queued;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.skipped {
background-color: $pipeline-skipped;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.cached {
background-color: $pipeline-cached;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.executed {
background-color: $pipeline-executed;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.running {
background-color: $pipeline-running;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.failed {
background-color: $pipeline-failed;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.aborted {
background-color: $pipeline-aborted;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&.completed {
background-color: $pipeline-completed;
}
}
.empty-msg {
text-align: center;
padding-top: 12px;
font-size: $font-size-small;
color: $blue-400;
}
footer {
@extend .fx-ctr;
height: 48px;
padding: 0 16px;
border-top: solid 1px $dark-border;
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
.arr-link {
i {
2024-02-28 17:35:38 +00:00
margin-left: 4px;
2024-02-27 16:23:56 +00:00
transform: translateY(2px);
transition: margin-left 0.3s;
}
2024-02-28 17:35:38 +00:00
2024-02-27 16:23:56 +00:00
&:hover i {
margin-left: 8px;
}
}
}
2024-03-05 13:35:08 +00:00
}