diff options
Diffstat (limited to 'WebContent/VAADIN/themes/valo/util/bourbon/css3/_placeholder.scss')
-rw-r--r-- | WebContent/VAADIN/themes/valo/util/bourbon/css3/_placeholder.scss | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/WebContent/VAADIN/themes/valo/util/bourbon/css3/_placeholder.scss b/WebContent/VAADIN/themes/valo/util/bourbon/css3/_placeholder.scss index 22fd92b4f2..5682fd097a 100644 --- a/WebContent/VAADIN/themes/valo/util/bourbon/css3/_placeholder.scss +++ b/WebContent/VAADIN/themes/valo/util/bourbon/css3/_placeholder.scss @@ -1,29 +1,8 @@ -$placeholders: '-webkit-input-placeholder', - '-moz-placeholder', - '-ms-input-placeholder'; - @mixin placeholder { + $placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input"; @each $placeholder in $placeholders { - @if $placeholder == "-webkit-input-placeholder" { - &::#{$placeholder} { - @content; - } - } - @else if $placeholder == "-moz-placeholder" { - // FF 18- - &:#{$placeholder} { - @content; - } - - // FF 19+ - &::#{$placeholder} { - @content; - } - } - @else { - &:#{$placeholder} { - @content; - } + &:#{$placeholder}-placeholder { + @content; } } } |