summaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-04-18 15:38:30 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-05-09 11:39:16 +0200
commite7d6410f25308cb8f1c4e189b97fce3a497008e6 (patch)
tree349779d697ebabfc18beeba29810d8ac76b89555 /apps/files/css
parent0dc52bf1c9039288b9cfaa1fef944f286a6f34aa (diff)
downloadnextcloud-server-e7d6410f25308cb8f1c4e189b97fce3a497008e6.tar.gz
nextcloud-server-e7d6410f25308cb8f1c4e189b97fce3a497008e6.zip
Ensure proper color contrast according to WCAG AA
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/detailsView.scss2
-rw-r--r--apps/files/css/files.scss7
2 files changed, 4 insertions, 5 deletions
diff --git a/apps/files/css/detailsView.scss b/apps/files/css/detailsView.scss
index 7393a459b8d..334fc0c8fd8 100644
--- a/apps/files/css/detailsView.scss
+++ b/apps/files/css/detailsView.scss
@@ -100,7 +100,7 @@
}
#app-sidebar .file-details {
- color: #999;
+ color: $color-text-details;
}
#app-sidebar .action-favorite {
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 6cd3086c64f..fc8c6d2d225 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -147,10 +147,9 @@ table tr.mouseOver td {
tbody a { color: $color-main-text; }
span.conflict-path, span.extension, span.uploading, td.date {
- color: #999;
+ color: $color-text-details;
}
span.conflict-path, span.extension {
- opacity: .7;
-webkit-transition: opacity 300ms;
-moz-transition: opacity 300ms;
-o-transition: opacity 300ms;
@@ -162,11 +161,11 @@ tr:focus span.conflict-path,
tr:hover span.extension,
tr:focus span.extension {
opacity: 1;
- color: #777;
+ color: $color-text-details;
}
table th, table th a {
- color: #999;
+ color: $color-text-details;
}
table.multiselect th a {
color: #000;