mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	edit style of autocompleter
This commit is contained in:
		
							parent
							
								
									ecd293c8a9
								
							
						
					
					
						commit
						b5c695c6f5
					
				
					 2 changed files with 36 additions and 36 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| ul.autocompleter-choices{position:absolute;margin:0;padding:0;list-style:none;border:1px solid #7c7c7c;border-left-color:#c3c3c3;border-right-color:#c3c3c3;border-bottom-color:#ddd;background-color:#fff;text-align:left;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;z-index:50;background-color:#fff}ul.autocompleter-choices li{position:relative;margin:-2px 0 0 0;padding:.2em 1.5em .2em 1em;display:block;float:none !important;cursor:pointer;font-weight:normal;white-space:nowrap;font-size:1em;line-height:1.5em}ul.autocompleter-choices li.autocompleter-selected{background-color:#444;color:#fff}ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried{color:#9fcfff} | ||||
| ul.autocompleter-choices span.autocompleter-queried{display:inline;float:none;font-weight:bold;margin:0;padding:0} | ||||
| .autocompleter-loading{background-image:url(images/spinner.gif);background-repeat:no-repeat;background-position:right 50%} | ||||
| .autocompleter-loading{background-repeat:no-repeat;background-position:right 50%} | ||||
| textarea.autocompleter-loading{background-position:right bottom} | ||||
| html{font-family:sans-serif;font-size:.9em;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;color:#444;padding:0;margin:0} | ||||
| body,#container{padding:0;margin:0} | ||||
|  |  | |||
|  | @ -1,57 +1,57 @@ | |||
| ul { | ||||
| 	&.autocompleter-choices { | ||||
| 		position:				absolute; | ||||
| 		margin:					0; | ||||
| 		padding:				0; | ||||
| 		list-style:				none; | ||||
| 		border:					1px solid #7c7c7c; | ||||
| 		border-left-color:		#c3c3c3; | ||||
| 		border-right-color:		#c3c3c3; | ||||
| 		border-bottom-color:	#ddd; | ||||
| 		background-color:		#fff; | ||||
| 		text-align:				left; | ||||
| 		font-family:			Verdana, Geneva, Arial, Helvetica, sans-serif; | ||||
| 		z-index:				50; | ||||
| 		background-color:		#fff; | ||||
| 		position: absolute; | ||||
| 		margin: 0; | ||||
| 		padding: 0; | ||||
| 		list-style: none; | ||||
| 		border: 1px solid #7c7c7c; | ||||
| 		border-left-color: #c3c3c3; | ||||
| 		border-right-color: #c3c3c3; | ||||
| 		border-bottom-color: #ddd; | ||||
| 		background-color: #fff; | ||||
| 		text-align: left; | ||||
| 		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; | ||||
| 		z-index: 50; | ||||
| 		background-color: #fff; | ||||
| 	 | ||||
| 		li { | ||||
| 			position:				relative; | ||||
| 			margin:					-2px 0 0 0; | ||||
| 			padding:				0.2em 1.5em 0.2em 1em; | ||||
| 			display:				block; | ||||
| 			float:					none !important;  | ||||
| 			cursor:					pointer; | ||||
| 			font-weight:			normal; | ||||
| 			white-space:			nowrap; | ||||
| 			font-size:				1em; | ||||
| 			line-height:			1.5em; | ||||
| 			position: relative; | ||||
| 			margin: -2px 0 0 0; | ||||
| 			padding: 0.2em 1.5em 0.2em 1em; | ||||
| 			display: block; | ||||
| 			float: none !important;  | ||||
| 			cursor: pointer; | ||||
| 			font-weight: normal; | ||||
| 			white-space: nowrap; | ||||
| 			font-size: 1em; | ||||
| 			line-height: 1.5em; | ||||
| 
 | ||||
| 			&.autocompleter-selected { | ||||
| 				background-color:		#444; | ||||
| 				color:					#fff; | ||||
| 				background-color: #444; | ||||
| 				color: #fff; | ||||
| 
 | ||||
| 				span.autocompleter-queried { | ||||
| 					color:					#9FCFFF; | ||||
| 					color: #9FCFFF; | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 
 | ||||
| 		span.autocompleter-queried { | ||||
| 			display:				inline; | ||||
| 			float:					none; | ||||
| 			font-weight:			bold; | ||||
| 			margin:					0; | ||||
| 			padding:				0; | ||||
| 			display: inline; | ||||
| 			float: none; | ||||
| 			font-weight: bold; | ||||
| 			margin: 0; | ||||
| 			padding: 0; | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| .autocompleter-loading { | ||||
| 	background-image:     url(images/spinner.gif); | ||||
| 	background-repeat:    no-repeat; | ||||
| 	background-position:  right 50%; | ||||
| 	//background-image: url(images/spinner.gif); | ||||
| 	background-repeat: no-repeat; | ||||
| 	background-position: right 50%; | ||||
| } | ||||
| 
 | ||||
| textarea.autocompleter-loading { | ||||
| 	background-position:  right bottom; | ||||
| 	background-position: right bottom; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Thomas Pointhuber
						Thomas Pointhuber