diff options
author | Robin Appelman <robin@icewind.nl> | 2016-10-14 17:31:10 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-10-14 17:36:08 +0200 |
commit | 6d43942125347a961733845244711a6ea2f6651e (patch) | |
tree | 217ed2d6cfc156071bc99775b802e4b477a74b45 /core/css | |
parent | 8d093e976acd818311e3be97b0d9afd6631632f2 (diff) | |
download | nextcloud-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.css | 3 | ||||
-rw-r--r-- | core/css/styles.css | 22 |
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; |