[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
					
				
							
								
								
									
										
											BIN
										
									
								
								searx/static/themes/oscar/css/logicodev.min.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								searx/static/themes/oscar/css/logicodev.min.css
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								searx/static/themes/oscar/css/pointhi.min.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								searx/static/themes/oscar/css/pointhi.min.css
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -152,3 +152,17 @@ | ||||
| .result .text-muted small { | ||||
|     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 { | ||||
|     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-dialog"> | ||||
|         <div class="modal-content"> | ||||
|         <div class="modal-wrapper"> | ||||
|             <div class="modal-header"> | ||||
|                 <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> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user