aboutsummaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-14 17:31:10 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-14 17:36:08 +0200
commit6d43942125347a961733845244711a6ea2f6651e (patch)
tree217ed2d6cfc156071bc99775b802e4b477a74b45 /core/css
parent8d093e976acd818311e3be97b0d9afd6631632f2 (diff)
downloadnextcloud-server-6d43942125347a961733845244711a6ea2f6651e.tar.gz
nextcloud-server-6d43942125347a961733845244711a6ea2f6651e.zip
filepicker styling
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/jquery.ocdialog.css3
-rw-r--r--core/css/styles.css22
2 files changed, 18 insertions, 7 deletions
diff --git a/core/css/jquery.ocdialog.css b/core/css/jquery.ocdialog.css
index b241dcfea6f..a19fa4c52b5 100644
--- a/core/css/jquery.ocdialog.css
+++ b/core/css/jquery.ocdialog.css
@@ -14,7 +14,8 @@
background: white;
font-weight: bold;
font-size: 110%;
- margin-bottom: 10px;
+ margin-bottom: 5px;
+ margin-top: -9px;
}
.oc-dialog-content {
z-index: 1000;
diff --git a/core/css/styles.css b/core/css/styles.css
index 60b325111f8..958a93a600c 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -774,29 +774,39 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
.ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; }
/* ---- DIALOGS ---- */
-#oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; }
-#oc-dialog-filepicker-content .dirtree .home {
+#oc-dialog-filepicker-content .dirtree {
+ width:92%;
+ float: left;
+ margin-left: 15px;
+ overflow:hidden;
+}
+#oc-dialog-filepicker-content .dirtree div:first-child a {
background-image:url('../img/places/home.svg?v=1');
background-repeat:no-repeat;
background-position: left center;
- width: 30px;
- display: inline-block;
}
#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;
- height: 300px;
+ height: 290px;
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;
+ border-bottom: 1px solid #eee;
}
#oc-dialog-filepicker-content .filelist .filename {
position: absolute;
- top: 8px;
+ padding-top: 9px;
max-width: 60%;
overflow: hidden;
white-space: nowrap;