summaryrefslogtreecommitdiffstats
path: root/core/css/styles.css
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-17 14:26:25 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-19 14:18:21 +0200
commit14f78369d7bc6dcc5e0234aac27e596ed7e92953 (patch)
tree3a653905b1c9b45d7f568199b0f56ce980fbee00 /core/css/styles.css
parent590016a978930b22b603e0b9f8408ee0d83a516d (diff)
downloadnextcloud-server-14f78369d7bc6dcc5e0234aac27e596ed7e92953.tar.gz
nextcloud-server-14f78369d7bc6dcc5e0234aac27e596ed7e92953.zip
Use a table for the filepicker list and add size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/css/styles.css')
-rw-r--r--core/css/styles.css41
1 files changed, 21 insertions, 20 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 8fa7691ca7a..1141f0d7623 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -774,39 +774,40 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
#oc-dialog-filepicker-content .dirtree span:not(:last-child) { cursor: pointer; }
#oc-dialog-filepicker-content .dirtree span:last-child { font-weight: bold; }
#oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
-#oc-dialog-filepicker-content .filelist {
- overflow-y:auto;
+#oc-dialog-filepicker-content .filelist-container {
+ display: inline-block;
+ overflow-y: auto;
height: 290px;
+ width: 100%;
+ border-top: 1px solid #eee;
+}
+#oc-dialog-filepicker-content .filelist {
background-color:white;
width:100%;
}
-#oc-dialog-filepicker-content .filelist li:first-child {
- border-top: 1px solid #eee;
-}
-#oc-dialog-filepicker-content .filelist li {
- position: relative;
- height: 40px;
- padding: 5px;
+#oc-dialog-filepicker-content .filelist td {
+ padding: 14px;
border-bottom: 1px solid #eee;
}
#oc-dialog-filepicker-content .filelist .filename {
- position: absolute;
- padding-top: 9px;
- max-width: 60%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
+ background-size: 32px;
+ background-repeat: no-repeat;
+ padding-left: 51px;
+ background-position: 7px 7px;
+ cursor: pointer;
}
-#oc-dialog-filepicker-content .filelist img {
- margin: 2px 1em 0 4px;
- width: 32px;
-}
+
+#oc-dialog-filepicker-content .filelist .filesize,
#oc-dialog-filepicker-content .filelist .date {
- float: right;
- margin-right: 10px;
- margin-top: 0;
- padding-top: 9px;
+ width: 80px;
+}
+
+#oc-dialog-filepicker-content .filelist .filesize {
+ text-align: right;
}
#oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
.ui-dialog {position:fixed !important;}