Variable notebookCellStylesConst
notebookCellStyles: {
".dla-Box-Notebook": { position: "relative" };
".dla-Jupyter-Notebook .dla-Notebook-Container": { width: "100%" };
"& .cm-editor": {
fontSize: "var(--vscode-editor-font-size, 13px) !important";
};
"& .CodeMirror": {
fontSize: "var(--vscode-editor-font-size, 13px) !important";
};
"& .datalayer-CellSidebar": {
backgroundColor: "var(--vscode-editor-background) !important";
};
"& .datalayer-NotebookPanel-header": { display: "none" };
"& .dla-CellSidebar": {
backgroundColor: "var(--vscode-editor-background) !important";
};
"& .jp-Cell": {
fontSize: "var(--vscode-editor-font-size, 13px)";
width: "100%";
};
"& .jp-Cell > .lm-Widget[style*='position: absolute']": {
backgroundColor: "var(--vscode-editor-background) !important";
};
"& .jp-Cell > .lm-Widget[style*='position: absolute'] *": {
backgroundColor: "inherit";
};
"& .jp-Cell-Sidebar": {
backgroundColor: "var(--vscode-editor-background) !important";
color: "var(--vscode-editor-foreground) !important";
display: "flex !important";
};
"& .jp-Cell-Sidebar button": {
backgroundColor: "transparent !important";
border: "none !important";
color: "var(--vscode-editor-foreground) !important";
cursor: "pointer !important";
};
"& .jp-Cell-Sidebar button:hover": {
backgroundColor: "var(--vscode-list-hoverBackground) !important";
};
"& .jp-CodeMirrorEditor": { cursor: "text !important" };
"& .jp-Dialog": {
backgroundColor: "var(--vscode-editorWidget-background) !important";
border: "1px solid var(--vscode-editorWidget-border) !important";
};
"& .jp-Dialog-body": {
backgroundColor: "var(--vscode-editorWidget-background) !important";
color: "var(--vscode-editor-foreground) !important";
};
"& .jp-Dialog-content": {
backgroundColor: "var(--vscode-editorWidget-background) !important";
color: "var(--vscode-editorWidget-foreground) !important";
};
"& .jp-Dialog-header": {
backgroundColor: "var(--vscode-editorWidget-background) !important";
color: "var(--vscode-editorWidget-foreground) !important";
};
"& .jp-InputArea-editor": {
fontSize: "var(--vscode-editor-font-size, 13px)";
};
"& .jp-Notebook": {
flex: "1 1 auto !important";
fontSize: "var(--vscode-editor-font-size, 13px)";
height: "100%";
};
"& .jp-Notebook-cellSidebar": {
backgroundColor: "var(--vscode-editor-background) !important";
display: "flex !important";
minWidth: "40px !important";
};
"& .jp-Notebook-footer": { width: "100%" };
"& .jp-NotebookPanel": {
height: "100% !important";
width: "100% !important";
};
"& .jp-OutputArea": { fontSize: "var(--vscode-editor-font-size, 13px)" };
"& .jp-Toolbar": { display: "none" };
fontFamily: "var(--vscode-editor-font-family, \"SF Mono\", Monaco, \"Cascadia Code\", \"Roboto Mono\", Consolas, \"Courier New\", monospace)";
fontSize: "var(--vscode-editor-font-size, 13px)";
} = ...
Type Declaration
Readonly.dla-Box-Notebook: { position: "relative" }
Readonly.dla-Jupyter-Notebook .dla-Notebook-Container: { width: "100%" }
Readonly& .cm-editor: { fontSize: "var(--vscode-editor-font-size, 13px) !important" }
Readonly& .CodeMirror: { fontSize: "var(--vscode-editor-font-size, 13px) !important" }
Readonly& .jp-Cell: { fontSize: "var(--vscode-editor-font-size, 13px)"; width: "100%" }
Readonly& .jp-CodeMirrorEditor: { cursor: "text !important" }
Readonly& .jp-Dialog: {
backgroundColor: "var(--vscode-editorWidget-background) !important";
border: "1px solid var(--vscode-editorWidget-border) !important";
}
Readonly& .jp-Dialog-body: {
backgroundColor: "var(--vscode-editorWidget-background) !important";
color: "var(--vscode-editor-foreground) !important";
}
Readonly& .jp-Dialog-content: {
backgroundColor: "var(--vscode-editorWidget-background) !important";
color: "var(--vscode-editorWidget-foreground) !important";
}
Readonly& .jp-Notebook: {
flex: "1 1 auto !important";
fontSize: "var(--vscode-editor-font-size, 13px)";
height: "100%";
}
Readonly& .jp-NotebookPanel: { height: "100% !important"; width: "100% !important" }
Readonly& .jp-OutputArea: { fontSize: "var(--vscode-editor-font-size, 13px)" }
ReadonlyfontFamily: "var(--vscode-editor-font-family, \"SF Mono\", Monaco, \"Cascadia Code\", \"Roboto Mono\", Consolas, \"Courier New\", monospace)"
ReadonlyfontSize: "var(--vscode-editor-font-size, 13px)"
Shared notebook container styles. Used by both Datalayer and local notebooks.