diff options
author | Marc Englund <marc@vaadin.com> | 2012-09-28 17:05:09 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-09-28 17:05:09 +0300 |
commit | d68d89de07ff79ec8629e3aa8c8310f1aa4a237d (patch) | |
tree | ba7f2dac03d0639a9f791503534479790d7713d5 /WebContent/VAADIN/themes/base/upload | |
parent | a499ccaa61a8aa72a1ca4334e5ba3becc6ecfb79 (diff) | |
download | vaadin-framework-d68d89de07ff79ec8629e3aa8c8310f1aa4a237d.tar.gz vaadin-framework-d68d89de07ff79ec8629e3aa8c8310f1aa4a237d.zip |
Sass restructure: base theme with renameable components
Diffstat (limited to 'WebContent/VAADIN/themes/base/upload')
-rw-r--r-- | WebContent/VAADIN/themes/base/upload/upload.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/WebContent/VAADIN/themes/base/upload/upload.scss b/WebContent/VAADIN/themes/base/upload/upload.scss index e5d94ce678..a992f95f06 100644 --- a/WebContent/VAADIN/themes/base/upload/upload.scss +++ b/WebContent/VAADIN/themes/base/upload/upload.scss @@ -1,22 +1,22 @@ -@mixin base-upload { +@mixin base-upload($name : v-upload) { -.v-upload { +.#{$name} { white-space: nowrap; } -.v-upload-immediate { +.#{$name}-immediate { position: relative; margin: 0; overflow: hidden; } -.v-ff .v-upload-immediate, -.v-op .v-upload-immediate { +.v-ff .#{$name}-immediate, +.v-op .#{$name}-immediate { display: inline-block; } -.v-upload-immediate input { +.#{$name}-immediate input { opacity: 0; filter: alpha(opacity=0); z-index: 2; @@ -28,7 +28,7 @@ background: transparent; } -.v-upload-immediate button { +.#{$name}-immediate button { position: relative; left: 0; top: 0; |