Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions src/data-workspace/data-entry-cell/data-entry-cell.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@
outline: 1px solid #a0adba;
}

.active {
background-color: #fff !important;
}

.highlighted {
outline: 3px solid var(--colors-grey800) !important;
border: none !important;
background: #fff !important;
/* Fix to prevent bottom outline to be clipped by next cell */
z-index: 1;
}


.highlighted.active {
outline-color: var(--theme-focus) !important;
}
Expand All @@ -38,10 +44,11 @@
background: var(--colors-grey300);
}

.invalid:not(.highlighted) {
.invalid:not(.active) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the highlighted-selector prevented the highlighted-but-unfocused cell to not show the red-background.

background: var(--colors-red200);
outline: 1px solid var(--colors-red600) !important;
outline: 1px solid var(--colors-red600);
}

.invalid:hover {
background: #ffb3bc;
}
Expand Down