// scss-lint:disable SelectorDepth // scss-lint:disable NestingDepth // scss-lint:disable SelectorFormat // scss-lint:disable IdSelector // New experiments page .projects-show { &.active { [data-view-mode="archived"] { display: none !important; } } &.archived { [data-view-mode="active"] { display: none !important; } } .content-header { .project-name { align-items: center; display: flex; max-width: calc(100% - 7em); .inline-editing-container { width: calc(100% - 3em); } .fas { margin-right: .5em; } } .archive-experiments-form, .restore-experiments-form { display: inline-block; } } .project-show-container { margin: 1.5em 0; .cards-wrapper { --card-min-width: 350px; --list-columns-number: 7; .card { grid-row: span 6; &.experiment-card { border-radius: 4px; box-shadow: $flyout-shadow; .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; } } } } &.list { grid-template-columns: max-content repeat(calc(var(--list-columns-number) - 2), minmax(100px, auto)) max-content; .card { &.experiment-card { .experiment-name-cell { grid-column: 2; } .start-date-cell { grid-column: 3; } .modified-date-cell { grid-column: 4; } .completed-task-cell { grid-column: 5; } .description-cell { grid-column: 6; } .actions-cell { grid-column: 7; } } } } } } }