aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/css
diff options
context:
space:
mode:
authorMarvin Borner2019-04-07 17:17:17 +0200
committerMarvin Borner2019-04-07 17:17:17 +0200
commit5ec7ec5c50eeb3e2c281c0edfee6c74d7d512500 (patch)
tree071270805b5b2169d4aa26462647f9a5737b231e /src/main/resources/css
parent4e2024432ee680f98d91d07b050ac60151ebec4c (diff)
Added drag and drop file upload
Diffstat (limited to 'src/main/resources/css')
-rw-r--r--src/main/resources/css/files.css6
-rw-r--r--src/main/resources/css/layout.css4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/main/resources/css/files.css b/src/main/resources/css/files.css
index 0f55ca6..798e3ec 100644
--- a/src/main/resources/css/files.css
+++ b/src/main/resources/css/files.css
@@ -3,3 +3,9 @@ a.filename {
text-decoration: none;
margin-bottom: 5px;;
}
+
+.drop {
+ padding: 8px;
+ min-height: calc(100vh - 16px);
+ z-index: -1;
+}
diff --git a/src/main/resources/css/layout.css b/src/main/resources/css/layout.css
index 4a1e1f0..c11ee79 100644
--- a/src/main/resources/css/layout.css
+++ b/src/main/resources/css/layout.css
@@ -1,3 +1,7 @@
html, body {
font-family: Arial, Helvetica, sans-serif;
+ padding: 0;
+ margin: 0;
+ min-width: 100%;
+ min-height: 100%;
}