提交 36cabc4c 编写于 作者: M Miguel Solorio

🕺 One more time (refs #114219)

上级 9934dea6
......@@ -2148,11 +2148,11 @@ export const focusedCellBorder = registerColor('notebook.focusedCellBorder', {
hc: focusBorder
}, nls.localize('notebook.focusedCellBorder', "The color of the cell's top and bottom border when the cell is focused."));
export const inactiveFocusCellBorder = registerColor('notebook.inactiveFocusCellBorder', {
export const inactiveFocusedCellBorder = registerColor('notebook.inactiveFocusedCellBorder', {
dark: notebookCellBorder,
light: notebookCellBorder,
hc: notebookCellBorder
}, nls.localize('notebook.inactiveFocusCellBorder', "The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."));
}, nls.localize('notebook.inactiveFocusedCellBorder', "The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."));
export const cellStatusBarItemHover = registerColor('notebook.cellStatusBarItemHoverBackground', {
light: new Color(new RGBA(0, 0, 0, 0.08)),
......@@ -2166,7 +2166,6 @@ export const cellInsertionIndicator = registerColor('notebook.cellInsertionIndic
hc: focusBorder
}, nls.localize('notebook.cellInsertionIndicator', "The color of the notebook cell insertion indicator."));
export const listScrollbarSliderBackground = registerColor('notebookScrollbarSlider.background', {
dark: scrollbarSliderBackground,
light: scrollbarSliderBackground,
......@@ -2285,13 +2284,13 @@ registerThemingParticipant((theme, collector) => {
border-color: ${focusedCellBorderColor} !important;
}`);
const inactiveFocusBorderColor = theme.getColor(inactiveFocusCellBorder);
const inactiveFocusedBorderColor = theme.getColor(inactiveFocusedCellBorder);
collector.addRule(`
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-top:before,
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-bottom:before,
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused .cell-inner-container:not(.cell-editor-focus):before,
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row.focused .cell-inner-container:not(.cell-editor-focus):after {
border-color: ${inactiveFocusBorderColor} !important;
border-color: ${inactiveFocusedBorderColor} !important;
}`);
const selectedCellBorderColor = theme.getColor(selectedCellBorder);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册