upload.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. #upload {
  2. box-sizing: border-box;
  3. height: 36px;
  4. width: 39px;
  5. padding: 0 !important; /* override default control bar button padding */
  6. margin-left: 3px;
  7. overflow: hidden;
  8. vertical-align: top;
  9. position: relative;
  10. z-index: -20;
  11. }
  12. #upload .icon-upload {
  13. position: relative;
  14. display: block;
  15. width: 100%;
  16. height: 44px;
  17. width: 44px;
  18. margin: -5px -3px;
  19. cursor: pointer;
  20. z-index: 10;
  21. opacity: 0.65;
  22. }
  23. .file_upload_target {
  24. display: none;
  25. }
  26. .file_upload_form {
  27. display: inline;
  28. float: left;
  29. margin: 0;
  30. padding: 0;
  31. cursor: pointer;
  32. overflow: visible;
  33. }
  34. .uploadprogresswrapper, .uploadprogresswrapper * {
  35. box-sizing: border-box;
  36. }
  37. .uploadprogresswrapper {
  38. display: inline-block;
  39. vertical-align: top;
  40. height: 36px;
  41. margin-left: 3px;
  42. }
  43. .uploadprogresswrapper > input[type=button] {
  44. height: 36px;
  45. margin-left: 3px;
  46. }
  47. #uploadprogressbar {
  48. border-color: var(--color-border-dark);
  49. border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill);
  50. border-right: 0;
  51. position: relative;
  52. float: left;
  53. width: 200px;
  54. height: 44px;
  55. display: inline-block;
  56. text-align: center;
  57. }
  58. #uploadprogressbar .ui-progressbar-value {
  59. margin-top: 0.1em;
  60. }
  61. #uploadprogressbar .ui-progressbar-value.ui-widget-header.ui-corner-left {
  62. height: calc(100% + 2px);
  63. top: -1px;
  64. left: -1px;
  65. position: absolute;
  66. overflow: hidden;
  67. background-color: var(--color-primary);
  68. }
  69. #uploadprogressbar .label {
  70. top: 8px;
  71. opacity: 1;
  72. overflow: hidden;
  73. white-space: nowrap;
  74. font-weight: normal;
  75. }
  76. #uploadprogressbar .label.inner {
  77. color: var(--color-primary-text);
  78. position: absolute;
  79. display: block;
  80. width: 200px;
  81. }
  82. #uploadprogressbar .label.outer {
  83. position: relative;
  84. color: var(--color-main-text);
  85. }
  86. #uploadprogressbar .desktop {
  87. display: block;
  88. }
  89. #uploadprogressbar .mobile {
  90. display: none;
  91. }
  92. #uploadprogressbar + .stop {
  93. border-top-left-radius: 0;
  94. border-bottom-left-radius: 0;
  95. }
  96. .oc-dialog .fileexists {
  97. -webkit-touch-callout: none;
  98. -webkit-user-select: none;
  99. -khtml-user-select: none;
  100. -moz-user-select: none;
  101. -ms-user-select: none;
  102. user-select: none;
  103. margin-bottom: 30px;
  104. }
  105. .oc-dialog .fileexists .conflict .filename,
  106. .oc-dialog .fileexists .conflict .mtime,
  107. .oc-dialog .fileexists .conflict .size {
  108. -webkit-touch-callout: initial;
  109. -webkit-user-select: initial;
  110. -khtml-user-select: initial;
  111. -moz-user-select: initial;
  112. -ms-user-select: initial;
  113. user-select: initial;
  114. }
  115. .oc-dialog .fileexists .conflict .message {
  116. color: #e9322d;
  117. }
  118. .oc-dialog .fileexists table {
  119. width: 100%;
  120. }
  121. .oc-dialog .fileexists th {
  122. padding-left: 0;
  123. padding-right: 0;
  124. }
  125. .oc-dialog .fileexists th input[type=checkbox] {
  126. margin-right: 3px;
  127. }
  128. .oc-dialog .fileexists th:first-child {
  129. width: 225px;
  130. }
  131. .oc-dialog .fileexists th label {
  132. font-weight: normal;
  133. color: var(--color-main-text);
  134. }
  135. .oc-dialog .fileexists th .count {
  136. margin-left: 3px;
  137. }
  138. .oc-dialog .fileexists .conflicts .template {
  139. display: none;
  140. }
  141. .oc-dialog .fileexists .conflict {
  142. width: 100%;
  143. height: 85px;
  144. }
  145. .oc-dialog .fileexists .conflict .filename {
  146. color: #777;
  147. word-break: break-all;
  148. clear: left;
  149. }
  150. .oc-dialog .fileexists .icon {
  151. width: 64px;
  152. height: 64px;
  153. margin: 0px 5px 5px 5px;
  154. background-repeat: no-repeat;
  155. background-size: 64px 64px;
  156. float: left;
  157. }
  158. .oc-dialog .fileexists .original,
  159. .oc-dialog .fileexists .replacement {
  160. float: left;
  161. width: 50%;
  162. }
  163. .oc-dialog .fileexists .conflicts {
  164. overflow-y: auto;
  165. max-height: 225px;
  166. }
  167. .oc-dialog .fileexists .conflict input[type=checkbox] {
  168. float: left;
  169. }
  170. .oc-dialog .fileexists #allfileslabel {
  171. float: right;
  172. }
  173. .oc-dialog .fileexists #allfiles {
  174. vertical-align: bottom;
  175. position: relative;
  176. top: -3px;
  177. }
  178. .oc-dialog .fileexists #allfiles + span {
  179. vertical-align: bottom;
  180. }
  181. .oc-dialog .oc-dialog-buttonrow {
  182. width: 100%;
  183. text-align: right;
  184. }
  185. .oc-dialog .oc-dialog-buttonrow .cancel {
  186. float: left;
  187. }
  188. .highlightUploaded {
  189. -webkit-animation: highlightAnimation 2s 1;
  190. -moz-animation: highlightAnimation 2s 1;
  191. -o-animation: highlightAnimation 2s 1;
  192. animation: highlightAnimation 2s 1;
  193. }
  194. @-webkit-keyframes highlightAnimation {
  195. 0% {
  196. background-color: rgb(255, 255, 140);
  197. }
  198. 100% {
  199. background-color: rgba(0, 0, 0, 0);
  200. }
  201. }
  202. @-moz-keyframes highlightAnimation {
  203. 0% {
  204. background-color: rgb(255, 255, 140);
  205. }
  206. 100% {
  207. background-color: rgba(0, 0, 0, 0);
  208. }
  209. }
  210. @-o-keyframes highlightAnimation {
  211. 0% {
  212. background-color: rgb(255, 255, 140);
  213. }
  214. 100% {
  215. background-color: rgba(0, 0, 0, 0);
  216. }
  217. }
  218. @keyframes highlightAnimation {
  219. 0% {
  220. background-color: rgb(255, 255, 140);
  221. }
  222. 100% {
  223. background-color: rgba(0, 0, 0, 0);
  224. }
  225. }
  226. /*# sourceMappingURL=upload.css.map */