summaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-03 18:09:48 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:05 +0200
commite704899e2229428c7da1a247409794f7462ec34d (patch)
tree9b1040c56097e3823958e4a7decb7711dfa252ab /apps/files/css
parent2a42a8da3e3dfa6edf04feaf6f05f87fa4d3969b (diff)
downloadnextcloud-server-e704899e2229428c7da1a247409794f7462ec34d.tar.gz
nextcloud-server-e704899e2229428c7da1a247409794f7462ec34d.zip
Show view toggle in controls bar
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/files.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 6a2aa604c69..82c244cff0c 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -866,3 +866,22 @@ table.dragshadow td.size {
}
}
}
+
+/* Grid view toggle */
+.view-toggle {
+ background-color: transparent;
+ border: none;
+ margin: 0;
+ padding: 22px;
+ opacity: .5;
+
+ &:hover,
+ &:focus {
+ opacity: 1;
+ }
+}
+
+/* Hide legacy Gallery toggle */
+#gallery-button {
+ display: none;
+}