mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
8a0bb4d4fe
Summary: Enhances dark mode support for the formula editor, and adds support to the color select popup. Also fixes some bugs with dark mode. Test Plan: Tested manually. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3847
44 lines
1.5 KiB
CSS
44 lines
1.5 KiB
CSS
.ace_grist_link_hidden {
|
|
display: none;
|
|
}
|
|
|
|
.ace_grist_link {
|
|
color: var(--grist-theme-ace-autocomplete-link, var(--grist-color-light-green));
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ace_grist_example {
|
|
color: var(--grist-theme-ace-autocomplete-secondary-fg);
|
|
}
|
|
|
|
.ace_editor.ace_autocomplete .ace_completion-highlight {
|
|
color: var(--grist-theme-ace-autocomplete-highlighted-fg, #000) !important;
|
|
}
|
|
|
|
.ace_editor.ace_autocomplete .ace_completion-highlight.ace_grist_link {
|
|
color: var(--grist-theme-ace-autocomplete-link-highlighted, var(--grist-color-dark-green)) !important;
|
|
}
|
|
|
|
.ace_editor.ace_autocomplete .ace_text-layer {
|
|
z-index: 7;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.ace_editor.ace_autocomplete {
|
|
color: var(--grist-theme-ace-autocomplete-primary-fg) !important;
|
|
background: var(--grist-theme-ace-autocomplete-bg, #fbfbfb) !important;
|
|
border: 1px solid var(--grist-theme-ace-autocomplete-border, lightgray) !important;
|
|
width: 500px !important; /* the default in language_tools.js is 280px */
|
|
max-width: 80%; /* of the screen, for hypothetical mobile support */
|
|
}
|
|
|
|
.ace_editor.ace_autocomplete .ace_marker-layer .ace_line-hover {
|
|
background-color: var(--grist-theme-ace-autocomplete-line-bg-hover, rgba(233,233,253,0.4)) !important;
|
|
border: 1px solid var(--grist-theme-ace-autocomplete-line-border-hover, #abbffe) !important;
|
|
}
|
|
|
|
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
|
|
background-color: var(--grist-theme-ace-autocomplete-active-line-bg, #CAD6FA) !important;
|
|
}
|