(core) Polish new Add Column menu

Summary: Fixes and features for the unreleased Add Column menu.

Test Plan: Manual.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D4076
This commit is contained in:
George Gevoian
2023-10-17 14:14:54 -04:00
parent 7f091cf057
commit f1cf92aca1
14 changed files with 661 additions and 341 deletions

View File

@@ -189,7 +189,7 @@ const cssAttachmentWidget = styled('div', `
const cssAttachmentIcon = styled('div.glyphicon.glyphicon-paperclip', `
position: absolute;
top: 2px;
left: 2px;
left: 5px;
padding: 2px;
background-color: ${theme.attachmentsCellIconBg};
color: ${theme.attachmentsCellIconFg};

View File

@@ -10,7 +10,9 @@
color: #D0D0D0;
}
.formula_field::before, .formula_field_edit::before, .formula_field_sidepane::before {
.formula_field .field-icon,
.formula_field_edit::before,
.formula_field_sidepane::before {
/* based on standard icon styles */
content: "";
position: absolute;
@@ -28,13 +30,13 @@
cursor: pointer;
}
.formula_field::before, .formula_field_edit::before {
.formula_field .field-icon, .formula_field_edit::before {
background-color: #D0D0D0;
}
.formula_field_edit:not(.readonly)::before {
background-color: var(--grist-color-cursor);
}
.formula_field.invalid::before {
.formula_field.invalid .field-icon {
background-color: white;
color: #ffb6c1;
}