mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-31 10:37:06 -04:00 
			
		
		
		
	[fix] replace modal-content class to prevent remote content load
details: http://stackoverflow.com/questions/18378720/bootstrap-3-with-remote-modal
This commit is contained in:
		
							parent
							
								
									fa5bc3a563
								
							
						
					
					
						commit
						3a1b6fa818
					
				
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -152,3 +152,17 @@ | |||||||
| .result .text-muted small { | .result .text-muted small { | ||||||
|     word-wrap: break-word; |     word-wrap: break-word; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | .modal-wrapper { | ||||||
|  |     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .modal-wrapper { | ||||||
|  |     background-clip: padding-box; | ||||||
|  |     background-color: #fff; | ||||||
|  |     border: 1px solid rgba(0, 0, 0, 0.2); | ||||||
|  |     border-radius: 6px; | ||||||
|  |     box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); | ||||||
|  |     outline: 0 none; | ||||||
|  |     position: relative; | ||||||
|  | } | ||||||
|  | |||||||
| @ -85,3 +85,17 @@ | |||||||
| .result .text-muted small { | .result .text-muted small { | ||||||
|     word-wrap: break-word; |     word-wrap: break-word; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | .modal-wrapper { | ||||||
|  |     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .modal-wrapper { | ||||||
|  |     background-clip: padding-box; | ||||||
|  |     background-color: #fff; | ||||||
|  |     border: 1px solid rgba(0, 0, 0, 0.2); | ||||||
|  |     border-radius: 6px; | ||||||
|  |     box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); | ||||||
|  |     outline: 0 none; | ||||||
|  |     position: relative; | ||||||
|  | } | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ | |||||||
| 
 | 
 | ||||||
| <div class="modal fade" id="modal-{{ index }}" tabindex="-1" role="dialog" aria-hidden="true"> | <div class="modal fade" id="modal-{{ index }}" tabindex="-1" role="dialog" aria-hidden="true"> | ||||||
|     <div class="modal-dialog"> |     <div class="modal-dialog"> | ||||||
|         <div class="modal-content"> |         <div class="modal-wrapper"> | ||||||
|             <div class="modal-header"> |             <div class="modal-header"> | ||||||
|                 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |                 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> | ||||||
|                 <h4 class="modal-title">{% if result.engine~".png" in favicons %}{{ draw_favicon(result.engine) }} {% endif %}{{ result.title|striptags }}</h4> |                 <h4 class="modal-title">{% if result.engine~".png" in favicons %}{{ draw_favicon(result.engine) }} {% endif %}{{ result.title|striptags }}</h4> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user