server/apps/files_sharing/css/public.css
Vincent Petry 0be9de5df5 Files, trashbin, public apps use ajax/JSON for the file list
Files app:

- removed file list template, now rendering list from JSON response
- FileList.addFile/addDir is now FileList.add() and takes a JS map with all required
  arguments instead of having a long number of function arguments
- added unit tests for many FileList operations
- fixed newfile.php, newfolder.php and rename.php to return the file's
  full JSON on success
- removed obsolete/unused undo code
- removed download_url / loading options, now using
  Files.getDownloadUrl() for that
- server side now uses Helper::getFileInfo() to prepare file JSON response
- previews are now client-side only

Breadcrumbs are now JS only:

- Added BreadCrumb class to handle breadcrumb rendering and events
- Added unit test for BreadCrumb class
- Moved all relevant JS functions to the BreadCrumb class

Public page now uses ajax to load the file list:

- Added Helper class in sharing app to make it easier to authenticate
  and retrieve the file's real path
- Added ajax/list.php to retrieve the file list
- Fixed FileActions and FileList to work with the ajax list

Core:

- Fixed file picker dialog to use the same list format as files app
2014-04-02 15:33:47 +02:00

118 lines
1.5 KiB
CSS

body {
height: auto;
}
#header {
background-color: #1d2d44;
height:32px;
left:0;
line-height:32px;
position:fixed;
right:0;
top:0;
z-index:100;
padding:7px;
}
.header-right {
padding: 0;
height: 32px;
}
#details {
color:#fff;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
padding-right: 5px;
}
#controls {
left: 0;
}
#preview {
background: #fff;
text-align: center;
margin: 45px auto 0;
min-height: 150px;
}
#preview .notCreatable {
display: none;
}
#noPreview {
display:none;
padding-top:80px;
}
footer {
margin-top: 65px;
}
p.info {
color: #777;
text-align: center;
margin: 0 auto;
padding: 20px 0;
}
p.info a {
color:#777;
font-weight:700;
}
#imgframe {
height:75%;
padding-bottom:32px;
padding-top:32px;
width:80%;
margin:0 auto;
}
#imgframe img,
#imgframe video {
max-height:100%;
max-width:100%;
}
/* some margin for the file type icon */
#imgframe .publicpreview {
margin-top: 10%;
}
thead {
padding-left: 0 !important; /* fixes multiselect bar offset on shared page */
}
#data-upload-form {
position: relative;
right: 0;
height: 32px;
overflow: hidden;
padding: 0;
float: right;
display: inline;
margin: 0;
}
.directDownload,
.directLink {
margin-bottom: 20px;
}
.directDownload .button img {
vertical-align: text-bottom;
}
.directLink label {
font-weight: normal;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
}
.directLink input {
margin-left: 5px;
width: 300px;
}