humhub/static/less/file.less

131 lines
2.1 KiB
Plaintext
Raw Normal View History

2016-12-20 20:26:44 +01:00
.files,
#postFormFiles_list {
2018-02-08 14:28:55 +01:00
padding-left: 0;
2016-12-20 20:26:44 +01:00
}
// File upload list for posts
.contentForm-upload-list {
2018-02-08 14:28:55 +01:00
padding-left: 0;
li:first-child {
margin-top: 10px;
}
2016-12-20 20:26:44 +01:00
}
.file_upload_remove_link,
.file_upload_remove_link:hover {
2018-02-08 14:28:55 +01:00
color: @danger;
cursor: pointer;
2016-12-20 20:26:44 +01:00
}
.file-preview-item {
2018-02-08 14:28:55 +01:00
text-overflow: ellipsis;
overflow:hidden;
}
2016-12-20 20:26:44 +01:00
.post-files {
margin-top: 10px;
img {
vertical-align: top;
margin-bottom: 3px;
margin-right: 5px;
max-height: 100%;
2016-12-20 20:26:44 +01:00
-webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
animation-duration: 2s;
}
}
#wallStream.mobile {
2018-02-08 14:28:55 +01:00
.post-files {
margin-top: 10px;
display: flex;
overflow-x: auto;
img {
max-width: 190px;
2016-12-20 20:26:44 +01:00
}
2018-02-08 14:28:55 +01:00
}
2016-12-20 20:26:44 +01:00
}
.file-preview-content {
2018-02-08 14:28:55 +01:00
cursor: pointer;
2016-12-20 20:26:44 +01:00
}
//
// Profile image upload
//
.image-upload-container {
position: relative;
.image-upload-buttons {
display: none;
position: absolute;
right: 5px;
bottom: 5px;
}
input[type="file"] {
position: absolute;
//background-color: red;
opacity: 0;
}
.image-upload-loader {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
background: #f8f8f8;
}
}
// Mime-Types
.mime {
2018-02-08 14:28:55 +01:00
background-repeat: no-repeat;
background-position: 0 0;
padding: 1px 0 4px 26px;
2016-12-20 20:26:44 +01:00
}
.mime-word {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/word.png");
2016-12-20 20:26:44 +01:00
}
.mime-excel {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/excel.png");
2016-12-20 20:26:44 +01:00
}
.mime-powerpoint {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/powerpoint.png");
2016-12-20 20:26:44 +01:00
}
.mime-pdf {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/pdf.png");
2016-12-20 20:26:44 +01:00
}
.mime-zip {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/zip.png");
2016-12-20 20:26:44 +01:00
}
.mime-image {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/image.png");
2016-12-20 20:26:44 +01:00
}
.mime-file {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/file.png");
2016-12-20 20:26:44 +01:00
}
.mime-photoshop {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/photoshop.png");
2016-12-20 20:26:44 +01:00
}
.mime-illustrator {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/illustrator.png");
2016-12-20 20:26:44 +01:00
}
.mime-video {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/video.png");
2016-12-20 20:26:44 +01:00
}
.mime-audio {
2018-02-08 14:28:55 +01:00
background-image: url("../img/mime/audio.png");
2016-12-20 20:26:44 +01:00
}