fix escaping
This commit is contained in:
Родитель
386bf387cc
Коммит
0445445727
|
@ -27,8 +27,8 @@
|
|||
|
||||
// WebKit CSS3 transforms for supported devices
|
||||
@media all and (transform-3d), (-webkit-transform-3d) {
|
||||
@include transition-transform(~'0.6s ease-in-out');
|
||||
@include backface-visibility(~'hidden');
|
||||
@include transition-transform(0.6s ease-in-out);
|
||||
@include backface-visibility(hidden);
|
||||
@include perspective(1000);
|
||||
|
||||
&.next,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
// Deprecated as of v3.0.1 (will be removed in v4)
|
||||
@mixin hide-text() {
|
||||
font: #{0/0} a;
|
||||
font: 0/0 a;
|
||||
color: transparent;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
opacity: $opacity;
|
||||
// IE8 filter
|
||||
$opacity-ie: ($opacity * 100);
|
||||
filter: #{alpha(opacity=$opacity-ie)};
|
||||
filter: alpha(opacity=$opacity-ie);
|
||||
}
|
||||
|
|
|
@ -495,7 +495,7 @@ SASS
|
|||
end
|
||||
|
||||
def replace_escaping(less)
|
||||
less = less.gsub(/~"([^"]+)"/, '#{\1}') # Get rid of ~"" escape
|
||||
less = less.gsub(/~"([^"]+)"/, '\1').gsub(/~'([^']+)'/, '\1') # Get rid of ~"" escape
|
||||
less.gsub!(/\$\{([^}]+)\}/, '$\1') # Get rid of @{} escape
|
||||
less.gsub!(/"([^"\n]*)(\$[\w\-]+)([^"\n]*)"/, '"\1#{\2}\3"') # interpolate variable in string, e.g. url("$file-1x") => url("#{$file-1x}")
|
||||
less.gsub(/(\W)e\(%\("?([^"]*)"?\)\)/, '\1\2') # Get rid of e(%("")) escape
|
||||
|
|
Загрузка…
Ссылка в новой задаче