aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-01-07 08:49:00 +0100
committerGitHub <noreply@github.com>2022-01-07 08:49:00 +0100
commit1c8c075f324ffaa7b59d1dc958af950168846f0c (patch)
treea3cba79eae0e6b9c37cddd39a5b24391bad4f1a5
parentdbdc814e81ff71b4280d5d92e5acc3f41afbe8d9 (diff)
parent4ac98ee652c36f34f34a6cfa00796f3d4fddcf2b (diff)
downloadnextcloud-server-1c8c075f324ffaa7b59d1dc958af950168846f0c.tar.gz
nextcloud-server-1c8c075f324ffaa7b59d1dc958af950168846f0c.zip
Merge pull request #30482 from nextcloud/backport/30423/stable21
-rw-r--r--apps/files/css/files.scss34
1 files changed, 25 insertions, 9 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index af794264083..32f8af6327a 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -420,11 +420,6 @@ table {
padding: 0 20px 0 0;
}
}
-
- .uploadtext {
- position: absolute;
- left: 55px;
- }
}
.hide-hidden-files #filestable #fileList tr.hidden-file,
@@ -452,13 +447,22 @@ table td.filename .nametext .innernametext {
/* for smaller resolutions - see mobile.css */
table td.filename .uploadtext {
+ position: absolute;
font-weight: normal;
- margin-left: 55px;
- margin-top: 5px;
+ // checkbox width
+ margin-left: 50px;
+ left: 0;
+ bottom: 0;
height: 20px;
- padding: 10px 0;
+ padding: 0 4px;
+ // align with file name
+ padding-left: 1px;
font-size: 11px;
- opacity: .5;
+ // double the font size
+ line-height: 22px;
+ color: var(--color-text-maxcontrast);
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
table td.selection {
@@ -975,6 +979,18 @@ table.dragshadow td.size {
}
}
+ .uploadtext {
+ width: 100%;
+ margin: 0;
+ top: 0;
+ bottom: auto;
+ // checkbox align
+ height: 28px;
+ padding-top: 4px;
+ // checkbox margins
+ padding-left: calc(44px - 16px);
+ }
+
.name {
height: 100%;
border-radius: var(--border-radius);