aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/css
diff options
context:
space:
mode:
authorMarvin Borner2019-05-16 21:18:32 +0200
committerMarvin Borner2019-05-16 21:18:32 +0200
commitb5af1a221ebbc8f713ba01b61f308262f95bbf97 (patch)
treee493871c7129d285be7d2a9de34df8ff3f7c646f /src/main/resources/css
parent5cbb9d1ffe6ad4b7d89c0b189a7821d1005bbdda (diff)
Added manual file upload support and fixed some bugs
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/css')
-rw-r--r--src/main/resources/css/files.css30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/main/resources/css/files.css b/src/main/resources/css/files.css
index 2b8e510..4131830 100644
--- a/src/main/resources/css/files.css
+++ b/src/main/resources/css/files.css
@@ -2,7 +2,34 @@
transition: all .2s linear;
}
+input[type="file"] {
+ display: none;
+}
+
+.upload {
+ position: absolute;
+ margin: 20px;
+ right: 0;
+ top: 0;
+ padding: 8px;
+ border: 1px solid #ccc;
+ font-size: 1em;
+ width: 1em;
+ text-align: center;
+ line-height: 1em;
+ cursor: pointer;
+ border-radius: 100px;
+}
+
+.upload[for="file"] {
+ right: 3em;
+}
+
.navigation {
+ white-space: nowrap;
+ max-width: calc(100% - 6em);
+ overflow: hidden;
+ text-overflow: ellipsis;
position: relative;
padding: 0;
}
@@ -14,8 +41,9 @@
.progress {
display: none;
- color: green;
float: right;
+ color: green;
+ margin-right: 6em;
}
table {