mirror of
https://github.com/clearml/clearml-web
synced 2025-06-26 18:27:02 +00:00
* Release v1.9 * v1.9.2 fixes and improvements Co-authored-by: Shay Halsband <shy.halsband@gmail.com>
170 lines
2.6 KiB
SCSS
170 lines
2.6 KiB
SCSS
@import "variables";
|
|
|
|
:host {
|
|
display: grid !important;
|
|
grid-template-rows: 64px calc(100% - 64px);
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 24px;
|
|
|
|
.name {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
color: $blue-200;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
align-items: center;
|
|
.g-btns {
|
|
display: inherit;
|
|
margin-left: 12px;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
padding: 3px 0 0 22px;
|
|
|
|
mat-drawer-content {
|
|
z-index: 2;
|
|
}
|
|
|
|
mat-drawer-container.iframe-maximized {
|
|
z-index: 15;
|
|
}
|
|
}
|
|
|
|
.hover-button {
|
|
position: absolute;
|
|
left: 29px;
|
|
top: 192px;
|
|
z-index: 14;
|
|
|
|
button {
|
|
padding: 0 6px;
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
transform: rotate(90deg);
|
|
|
|
i {
|
|
transform: rotate(-90deg);
|
|
|
|
&.open {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
mat-drawer {
|
|
background-color: $blue-800;
|
|
}
|
|
|
|
.description {
|
|
width: 300px;
|
|
margin: 3px 16px auto 0;
|
|
|
|
& > textarea {
|
|
display: block;
|
|
background-color: $blue-900;
|
|
width: 100%;
|
|
height: 200px;
|
|
padding: 12px 12px 12px 42px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
resize: none;
|
|
color: $blue-250;
|
|
|
|
&::placeholder {
|
|
color: $blue-400;
|
|
}
|
|
}
|
|
|
|
.edit-button {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 24px;
|
|
opacity: 0;
|
|
transition: opacity 300ms ease-in-out;
|
|
}
|
|
|
|
&:hover {
|
|
.edit-button {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 12px;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
sm-markdown-editor {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 300px;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 3px 24px 0 3px;
|
|
transition: max-width 0.5s;
|
|
|
|
&.edit {
|
|
max-width: 1856px;
|
|
height: 100%
|
|
}
|
|
|
|
&.full-width {
|
|
max-width: 100%;
|
|
&:not(.edit) {
|
|
max-width: calc(100% - 64px);
|
|
}
|
|
}
|
|
}
|
|
|
|
mat-drawer-container {
|
|
margin: 0 auto;
|
|
max-width: 1856px;
|
|
}
|
|
}
|
|
|
|
.empty-state {
|
|
margin: 0 auto;
|
|
max-width: 960px;
|
|
background-color: $blue-900;
|
|
border-radius: 4px;
|
|
flex: 1;
|
|
|
|
.al-icon {
|
|
color: $blue-600;
|
|
}
|
|
|
|
.no-data-title {
|
|
font-size: 20px;
|
|
color: $blue-100;
|
|
font-weight: 500;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.no-data-button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
} |