You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mobile.scss 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @media only screen and (max-width: 768px) {
  2. /* make header scroll up for single shares, more view of content on small screens */
  3. #header.share-file {
  4. position: absolute !important;
  5. }
  6. /* hide size and date columns */
  7. table th#headerSize,
  8. table td.filesize,
  9. table th#headerDate,
  10. table td.date {
  11. display: none;
  12. }
  13. /* restrict length of displayed filename to prevent overflow */
  14. table td.filename .nametext {
  15. max-width: 75% !important;
  16. }
  17. /* on mobile, show single shared image at full width without margin */
  18. #imgframe {
  19. width: 100%;
  20. padding: 0;
  21. margin-bottom: 35px;
  22. }
  23. /* some margin for the file type icon */
  24. #imgframe .publicpreview {
  25. margin-top: 32px;
  26. }
  27. /* some padding for better clickability */
  28. #fileList a.action img {
  29. padding: 0 6px 0 12px;
  30. }
  31. /* hide text of the actions on mobile */
  32. #fileList a.action:not(.menuitem) span {
  33. display: none;
  34. }
  35. /* ellipsis on file names */
  36. .nametext {
  37. width: 60%;
  38. white-space: nowrap;
  39. overflow: hidden;
  40. text-overflow: ellipsis;
  41. }
  42. // Hide Download label of 3-dot-menu on public share pages
  43. .share-menutoggle-text {
  44. display: none;
  45. }
  46. #header .menutoggle {
  47. padding-right: 14px;
  48. background-position: center;
  49. }
  50. }