diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-15 12:14:15 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-15 12:14:15 +0100 |
commit | 61f7eecc0b6ccc8ef29bee8e5aa3384e2363722a (patch) | |
tree | 8a1bc47b0eda228eb660b539f4172cb3a24b6c50 /apps/files/css | |
parent | 10c9b37461a1d4cf3fae12038d3125555a3d8b6e (diff) | |
download | nextcloud-server-61f7eecc0b6ccc8ef29bee8e5aa3384e2363722a.tar.gz nextcloud-server-61f7eecc0b6ccc8ef29bee8e5aa3384e2363722a.zip |
Show thumbnail on rename
* does not hide thumbnail when rename is shown
* fixes layout for grid and list view
* fixes #11901
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.scss | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index bc99790f500..8ad255a34bf 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -153,6 +153,7 @@ #filestable tbody tr.highlighted .name:focus, #filestable tbody tr.selected, #filestable tbody tr.searchresult, +#filestable tbody tr:hover .filename form, table tr.mouseOver td { transition: background-color 0.3s ease; background-color: var(--color-background-dark); @@ -332,10 +333,14 @@ table td.filename .thumbnail { } table td.filename input.filename { width: 70%; - margin-top: 9px; margin-left: 48px; cursor: text; } +table td.filename form { + margin-top: -40px; + position: relative; + top: -6px; +} table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:3px 8px 8px 3px; } table td.filename .nametext, .modified, .column-last>span:first-child { float:left; padding:15px 0; } @@ -908,6 +913,16 @@ table.dragshadow td.size { } } } + + form { + padding: 3px 14px; + border-radius: var(--border-radius); + + input.filename { + width: 100%; + margin-left: 0; + } + } } /* No space for filesize and date in grid view */ |