summaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-23 10:38:00 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-23 10:38:00 +0200
commit26ca7a0e2f86cb76726073f2d73fd5cb8a1e09d9 (patch)
treeceabf9cc65621e982a1ebd7b9eda19a6aa5ae579 /core/css/styles.scss
parentc039bd2bd115afd23b4f24578f62b50fe87d48b4 (diff)
downloadnextcloud-server-26ca7a0e2f86cb76726073f2d73fd5cb8a1e09d9.tar.gz
nextcloud-server-26ca7a0e2f86cb76726073f2d73fd5cb8a1e09d9.zip
Add filepicker toggle
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss24
1 files changed, 23 insertions, 1 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index b5968015d6f..d9c0d7c6e4c 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -698,10 +698,14 @@ code {
/* ---- DIALOGS ---- */
#oc-dialog-filepicker-content {
+ position: relative;
+
.dirtree {
- width: 96%;
+ width: 100%;
flex-wrap: wrap;
padding-left: 12px;
+ padding-right: 44px;
+ box-sizing: border-box;
div:first-child a {
background-image: url('../img/places/home.svg?v=1');
@@ -721,6 +725,24 @@ code {
}
}
}
+
+ /* Grid view toggle */
+ #picker-view-toggle {
+ position: absolute;
+ background-color: transparent;
+ border: none;
+ margin: 0;
+ padding: 22px;
+ opacity: .5;
+ right: 0;
+ top: 0;
+
+ &:hover,
+ &:focus {
+ opacity: 1;
+ }
+ }
+
.filelist-container {
box-sizing: border-box;
display: inline-block;