Dark mode inputs
This commit is contained in:
		
							parent
							
								
									b4bac7ea09
								
							
						
					
					
						commit
						2e5d4a6df9
					
				| @ -5,7 +5,7 @@ | |||||||
|       <app-search-results #searchResults [hidden]="dropdownHidden" [results]="typeAhead$ | async" (selectedResult)="selectedResult($event)"></app-search-results> |       <app-search-results #searchResults [hidden]="dropdownHidden" [results]="typeAhead$ | async" (selectedResult)="selectedResult($event)"></app-search-results> | ||||||
|     </div> |     </div> | ||||||
|     <div> |     <div> | ||||||
|       <button [disabled]="isSearching" type="submit" class="btn btn-block btn-primary"> |       <button [disabled]="isSearching" type="submit" class="btn btn-block btn-purple"> | ||||||
|         <fa-icon *ngIf="!(isTypeaheading$ | async) else searchLoading" [icon]="['fas', 'search']" [fixedWidth]="true" i18n-title="search-form.search-title" title="Search"></fa-icon> |         <fa-icon *ngIf="!(isTypeaheading$ | async) else searchLoading" [icon]="['fas', 'search']" [fixedWidth]="true" i18n-title="search-form.search-title" title="Search"></fa-icon> | ||||||
|       </button> |       </button> | ||||||
|     </div> |     </div> | ||||||
|  | |||||||
| @ -43,9 +43,6 @@ form { | |||||||
|   @media (min-width: 1200px) { |   @media (min-width: 1200px) { | ||||||
|     min-width: 300px; |     min-width: 300px; | ||||||
|   } |   } | ||||||
|   input { |  | ||||||
|     border: 0px; |  | ||||||
|   } |  | ||||||
|   .btn { |   .btn { | ||||||
|     width: 100px; |     width: 100px; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -115,10 +115,38 @@ body { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .form-control { | .form-control { | ||||||
|   color: #495057; |   color: #fff; | ||||||
|  |   background-color: #2d3348; | ||||||
|  |   border: 1px solid rgba(17, 19, 31, 0.2); | ||||||
| } | } | ||||||
|  | 
 | ||||||
| .form-control:focus { | .form-control:focus { | ||||||
|   color: #000; |   color: #fff; | ||||||
|  |   background-color: #2d3348; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .btn-purple { | ||||||
|  |   background-color: #653b9c; | ||||||
|  |   border-color: #653b9c; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .btn-purple:not(:disabled):not(.disabled):active, .btn-purple:not(:disabled):not(.disabled).active, .show > .btn-purple.dropdown-toggle { | ||||||
|  |   color: #fff; | ||||||
|  |   background-color: #4d2d77; | ||||||
|  |   border-color: #472a6e; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .btn-purple:focus, .btn-purple.focus { | ||||||
|  |   color: #fff; | ||||||
|  |   background-color: #533180; | ||||||
|  |   border-color: #4d2d77; | ||||||
|  |   box-shadow: 0 0 0 0.2rem rgb(124 88 171 / 50%); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .btn-purple:hover { | ||||||
|  |   color: #fff; | ||||||
|  |   background-color: #533180; | ||||||
|  |   border-color: #4d2d77; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .form-control.form-control-secondary { | .form-control.form-control-secondary { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user