Tweaked form input styling
This commit is contained in:
		
							parent
							
								
									7c22a70722
								
							
						
					
					
						commit
						c9113ca095
					
				| @ -75,16 +75,28 @@ class GenericField extends HTMLElement { | |||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       input { |       input { | ||||||
|           width: 90%; |         width: 90%; | ||||||
|           padding: 10px; |         padding: 10px; | ||||||
|           margin: 10px 0; |         margin: 10px 0; | ||||||
|           border: 1px solid #333; |         border: 1px solid #333; | ||||||
|           border-radius: 5px; |         border-radius: 5px; | ||||||
|           background-color: #1a1a1a; |         background-color: #1a1a1a; | ||||||
|           color: #e6e6e6; |         color: #e6e6e6; | ||||||
|           font-size: 1em; |         font-size: 1em; | ||||||
|  |          | ||||||
|  |         &:focus { | ||||||
|  |           outline: 2px solid #f05a28 !important; | ||||||
|  |         } | ||||||
|  |          | ||||||
|  |         &::placeholder { | ||||||
|  |           transition: opacity 0.3s; | ||||||
|  |         } | ||||||
|  |          | ||||||
|  |         &:focus::placeholder { | ||||||
|  |           opacity: 0.4; | ||||||
|  |         } | ||||||
|       } |       } | ||||||
| 
 |        | ||||||
|       button { |       button { | ||||||
|           width: 50%; |           width: 50%; | ||||||
|           padding: 10px; |           padding: 10px; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 BordedDev
						BordedDev