2012-04-23 16:19:03 +04:00
|
|
|
|
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
|
2011-08-10 22:48:56 +04:00
|
|
|
|
This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
|
See the COPYING-README file. */
|
|
|
|
|
|
2011-03-03 01:06:23 +03:00
|
|
|
|
/* FILE MENU */
|
2013-02-06 22:44:41 +04:00
|
|
|
|
.actions { padding:.3em; height:2em; width: 100%; }
|
2012-12-06 19:37:23 +04:00
|
|
|
|
.actions input, .actions button, .actions .button { margin:0; float:left; }
|
2013-05-13 21:42:05 +04:00
|
|
|
|
.actions .button a { color: #555; }
|
|
|
|
|
.actions .button a:hover, .actions .button a:active { color: #333; }
|
2012-12-07 15:12:40 +04:00
|
|
|
|
#new {
|
|
|
|
|
height:17px; margin:0 0 0 1em; z-index:1010; float:left;
|
|
|
|
|
}
|
2012-10-26 20:11:12 +04:00
|
|
|
|
#new.active { border-bottom-left-radius:0; border-bottom-right-radius:0; border-bottom:none; }
|
2012-12-13 03:12:21 +04:00
|
|
|
|
#new>a { padding:.5em 1.2em .3em; }
|
2012-12-07 15:12:40 +04:00
|
|
|
|
#new>ul {
|
2012-12-13 22:04:27 +04:00
|
|
|
|
display:none; position:fixed; min-width:7em; z-index:10;
|
|
|
|
|
padding:.5em; padding-bottom:0; margin-top:.075em; margin-left:-.5em;
|
2012-12-07 15:12:40 +04:00
|
|
|
|
text-align:left;
|
2012-12-13 22:04:27 +04:00
|
|
|
|
background:#f8f8f8; border:1px solid #ddd; border-radius:10px; border-top-left-radius:0;
|
|
|
|
|
box-shadow:0 2px 7px rgba(170,170,170,.4);
|
2012-12-07 15:12:40 +04:00
|
|
|
|
}
|
2013-07-09 13:40:09 +04:00
|
|
|
|
#new>ul>li { height:36px; margin:.3em; padding-left:3em; padding-bottom:0.1em;
|
2012-12-06 19:37:23 +04:00
|
|
|
|
background-repeat:no-repeat; cursor:pointer; }
|
2013-07-09 13:40:09 +04:00
|
|
|
|
#new>ul>li>p { cursor:pointer; padding-top: 7px; padding-bottom: 7px;}
|
2013-08-15 14:50:26 +04:00
|
|
|
|
#new>ul>li>form>input {
|
|
|
|
|
padding: 5px;
|
|
|
|
|
margin: 2px 0;
|
|
|
|
|
}
|
2011-07-28 03:26:26 +04:00
|
|
|
|
|
2013-07-26 13:13:43 +04:00
|
|
|
|
#trash { margin: 0 1em; z-index:1010; float: right; }
|
2013-01-15 23:35:15 +04:00
|
|
|
|
|
2013-02-11 15:23:53 +04:00
|
|
|
|
#upload {
|
2012-12-07 15:12:40 +04:00
|
|
|
|
height:27px; padding:0; margin-left:0.2em; overflow:hidden;
|
2012-12-05 14:17:41 +04:00
|
|
|
|
}
|
2012-12-07 15:12:40 +04:00
|
|
|
|
#upload a {
|
|
|
|
|
position:relative; display:block; width:100%; height:27px;
|
2013-01-04 16:48:29 +04:00
|
|
|
|
cursor:pointer; z-index:10;
|
2012-12-13 03:12:21 +04:00
|
|
|
|
background-image:url('%webroot%/core/img/actions/upload.svg');
|
2012-12-07 20:41:52 +04:00
|
|
|
|
background-repeat:no-repeat;
|
|
|
|
|
background-position:7px 6px;
|
2013-05-13 21:42:05 +04:00
|
|
|
|
opacity:0.65;
|
2012-12-07 15:12:40 +04:00
|
|
|
|
}
|
2011-07-28 03:26:26 +04:00
|
|
|
|
.file_upload_target { display:none; }
|
2012-12-07 20:41:52 +04:00
|
|
|
|
.file_upload_form { display:inline; float:left; margin:0; padding:0; cursor:pointer; overflow:visible; }
|
2013-01-14 23:30:39 +04:00
|
|
|
|
#file_upload_start {
|
2012-12-05 14:17:41 +04:00
|
|
|
|
left:0; top:0; width:28px; height:27px; padding:0;
|
2012-12-07 20:41:52 +04:00
|
|
|
|
font-size:1em;
|
2012-12-05 14:17:41 +04:00
|
|
|
|
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0;
|
2013-01-04 16:48:29 +04:00
|
|
|
|
z-index:20; position:relative; cursor:pointer; overflow:hidden;
|
2012-12-07 20:41:52 +04:00
|
|
|
|
}
|
2011-04-17 18:19:21 +04:00
|
|
|
|
|
2013-08-18 13:18:16 +04:00
|
|
|
|
#uploadprogresswrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline;
|
|
|
|
|
}
|
2013-08-18 13:27:51 +04:00
|
|
|
|
#uploadprogressbar {
|
2013-08-18 13:18:16 +04:00
|
|
|
|
position:relative;
|
|
|
|
|
float: left;
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
width: 130px;
|
|
|
|
|
height: 26px;
|
2013-03-28 21:50:49 +04:00
|
|
|
|
display:inline-block;
|
|
|
|
|
}
|
2013-08-18 13:27:51 +04:00
|
|
|
|
#uploadprogressbar + stop {
|
2013-08-18 13:18:16 +04:00
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
2011-08-11 22:59:17 +04:00
|
|
|
|
|
2011-03-03 01:06:23 +03:00
|
|
|
|
/* FILE TABLE */
|
2012-12-07 15:12:40 +04:00
|
|
|
|
|
2013-03-04 07:51:38 +04:00
|
|
|
|
#filestable { position: relative; top:37px; width:100%; }
|
2013-08-31 00:05:44 +04:00
|
|
|
|
tbody tr { background-color:#fff; height:2.5em; }
|
2013-06-11 16:48:53 +04:00
|
|
|
|
tbody tr:hover, tbody tr:active {
|
|
|
|
|
background-color: rgb(240,240,240);
|
|
|
|
|
}
|
|
|
|
|
tbody tr.selected {
|
|
|
|
|
background-color: rgb(230,230,230);
|
|
|
|
|
}
|
2011-07-07 02:19:38 +04:00
|
|
|
|
tbody a { color:#000; }
|
2012-04-16 01:52:36 +04:00
|
|
|
|
span.extension, span.uploading, td.date { color:#999; }
|
2012-04-19 18:41:18 +04:00
|
|
|
|
span.extension { text-transform:lowercase; -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; }
|
|
|
|
|
tr:hover span.extension { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; color:#777; }
|
2011-07-22 00:01:55 +04:00
|
|
|
|
table tr.mouseOver td { background-color:#eee; }
|
2011-07-30 17:31:11 +04:00
|
|
|
|
table th { height:2em; padding:0 .5em; color:#999; }
|
2013-06-25 17:08:51 +04:00
|
|
|
|
table th .name {
|
2013-08-14 22:41:20 +04:00
|
|
|
|
position: absolute;
|
|
|
|
|
left: 55px;
|
|
|
|
|
top: 15px;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
}
|
2011-07-28 02:21:11 +04:00
|
|
|
|
table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
|
2013-06-25 17:08:51 +04:00
|
|
|
|
table td {
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
background-position: 8px center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
}
|
2013-08-14 22:41:20 +04:00
|
|
|
|
table th#headerName {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100em; /* not really sure why this works better than 100% … table styling */
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
#headerName-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 50px;
|
|
|
|
|
}
|
|
|
|
|
table th#headerSize, table td.filesize {
|
|
|
|
|
min-width: 3em;
|
|
|
|
|
padding: 0 1em;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
2013-06-25 17:08:51 +04:00
|
|
|
|
table th#headerDate, table td.date {
|
2013-08-14 22:41:20 +04:00
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
|
box-sizing: border-box;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
position: relative;
|
|
|
|
|
min-width: 11em;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
display: block;
|
|
|
|
|
height: 51px;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
}
|
2012-12-13 22:44:55 +04:00
|
|
|
|
|
|
|
|
|
/* Multiselect bar */
|
2013-08-14 22:41:20 +04:00
|
|
|
|
#filestable.multiselect {
|
|
|
|
|
top: 88px;
|
|
|
|
|
}
|
2013-08-26 06:57:14 +04:00
|
|
|
|
table.multiselect thead { position:fixed; top:82px; z-index:1; -moz-box-sizing: border-box; box-sizing: border-box; left: 0; padding-left: 80px; width:100%; }
|
2013-08-29 12:50:55 +04:00
|
|
|
|
|
2013-06-11 16:48:53 +04:00
|
|
|
|
table.multiselect thead th {
|
|
|
|
|
background-color: rgba(210,210,210,.7);
|
|
|
|
|
color: #000;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
2013-08-14 22:41:20 +04:00
|
|
|
|
table.multiselect #headerName {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2011-07-22 00:01:55 +04:00
|
|
|
|
table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; }
|
2013-06-25 17:08:51 +04:00
|
|
|
|
table td.filename a.name {
|
2013-08-14 22:41:20 +04:00
|
|
|
|
position:relative; /* Firefox needs to explicitly have this default set … */
|
|
|
|
|
-moz-box-sizing: border-box;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: block;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
height: 50px;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
vertical-align: middle;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
padding: 0;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
}
|
2012-04-16 15:14:41 +04:00
|
|
|
|
table tr[data-type="dir"] td.filename a.name span.nametext {font-weight:bold; }
|
2013-08-17 12:46:03 +04:00
|
|
|
|
table td.filename input.filename {
|
|
|
|
|
width: 80%;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
cursor: text;
|
|
|
|
|
}
|
2013-06-26 20:19:10 +04:00
|
|
|
|
table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em .3em; }
|
2012-03-27 23:38:55 +04:00
|
|
|
|
table td.filename .nametext, .uploadtext, .modified { float:left; padding:.3em 0; }
|
2013-08-14 22:41:20 +04:00
|
|
|
|
|
|
|
|
|
#modified {
|
2013-06-25 17:08:51 +04:00
|
|
|
|
position: absolute;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
top: 15px;
|
|
|
|
|
}
|
|
|
|
|
.modified {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 11px;
|
|
|
|
|
left: 5px;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
}
|
2013-08-14 22:41:20 +04:00
|
|
|
|
|
2012-12-05 14:17:41 +04:00
|
|
|
|
/* TODO fix usability bug (accidental file/folder selection) */
|
2013-06-25 17:08:51 +04:00
|
|
|
|
table td.filename .nametext {
|
|
|
|
|
position: absolute;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
top: 16px;
|
|
|
|
|
left: 55px;
|
|
|
|
|
padding: 0;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
max-width: 800px;
|
|
|
|
|
}
|
2012-03-27 23:38:55 +04:00
|
|
|
|
table td.filename .uploadtext { font-weight:normal; margin-left:.5em; }
|
2012-10-18 16:16:59 +04:00
|
|
|
|
table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
|
2013-02-14 13:40:23 +04:00
|
|
|
|
|
2013-08-14 22:41:20 +04:00
|
|
|
|
|
2013-02-14 13:40:23 +04:00
|
|
|
|
/* File checkboxes */
|
2013-08-14 22:41:20 +04:00
|
|
|
|
#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;
|
2013-08-17 12:46:03 +04:00
|
|
|
|
margin: 32px 0 4px 32px; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/
|
2013-08-14 22:41:20 +04:00
|
|
|
|
}
|
|
|
|
|
/* 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 {
|
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
/* Use label to have bigger clickable size for checkbox */
|
|
|
|
|
#fileList tr td.filename>input[type="checkbox"] + label,
|
|
|
|
|
#select_all + label {
|
|
|
|
|
height: 50px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 50px;
|
2013-08-15 14:50:26 +04:00
|
|
|
|
z-index: 5;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
}
|
|
|
|
|
#fileList tr td.filename>input[type="checkbox"] + label {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
#select_all + label {
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
#select_all {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 18px;
|
|
|
|
|
left: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
2013-02-14 13:40:23 +04:00
|
|
|
|
|
2012-12-20 13:53:50 +04:00
|
|
|
|
#fileList tr td.filename {
|
2012-12-20 16:30:57 +04:00
|
|
|
|
position:relative; width:100%;
|
2012-12-20 13:53:50 +04:00
|
|
|
|
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
|
|
|
|
|
}
|
2013-08-14 22:41:20 +04:00
|
|
|
|
|
2011-07-29 02:26:23 +04:00
|
|
|
|
#uploadsize-message,#delete-confirm { display:none; }
|
2012-12-20 14:14:27 +04:00
|
|
|
|
|
|
|
|
|
/* File actions */
|
|
|
|
|
.fileactions {
|
2013-06-25 17:08:51 +04:00
|
|
|
|
position: absolute;
|
2013-08-14 22:41:20 +04:00
|
|
|
|
top: 16px;
|
2013-06-25 17:08:51 +04:00
|
|
|
|
right: 0;
|
|
|
|
|
font-size: 11px;
|
2012-12-20 14:14:27 +04:00
|
|
|
|
}
|
|
|
|
|
#fileList tr:hover .fileactions { /* background to distinguish when overlaying with file names */
|
2013-06-11 16:48:53 +04:00
|
|
|
|
background-color: rgba(240,240,240,0.898);
|
|
|
|
|
box-shadow: -5px 0 7px rgba(240,240,240,0.898);
|
2012-12-20 14:24:25 +04:00
|
|
|
|
}
|
2013-01-28 22:47:51 +04:00
|
|
|
|
#fileList tr.selected:hover .fileactions, #fileList tr.mouseOver .fileactions { /* slightly darker color for selected rows */
|
2013-06-11 16:48:53 +04:00
|
|
|
|
background-color: rgba(230,230,230,.9);
|
|
|
|
|
box-shadow: -5px 0 7px rgba(230,230,230,.9);
|
2012-12-20 14:14:27 +04:00
|
|
|
|
}
|
2012-04-15 16:15:11 +04:00
|
|
|
|
#fileList .fileactions a.action img { position:relative; top:.2em; }
|
2013-08-14 22:41:20 +04:00
|
|
|
|
|
2013-01-30 17:32:20 +04:00
|
|
|
|
#fileList img.move2trash { display:inline; margin:-.5em 0; padding:1em .5em 1em .5em !important; float:right; }
|
2013-08-14 22:41:20 +04:00
|
|
|
|
#fileList a.action.delete {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 15px 14px 19px !important;
|
|
|
|
|
}
|
2012-04-15 16:15:11 +04:00
|
|
|
|
a.action>img { max-height:16px; max-width:16px; vertical-align:text-bottom; }
|
2013-08-14 22:41:20 +04:00
|
|
|
|
|
|
|
|
|
/* Actions for selected files */
|
|
|
|
|
.selectedActions {
|
|
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -1px;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: 15px 8px;
|
|
|
|
|
}
|
|
|
|
|
.selectedActions a {
|
|
|
|
|
display: inline;
|
|
|
|
|
padding: 17px 5px;
|
|
|
|
|
}
|
|
|
|
|
.selectedActions a img {
|
|
|
|
|
position:relative;
|
|
|
|
|
top:.3em;
|
|
|
|
|
}
|
|
|
|
|
|
2011-07-22 18:52:35 +04:00
|
|
|
|
|
2013-02-21 19:52:18 +04:00
|
|
|
|
#fileList a.action {
|
2013-08-14 22:41:20 +04:00
|
|
|
|
display: inline;
|
|
|
|
|
margin: -.5em 0;
|
|
|
|
|
padding: 18px 8px !important;
|
2013-02-21 19:52:18 +04:00
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
|
|
|
filter: alpha(opacity=0);
|
2013-03-03 16:01:25 +04:00
|
|
|
|
opacity: 0;
|
|
|
|
|
display:none;
|
2013-02-21 19:52:18 +04:00
|
|
|
|
}
|
2013-03-03 16:01:25 +04:00
|
|
|
|
#fileList tr:hover a.action, #fileList a.action.permanent {
|
2013-07-22 13:18:51 +04:00
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
|
|
|
|
filter: alpha(opacity=50);
|
2013-03-03 16:01:25 +04:00
|
|
|
|
opacity: .5;
|
|
|
|
|
display:inline;
|
2013-02-21 19:52:18 +04:00
|
|
|
|
}
|
|
|
|
|
#fileList tr:hover a.action:hover {
|
2013-07-22 13:18:51 +04:00
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
|
|
|
filter: alpha(opacity=100);
|
2013-03-03 16:01:25 +04:00
|
|
|
|
opacity: 1;
|
|
|
|
|
display:inline;
|
2013-02-21 19:52:18 +04:00
|
|
|
|
}
|
2011-11-10 19:40:09 +04:00
|
|
|
|
|
2013-07-02 06:28:52 +04:00
|
|
|
|
.summary {
|
2013-07-03 21:50:03 +04:00
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
|
|
|
|
|
filter: alpha(opacity=30);
|
|
|
|
|
opacity: .3;
|
|
|
|
|
height: 70px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.summary:hover, .summary, table tr.summary td {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.summary td {
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
border-bottom: none;
|
2013-07-02 06:28:52 +04:00
|
|
|
|
}
|
|
|
|
|
.summary .info {
|
2013-08-14 23:26:06 +04:00
|
|
|
|
margin-left: 55px;
|
2013-07-02 06:28:52 +04:00
|
|
|
|
}
|
|
|
|
|
|
2012-08-28 00:45:54 +04:00
|
|
|
|
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
|
2012-09-19 16:31:02 +04:00
|
|
|
|
|
2013-05-14 09:37:12 +04:00
|
|
|
|
div.crumb a{ padding:0.9em 0 0.7em 0; color:#555; }
|
2013-01-03 03:26:13 +04:00
|
|
|
|
|
2013-01-19 00:49:38 +04:00
|
|
|
|
table.dragshadow {
|
|
|
|
|
width:auto;
|
|
|
|
|
}
|
|
|
|
|
table.dragshadow td.filename {
|
|
|
|
|
padding-left:36px;
|
|
|
|
|
padding-right:16px;
|
|
|
|
|
}
|
|
|
|
|
table.dragshadow td.size {
|
|
|
|
|
padding-right:8px;
|
2013-01-30 22:24:24 +04:00
|
|
|
|
}
|
2013-01-03 03:26:13 +04:00
|
|
|
|
#upgrade {
|
|
|
|
|
width: 400px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 200px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-left: -200px;
|
|
|
|
|
}
|