@jupyterlab/git
Version:
A JupyterLab extension for version control using git
42 lines (41 loc) • 1.02 kB
JavaScript
import { style } from 'typestyle';
import { sectionAreaStyle } from './GitStageStyle';
export const stashContainerStyle = style((() => {
const styled = { $nest: {} };
styled.$nest[`& > .${sectionAreaStyle}`] = {
margin: 0
};
return styled;
})());
export const sectionHeaderLabelStyle = style({
fontSize: 'var(--jp-ui-font-size1)',
flex: '1 1 auto',
textOverflow: 'ellipsis',
overflow: 'hidden',
whiteSpace: 'nowrap',
display: 'flex',
justifyContent: 'space-between',
alignSelf: 'flex-start'
});
export const sectionButtonContainerStyle = style({
display: 'flex'
});
export const stashFileStyle = style({
display: 'flex',
padding: '0 4px'
});
export const listStyle = style({
overflowX: 'hidden',
$nest: {
'&>*': {
margin: 0,
padding: 0
}
}
});
export const stashEntryMessageStyle = style({
textOverflow: 'ellipsis',
overflow: 'hidden',
whiteSpace: 'nowrap',
display: 'inline-block'
});