@@ -1765,3 +1765,36 @@ textarea::placeholder {
17651765. diff-line . removed . diff-line-content {
17661766 color : var ( --vscode-gitDecoration-deletedResourceForeground , # f85149) ;
17671767}
1768+
1769+ # undoDialog {
1770+ color : var ( --vscode-foreground ) ;
1771+ background : var ( --vscode-editor-background ) ;
1772+ border : 1px solid var ( --vscode-widget-border , # 666) ;
1773+ border-radius : 6px ;
1774+ width : min ( 500px , calc ( 100% - 40px ) ) ;
1775+ max-height : 75vh ;
1776+ padding : 14px ;
1777+ }
1778+ # undoDialog :: backdrop { background : # 0006; }
1779+ . undo-heading , . queue-message , . queue-edit-bar { display : flex; align-items : center; gap : 8px ; }
1780+ . undo-heading { justify-content : space-between; margin-bottom : 12px ; }
1781+ # undoBody { overflow-y : auto; max-height : 60vh ; }
1782+ # undoBody button { display : block; width : 100% ; text-align : left; margin : 6px 0 ; padding : 8px ; }
1783+ # undoBody small { display : block; opacity : .7 ; margin-top : 4px ; }
1784+ # undoDialog button , . queue-list button , . queue-edit-bar button {
1785+ color : var ( --vscode-foreground ) ;
1786+ background : var ( --vscode-button-secondaryBackground ) ;
1787+ border : 1px solid transparent;
1788+ border-radius : 3px ;
1789+ cursor : pointer;
1790+ }
1791+ # undoDialog button : focus-visible , . queue-list button : focus-visible , . queue-edit-bar button : focus-visible {
1792+ outline : 1px solid var ( --vscode-focusBorder ) ;
1793+ }
1794+ # undoDialog button : disabled , . queue-list button : disabled { opacity : .5 ; cursor : default; }
1795+ . queue-list { max-height : 140px ; overflow-y : auto; padding : 8px 0 ; }
1796+ . queue-message { margin-top : 6px ; }
1797+ . queue-message span { flex : 1 ; min-width : 0 ; overflow : hidden; text-overflow : ellipsis; white-space : nowrap; }
1798+ . queue-edit-bar { padding : 6px 0 ; }
1799+ . queue-edit-bar [hidden ] { display : none; }
1800+ . message-image { display : block; max-width : 100% ; max-height : 160px ; margin-top : 6px ; }
0 commit comments