mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Showing censored values as a grey cell
Test Plan: Block read access to column A based on the condition rec.B == 1. Then setting B = 1 in a row makes the cell under A grey. Reviewers: dsagal Reviewed By: dsagal Subscribers: paulfitz, dsagal Differential Revision: https://phab.getgrist.com/D2828
This commit is contained in:
@@ -78,6 +78,27 @@
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
.field_clip.invalid.field-error-C {
|
||||
background-color: unset;
|
||||
color: var(--grist-color-dark-grey);
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
.field_clip.invalid.field-error-C::before {
|
||||
/* based on standard icon styles */
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 2px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background-color: var(--grist-color-dark-grey);
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-position: center;
|
||||
-webkit-mask-size: contain;
|
||||
-webkit-mask-image: var(--icon-Lock);
|
||||
}
|
||||
|
||||
.field_clip.field-error-U {
|
||||
color: #6363a2;
|
||||
background-color: unset;
|
||||
|
||||
Reference in New Issue
Block a user