File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export class FilesActionButtons {
53
53
/>
54
54
) ;
55
55
widget . id = `fileAction-${ action } ` ;
56
+ widget . addClass ( 'jp-ToolbarButton' ) ;
56
57
widget . addClass ( 'jp-FileAction' ) ;
57
58
this . _widgets . set ( action , widget ) ;
58
59
} ) ;
Original file line number Diff line number Diff line change 12
12
padding : 0px ;
13
13
}
14
14
15
- .jp-FileBrowser-toolbar button .jp-ToolbarButtonComponent {
15
+ .jp-FileBrowser-toolbar > .jp-Toolbar-item .jp-ToolbarButton : hover ,
16
+ .jp-FileBrowser-toolbar > .jp-Toolbar-item .jp-CommandToolbarButton : hover ,
17
+ .jp-FileBrowser-toolbar > .jp-Toolbar-item .jp-DropdownMenu : hover {
18
+ background : var (--neutral-fill-stealth-hover );
19
+ }
20
+
21
+ .jp-FileBrowser-toolbar .lm-MenuBar-item {
22
+ height : var (--jp-private-toolbar-height );
23
+ }
24
+
25
+ .jp-FileBrowser-toolbar .jp-ToolbarButtonComponent {
16
26
height : var (--jp-flat-button-height );
17
27
}
18
28
29
+ .jp-FileBrowser-toolbar jp-button .jp-ToolbarButtonComponent : hover {
30
+ background : inherit;
31
+ }
32
+
19
33
.jp-FileBrowser-filterBox {
20
34
padding : 0 ;
21
35
flex : 0 0 auto;
35
49
display : none;
36
50
}
37
51
38
- .jp-FileBrowser-toolbar
39
- .jp-FileAction : has (
40
- > .jp-ToolbarButtonComponent [data-command = 'filebrowser:delete' ]
41
- ) {
52
+ .jp-FileBrowser-toolbar > # fileAction-delete {
42
53
background-color : var (--jp-error-color1 );
43
54
}
44
55
You can’t perform that action at this time.
0 commit comments