summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_popupview.scss
blob: 794a6997de32b2d5fc58517e595d97465fc101a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@include keyframes(v-popupview-animate-in) {
  0% {
    @include transform(scale(0));
  }
}

@mixin valo-popupview ($primary-stylename: v-popupview) {
  .#{$primary-stylename} {
    @include valo-link-style;
  }
  
  .#{$primary-stylename}-popup {
    @include valo-overlay-style($animate-in: v-popupview-animate-in 120ms, $animate-out: (valo-placeholder-animate-out 120ms, valo-anim-fade-out 120ms));

    .popupContent {
      @include valo-panel-adjust-content-margins;
    }
  }

  .#{$primary-stylename}-loading {
    margin: $v-layout-spacing-vertical $v-layout-spacing-horizontal;
    @include valo-spinner;
  }
}