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.css 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. @media only screen and (max-width: 768px) {
  2. #body-login #header {
  3. padding-top: 10px;
  4. }
  5. #body-login .wrapper {
  6. display: -webkit-box;
  7. -webkit-box-orient: horizontal;
  8. -webkit-box-pack: center;
  9. -webkit-box-align: center;
  10. display: -moz-box;
  11. -moz-box-orient: horizontal;
  12. -moz-box-pack: center;
  13. -moz-box-align: center;
  14. display: box;
  15. box-orient: horizontal;
  16. box-pack: center;
  17. box-align: center;
  18. }
  19. /* on mobile public share, show only the icon of the logo, hide the text */
  20. #body-public #header .header-appname-container {
  21. display: none;
  22. }
  23. /* do not show update notification on mobile */
  24. #update-notification {
  25. display: none !important;
  26. }
  27. /* position share dropdown */
  28. #dropdown {
  29. margin-right: 10% !important;
  30. width: 80% !important;
  31. }
  32. /* fix name autocomplete not showing on mobile */
  33. .ui-autocomplete {
  34. z-index: 1000 !important;
  35. }
  36. /* fix error display on smaller screens */
  37. .error-wide {
  38. width: 100%;
  39. margin-left: 0 !important;
  40. box-sizing: border-box;
  41. }
  42. /* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
  43. #app-navigation,
  44. #app-content {
  45. position: absolute !important;
  46. top: 0;
  47. left: 0;
  48. right: 0;
  49. bottom: 0;
  50. }
  51. #app-navigation {
  52. width: 250px !important;
  53. }
  54. #app-content {
  55. width: 100% !important;
  56. left: 0 !important;
  57. background-color: #fff;
  58. overflow-x: hidden !important;
  59. z-index: 1000;
  60. }
  61. #app-sidebar{
  62. width: 100% !important;
  63. }
  64. /* allow horizontal scrollbar in settings
  65. otherwise user management is not usable on mobile */
  66. #body-settings #app-content {
  67. overflow-x: auto !important;
  68. }
  69. #app-navigation-toggle {
  70. position: fixed;
  71. display: inline-block !important;
  72. top: 45px;
  73. left: 0;
  74. width: 44px;
  75. height: 44px;
  76. z-index: 149;
  77. background-color: rgba(255, 255, 255, .7);
  78. cursor: pointer;
  79. opacity: .6;
  80. }
  81. #app-navigation-toggle:hover,
  82. #app-navigation-toggle:focus {
  83. opacity: 1;
  84. }
  85. /* controls bar for mobile */
  86. #controls {
  87. min-width: initial !important;
  88. left: 0 !important;
  89. padding-left: 0;
  90. }
  91. /* position controls for apps with app-navigation */
  92. #app-navigation+#app-content #controls {
  93. padding-left: 44px;
  94. }
  95. /* .viewer-mode is when text editor, PDF viewer, etc is open */
  96. #body-user .app-files.viewer-mode #controls {
  97. padding-left: 0 !important;
  98. }
  99. .app-files.viewer-mode #app-navigation-toggle {
  100. display: none !important;
  101. }
  102. table.multiselect thead {
  103. left: 0 !important;
  104. }
  105. /* prevent overflow in user management controls bar */
  106. #usersearchform {
  107. display: none;
  108. }
  109. #body-settings #controls {
  110. min-width: 768px !important;
  111. }
  112. /* do not show dates in filepicker */
  113. #oc-dialog-filepicker-content .filelist .date {
  114. display: none;
  115. }
  116. #oc-dialog-filepicker-content .filelist .filename {
  117. max-width: 80%;
  118. }
  119. /* fix controls bar jumping when navigation is slid out */
  120. .snapjs-left #app-navigation-toggle,
  121. .snapjs-left #controls {
  122. top: 0;
  123. }
  124. .snapjs-left table.multiselect thead {
  125. top: 44px;
  126. }
  127. /* end of media query */
  128. }