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-03-09 20:15:01 +08:00
|
|
|
.experiment-actions-menu {
|
|
|
|
.dropdown-menu {
|
|
|
|
a,
|
|
|
|
button {
|
|
|
|
@include font-button;
|
|
|
|
padding: .5em 1em;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: .4em;
|
|
|
|
}
|
2021-01-28 04:53:39 +08:00
|
|
|
}
|
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2021-01-28 04:53:39 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.content-header {
|
|
|
|
.project-name {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
max-width: calc(100% - 7em);
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.fas {
|
|
|
|
margin-right: .5em;
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
2021-02-03 21:23:38 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.edit-experiments-form,
|
|
|
|
.clone-experiments-form,
|
|
|
|
.move-experiments-form,
|
|
|
|
.archive-experiments-form,
|
|
|
|
.new-experiment-form,
|
|
|
|
.restore-experiments-form {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.project-show-container {
|
|
|
|
margin: 1.5em 0;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.cards-wrapper {
|
|
|
|
--card-min-width: 350px;
|
|
|
|
--list-columns-number: 7;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.card {
|
|
|
|
grid-row: span 6;
|
2021-02-16 22:26:51 +08:00
|
|
|
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
&.experiment-card {
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: $flyout-shadow;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.workflow-img-wrapper {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border-radius: 4px;
|
|
|
|
height: 76px;
|
|
|
|
width: 76px;
|
|
|
|
|
|
|
|
.archived-icon-plceholder {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
font-size: 3.5em;
|
|
|
|
line-height: 76px;
|
|
|
|
text-align: center;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.workflowimg-container {
|
|
|
|
text-align: center;
|
2021-03-09 20:15:01 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
img {
|
|
|
|
border-radius: 4px;
|
|
|
|
max-height: 76px;
|
2021-03-09 20:15:01 +08:00
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +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 -.25em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 21px;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.actions {
|
|
|
|
position: absolute;
|
|
|
|
right: .2em;
|
|
|
|
top: .2em;
|
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.dates-and-img-container {
|
|
|
|
display: flex;
|
|
|
|
height: 7em;
|
|
|
|
width: 100%;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.dates-container {
|
|
|
|
flex-grow: 1;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.data-row {
|
|
|
|
display: flex;
|
|
|
|
line-height: 34px;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.card-label {
|
|
|
|
width: 7em;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.card-value {
|
|
|
|
font-weight: 600;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.progress {
|
|
|
|
box-shadow: none;
|
|
|
|
height: 4px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
min-width: 0 !important;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.completed-task-cell {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-03-09 20:15:01 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.description-cell {
|
|
|
|
.description-text {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
display: -webkit-box;
|
|
|
|
height: 3em;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: .25em;
|
2021-03-09 20:15:01 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
&::after {
|
|
|
|
background: linear-gradient(to right, transparent, $color-white 50%);
|
|
|
|
bottom: .75em;
|
|
|
|
content: "";
|
|
|
|
height: 1.75em;
|
2021-03-09 20:15:01 +08:00
|
|
|
position: absolute;
|
2021-05-16 17:04:04 +08:00
|
|
|
right: 0;
|
|
|
|
text-align: right;
|
|
|
|
width: 25%;
|
2021-03-09 20:15:01 +08:00
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
|
|
|
|
.more-button {
|
|
|
|
bottom: .8em;
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
&.list {
|
|
|
|
grid-auto-rows: 1px 5em;
|
|
|
|
grid-template-columns: max-content repeat(calc(var(--list-columns-number) - 2), minmax(100px, auto)) max-content;
|
|
|
|
grid-template-rows: 3em;
|
2021-02-16 22:26:51 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.card {
|
|
|
|
&.experiment-card {
|
2021-05-08 16:33:43 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.card-value {
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
2021-05-08 16:33:43 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.workflow-img-wrapper {
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: 3.5em;
|
|
|
|
margin: .25em 1em .25em .5em;
|
|
|
|
width: 3.5em;
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.archived-icon-plceholder {
|
|
|
|
font-size: 2em;
|
|
|
|
line-height: 1.75em;
|
2021-05-08 16:33:43 +08:00
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.workflowimg-container {
|
|
|
|
text-align: center;
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
img {
|
|
|
|
max-height: 3em;
|
2021-05-08 16:33:43 +08:00
|
|
|
}
|
2021-03-09 20:15:01 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.dates-and-img-container,
|
|
|
|
.dates-container {
|
|
|
|
display: contents;
|
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.checkbox-cell {
|
|
|
|
align-items: normal;
|
|
|
|
padding-top: .5em;
|
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.experiment-name-cell {
|
|
|
|
@include font-button;
|
|
|
|
color: $brand-primary;
|
|
|
|
display: flex;
|
|
|
|
font-weight: normal;
|
|
|
|
grid-column: 2;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: .25em 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
overflow: hidden;
|
2021-03-09 20:15:01 +08:00
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.start-date-cell {
|
|
|
|
grid-column: 3;
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.modified-date-cell {
|
|
|
|
grid-column: 4;
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.completed-task-cell {
|
|
|
|
grid-column: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description-cell {
|
|
|
|
grid-column: 6;
|
|
|
|
position: relative;
|
2021-02-16 19:42:09 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.description-text {
|
|
|
|
height: 4.5em;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
|
|
|
|
&::after {
|
2021-02-16 19:42:09 +08:00
|
|
|
bottom: .5em;
|
2021-05-16 17:04:04 +08:00
|
|
|
right: .5em;
|
2021-02-16 19:42:09 +08:00
|
|
|
}
|
2021-03-09 20:15:01 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.more-button {
|
|
|
|
bottom: .5em;
|
2021-03-09 20:15:01 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
.actions-cell {
|
|
|
|
grid-column: 7;
|
|
|
|
padding-top: 3px;
|
|
|
|
position: initial;
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
}
|
2021-02-12 20:25:12 +08:00
|
|
|
|
2021-05-16 17:04:04 +08:00
|
|
|
&:hover {
|
|
|
|
.description-text::after {
|
|
|
|
background: linear-gradient(to right, transparent, $color-concrete 50%);
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
|
|
|
|
&.readonly {
|
|
|
|
.experiment-name-cell {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-02-08 02:04:30 +08:00
|
|
|
&.active {
|
|
|
|
[data-view-mode="archived"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 23:39:29 +08:00
|
|
|
&.archived {
|
|
|
|
[data-view-mode="active"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-show-container {
|
2021-02-08 02:04:30 +08:00
|
|
|
.experiment-actions-menu {
|
|
|
|
.btn-light:hover {
|
|
|
|
background: $color-alto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 23:39:29 +08:00
|
|
|
.cards-wrapper {
|
|
|
|
.card.experiment-card {
|
2021-02-16 22:26:51 +08:00
|
|
|
.workflow-img-wrapper {
|
2021-02-08 02:04:30 +08:00
|
|
|
background-color: $color-alto;
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
|
2021-02-08 02:04:30 +08:00
|
|
|
.progress-bar {
|
|
|
|
background-color: $color-silver-chalice;
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.description-cell {
|
2021-02-10 21:50:42 +08:00
|
|
|
width: 100%;
|
|
|
|
|
2021-02-16 22:26:51 +08:00
|
|
|
.description-text::before {
|
|
|
|
background: $color-alto;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
height: 4px;
|
|
|
|
}
|
|
|
|
|
2021-02-04 23:39:29 +08:00
|
|
|
.description-text::after {
|
|
|
|
background: linear-gradient(to right, transparent, $color-concrete 50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list {
|
|
|
|
.card.experiment-card {
|
|
|
|
.archived-date-cell {
|
|
|
|
grid-column: 5;
|
|
|
|
}
|
2021-02-16 22:26:51 +08:00
|
|
|
.description-cell {
|
|
|
|
.description-text::before {
|
|
|
|
content: unset;
|
|
|
|
}
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.description-text::after {
|
|
|
|
background: linear-gradient(to right, transparent, $color-alto 50%);
|
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-05-16 17:04:04 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
2021-02-22 19:51:04 +08:00
|
|
|
|
|
|
|
@media (max-height: 700px) {
|
|
|
|
.projects-show {
|
|
|
|
.experiments-filters {
|
|
|
|
max-height: calc(100vh - var(--navbar-height) - var(--content-header-size));
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|