mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 09:57:36 +03:00 
			
		
		
		
	#734 fixes sass conversion - Generic label styles need to be applied outside of .form-group
This commit is contained in:
		
							parent
							
								
									6f6fab0959
								
							
						
					
					
						commit
						ce1dbbaeb5
					
				
							
								
								
									
										14
									
								
								Gruntfile.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								Gruntfile.js
									
									
									
									
									
								
							| 
						 | 
					@ -102,6 +102,20 @@ module.exports = function (grunt) {
 | 
				
			||||||
              order: 2
 | 
					              order: 2
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            // convert conditional when not
 | 
				
			||||||
 | 
					            { // https://regex101.com/r/cX6uF4/1
 | 
				
			||||||
 | 
					              pattern: /& when not \(isstring\(\$parent\)\)/gi,
 | 
				
			||||||
 | 
					              replacement: "@if not $parent",
 | 
				
			||||||
 | 
					              order: 2
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            // convert conditional when
 | 
				
			||||||
 | 
					            { // https://regex101.com/r/gH0jP0/2
 | 
				
			||||||
 | 
					              pattern: /& when \(isstring\(\$parent\)\)/gi,
 | 
				
			||||||
 | 
					              replacement: "@else",
 | 
				
			||||||
 | 
					              order: 2
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // convert all shadow mixins
 | 
					            // convert all shadow mixins
 | 
				
			||||||
            { // https://regex101.com/r/sJ2lH4/1
 | 
					            { // https://regex101.com/r/sJ2lH4/1
 | 
				
			||||||
              pattern: /.shadow-z-(\d+)((?:-hover)?) {/gi,
 | 
					              pattern: /.shadow-z-(\d+)((?:-hover)?) {/gi,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user