2022-10-20 16:42:38 +08:00
|
|
|
// scss-lint:disable SelectorDepth NestingDepth IdSelector
|
|
|
|
|
|
|
|
#experimentTable {
|
2022-11-07 18:49:25 +08:00
|
|
|
--content-header-size: 5em;
|
|
|
|
--toolbar-height: 4.5em;
|
|
|
|
position: relative;
|
|
|
|
|
2022-12-05 17:30:20 +08:00
|
|
|
.title-row {
|
|
|
|
.header-actions {
|
|
|
|
&.experiment-header {
|
2023-01-11 03:33:25 +08:00
|
|
|
column-gap: .25em;
|
2022-12-05 17:30:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sort-task-menu {
|
|
|
|
&:not(.archived) {
|
|
|
|
[data-view-mode="archived"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-20 16:42:38 +08:00
|
|
|
.experiment-table-container {
|
2023-01-11 03:33:25 +08:00
|
|
|
height: calc(100vh - var(--content-header-size) - var(--navbar-height) - var(--toolbar-height));
|
2022-11-07 18:49:25 +08:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-row {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: var(--toolbar-height);
|
2023-05-15 15:12:07 +08:00
|
|
|
justify-content: space-between;
|
2022-11-07 18:49:25 +08:00
|
|
|
|
|
|
|
.toolbar-left-block {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.btn {
|
2023-01-11 03:33:25 +08:00
|
|
|
margin-right: .25em;
|
2022-11-07 18:49:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-15 15:12:07 +08:00
|
|
|
.header-actions {
|
|
|
|
&.experiment-header {
|
|
|
|
column-gap: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sort-task-menu {
|
|
|
|
&:not(.archived) {
|
|
|
|
[data-view-mode="archived"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch-button {
|
|
|
|
outline: 1px solid $color-alto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch,
|
|
|
|
.filter-container {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch {
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
margin: 8px 0 8px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
.caret {
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
|
|
|
min-width: 100%;
|
|
|
|
|
|
|
|
.divider-label {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
padding: .25em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .5em 1em;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.button-icon {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.divider-label) {
|
|
|
|
background: $color-concrete;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
margin: -1em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
width: calc(100% + 2em);
|
|
|
|
|
|
|
|
&.selected::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: $font-fas-check;
|
|
|
|
margin-left: auto;
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cards-switch {
|
|
|
|
&.active::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: "\f00c";
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-07 18:49:25 +08:00
|
|
|
.toolbar-right-block {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2022-10-20 16:42:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.experiment-table {
|
|
|
|
display: grid;
|
|
|
|
grid-auto-rows: 3em 1px;
|
2023-01-11 03:33:25 +08:00
|
|
|
grid-template-columns: max-content repeat(calc(var(--columns-count)), minmax(max-content, auto)) max-content;
|
2022-10-20 16:42:38 +08:00
|
|
|
min-width: 100%;
|
|
|
|
|
|
|
|
.table-header-cell {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border: 1px solid $color-white;
|
|
|
|
display: flex;
|
|
|
|
height: 3em;
|
2023-03-22 20:47:59 +08:00
|
|
|
padding: 0 .5em;
|
2022-11-07 18:49:25 +08:00
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
top: 0;
|
2023-01-09 19:33:59 +08:00
|
|
|
z-index: 7;
|
2022-10-20 16:42:38 +08:00
|
|
|
|
|
|
|
&.select-all-checkboxes {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-comment {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-header {
|
|
|
|
display: contents;
|
2022-11-07 18:49:25 +08:00
|
|
|
height: 10px;
|
2022-10-20 16:42:38 +08:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
grid-column: 1/-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-body {
|
|
|
|
display: contents;
|
2023-02-10 21:27:25 +08:00
|
|
|
|
|
|
|
.table-body-cell {
|
|
|
|
display: flex;
|
2023-03-22 20:47:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.table-body-cell:nth-child(1) {
|
2023-02-10 21:27:25 +08:00
|
|
|
justify-content: center;
|
|
|
|
}
|
2022-10-20 16:42:38 +08:00
|
|
|
}
|
|
|
|
|
2022-12-01 22:08:59 +08:00
|
|
|
.loading-overlay {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-row-provisioning {
|
|
|
|
.loading-overlay {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-checkbox-container {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
|
|
|
|
.loading-overlay::after {
|
|
|
|
background-size: 1.5em;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-checkbox,
|
|
|
|
.sci-checkbox-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-20 16:42:38 +08:00
|
|
|
.table-body-cell {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-01-11 03:33:25 +08:00
|
|
|
padding: 0 .5em;
|
2022-10-24 21:25:02 +08:00
|
|
|
|
|
|
|
.my-module-users-link {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.global-avatar-container {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
height: 2em;
|
|
|
|
line-height: 2em;
|
2023-01-11 03:33:25 +08:00
|
|
|
margin-right: .25em;
|
2022-10-24 21:25:02 +08:00
|
|
|
width: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-users {
|
|
|
|
background: $color-volcano;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-white;
|
|
|
|
height: 2em;
|
|
|
|
line-height: 2em;
|
2023-01-11 03:33:25 +08:00
|
|
|
margin-right: .25em;
|
2022-10-24 21:25:02 +08:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
width: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-user {
|
|
|
|
background: $color-concrete;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-10-20 16:42:38 +08:00
|
|
|
}
|
|
|
|
|
2022-11-24 19:07:52 +08:00
|
|
|
.archived-column {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-01-06 19:02:35 +08:00
|
|
|
.comments-column .disabled {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
|
2022-10-20 16:42:38 +08:00
|
|
|
.table-row {
|
|
|
|
display: contents;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.table-body-cell {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background: $color-concrete;
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
grid-column: 1/-1;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-10 17:38:56 +08:00
|
|
|
.open-my-module-menu:focus {
|
|
|
|
box-shadow: 0 0 0 1px $brand-focus;
|
|
|
|
}
|
|
|
|
|
2022-11-21 19:36:08 +08:00
|
|
|
.assign-users-dropdown {
|
|
|
|
.dropdown-menu {
|
2023-01-11 03:33:25 +08:00
|
|
|
padding: .5em;
|
2022-11-21 19:36:08 +08:00
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.users-list {
|
2022-11-30 21:56:19 +08:00
|
|
|
max-height: 300px;
|
2022-11-21 19:36:08 +08:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-container {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-01-11 03:33:25 +08:00
|
|
|
padding: .5em;
|
2022-11-21 19:36:08 +08:00
|
|
|
|
|
|
|
.user-avatar {
|
2023-01-11 03:33:25 +08:00
|
|
|
padding: 0 .75em;
|
2022-11-30 21:56:19 +08:00
|
|
|
|
2023-01-05 19:00:12 +08:00
|
|
|
&.archived {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-30 21:56:19 +08:00
|
|
|
img {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2022-11-21 19:36:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.assigned-users-container {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-container {
|
|
|
|
border: 1px solid $color-white;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
height: 26px;
|
|
|
|
margin-right: -5px;
|
|
|
|
width: 26px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: 50%;
|
|
|
|
max-height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-users {
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-user {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
line-height: 24px;
|
2023-01-06 18:51:32 +08:00
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2022-11-21 19:36:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-20 16:42:38 +08:00
|
|
|
.my-module-status {
|
|
|
|
color: $color-white;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 3px 0;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 2px 8px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-01-05 20:10:51 +08:00
|
|
|
.table-row-placeholder-divider {
|
|
|
|
background: $color-concrete;
|
|
|
|
display: inline-block;
|
|
|
|
grid-column: 1/-1;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
2022-11-07 18:46:54 +08:00
|
|
|
.table-row-placeholder {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
box-shadow: $flyout-shadow;
|
2023-01-05 20:10:51 +08:00
|
|
|
display: grid;
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
grid-template-columns: 32px repeat(9, minmax(max-content, auto));
|
2022-11-07 18:46:54 +08:00
|
|
|
|
|
|
|
.placeholder-cell {
|
|
|
|
animation-duration: 2s;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-name: placeholder-pulsing;
|
|
|
|
background-color: $color-alto;
|
|
|
|
border-radius: $border-radius-default;
|
2023-01-05 20:10:51 +08:00
|
|
|
display: block;
|
2022-11-07 18:46:54 +08:00
|
|
|
height: 18px;
|
|
|
|
margin: auto;
|
2023-01-05 20:10:51 +08:00
|
|
|
width: 90%;
|
2022-11-07 18:46:54 +08:00
|
|
|
|
|
|
|
&.circle-0 {
|
|
|
|
border-radius: 100%;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
2023-01-11 03:33:25 +08:00
|
|
|
|
2022-11-07 18:46:54 +08:00
|
|
|
@keyframes placeholder-pulsing {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
2023-01-11 03:33:25 +08:00
|
|
|
opacity: .5;
|
2022-11-07 18:46:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.last-page {
|
|
|
|
padding-bottom: 5em;
|
|
|
|
position: relative;
|
2023-05-18 19:15:35 +08:00
|
|
|
|
|
|
|
&.no-data {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2022-11-07 18:46:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.experiment-table-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;
|
|
|
|
}
|
|
|
|
}
|
2022-10-20 16:42:38 +08:00
|
|
|
}
|
2022-10-27 20:41:35 +08:00
|
|
|
|
|
|
|
.unseen-comments {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $brand-complementary;
|
|
|
|
border: 2px solid $color-white;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-black;
|
|
|
|
display: flex;
|
|
|
|
font-weight: bold;
|
2023-02-01 18:42:43 +08:00
|
|
|
font-size: 11px;
|
2022-10-27 20:41:35 +08:00
|
|
|
height: 16px;
|
|
|
|
justify-content: center;
|
2023-02-01 18:42:43 +08:00
|
|
|
margin: -4px -14px 0 0;
|
2022-10-27 20:41:35 +08:00
|
|
|
min-width: 16px;
|
2023-02-01 18:42:43 +08:00
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2022-10-27 20:41:35 +08:00
|
|
|
}
|
|
|
|
|
2022-12-02 18:01:40 +08:00
|
|
|
.datetime-container {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.clear-date {
|
|
|
|
cursor: pointer;
|
2023-01-11 03:33:25 +08:00
|
|
|
left: calc(100% - 16px);
|
2022-12-02 18:01:40 +08:00
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 16px;
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-text {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.alert-yellow {
|
|
|
|
color: $brand-warning;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-red {
|
|
|
|
color: $brand-danger;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.datetime-picker-container {
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-01-11 03:33:25 +08:00
|
|
|
width: calc(100% - 16px);
|
2022-12-02 18:01:40 +08:00
|
|
|
|
|
|
|
.calendar-due-date {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2023-01-11 03:33:25 +08:00
|
|
|
.date-text[data-editable=true] {
|
2022-12-02 18:01:40 +08:00
|
|
|
background-color: $color-concrete;
|
|
|
|
border-radius: 4px;
|
2023-01-11 03:33:25 +08:00
|
|
|
|
2022-12-02 18:01:40 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-27 20:41:35 +08:00
|
|
|
.open-comments-sidebar {
|
|
|
|
margin-bottom: 0;
|
2023-02-01 18:42:43 +08:00
|
|
|
position: relative;
|
2022-10-27 20:41:35 +08:00
|
|
|
}
|
2022-11-22 22:01:12 +08:00
|
|
|
|
2022-11-24 19:07:52 +08:00
|
|
|
&.archived {
|
|
|
|
.table-body-cell {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
}
|
|
|
|
|
|
|
|
.archived-column {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2022-11-15 19:02:20 +08:00
|
|
|
|
2023-01-11 20:37:24 +08:00
|
|
|
.task_name-column {
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 320px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
}
|
2023-05-18 19:15:35 +08:00
|
|
|
|
|
|
|
.no-data-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-12-01 22:08:59 +08:00
|
|
|
}
|
2022-11-24 21:49:42 +08:00
|
|
|
|
2022-11-15 19:02:20 +08:00
|
|
|
.table-display-modal {
|
|
|
|
.column-container {
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: $border-default;
|
|
|
|
display: flex;
|
2023-01-11 03:33:25 +08:00
|
|
|
padding: .5em 1em;
|
2022-11-15 19:02:20 +08:00
|
|
|
|
|
|
|
&:not(.visible) {
|
|
|
|
color: $color-alto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 1em;
|
2022-12-01 16:34:29 +08:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: $color-alto;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-11-15 19:02:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.task_name {
|
|
|
|
padding-left: 3em;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-01-16 23:26:37 +08:00
|
|
|
|
2023-01-17 03:08:18 +08:00
|
|
|
@media (max-width: 1000px) {
|
2023-01-16 23:26:37 +08:00
|
|
|
.toolbar-row {
|
|
|
|
.button-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|