2014-03-26 15:32:09 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2014-01-14 21:14:06 +00:00
|
|
|
|
2014-01-29 16:20:55 +00:00
|
|
|
/* make header scroll up for single shares, more view of content on small screens */
|
|
|
|
#header.share-file {
|
|
|
|
position: absolute !important;
|
|
|
|
}
|
2014-01-14 21:14:06 +00:00
|
|
|
|
|
|
|
/* hide size and date columns */
|
|
|
|
table th#headerSize,
|
|
|
|
table td.filesize,
|
|
|
|
table th#headerDate,
|
|
|
|
table td.date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-01-15 13:45:10 +00:00
|
|
|
/* restrict length of displayed filename to prevent overflow */
|
|
|
|
table td.filename .nametext {
|
2014-01-29 10:43:34 +00:00
|
|
|
max-width: 75% !important;
|
2014-01-15 13:45:10 +00:00
|
|
|
}
|
|
|
|
|
2014-01-16 14:56:18 +00:00
|
|
|
/* on mobile, show single shared image at full width without margin */
|
|
|
|
#imgframe {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 35px;
|
|
|
|
}
|
2014-01-29 14:28:57 +00:00
|
|
|
/* some margin for the file type icon */
|
|
|
|
#imgframe .publicpreview {
|
|
|
|
margin-top: 32px;
|
|
|
|
}
|
2014-01-16 14:56:18 +00:00
|
|
|
|
2014-01-29 10:43:34 +00:00
|
|
|
/* some padding for better clickability */
|
|
|
|
#fileList a.action img {
|
|
|
|
padding: 0 6px 0 12px;
|
|
|
|
}
|
|
|
|
/* hide text of the actions on mobile */
|
2016-11-29 16:06:09 +00:00
|
|
|
#fileList a.action:not(.menuitem) span {
|
2014-01-29 10:43:34 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-03-25 23:14:38 +00:00
|
|
|
/* ellipsis on file names */
|
|
|
|
.nametext {
|
|
|
|
width: 60%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2017-09-29 16:02:14 +00:00
|
|
|
#header .menutoggle {
|
|
|
|
padding-right: 14px;
|
|
|
|
background-position: center;
|
|
|
|
}
|
2014-01-14 21:14:06 +00:00
|
|
|
|
|
|
|
}
|