summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-08-27 23:09:32 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-08-27 23:09:32 +0200
commit589b066c4cc4bd44539e2257b85f674f4832a140 (patch)
treed353ce348337de3309fd00b972ee998f2d1781f7 /apps/files
parent5479db63719de9b6341edcb2cb16ee7c7a3beff5 (diff)
downloadnextcloud-server-589b066c4cc4bd44539e2257b85f674f4832a140.tar.gz
nextcloud-server-589b066c4cc4bd44539e2257b85f674f4832a140.zip
restore behavior where favorite stars only show up on hover, to not clutter the interface so much
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.css4
-rw-r--r--apps/files/css/mobile.css8
2 files changed, 10 insertions, 2 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 4a56490fe0f..25a3df53050 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -616,13 +616,13 @@ a.action > img {
}
/* show share action of shared items darker to distinguish from non-shared */
-#fileList a.action.permanent.shared-style {
+#fileList a.action.permanent.shared-style,
+#fileList a.action.action-favorite.permanent {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)" !important;
filter: alpha(opacity=70) !important;
opacity: .7 !important;
}
/* always show actions on mobile, not only on hover */
-#fileList a.action,
#fileList a.action.action-menu.permanent {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)" !important;
filter: alpha(opacity=30) !important;
diff --git a/apps/files/css/mobile.css b/apps/files/css/mobile.css
index c5507a1e268..0641304d211 100644
--- a/apps/files/css/mobile.css
+++ b/apps/files/css/mobile.css
@@ -43,6 +43,14 @@ table td.filename .nametext {
#fileList a.action-share span {
display: none;
}
+#fileList a.action.action-favorite {
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)" !important;
+ opacity: .7 !important;
+}
+#fileList a.action.action-favorite {
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)" !important;
+ opacity: .3 !important;
+}
/* ellipsis on file names */
table td.filename .nametext .innernametext {