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-04 23:40:05 +08:00
|
|
|
.experiment-actions-menu {
|
|
|
|
.dropdown-menu {
|
|
|
|
a,
|
|
|
|
button {
|
|
|
|
@include font-button;
|
|
|
|
padding: .5em 1em;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: .4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
2021-02-03 21:23:38 +08:00
|
|
|
|
2021-02-09 22:47:15 +08:00
|
|
|
.edit-experiments-form,
|
|
|
|
.clone-experiments-form,
|
|
|
|
.move-experiments-form,
|
2021-02-03 21:23:38 +08:00
|
|
|
.archive-experiments-form,
|
2021-02-12 13:55:23 +08:00
|
|
|
.new-experiment-form,
|
2021-02-03 21:23:38 +08:00
|
|
|
.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;
|
2021-06-18 17:58:03 +08:00
|
|
|
--list-columns-number: 8;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.card {
|
2021-06-18 17:58:03 +08:00
|
|
|
grid-row: span 7;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
.experiment-code-cell {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-02-04 23:39:29 +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
|
|
|
|
2021-02-16 22:26:51 +08:00
|
|
|
.workflow-img-wrapper {
|
2021-02-04 23:39:29 +08:00
|
|
|
background-color: $color-concrete;
|
|
|
|
border-radius: 4px;
|
|
|
|
height: 76px;
|
|
|
|
width: 76px;
|
2021-02-16 22:26:51 +08:00
|
|
|
|
|
|
|
.archived-icon-plceholder {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
font-size: 3.5em;
|
|
|
|
line-height: 76px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.workflowimg-container {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: 4px;
|
|
|
|
max-height: 76px;
|
|
|
|
}
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
|
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;
|
2021-03-12 19:30:00 +08:00
|
|
|
margin: .25em 1.75em -.25em;
|
2021-02-04 16:02:23 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
2021-03-05 20:40:19 +08:00
|
|
|
display: inline-block;
|
|
|
|
line-height: 21px;
|
2021-02-04 16:02:23 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
position: absolute;
|
|
|
|
right: .2em;
|
|
|
|
top: .2em;
|
|
|
|
}
|
|
|
|
|
2021-02-04 23:39:29 +08:00
|
|
|
.dates-and-img-container {
|
2021-02-04 16:02:23 +08:00
|
|
|
display: flex;
|
2021-02-08 02:04:30 +08:00
|
|
|
height: 7em;
|
2021-02-04 16:02:23 +08:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.dates-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.data-row {
|
|
|
|
display: flex;
|
2021-02-08 02:04:30 +08:00
|
|
|
line-height: 34px;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
|
|
|
.card-label {
|
|
|
|
width: 7em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-value {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
2021-03-05 20:40:19 +08:00
|
|
|
box-shadow: none;
|
2021-02-04 16:02:23 +08:00
|
|
|
height: 4px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 23:39:29 +08:00
|
|
|
.completed-task-cell {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-02-04 16:02:23 +08:00
|
|
|
.description-cell {
|
|
|
|
.description-text {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
display: -webkit-box;
|
|
|
|
height: 3em;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
overflow: hidden;
|
2021-02-04 23:39:29 +08:00
|
|
|
padding-top: .25em;
|
2021-02-04 16:02:23 +08:00
|
|
|
|
|
|
|
&::after {
|
2021-06-14 15:19:25 +08:00
|
|
|
background: linear-gradient(to right, $color-transparent, $color-white 50%);
|
2021-02-04 16:02:23 +08:00
|
|
|
bottom: .75em;
|
|
|
|
content: "";
|
|
|
|
height: 1.75em;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
text-align: right;
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-button {
|
2021-02-08 02:04:30 +08:00
|
|
|
bottom: .8em;
|
2021-02-04 16:02:23 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
2022-05-11 16:39:51 +08:00
|
|
|
|
|
|
|
&.experiment-placeholder {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
box-shadow: $flyout-shadow;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.placeholder-body {
|
|
|
|
display: flex;
|
|
|
|
flex-basis: 70%;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-container {
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.image-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder-element {
|
|
|
|
animation-duration: 2s;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-name: placeholder-pulsing;
|
|
|
|
background-color: $color-alto;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
height: 18px;
|
|
|
|
|
|
|
|
&.header,
|
|
|
|
&.footer {
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.footer {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.line-0 {
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.line-1 {
|
|
|
|
flex-basis: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.line-2 {
|
|
|
|
flex-basis: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.image {
|
|
|
|
height: 80px;
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes placeholder-pulsing {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
&.list {
|
2021-02-04 23:39:29 +08:00
|
|
|
grid-auto-rows: 1px 5em;
|
2021-06-18 17:58:03 +08:00
|
|
|
grid-template-columns: max-content minmax(100px, auto) minmax(80px, max-content) repeat(calc(var(--list-columns-number) - 4), minmax(100px, auto)) max-content;
|
2021-02-04 23:39:29 +08:00
|
|
|
grid-template-rows: 3em;
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.card {
|
|
|
|
&.experiment-card {
|
2021-02-04 23:39:29 +08:00
|
|
|
|
|
|
|
.card-value {
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
2021-02-16 22:26:51 +08:00
|
|
|
.workflow-img-wrapper {
|
2021-02-16 19:42:09 +08:00
|
|
|
flex-shrink: 0;
|
2021-02-04 23:39:29 +08:00
|
|
|
height: 3.5em;
|
2021-02-16 22:26:51 +08:00
|
|
|
margin: .25em 1em .25em .5em;
|
2021-02-04 23:39:29 +08:00
|
|
|
width: 3.5em;
|
2021-02-16 22:26:51 +08:00
|
|
|
|
|
|
|
.archived-icon-plceholder {
|
|
|
|
font-size: 2em;
|
|
|
|
line-height: 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.workflowimg-container {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-height: 3em;
|
|
|
|
}
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dates-and-img-container,
|
|
|
|
.dates-container {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-cell {
|
|
|
|
align-items: normal;
|
|
|
|
padding-top: .5em;
|
|
|
|
}
|
|
|
|
|
2021-01-29 05:47:08 +08:00
|
|
|
.experiment-name-cell {
|
2021-02-04 23:39:29 +08:00
|
|
|
@include font-button;
|
|
|
|
color: $brand-primary;
|
|
|
|
display: flex;
|
|
|
|
font-weight: normal;
|
2021-01-29 05:47:08 +08:00
|
|
|
grid-column: 2;
|
2021-02-04 23:39:29 +08:00
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: .25em 0;
|
2021-02-16 19:42:09 +08:00
|
|
|
|
|
|
|
a {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
.experiment-code-cell {
|
|
|
|
display: block;
|
2021-01-29 05:47:08 +08:00
|
|
|
grid-column: 3;
|
|
|
|
}
|
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
.start-date-cell {
|
2021-01-29 05:47:08 +08:00
|
|
|
grid-column: 4;
|
|
|
|
}
|
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
.modified-date-cell {
|
2021-01-29 05:47:08 +08:00
|
|
|
grid-column: 5;
|
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
.completed-task-cell {
|
2021-01-29 05:47:08 +08:00
|
|
|
grid-column: 6;
|
2021-06-18 17:58:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.description-cell {
|
|
|
|
grid-column: 7;
|
2021-02-04 23:39:29 +08:00
|
|
|
position: relative;
|
|
|
|
|
2021-02-16 19:42:09 +08:00
|
|
|
.description-text {
|
|
|
|
height: 4.5em;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
bottom: .5em;
|
|
|
|
right: .5em;
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.more-button {
|
2021-02-16 19:42:09 +08:00
|
|
|
bottom: .5em;
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions-cell {
|
2021-06-18 17:58:03 +08:00
|
|
|
grid-column: 8;
|
2021-02-08 02:04:30 +08:00
|
|
|
padding-top: 3px;
|
2021-02-04 23:39:29 +08:00
|
|
|
position: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.description-text::after {
|
2021-06-14 15:19:25 +08:00
|
|
|
background: linear-gradient(to right, $color-transparent, $color-concrete 50%);
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
}
|
2022-05-11 16:39:51 +08:00
|
|
|
|
|
|
|
&.experiment-placeholder {
|
|
|
|
display: contents;
|
|
|
|
|
|
|
|
.placeholder-body {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder-element {
|
|
|
|
align-self: flex-start;
|
|
|
|
display: none;
|
|
|
|
margin-top: .5em;
|
|
|
|
padding: .5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
display: block;
|
|
|
|
grid-column: 6;
|
|
|
|
height: 18px;
|
|
|
|
width: 80%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
display: block;
|
|
|
|
grid-column: 7;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-container {
|
|
|
|
display: flex;
|
|
|
|
grid-column: 2;
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.image {
|
|
|
|
display: block;
|
|
|
|
flex-basis: 56px;
|
|
|
|
height: 56px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-text {
|
|
|
|
display: block;
|
|
|
|
flex-basis: calc(100% - 80px);
|
|
|
|
margin: 0 10px 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-0 {
|
|
|
|
display: block;
|
|
|
|
grid-column: 3;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-1 {
|
|
|
|
display: block;
|
|
|
|
grid-column: 4;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-2 {
|
|
|
|
display: block;
|
|
|
|
grid-column: 5;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
}
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
}
|
2021-02-12 20:25:12 +08:00
|
|
|
|
|
|
|
&.readonly {
|
|
|
|
.experiment-name-cell {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2022-05-11 16:39:51 +08:00
|
|
|
|
|
|
|
&.last-page {
|
|
|
|
padding-bottom: 5em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.experiment-list-end-placeholder {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-concrete;
|
|
|
|
bottom: 1em;
|
|
|
|
display: flex;
|
|
|
|
height: 3em;
|
|
|
|
left: calc(50% - 150px);
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 1em;
|
|
|
|
position: absolute;
|
|
|
|
width: 300px;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
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 {
|
2021-06-14 15:19:25 +08:00
|
|
|
background: linear-gradient(to right, $color-transparent, $color-concrete 50%);
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list {
|
|
|
|
.card.experiment-card {
|
|
|
|
.archived-date-cell {
|
2021-07-02 22:10:35 +08:00
|
|
|
grid-column: 6;
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
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 {
|
2021-06-14 15:19:25 +08:00
|
|
|
background: linear-gradient(to right, $color-transparent, $color-alto 50%);
|
2021-02-04 23:39:29 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
2020-12-17 20:07:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-22 19:51:04 +08:00
|
|
|
|
2021-10-27 19:48:52 +08:00
|
|
|
.move-experiment-modal {
|
|
|
|
.warning-message {
|
|
|
|
background: $brand-warning-light;
|
|
|
|
margin-top: 1em;
|
|
|
|
padding: .5em;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
color: $brand-warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|