Merge pull request 'Added updated input styling to other pages' (#27) from BordedDev/snek:feat/input-styles into main
Reviewed-on: https://molodetz.nl/retoor/snek/pulls/27 Reviewed-by: retoor <retoor@noreply@molodetz.nl>
This commit is contained in:
		
						commit
						752f3df13a
					
				| @ -1,3 +1,5 @@ | |||||||
|  | @import "shared.css"; | ||||||
|  | 
 | ||||||
| * { | * { | ||||||
|   margin: 0; |   margin: 0; | ||||||
|   box-sizing: border-box; |   box-sizing: border-box; | ||||||
|  | |||||||
							
								
								
									
										15
									
								
								src/snek/static/shared.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								src/snek/static/shared.css
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | |||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | input, textarea { | ||||||
|  |   &:focus { | ||||||
|  |     outline: 2px solid #f05a28 !important; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   &::placeholder { | ||||||
|  |     transition: opacity 0.3s; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   &:focus::placeholder { | ||||||
|  |     opacity: 0.4; | ||||||
|  |   } | ||||||
|  | } | ||||||
| @ -1,3 +1,4 @@ | |||||||
|  | @import "shared.css"; | ||||||
| 
 | 
 | ||||||
| * { | * { | ||||||
|    |    | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user