summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_widget.scss
blob: 85bc96ba9f475abd55204889751c6d746938e2ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 *
 */
@mixin valo-widget-style {
  // Baseline expectations for all Vaadin widgets
  @include box-sizing(border-box);
  display: inline-block;
  vertical-align: top;

  // Reset, since ordered layout uses text-align for horizotal alignment inside slots and
  // white-space: nowrap; for horizontal layout orientation
  text-align: left;
  white-space: normal;
}

/**
 *
 */
@mixin valo-widget {
  .v-widget {
    @include valo-widget-style;
  }
}