2020-12-17 20:07:30 +08:00
|
|
|
// scss-lint:disable SelectorDepth
|
|
|
|
// scss-lint:disable NestingDepth
|
|
|
|
// scss-lint:disable SelectorFormat
|
|
|
|
// scss-lint:disable IdSelector
|
|
|
|
|
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
// New experiments page
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.projects-show {
|
2021-02-03 21:23:38 +08:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
[data-view-mode="archived"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.archived {
|
|
|
|
[data-view-mode="active"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-17 20:07:30 +08:00
|
|
|
.content-header {
|
|
|
|
.project-name {
|
2021-02-03 21:23:38 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-01-29 05:47:08 +08:00
|
|
|
max-width: calc(100% - 7em);
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-02-03 21:23:38 +08:00
|
|
|
.inline-editing-container {
|
|
|
|
width: calc(100% - 3em);
|
|
|
|
}
|
|
|
|
|
2020-12-17 20:07:30 +08:00
|
|
|
.fas {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
2021-02-03 21:23:38 +08:00
|
|
|
|
|
|
|
.archive-experiments-form,
|
|
|
|
.restore-experiments-form {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.project-show-container {
|
|
|
|
margin: 1.5em 0;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.cards-wrapper {
|
|
|
|
--card-min-width: 350px;
|
|
|
|
--list-columns-number: 7;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.card {
|
|
|
|
grid-row: span 6;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
&.experiment-card {
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: $flyout-shadow;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
|
|
|
.experiment-name-cell {
|
|
|
|
@include font-h3;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
display: -webkit-box;
|
|
|
|
height: 3em;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
margin: .25em 1.75em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
position: absolute;
|
|
|
|
right: .2em;
|
|
|
|
top: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dates-and-img-container{
|
|
|
|
display: flex;
|
|
|
|
height: 6em;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.dates-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.workflow-img-container {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border-radius: 4px;
|
|
|
|
height: 76px;
|
|
|
|
width: 76px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.data-row {
|
|
|
|
display: flex;
|
|
|
|
line-height: 2.25em;
|
|
|
|
|
|
|
|
.card-label {
|
|
|
|
width: 7em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-value {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
height: 4px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.description-cell {
|
|
|
|
.description-text {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
display: -webkit-box;
|
|
|
|
height: 3em;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 0.25em;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background: linear-gradient(to right, transparent, $color-white 50%);
|
|
|
|
bottom: .75em;
|
|
|
|
content: "";
|
|
|
|
height: 1.75em;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
text-align: right;
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-button {
|
|
|
|
bottom: 1.1em;
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
&.list {
|
|
|
|
grid-template-columns: max-content repeat(calc(var(--list-columns-number) - 2), minmax(100px, auto)) max-content;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.card {
|
|
|
|
&.experiment-card {
|
|
|
|
.experiment-name-cell {
|
|
|
|
grid-column: 2;
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.start-date-cell {
|
|
|
|
grid-column: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modified-date-cell {
|
|
|
|
grid-column: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.completed-task-cell {
|
|
|
|
grid-column: 5;
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.description-cell {
|
|
|
|
grid-column: 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-cell {
|
|
|
|
grid-column: 7;
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|