diff options
author | Sami Ekblad <sami@vaadin.com> | 2014-07-17 16:07:56 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-07-31 06:27:44 +0000 |
commit | 161d5289e23fdf1d9cb8e97d2e55f948b43fe0aa (patch) | |
tree | 7afd4364532b77e0c34ff39154d5980ec2c3f3ee /WebContent/VAADIN/themes/valo | |
parent | 2f5df41f2ec6b3b4a3be0ffc454d47c4502a8364 (diff) | |
download | vaadin-framework-161d5289e23fdf1d9cb8e97d2e55f948b43fe0aa.tar.gz vaadin-framework-161d5289e23fdf1d9cb8e97d2e55f948b43fe0aa.zip |
Hide visible file input in immediate Upload (#14238)
Change-Id: I4f5bc370a1a60ed2acbd38f62732547f1db7bee9
Diffstat (limited to 'WebContent/VAADIN/themes/valo')
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_upload.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_upload.scss b/WebContent/VAADIN/themes/valo/components/_upload.scss index 103c21b6fe..c54227c704 100644 --- a/WebContent/VAADIN/themes/valo/components/_upload.scss +++ b/WebContent/VAADIN/themes/valo/components/_upload.scss @@ -2,4 +2,15 @@ .#{$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; + } }
\ No newline at end of file |