Merge pull request #12154 from nextcloud/files-details
Design details in file picker
This commit is contained in:
commit
426641a795
2 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue