diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2018-10-31 09:01:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 09:01:10 +0100 |
commit | 426641a795c41aaa1e48715c9fa2c39d2a8cb387 (patch) | |
tree | b6a55c090b3f5c4de54a9869ed8e5b1c4a046d96 | |
parent | b449cb35f67ca0cf21b466ca1ac1c195a2e6bd91 (diff) | |
parent | 372109a2766a908af2f776eeb90801cde34e4d31 (diff) | |
download | nextcloud-server-426641a795c41aaa1e48715c9fa2c39d2a8cb387.tar.gz nextcloud-server-426641a795c41aaa1e48715c9fa2c39d2a8cb387.zip |
Merge pull request #12154 from nextcloud/files-details
Design details in file picker
-rw-r--r-- | apps/files/css/files.scss | 1 | ||||
-rw-r--r-- | core/css/styles.scss | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 4e0bc9c0160..580bab32d6d 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -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; diff --git a/core/css/styles.scss b/core/css/styles.scss index 4b80b4f9626..f23f4c2dead 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -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; |