summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_upload.scss
blob: c301be060a94171a90d0657f2dbf85a2a898d226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 *
 *
 * @param {string} $primary-stylename (v-upload) - 
 *
 * @group upload
 */
@mixin valo-upload ($primary-stylename: v-upload) {
  .#{$primary-stylename} .v-button {
    @include valo-widget-style;
  }

  .#{$primary-stylename}-immediate input[type="file"] {
    @include opacity(0);
    z-index: 2;
    position: absolute;
    right: 0;
    height: $v-unit-size;
    text-align: right;
    border: none;
    background: transparent;
  }
}