summaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorAbijeet <abijeetpatro@gmail.com>2018-06-02 20:45:19 +0530
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-18 07:39:43 +0200
commit45db89f3e6b7b391db5f9c766f3b3ef8b4e0750a (patch)
tree18f459ff41135a5b3d0adb1afb797c10a3f3facc /apps/files/css
parent174ba1f0124b9f5999d6f9842259ab1b2b143c5a (diff)
downloadnextcloud-server-45db89f3e6b7b391db5f9c766f3b3ef8b4e0750a.tar.gz
nextcloud-server-45db89f3e6b7b391db5f9c766f3b3ef8b4e0750a.zip
Added a new action menu in files and trash list.
Uses the new file-multi-select-menu component. Towards #7647 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/files.scss13
-rw-r--r--apps/files/css/mobile.scss14
2 files changed, 13 insertions, 14 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index bbc95d7cd6d..b3ce4c02392 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -169,13 +169,16 @@ table.multiselect th a {
color: #000;
}
table th .columntitle {
- display: inline-block;
+ display: block;
padding: 15px;
height: 50px;
box-sizing: border-box;
-moz-box-sizing: border-box;
vertical-align: middle;
}
+table.multiselect th .columntitle {
+ display: inline-block;
+}
table th .columntitle.name {
padding-left: 5px;
margin-left: 50px;
@@ -482,9 +485,7 @@ a.action > img {
line-height: 50px;
padding: 18px 5px;
}
-.selectedActions a.delete-selected {
- padding-right: 15px;
-}
+
.selectedActions a.hidden {
display: none;
}
@@ -493,10 +494,6 @@ a.action > img {
vertical-align: text-bottom;
margin-bottom: -1px;
}
-/* hide the delete icon in name column normal resolutions */
-table th#headerName .selectedActions .delete-selected {
- display: none;
-}
#fileList td a {
a.action {
diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss
index c5bb8193924..42526a5c3f5 100644
--- a/apps/files/css/mobile.scss
+++ b/apps/files/css/mobile.scss
@@ -28,7 +28,7 @@ table td {
table.multiselect thead {
padding-left: 0;
}
-
+
#fileList a.action.action-menu img {
padding-left: 0;
}
@@ -41,10 +41,6 @@ table.multiselect thead {
display: none !important;
}
-/* show the delete icon in name column in lower resolutions */
-table th#headerName .selectedActions .delete-selected {
- display: inline;
-}
/* proper notification area for multi line messages */
#notification-container {
@@ -70,8 +66,14 @@ table.dragshadow {
}
@media only screen and (max-width: 480px) {
+ table thead {
+ width: 100% !important;
+ }
/* Only show icons */
- table th .selectedActions a span:not(.icon) {
+ table th .selectedActions {
+ float: right;
+ }
+ table th .selectedActions > a span:not(.icon) {
display: none;
}