Blame view
sources/apps/files/css/files.css
11.8 KB
|
03e52840d
|
1 2 3 4 5 |
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net This file is licensed under the Affero General Public License version 3 or later. See the COPYING-README file. */ /* FILE MENU */ |
|
6d9380f96
|
6 |
.actions { padding:5px; height:32px; display: inline-block; float: left; }
|
|
03e52840d
|
7 |
.actions input, .actions button, .actions .button { margin:0; float:left; }
|
|
31b7f2792
|
8 9 |
.actions .button a { color: #555; }
.actions .button a:hover, .actions .button a:active { color: #333; }
|
|
6d9380f96
|
10 |
.actions.hidden { display: none; }
|
|
03e52840d
|
11 12 |
#new {
|
|
31b7f2792
|
13 14 15 16 17 18 19 20 21 22 23 |
z-index: 1010;
float: left;
padding: 0 !important; /* override default control bar button padding */
}
#trash {
margin-right: 8px;
float: right;
z-index: 1010;
padding: 10px;
font-weight: normal;
}
|
|
6d9380f96
|
24 |
#new > a {
|
|
31b7f2792
|
25 26 27 28 29 30 31 32 |
padding: 14px 10px;
position: relative;
top: 7px;
}
#new.active {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: none;
|
|
03e52840d
|
33 |
} |
|
6d9380f96
|
34 |
#new > ul {
|
|
31b7f2792
|
35 36 |
display: none; position: fixed; |
|
6d9380f96
|
37 |
min-width: 112px; |
|
31b7f2792
|
38 |
z-index: 10; |
|
6d9380f96
|
39 |
padding: 8px; |
|
31b7f2792
|
40 41 42 |
padding-bottom: 0; margin-top: 14px; margin-left: -1px; |
|
6d9380f96
|
43 |
text-align: left; |
|
31b7f2792
|
44 45 46 47 |
background: #f8f8f8; border: 1px solid #ddd; border-radius: 5px; border-top-left-radius: 0; |
|
6d9380f96
|
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
box-shadow: 0 2px 7px rgba(170,170,170,.4);
}
#new > ul > li {
height: 36px;
margin: 5px;
padding-left: 42px;
padding-bottom: 2px;
background-position: left center;
cursor: pointer;
}
#new > ul > li > p {
cursor: pointer;
padding-top: 7px;
padding-bottom: 7px;
|
|
03e52840d
|
62 |
} |
|
31b7f2792
|
63 64 65 66 67 68 69 70 |
#new .error, #fileList .error {
color: #e9322d;
border-color: #e9322d;
-webkit-box-shadow: 0 0 6px #f8b9b7;
-moz-box-shadow: 0 0 6px #f8b9b7;
box-shadow: 0 0 6px #f8b9b7;
}
|
|
03e52840d
|
71 |
|
|
31b7f2792
|
72 |
/* FILE TABLE */ |
|
03e52840d
|
73 |
|
|
31b7f2792
|
74 75 76 77 |
#filestable {
position: relative;
top: 44px;
width: 100%;
|
|
03e52840d
|
78 |
} |
|
6d9380f96
|
79 |
|
|
a293d369c
|
80 81 |
/* make sure there's enough room for the file actions */
#body-user #filestable {
|
|
6d9380f96
|
82 |
min-width: 688px; /* 768 (mobile break) - 80 (nav width) */ |
|
03e52840d
|
83 |
} |
|
a293d369c
|
84 |
#body-user #controls {
|
|
6d9380f96
|
85 |
min-width: 688px; /* 768 (mobile break) - 80 (nav width) */ |
|
a293d369c
|
86 |
} |
|
6d9380f96
|
87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
#filestable tbody tr { background-color:#fff; height:51px; }
/* fit app list view heights */
.app-files #app-content>.viewcontainer {
min-height: 100%;
}
/* move Deleted Files to bottom of sidebar */
.nav-trashbin {
position: absolute !important;
bottom: 0;
}
#filestable tbody tr { background-color:#fff; height:40px; }
|
|
31b7f2792
|
101 102 |
#filestable tbody tr:hover, tbody tr:active {
background-color: rgb(240,240,240);
|
|
03e52840d
|
103 |
} |
|
31b7f2792
|
104 105 |
#filestable tbody tr.selected {
background-color: rgb(230,230,230);
|
|
03e52840d
|
106 |
} |
|
31b7f2792
|
107 108 |
#filestable tbody tr.searchresult {
background-color: rgb(240,240,240);
|
|
03e52840d
|
109 |
} |
|
03e52840d
|
110 |
tbody a { color:#000; }
|
|
6d9380f96
|
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
span.extension, span.uploading, td.date {
color: #999;
}
span.extension {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
opacity: .7;
-webkit-transition: opacity 300ms;
-moz-transition: opacity 300ms;
-o-transition: opacity 300ms;
transition: opacity 300ms;
vertical-align: top;
}
tr:hover span.extension {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
color: #777;
}
table tr.mouseOver td {
background-color: #eee;
}
table th, table th a {
color: #999;
}
table.multiselect th a {
color: #000;
}
table th .columntitle {
display: block;
padding: 15px;
height: 50px;
box-sizing: border-box;
-moz-box-sizing: border-box;
vertical-align: middle;
}
table th .columntitle.name {
padding-left: 5px;
padding-right: 80px;
margin-left: 50px;
}
.sort-indicator.hidden { visibility: hidden; }
table th .sort-indicator {
width: 10px;
height: 8px;
margin-left: 10px;
display: inline-block;
}
table th:hover .sort-indicator.hidden {
width: 10px;
height: 8px;
margin-left: 10px;
visibility: visible;
|
|
31b7f2792
|
167 |
} |
|
03e52840d
|
168 |
table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
|
|
31b7f2792
|
169 |
table td {
|
|
6d9380f96
|
170 |
padding: 0 15px; |
|
31b7f2792
|
171 172 173 174 175 176 177 |
border-bottom: 1px solid #eee;
font-style: normal;
background-position: 8px center;
background-repeat: no-repeat;
}
table th#headerName {
position: relative;
|
|
a293d369c
|
178 |
width: 9999px; /* not really sure why this works better than 100% … table styling */ |
|
31b7f2792
|
179 180 181 182 183 184 185 |
padding: 0;
}
#headerName-container {
position: relative;
height: 50px;
}
table th#headerSize, table td.filesize {
|
|
31b7f2792
|
186 187 |
text-align: right; } |
|
6d9380f96
|
188 189 |
table th#headerDate, table td.date,
table th.column-last, table td.column-last {
|
|
31b7f2792
|
190 191 192 |
-moz-box-sizing: border-box; box-sizing: border-box; position: relative; |
|
6d9380f96
|
193 194 195 |
/* this can not be just width, both need to be set … table styling */ min-width: 176px; max-width: 176px; |
|
31b7f2792
|
196 |
} |
|
03e52840d
|
197 198 |
/* Multiselect bar */ |
|
31b7f2792
|
199 200 201 202 203 204 205 206 207 |
#filestable.multiselect {
top: 95px;
}
table.multiselect thead {
position: fixed;
top: 89px;
z-index: 10;
-moz-box-sizing: border-box;
box-sizing: border-box;
|
|
6d9380f96
|
208 |
left: 250px; /* sidebar */ |
|
31b7f2792
|
209 |
} |
|
6d9380f96
|
210 211 212 |
table thead th {
background-color: #fff;
}
|
|
31b7f2792
|
213 214 215 216 217 218 219 220 |
table.multiselect thead th {
background-color: rgba(220,220,220,.8);
color: #000;
font-weight: bold;
border-bottom: 0;
}
table.multiselect #headerName {
position: relative;
|
|
a293d369c
|
221 |
width: 9999px; /* when we use 100%, the styling breaks on mobile … table styling */ |
|
31b7f2792
|
222 |
} |
|
6d9380f96
|
223 |
table td.selection, table th.selection, table td.fileaction { width:32px; text-align:center; }
|
|
31b7f2792
|
224 225 226 227 228 229 |
table td.filename a.name {
position:relative; /* Firefox needs to explicitly have this default set … */
-moz-box-sizing: border-box;
box-sizing: border-box;
display: block;
height: 50px;
|
|
6d9380f96
|
230 |
line-height: 50px; |
|
31b7f2792
|
231 232 |
padding: 0; } |
|
03e52840d
|
233 |
table tr[data-type="dir"] td.filename a.name span.nametext {font-weight:bold; }
|
|
31b7f2792
|
234 |
table td.filename input.filename {
|
|
6d9380f96
|
235 236 237 |
width: 70%; margin-top: 1px; margin-left: 48px; |
|
31b7f2792
|
238 239 |
cursor: text; } |
|
6d9380f96
|
240 241 |
table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:3px 8px 8px 3px; }
table td.filename .nametext, .uploadtext, .modified, .column-last>span:first-child { float:left; padding:15px 0; }
|
|
31b7f2792
|
242 |
|
|
6d9380f96
|
243 |
.modified, .column-last>span:first-child {
|
|
31b7f2792
|
244 |
position: relative; |
|
6d9380f96
|
245 246 247 248 249 250 251 252 |
overflow: hidden;
text-overflow: ellipsis;
width: 90%;
}
/* ellipsize long modified dates to make room for showing delete button */
#fileList tr:hover .modified, #fileList tr:hover .column-last>span:first-child,
#fileList tr:focus .modified, #fileList tr:focus .column-last>span:first-child {
width: 75%;
|
|
31b7f2792
|
253 |
} |
|
03e52840d
|
254 |
/* TODO fix usability bug (accidental file/folder selection) */ |
|
31b7f2792
|
255 256 |
table td.filename .nametext {
position: absolute;
|
|
31b7f2792
|
257 258 259 260 261 |
left: 55px; padding: 0; overflow: hidden; text-overflow: ellipsis; max-width: 800px; |
|
6d9380f96
|
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 |
height: 100%;
}
table td.filename .nametext .innernametext {
text-overflow: ellipsis;
overflow: hidden;
position: relative;
display: inline-block;
}
@media only screen and (min-width: 1366px) {
table td.filename .nametext .innernametext {
max-width: 760px;
}
table tr:hover td.filename .nametext .innernametext {
max-width: 480px;
}
}
@media only screen and (min-width: 1200px) and (max-width: 1366px) {
table td.filename .nametext .innernametext {
max-width: 600px;
}
table tr:hover td.filename .nametext .innernametext {
max-width: 320px;
}
}
@media only screen and (min-width: 1000px) and (max-width: 1200px) {
table td.filename .nametext .innernametext {
max-width: 400px;
}
table tr:hover td.filename .nametext .innernametext {
max-width: 120px;
}
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
table td.filename .nametext .innernametext {
max-width: 320px;
}
table tr:hover td.filename .nametext .innernametext {
max-width: 40px;
}
}
/* for smaller resolutions - see mobile.css */
table td.filename .uploadtext {
font-weight: normal;
margin-left: 8px;
|
|
31b7f2792
|
317 |
} |
|
03e52840d
|
318 |
|
|
31b7f2792
|
319 320 321 |
.ie8 input[type="checkbox"]{
padding: 0;
}
|
|
03e52840d
|
322 |
/* File checkboxes */ |
|
31b7f2792
|
323 324 325 326 327 |
#fileList tr td.filename>input[type="checkbox"]:first-child {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
opacity: 0;
float: left;
|
|
6d9380f96
|
328 |
top: 0; |
|
31b7f2792
|
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
margin: 32px 0 4px 32px; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/
}
/* Show checkbox when hovering, checked, or selected */
#fileList tr:hover td.filename>input[type="checkbox"]:first-child,
#fileList tr td.filename>input[type="checkbox"]:checked:first-child,
#fileList tr.selected td.filename>input[type="checkbox"]:first-child {
opacity: 1;
}
.lte9 #fileList tr:hover td.filename>input[type="checkbox"]:first-child,
.lte9 #fileList tr td.filename>input[type="checkbox"][checked=checked]:first-child,
.lte9 #fileList tr.selected td.filename>input[type="checkbox"]:first-child {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
}
/* Use label to have bigger clickable size for checkbox */
#fileList tr td.filename>input[type="checkbox"] + label,
|
|
6d9380f96
|
346 |
.select-all + label {
|
|
31b7f2792
|
347 348 349 350 351 |
height: 50px; position: absolute; width: 50px; z-index: 5; } |
|
6d9380f96
|
352 353 354 355 356 |
#fileList tr td.filename>input[type="checkbox"]{
/* sometimes checkbox height is bigger (KDE/Qt), so setting to absolute
* to prevent it to increase the height */
position: absolute;
}
|
|
31b7f2792
|
357 358 |
#fileList tr td.filename>input[type="checkbox"] + label {
left: 0;
|
|
6d9380f96
|
359 |
top: 0; |
|
31b7f2792
|
360 |
} |
|
6d9380f96
|
361 |
.select-all + label {
|
|
31b7f2792
|
362 363 |
top: 0; } |
|
6d9380f96
|
364 |
.select-all {
|
|
31b7f2792
|
365 366 367 368 |
position: absolute; top: 18px; left: 18px; } |
|
03e52840d
|
369 |
#fileList tr td.filename {
|
|
6d9380f96
|
370 371 372 |
position: relative; width: 100%; padding-left: 0; |
|
03e52840d
|
373 374 |
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms; } |
|
31b7f2792
|
375 376 377 |
#fileList tr td.filename a.name label {
position: absolute;
|
|
a293d369c
|
378 |
width: 80%; |
|
31b7f2792
|
379 380 |
height: 50px; } |
|
03e52840d
|
381 382 383 384 |
#uploadsize-message,#delete-confirm { display:none; }
/* File actions */
.fileactions {
|
|
31b7f2792
|
385 |
position: absolute; |
|
31b7f2792
|
386 |
right: 0; |
|
6d9380f96
|
387 |
font-size: 11px; |
|
03e52840d
|
388 |
} |
|
31b7f2792
|
389 |
|
|
6d9380f96
|
390 |
#fileList img.move2trash { display:inline; margin:-8px 0; padding:16px 8px 16px 8px !important; float:right; }
|
|
31b7f2792
|
391 392 393 |
#fileList a.action.delete {
position: absolute;
right: 0;
|
|
6d9380f96
|
394 395 396 397 398 399 400 401 402 403 404 405 |
padding: 17px 14px;
}
#fileList .action.action-share-notification span, #fileList a {
cursor: default !important;
}
a.action>img {
max-height:16px;
max-width:16px;
vertical-align:text-bottom;
margin-bottom: -1px;
|
|
31b7f2792
|
406 |
} |
|
31b7f2792
|
407 408 409 |
/* Actions for selected files */
.selectedActions {
|
|
31b7f2792
|
410 |
position: absolute; |
|
6d9380f96
|
411 |
top: 0; |
|
31b7f2792
|
412 |
right: 0; |
|
31b7f2792
|
413 414 415 |
}
.selectedActions a {
display: inline;
|
|
6d9380f96
|
416 417 418 419 420 421 422 423 424 |
font-size: 11px;
line-height: 50px;
padding: 18px 5px;
}
.selectedActions a.delete-selected {
padding-right: 15px;
}
.selectedActions a.hidden {
display: none;
|
|
31b7f2792
|
425 426 427 |
}
.selectedActions a img {
position:relative;
|
|
6d9380f96
|
428 429 |
vertical-align: text-bottom; margin-bottom: -1px; |
|
31b7f2792
|
430 |
} |
|
03e52840d
|
431 |
#fileList a.action {
|
|
31b7f2792
|
432 |
display: inline; |
|
6d9380f96
|
433 434 |
padding: 18px 8px; line-height: 50px; |
|
03e52840d
|
435 436 437 438 439 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; display:none; } |
|
6d9380f96
|
440 441 442 443 444 445 |
#fileList a.action[data-action="Rename"] {
padding: 16px 14px 17px !important;
position: relative;
top: -21px;
}
|
|
03e52840d
|
446 |
#fileList tr:hover a.action, #fileList a.action.permanent {
|
|
31b7f2792
|
447 448 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); |
|
03e52840d
|
449 450 451 452 |
opacity: .5;
display:inline;
}
#fileList tr:hover a.action:hover {
|
|
31b7f2792
|
453 454 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); |
|
03e52840d
|
455 456 457 |
opacity: 1; display:inline; } |
|
31b7f2792
|
458 459 460 461 462 463 |
.summary {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);
opacity: .3;
height: 70px;
}
|
|
03e52840d
|
464 |
|
|
31b7f2792
|
465 466 467 468 469 |
.summary:hover, .summary, table tr.summary td {
background-color: transparent;
}
.summary td {
|
|
6d9380f96
|
470 471 |
padding-top: 20px; padding-bottom: 250px; |
|
31b7f2792
|
472 473 474 |
border-bottom: none;
}
.summary .info {
|
|
6d9380f96
|
475 |
margin-left: 40px; |
|
31b7f2792
|
476 477 478 |
}
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
|
|
03e52840d
|
479 480 481 482 483 |
table.dragshadow {
width:auto;
}
table.dragshadow td.filename {
|
|
31b7f2792
|
484 |
padding-left:60px; |
|
03e52840d
|
485 |
padding-right:16px; |
|
31b7f2792
|
486 |
height: 36px; |
|
03e52840d
|
487 488 489 490 491 492 493 494 495 496 497 498 |
}
table.dragshadow td.size {
padding-right:8px;
}
#upgrade {
width: 400px;
position: absolute;
top: 200px;
left: 50%;
text-align: center;
margin-left: -200px;
}
|
|
31b7f2792
|
499 500 |
.mask {
z-index: 50;
|
|
6d9380f96
|
501 |
position: absolute; |
|
31b7f2792
|
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 |
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: white;
background-repeat: no-repeat no-repeat;
background-position: 50%;
opacity: 0.7;
filter: alpha(opacity=70);
transition: opacity 100ms;
-moz-transition: opacity 100ms;
-o-transition: opacity 100ms;
-ms-transition: opacity 100ms;
-webkit-transition: opacity 100ms;
}
.mask.transparent{
opacity: 0;
|
|
03e52840d
|
519 |
} |