summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/upload/upload.scss
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-08-08 14:27:31 +0300
committerHenri Sara <hesara@vaadin.com>2012-08-08 14:44:49 +0300
commitcfa455d6cfd4a535fd77cbc76637a57e7024e9ac (patch)
treececb66492671ed20fa9865581da12930ed502047 /WebContent/VAADIN/themes/base/upload/upload.scss
parent620e096b45f27ecc5aa85d164ca8b81df000e593 (diff)
downloadvaadin-framework-cfa455d6cfd4a535fd77cbc76637a57e7024e9ac.tar.gz
vaadin-framework-cfa455d6cfd4a535fd77cbc76637a57e7024e9ac.zip
Standard themes in SCSS form, updated CompileDefaultTheme (#9223)
Conversion performed for most themes trivial, just rename file and wrap in a mixin. For chameleon compounds, also nesting used. In some cases, related small files combined in a single SCSS file Chameleon accordion and select contain fixes other than just a missing semicolon.
Diffstat (limited to 'WebContent/VAADIN/themes/base/upload/upload.scss')
-rw-r--r--WebContent/VAADIN/themes/base/upload/upload.scss39
1 files changed, 39 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/upload/upload.scss b/WebContent/VAADIN/themes/base/upload/upload.scss
new file mode 100644
index 0000000000..e5d94ce678
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/upload/upload.scss
@@ -0,0 +1,39 @@
+@mixin base-upload {
+
+.v-upload {
+ white-space: nowrap;
+}
+
+
+.v-upload-immediate {
+ position: relative;
+ margin: 0;
+ overflow: hidden;
+}
+
+.v-ff .v-upload-immediate,
+.v-op .v-upload-immediate {
+ display: inline-block;
+}
+
+.v-upload-immediate input {
+ opacity: 0;
+ filter: alpha(opacity=0);
+ z-index: 2;
+ position: absolute;
+ right: 0;
+ height: 21px;
+ text-align: right;
+ border: none;
+ background: transparent;
+}
+
+.v-upload-immediate button {
+ position: relative;
+ left: 0;
+ top: 0;
+ width: 100%;
+ text-align: left;
+}
+
+} \ No newline at end of file