diff options
author | Mika Murtojarvi <mika@vaadin.com> | 2015-01-09 17:50:26 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-02-13 10:43:14 +0000 |
commit | 93ab31a485730394018ac7358f3fb00b258037ad (patch) | |
tree | 2bc740261c28beceeaaada6bbb86027edd089eb7 /WebContent | |
parent | 294dc686f6d05dde90f852f46429b46c2f87af35 (diff) | |
download | vaadin-framework-93ab31a485730394018ac7358f3fb00b258037ad.tar.gz vaadin-framework-93ab31a485730394018ac7358f3fb00b258037ad.zip |
Add spaces around operators (#16696).
This is needed for the Sass compiler to correctly parse an expression.
Change-Id: Ie39134e47f701015a9fc7180de5c033b80abe178
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/valo/util/bourbon/functions/_transition-property-name.scss | 2 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/valo/util/readme.txt | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/util/bourbon/functions/_transition-property-name.scss b/WebContent/VAADIN/themes/valo/util/bourbon/functions/_transition-property-name.scss index 111deeb70f..6ceae72102 100644 --- a/WebContent/VAADIN/themes/valo/util/bourbon/functions/_transition-property-name.scss +++ b/WebContent/VAADIN/themes/valo/util/bourbon/functions/_transition-property-name.scss @@ -14,7 +14,7 @@ @function transition-property-name($prop, $vendor: false) { // put other properties that need to be prefixed here aswell @if $vendor and $prop == transform { - @return unquote('-'+$vendor+'-'+$prop); + @return unquote('-' + $vendor + '-' + $prop); } @else { @return $prop; diff --git a/WebContent/VAADIN/themes/valo/util/readme.txt b/WebContent/VAADIN/themes/valo/util/readme.txt new file mode 100644 index 0000000000..6da898220f --- /dev/null +++ b/WebContent/VAADIN/themes/valo/util/readme.txt @@ -0,0 +1,8 @@ +The Bourbon library has been modified to work around the limitations of the Sass Compiler. +The following changes should be taken into account if Bourbon is upgraded to a newer +version: + +file _transition-property-name.scss, function transition-property-name: added space around +the operation '+'. This changed one line from +@return unquote('-'+$vendor+'-'+$prop); +to @return unquote('-' + $vendor + '-' + $prop);
\ No newline at end of file |