26 lines
		
	
	
		
			550 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			550 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| @layer components {
 | |
|   input[type=text], input[type=email], input[type=password],
 | |
|   input[type=number], select, textarea {
 | |
|     @apply rounded-md bg-gray-100 focus:bg-white
 | |
|            border-transparent focus:border-transparent focus:ring-2
 | |
|            focus:ring-blue-600 focus:ring-opacity-75;
 | |
|   }
 | |
| 
 | |
|   input[type=text]:disabled,
 | |
|   input[type=email]:disabled {
 | |
|     @apply text-gray-700;
 | |
|   }
 | |
| 
 | |
|   input.field_with_errors {
 | |
|     @apply border-b-red-600;
 | |
|   }
 | |
| 
 | |
|   .field_with_errors {
 | |
|     @apply inline-block;
 | |
|   }
 | |
| 
 | |
|   .error-msg {
 | |
|     @apply text-red-700;
 | |
|   }
 | |
| }
 |