summaryrefslogtreecommitdiffstats
path: root/apps/files/css/files.css
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/css/files.css')
-rw-r--r--apps/files/css/files.css53
1 files changed, 45 insertions, 8 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 3dc5ef5a396..009cb355ba7 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -3,10 +3,11 @@
See the COPYING-README file. */
/* FILE MENU */
-.actions { padding:5px; height:32px; width: 100%; }
+.actions { padding:5px; height:32px; display: inline-block; float: left; }
.actions input, .actions button, .actions .button { margin:0; float:left; }
.actions .button a { color: #555; }
.actions .button a:hover, .actions .button a:active { color: #333; }
+.actions.hidden { display: none; }
#new {
z-index: 1010;
@@ -75,6 +76,7 @@
top: 44px;
width: 100%;
}
+
/* make sure there's enough room for the file actions */
#body-user #filestable {
min-width: 688px; /* 768 (mobile break) - 80 (nav width) */
@@ -84,6 +86,40 @@
}
#filestable tbody tr { background-color:#fff; height:51px; }
+
+.app-files #app-content {
+ position: relative;
+}
+
+/**
+ * Override global #controls styles
+ * to be more flexible / relative
+ */
+#body-user .app-files #controls {
+ left: 310px; /* main nav bar + sidebar */
+ position: fixed;
+ padding-left: 0px;
+}
+
+/* this is mostly for file viewer apps, text editor, etc */
+#body-user .app-files.no-sidebar #controls {
+ left: 0px;
+ padding-left: 80px; /* main nav bar */
+}
+
+.app-files #app-navigation {
+ width: 230px;
+}
+
+.app-files #app-settings {
+ width: 229px; /* DUH */
+}
+
+.app-files #app-settings input {
+ width: 90%;
+}
+
+#filestable tbody tr { background-color:#fff; height:40px; }
#filestable tbody tr:hover, tbody tr:active {
background-color: rgb(240,240,240);
}
@@ -183,9 +219,7 @@ table.multiselect thead {
z-index: 10;
-moz-box-sizing: border-box;
box-sizing: border-box;
- left: 0;
- padding-left: 80px;
- width: 100%;
+ left: 310px; /* main nav bar + sidebar */
}
table.multiselect thead th {
@@ -272,7 +306,7 @@ table td.filename form { font-size:14px; margin-left:48px; margin-right:48px; }
/* Use label to have bigger clickable size for checkbox */
#fileList tr td.filename>input[type="checkbox"] + label,
-#select_all + label {
+.select-all + label {
height: 50px;
position: absolute;
width: 50px;
@@ -286,10 +320,10 @@ table td.filename form { font-size:14px; margin-left:48px; margin-right:48px; }
#fileList tr td.filename>input[type="checkbox"] + label {
left: 0;
}
-#select_all + label {
+.select-all + label {
top: 0;
}
-#select_all {
+.select-all {
position: absolute;
top: 18px;
left: 18px;
@@ -337,6 +371,9 @@ a.action>img { max-height:16px; max-width:16px; vertical-align:text-bottom; }
display: inline;
padding: 17px 5px;
}
+.selectedActions a.hidden {
+ display: none;
+}
.selectedActions a img {
position:relative;
top:5px;
@@ -412,7 +449,7 @@ table.dragshadow td.size {
}
.mask {
z-index: 50;
- position: fixed;
+ position: absolute;
top: 0;
left: 0;
right: 0;