summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_absolutelayout.scss
blob: 68ab9a3cf0480251d05f30b8a409b46a7b2fd437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@mixin v-valo-absolutelayout ($primary-stylename: v-absolutelayout) {
  
  .#{$primary-stylename}-wrapper {
    position: absolute;
  }
  
  .#{$primary-stylename}-margin,
  .#{$primary-stylename}-canvas {
    @include box-sizing(border-box);
  }
  
  .#{$primary-stylename}.v-has-height > div,
  .#{$primary-stylename}.v-has-height .#{$primary-stylename}-margin {
    height: 100%;
  }
  
  .#{$primary-stylename}.v-has-height > div,
  .#{$primary-stylename}.v-has-width .#{$primary-stylename}-margin {
    width: 100%;
  }
  
}