mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 01:47:35 +03:00 
			
		
		
		
	Merge pull request #479 from GradyD/modal
Adjusted padding on dialog(modal) to be more inline with standards
This commit is contained in:
		
						commit
						7d220d4484
					
				| 
						 | 
					@ -1,18 +1,32 @@
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					// Modals
 | 
				
			||||||
 | 
					// Material Design element Dialogs
 | 
				
			||||||
 | 
					// --------------------------------------------------
 | 
				
			||||||
.modal-content {
 | 
					.modal-content {
 | 
				
			||||||
  .shadow-z-5();
 | 
					  .shadow-z-5();
 | 
				
			||||||
  border-radius: 2px;
 | 
					  border-radius: 2px;
 | 
				
			||||||
  border: none;
 | 
					  border: none;
 | 
				
			||||||
 | 
					  // Modal header
 | 
				
			||||||
 | 
					  // Top section of the modal w/ title and dismiss
 | 
				
			||||||
  .modal-header {
 | 
					  .modal-header {
 | 
				
			||||||
    border-bottom: none;
 | 
					    border-bottom: none;
 | 
				
			||||||
    padding: 24px;
 | 
					    padding-top:    24px;
 | 
				
			||||||
    padding-bottom: 0;
 | 
					    padding-right:  24px;
 | 
				
			||||||
 | 
					    padding-bottom: 0px;
 | 
				
			||||||
 | 
					    padding-left:   24px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					  // Modal body
 | 
				
			||||||
 | 
					  // Where all modal content resides (sibling of .modal-header and .modal-footer)
 | 
				
			||||||
  .modal-body {
 | 
					  .modal-body {
 | 
				
			||||||
    padding: 24px;
 | 
					    padding-top:    0px;
 | 
				
			||||||
 | 
					    padding-right:  24px;
 | 
				
			||||||
 | 
					    padding-bottom: 16px;
 | 
				
			||||||
 | 
					    padding-left:   24px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					  // Footer (for actions)
 | 
				
			||||||
  .modal-footer {
 | 
					  .modal-footer {
 | 
				
			||||||
    border-top: none;
 | 
					    border-top: none;
 | 
				
			||||||
    padding: 24px;
 | 
					    padding: 7px;
 | 
				
			||||||
    button {
 | 
					    button {
 | 
				
			||||||
      margin: 0;
 | 
					      margin: 0;
 | 
				
			||||||
      padding-left: 16px;
 | 
					      padding-left: 16px;
 | 
				
			||||||
| 
						 | 
					@ -33,7 +47,6 @@
 | 
				
			||||||
    padding-top: 0;
 | 
					    padding-top: 0;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
.modal-backdrop {
 | 
					.modal-backdrop {
 | 
				
			||||||
  background: rgba(0,0,0,0.3);
 | 
					  background: rgba(0,0,0,0.3);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user