public.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. #preview {
  2. background: #fff;
  3. text-align: center;
  4. }
  5. #preview .notCreatable {
  6. display: none;
  7. }
  8. #noPreview {
  9. display:none;
  10. padding-top:80px;
  11. }
  12. #imgframe {
  13. height:75%;
  14. padding-bottom:32px;
  15. padding-top:32px;
  16. width:80%;
  17. margin:0 auto;
  18. }
  19. #imgframe img {
  20. max-height: 100% !important;
  21. max-width: 100% !important;
  22. }
  23. #imgframe .text-preview {
  24. display: inline-block;
  25. position: relative;
  26. text-align: left;
  27. white-space: pre-wrap;
  28. overflow-y: hidden;
  29. height: auto;
  30. min-height: 200px;
  31. max-height: 800px;
  32. }
  33. #imgframe .ellipsis {
  34. font-size: 1.2em;
  35. }
  36. /* fix multiselect bar offset on shared page */
  37. thead {
  38. left: 0 !important;
  39. }
  40. #data-upload-form {
  41. position: relative;
  42. right: 0;
  43. height: 32px;
  44. overflow: hidden;
  45. padding: 0;
  46. float: right;
  47. display: inline;
  48. margin: 0;
  49. }
  50. /* keep long file names in one line to not overflow download button on mobile */
  51. .directDownload #downloadFile {
  52. white-space: nowrap;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. max-width: 90%;
  56. display: inline-block;
  57. margin-left: auto;
  58. margin-right: auto;
  59. }
  60. .download-size {
  61. opacity: .5;
  62. }
  63. /* header buttons */
  64. #details {
  65. display: inline-flex;
  66. }
  67. #details button,
  68. #details input,
  69. #details .button {
  70. margin: 0 5px;
  71. line-height: normal;
  72. }
  73. #details button:hover,
  74. #details input:hover,
  75. #details .button:hover {
  76. /* No */
  77. border-color: rgba(0,0,0,0.3) !important;
  78. }
  79. #public-upload .avatardiv {
  80. margin: 0 auto;
  81. }
  82. #emptycontent.has-disclaimer {
  83. margin-top: 10vh;
  84. }
  85. #public-upload #emptycontent h2 {
  86. margin: 10px 0 5px 0;
  87. }
  88. #public-upload #emptycontent h2+p {
  89. margin-bottom: 30px;
  90. }
  91. #public-upload #emptycontent .icon-folder {
  92. height: 16px;
  93. width: 16px;
  94. background-size: 16px;
  95. display: inline-block;
  96. vertical-align: text-top;
  97. margin-bottom: 0;
  98. margin-right: 5px;
  99. opacity: 1;
  100. }
  101. #public-upload #emptycontent .button {
  102. display: inline-block;
  103. height: auto;
  104. width: auto;
  105. background-size: 16px;
  106. background-position: 16px;
  107. opacity: .7;
  108. font-size: 20px;
  109. line-height: initial;
  110. margin: 20px;
  111. padding: 10px 20px;
  112. padding-left: 42px;
  113. }
  114. #public-upload #emptycontent ul {
  115. width: 160px;
  116. margin: 5px auto;
  117. text-align: left;
  118. }
  119. #public-upload #emptycontent li {
  120. overflow: hidden;
  121. text-overflow: ellipsis;
  122. white-space: nowrap;
  123. padding: 7px 0;
  124. }
  125. #public-upload #emptycontent li img {
  126. vertical-align: text-bottom;
  127. margin-right: 5px;
  128. }
  129. #public-upload li span.icon-loading-small {
  130. padding-left: 18px;
  131. margin-right: 7px;
  132. }
  133. .disclaimer {
  134. margin: -20px auto 30px;
  135. max-width: 400px;
  136. text-align: left;
  137. }
  138. #header .header-shared-by {
  139. display: inline-block;
  140. color: $color-primary-text;
  141. position: relative;
  142. top: -10px;
  143. font-weight: 300;
  144. font-size: 11px;
  145. opacity: .57;
  146. margin-top: 10px;
  147. }