diff options
Diffstat (limited to 'WebContent/VAADIN/themes/valo/util/_bevel-and-shadow.scss')
-rw-r--r-- | WebContent/VAADIN/themes/valo/util/_bevel-and-shadow.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/WebContent/VAADIN/themes/valo/util/_bevel-and-shadow.scss b/WebContent/VAADIN/themes/valo/util/_bevel-and-shadow.scss index f24a40f5b6..470799a501 100644 --- a/WebContent/VAADIN/themes/valo/util/_bevel-and-shadow.scss +++ b/WebContent/VAADIN/themes/valo/util/_bevel-and-shadow.scss @@ -1,11 +1,11 @@ -@function v-valo-bevel ($color, $bevel-style: $v-bevel-style, $bevel-depth: $v-bevel-depth, +@function valo-bevel ($color, $bevel-style: $v-bevel-style, $bevel-depth: $v-bevel-depth, $gradient-style: $v-gradient-style, $gradient-depth: $v-gradient-depth) { @if $bevel-depth == 0% or $bevel-style == none { @return null; } - $color-stops: v-valo-gradient-color-stops($color, $gradient-style, $gradient-depth); + $color-stops: valo-gradient-color-stops($color, $gradient-style, $gradient-depth); $top-color: first(first($color-stops)); $bottom-color: first(last($color-stops)); @@ -13,12 +13,12 @@ $top-color: blend-lighten(adjust-color($top-color, $lightness: $bevel-depth/4, $saturation: -$bevel-depth), scale-color($top-color, $lightness: $bevel-depth/4)); $bottom-color: blend-darken(rgba(scale-color($bottom-color, $lightness: max(-30%, -$bevel-depth/3), $saturation: -$bevel-depth), $bevel-depth/100%), $bottom-color); - @return v-valo-replace-hilite-and-shade($bevel-style, $top-color, $bottom-color); + @return valo-replace-hilite-and-shade($bevel-style, $top-color, $bottom-color); } -@function v-valo-shadow ($shadow-style: null, $shadow-depth: null) { +@function valo-shadow ($shadow-style: null, $shadow-depth: null) { $shadow-style: $shadow-style or $v-shadow-style; $shadow-depth: $shadow-depth or $v-shadow-depth; @@ -26,12 +26,12 @@ @return null; } - @return v-valo-replace-hilite-and-shade($shadow-style, rgba(#fff, $shadow-depth/100%), rgba(#000, $shadow-depth/100%)); + @return valo-replace-hilite-and-shade($shadow-style, rgba(#fff, $shadow-depth/100%), rgba(#000, $shadow-depth/100%)); } -@function v-valo-replace-hilite-and-shade($shadow-list, $hilite, $shade) { +@function valo-replace-hilite-and-shade($shadow-list, $hilite, $shade) { @if $shadow-list == none { @return null; } @@ -52,7 +52,7 @@ $new: null; @each $part in $shadow-list { @if type-of($part) == list and length($part) > 0 { - $part: v-valo-replace-hilite-and-shade($part, $hilite, $shade); + $part: valo-replace-hilite-and-shade($part, $hilite, $shade); @if $part { $new: $new, $part; } |