Merge pull request #12154 from nextcloud/files-details

Design details in file picker
This commit is contained in:
John Molakvoæ 2018-10-31 09:01:10 +01:00 committed by GitHub
commit 426641a795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -316,6 +316,7 @@ table td.filename .thumbnail {
background-size: 32px;
margin-left: 9px;
margin-top: 9px;
border-radius: var(--border-radius);
cursor: pointer;
position: absolute;
z-index: 4;

View file

@ -798,7 +798,7 @@ code {
&.view-grid {
$grid-size: 120px;
$grid-pad: 10px;
$name-height: 20px;
$name-height: 30px;
display: flex;
flex-direction: column;
@ -818,20 +818,22 @@ code {
flex-direction: column;
width: $grid-size - 2 * $grid-pad;
td {
border: none;
padding: 0;
text-align: center;
border-radius: var(--border-radius);
&.filename {
padding: #{$grid-size - 2 * $grid-pad} 0 0 0;
background-position: center top;
background-size: contain;
line-height: $name-height;
height: $name-height;
}
&.filesize {
line-height: $name-height;
text-align: left;
line-height: $name-height / 3;
width: 100%;
}
&.date {
display: none;