mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 09:57:36 +03:00 
			
		
		
		
	fix unquote on calcs
This commit is contained in:
		
							parent
							
								
									45926cd3a9
								
							
						
					
					
						commit
						daaa9c1781
					
				| 
						 | 
					@ -90,6 +90,14 @@ module.exports = function (grunt) {
 | 
				
			||||||
              order: 24
 | 
					              order: 24
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            // fix calc references
 | 
				
			||||||
 | 
					            { // https://regex101.com/r/aZ8iI5/1
 | 
				
			||||||
 | 
					              pattern: /calc\(unquote\("([^"]+)"\)\)/gi,
 | 
				
			||||||
 | 
					              replacement: 'calc($1)',
 | 
				
			||||||
 | 
					              order: 24
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // alert generic-variations (convert this one last - very broad search)
 | 
					            // alert generic-variations (convert this one last - very broad search)
 | 
				
			||||||
            { // Multi-line replacement - https://regex101.com/r/jB1uL1/1
 | 
					            { // Multi-line replacement - https://regex101.com/r/jB1uL1/1
 | 
				
			||||||
              pattern: /.generic-variations\(unquote\(("([^"]+)?")\), (\$[\s\S]+?(?!\r|\n)), {$\n[\s\S]+}\);$\n/mg,
 | 
					              pattern: /.generic-variations\(unquote\(("([^"]+)?")\), (\$[\s\S]+?(?!\r|\n)), {$\n[\s\S]+}\);$\n/mg,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,7 +31,7 @@ select[multiple].form-control {
 | 
				
			||||||
  background-image: linear-gradient($primary, $primary), linear-gradient($input-underline-color, $input-underline-color);
 | 
					  background-image: linear-gradient($primary, $primary), linear-gradient($input-underline-color, $input-underline-color);
 | 
				
			||||||
  background-size: 0 2px, 100% 1px;
 | 
					  background-size: 0 2px, 100% 1px;
 | 
				
			||||||
  background-repeat: no-repeat;
 | 
					  background-repeat: no-repeat;
 | 
				
			||||||
  background-position: center bottom, center calc(unquote("100% - 1px"));
 | 
					  background-position: center bottom, center calc(100% - 1px);
 | 
				
			||||||
  background-color: transparent;
 | 
					  background-color: transparent;
 | 
				
			||||||
  background-color: rgba(0,0,0,0);
 | 
					  background-color: rgba(0,0,0,0);
 | 
				
			||||||
  transition: background 0s ease-out;
 | 
					  transition: background 0s ease-out;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user