mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 01:47:35 +03:00 
			
		
		
		
	mixin btn-shadow must be defined before use.
This commit is contained in:
		
							parent
							
								
									c9bc2e623b
								
							
						
					
					
						commit
						e6027d6568
					
				| 
						 | 
					@ -1,3 +1,11 @@
 | 
				
			||||||
 | 
					.btn-shadow() {
 | 
				
			||||||
 | 
					  .shadow-z-1();
 | 
				
			||||||
 | 
					  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
 | 
				
			||||||
 | 
					  &:active:not(.btn-link) {
 | 
				
			||||||
 | 
					    .shadow-z-1-hover();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.btn {
 | 
					.btn {
 | 
				
			||||||
  position: relative;
 | 
					  position: relative;
 | 
				
			||||||
  padding: 8px 30px;
 | 
					  padding: 8px 30px;
 | 
				
			||||||
| 
						 | 
					@ -135,11 +143,3 @@
 | 
				
			||||||
.btn-group-flat {
 | 
					.btn-group-flat {
 | 
				
			||||||
  box-shadow: none !important;
 | 
					  box-shadow: none !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
.btn-shadow() {
 | 
					 | 
				
			||||||
  .shadow-z-1();
 | 
					 | 
				
			||||||
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
 | 
					 | 
				
			||||||
  &:active:not(.btn-link) {
 | 
					 | 
				
			||||||
    .shadow-z-1-hover();
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user