summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/util/_css3.scss
blob: 98f1619eff9ec41ca29c15da382a6afa0eac5b7b (plain)
1
2
3
4
5
6
7
8
9
10
@mixin opacity ($o) {
  opacity: $o;

  $value: first-number($o);
  @if $value < 1 {
    filter: alpha(opacity=$value*100) remove-nth($o, 1);
  } @else {
    filter: none remove-nth($o, 1);
  }
}