mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(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:
@@ -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};
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user