mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-10-27 05:47:05 +08:00 
			
		
		
		
	Improve editor search panel styles
This commit is contained in:
		
							parent
							
								
									e94f087561
								
							
						
					
					
						commit
						d5ead7f4f3
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -348,6 +348,7 @@ function buildEditorTheme(colors, { dark }) { | |||
|         alignItems: "center", | ||||
|         flexWrap: "wrap", | ||||
|         padding: "8px", | ||||
|         background: colors.background, | ||||
| 
 | ||||
|         "& br": { | ||||
|           content: '" "', | ||||
|  | @ -358,12 +359,20 @@ function buildEditorTheme(colors, { dark }) { | |||
|         "& .cm-textfield": { | ||||
|           borderRadius: "4px", | ||||
|           border: `1px solid ${colors.border}`, | ||||
| 
 | ||||
|           "&:focus": { | ||||
|             outline: "none", | ||||
|           }, | ||||
|         }, | ||||
| 
 | ||||
|         "& .cm-button": { | ||||
|           borderRadius: "4px", | ||||
|           background: colors.backgroundLightest, | ||||
|           border: "none", | ||||
| 
 | ||||
|           "&:focus-visible": { | ||||
|             outline: `1px solid ${colors.text}`, | ||||
|           }, | ||||
|         }, | ||||
| 
 | ||||
|         "& label:first-of-type": { | ||||
|  | @ -388,6 +397,10 @@ function buildEditorTheme(colors, { dark }) { | |||
|             backgroundColor: colors.backgroundLightest, | ||||
|             borderColor: "transparent", | ||||
|           }, | ||||
| 
 | ||||
|           "&:focus-visible": { | ||||
|             outline: `1px solid ${colors.text}`, | ||||
|           }, | ||||
|         }, | ||||
| 
 | ||||
|         '& button[name="close"]': { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue