Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-03-14 18:36:55 +0300
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-03-14 18:37:05 +0300
commite1e65021b105309269e4b2d5a213e23f9904d199 (patch)
treecdbc9539fd7d5c06bed15f305bad1dace8559575 /apps
parent9306caec3e69346ed00c6d4e6279fd61fe429723 (diff)
Only show border for files with generated previews
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index e2c25bbe1ba..379ef0d7a6e 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -334,6 +334,12 @@ table td.filename .thumbnail {
position: absolute;
z-index: 4;
}
+
+// Show slight border around previews for images, txt, etc.
+table tr[data-has-preview='true'] .thumbnail {
+ border: 1px solid var(--color-border);
+}
+
table td.filename input.filename {
width: 70%;
margin-left: 48px;
@@ -835,7 +841,6 @@ table.dragshadow td.size {
background-size: contain;
margin: 0;
border-radius: var(--border-radius);
- border: 1px solid var(--color-border);
background-repeat: no-repeat;
background-position: center;